f6e7f935 by lttnew

文案更改

1 parent c554bd67
......@@ -394,7 +394,7 @@ export function getHistoryByRelateId(rId) {
method: 'get',
})
}
// 查询团体会员信息列表
// 查询单位会员信息列表
export function getGroupVipList(query) {
return request({
url: '/member/info/selectPageList',
......@@ -402,7 +402,7 @@ export function getGroupVipList(query) {
params: query
})
}
// 查询团体会员 全部会员数,有效会员数
// 查询单位会员 全部会员数,有效会员数
export function getMemberCountInfo(query) {
return request({
url: '/member/info/getMemberCountInfo',
......@@ -456,7 +456,7 @@ export function getTransferList(data) {
params: data
})
}
// 查询团体会员信息列表
// 查询单位会员信息列表
export function getGroupList(params) {
return request({
url: `/member/certified/verifyList`,
......@@ -1296,7 +1296,7 @@ export function checkPersonByPersonId(perId) {
method: 'get'
})
}
// 获取团体会员优惠政策
// 获取单位会员优惠政策
export function canUseDiscount(params) {
return request({
url: `/system/certifiedNew/canUseDiscount`,
......@@ -1304,7 +1304,7 @@ export function canUseDiscount(params) {
params
})
}
// 获取团体会员一年缴费价格
// 获取单位会员一年缴费价格
export function getMyMemberCertUnitFee(params) {
return request({
url: `/system/certifiedNew/getMyMemberCertUnitFee`,
......@@ -1320,7 +1320,7 @@ export function checkBusinessLicense(data) {
})
}
// 生成团体订单renewYear
// 生成单位订单renewYear
export function certifiedNew(renewYear) {
return request({
url: `/system/certifiedNew/commit?renewYear=${renewYear}`,
......
......@@ -9,12 +9,12 @@
<view style="width: 70%;">
<view>{{n.memberName}}
<view class="date">
团体类型:
单位类型:
<text v-if="n.deptType == 2">一级协会</text>
<text v-if="n.deptType == 3">直属协会</text>
<text v-if="n.deptType == 4">二级协会</text>
<text v-if="n.deptType == 5">三级协会</text>
<text v-if="n.deptType == 6">职业性团体会员</text>
<text v-if="n.deptType == 6">职业性单位会员</text>
</view>
<view class="date">原有效期:<text>{{n.validityTime?.slice(0,10)}}</text></view>
......@@ -49,7 +49,7 @@
</uni-swipe-action>
<view class="nodata" v-if="list.length==0">
<image mode="aspectFit" src="/static/nodata.png"></image>
<image mode="aspectFit" src="/static/nodata.png"></image>
<text>请选择团队</text>
<!-- <button class="btn-red" @click="gochose">+ 在线选择</button> -->
</view>
......@@ -127,13 +127,13 @@
function getList() {
api.getPayList(queryParams.value).then(res => {
list.value = []
for(var item of res.rows){
if (item.rangeId == queryParams.value.rangeId) {
list.value = item.certList
formData.value = item
return
}
list.value = []
for(var item of res.rows){
if (item.rangeId == queryParams.value.rangeId) {
list.value = item.certList
formData.value = item
return
}
}
})
}
......@@ -155,14 +155,14 @@
function bindyear(n) {
nowYear.value = n.value
pickView.value.close()
nowItem.value.renewYear = n.value
nowItem.value.renewYear = n.value
api.editGroupYear({certId:nowItem.value.certId, renewYear:nowItem.value.renewYear}).then(res => {
for (var nn of list.value) {
if (nn.perId == nowItem.value.perId) {
nn.renewYear = nowItem.value.renewYear
}
}
}
getList()
})
}
......
......@@ -36,7 +36,7 @@
<text v-if="n.deptType==3">直属协会</text>
<text v-if="n.deptType==4">二级协会</text>
<text v-if="n.deptType==5">三级协会</text>
<text v-if="n.deptType==6">职业性团体会员</text>
<text v-if="n.deptType==6">职业性单位会员</text>
</view>
<view class="flexbox" style="background-color: rgba(244, 249, 253, 1);padding:10rpx;">
<view>
......
......@@ -6,7 +6,7 @@
</uni-easyinput>
</view>
<view class="vipData">
<view>变更团体数合计: <text>{{statistical.personCount}}</text></view>
<view>变更单位数合计: <text>{{statistical.personCount}}</text></view>
</view>
<view class="appList">
<view class="appItem" v-for="(item,index) in list" :key="index">
......@@ -25,7 +25,7 @@
</view>
<view class="flexbox" @click="goDetail(item)">
<view>
变更团体
变更单位
<view>
<text class="text-danger">{{item.count}}</text>
</view>
......@@ -53,15 +53,15 @@
</template>
<script setup>
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
ref
} from 'vue'
import {
onLoad,
onShow
} from '@dcloudio/uni-app'
import * as api from '@/common/api.js'
import config from '@/config.js'
import {
ref
} from 'vue'
import {
onLoad,
onShow
} from '@dcloudio/uni-app'
const app = getApp();
const queryParams = ref({
code:'',
......@@ -112,86 +112,86 @@
}
})
}
function audit(id, flag) {
if (flag == 0) {
// 拒绝
// 弹出框填写理由
uni.showModal({
title: '请输入拒绝理由',
editable: true,
success: function(res) {
if (res.confirm) {
if (!res.content) {
uni.showToast({
title: '请输入拒绝理由',
icon: 'none'
})
} else {
doApproval(id, flag, res.content)
}
}
}
})
} else if (flag == 1) {
// 二次确认
uni.showModal({
title: '提示',
content: `确定审批通过吗`,
success: function(res) {
if (res.confirm) {
doApproval(id, flag)
}
}
})
}
}
function doApproval(id, flag, reason) {
var obj = {
flag: flag,
reason: reason || '',
ids: [id]
}
function audit(id, flag) {
if (flag == 0) {
// 拒绝
// 弹出框填写理由
uni.showModal({
title: '请输入拒绝理由',
editable: true,
success: function(res) {
if (res.confirm) {
if (!res.content) {
uni.showToast({
title: '请输入拒绝理由',
icon: 'none'
})
} else {
doApproval(id, flag, res.content)
}
}
}
})
} else if (flag == 1) {
// 二次确认
uni.showModal({
title: '提示',
content: `确定审批通过吗`,
success: function(res) {
if (res.confirm) {
doApproval(id, flag)
}
}
})
}
}
function doApproval(id, flag, reason) {
var obj = {
flag: flag,
reason: reason || '',
ids: [id]
}
console.log(obj)
uni.showLoading({
title: '加载中'
})
})
api.groupChangeAudit(obj).then((res) => {
uni.hideLoading()
uni.showToast({
title: '操作成功',
icon: 'none'
})
getList()
})
}
uni.hideLoading()
uni.showToast({
title: '操作成功',
icon: 'none'
})
getList()
})
}
</script>
<style lang='scss' scoped>
.searchbar {
display: flex;
align-items: center;
padding: 25rpx;
box-sizing: border-box;
:deep(.uni-easyinput .uni-easyinput__content) {
border-radius: 35rpx;
border: none;
height: 70rpx;
}
:deep(.uni-easyinput__content-input) {
font-size: 26rpx;
}
.invertedbtn-red {
border-radius: 50px;
background-color: #fff;
font-size: 30rpx;
padding: 10rpx 20rpx;
}
}
.searchbar {
display: flex;
align-items: center;
padding: 25rpx;
box-sizing: border-box;
:deep(.uni-easyinput .uni-easyinput__content) {
border-radius: 35rpx;
border: none;
height: 70rpx;
}
:deep(.uni-easyinput__content-input) {
font-size: 26rpx;
}
.invertedbtn-red {
border-radius: 50px;
background-color: #fff;
font-size: 30rpx;
padding: 10rpx 20rpx;
}
}
</style>
......
......@@ -3,7 +3,7 @@
<view class="searchbar">
<uni-easyinput placeholderStyle="font-size:30rpx" :input-border="false" prefixIcon="search"
v-model="query.name" placeholder="搜索团体会员名称" @blur="getSonList" @clear="getSonList">
v-model="query.name" placeholder="搜索单位会员名称" @blur="getSonList" @clear="getSonList">
</uni-easyinput>
<view class="invertedbtn-red" @click="getSonList">搜索</view>
</view>
......@@ -20,12 +20,12 @@
<text v-if="n.validityDate">{{n.validityDate?.slice(0,10)}}</text>
<text v-else>--</text>
</view>
<view class="date w50">团体类型
<view class="date w50">单位类型
<text v-if="n.deptType == 2">一级协会</text>
<text v-if="n.deptType == 3">直属协会</text>
<text v-if="n.deptType == 4">二级协会</text>
<text v-if="n.deptType == 5">三级协会</text>
<text v-if="n.deptType == 6">职业性团体会员</text>
<text v-if="n.deptType == 6">职业性单位会员</text>
</view>
</view>
</view>
......
......@@ -2,18 +2,18 @@
<view>
<uni-collapse>
<uni-collapse-item :title="n.newName" v-for="n in list" :key="n.id" open>
<view class="collapseBody">
<view>
<label>会员编号:</label>
<text>{{n.memCode}}</text>
<view class="collapseBody">
<view>
<label>会员编号:</label>
<text>{{n.memCode}}</text>
</view>
<view>
<label>团体会员名称:</label>
<view>
{{n.oldName}}
<text class="text-primary" v-if="n.oldName!=n.newName">变更为 </text>
<text class="text-danger" v-if="n.oldName!=n.newName">{{ n.newName }}</text>
<label>单位会员名称:</label>
<view>
{{n.oldName}}
<text class="text-primary" v-if="n.oldName!=n.newName">变更为 </text>
<text class="text-danger" v-if="n.oldName!=n.newName">{{ n.newName }}</text>
</view>
</view>
......@@ -153,7 +153,7 @@
color: #999;
display: inline-block;
text-align: right;flex:0 0 auto;
}
}
view{flex:1 1 auto;}
}
}
......
......@@ -64,7 +64,7 @@
dType: 4,
status: 2
})
const navs = ref(['道馆', '二级协会', '一级协会'])
const navs = ref(['道馆', '二级协会', '一级协会'])
// const navs = ref(['道馆', '三级协会', '二级协会', '一级协会'])
const list = ref([])
const paging = ref(null)
......@@ -78,12 +78,12 @@
onLoad(() => {
userType.value = app.globalData.userType
deptType.value = app.globalData.deptType
// 部门类型 1:中跆协 2:省 3:直属 4:市 5:区 6: 团体
// 部门类型 1:中跆协 2:省 3:直属 4:市 5:区 6: 单位
if (deptType.value == 2 || deptType.value == 3) {
// navs.value = ['道馆', '三级协会', '二级协会']
// navs.value = ['道馆', '三级协会', '二级协会']
navs.value = ['道馆', '二级协会']
} else if (deptType.value == 4) {
// navs.value = ['道馆', '三级协会']
// navs.value = ['道馆', '三级协会']
navs.value = ['道馆']
}
getList()
......
......@@ -11,13 +11,13 @@
<uni-swipe-action-item class="personitem" v-for="n in list" :key="n.id">
<uni-collapse>
<uni-collapse-item :title="n.oldName" open>
<view class="collapseBody">
<view v-if="n.memCode">
<label>会员编号:</label>
{{n.memCode}}
<view class="collapseBody">
<view v-if="n.memCode">
<label>会员编号:</label>
{{n.memCode}}
</view>
<view>
<label>团体会员名称:</label>
<label>单位会员名称:</label>
{{n.oldName}}
<text class="text-primary" @click="handleChange(n,'newName')">变更 </text>
<text class="text-danger" v-if="n.oldName!=n.newName">{{ n.newName }}</text>
......@@ -63,7 +63,7 @@
<view class="h3 text-center mb30">信息变更</view>
<uni-forms class="mt30" label-width="100">
<view style="min-height: 30vh">
<uni-forms-item label="团体会员名称:" v-show="type=='newName'">
<uni-forms-item label="单位会员名称:" v-show="type=='newName'">
<uni-easyinput v-model="form.newName" placeholder="请输入" />
</uni-forms-item>
</view>
......@@ -77,12 +77,12 @@
</uni-popup>
<uni-popup ref="choseStudent" type="bottom" background-color="#fff" animation>
<view class="popBody">
<view class="searchbar">
<uni-easyinput placeholderStyle="font-size:30rpx" :input-border="false" prefixIcon="search"
v-model="query.name" placeholder="搜索团体会员名称" @blur="getSonList" @clear="getSonList">
</uni-easyinput>
<view class="invertedbtn-red" @click="getSonList">搜索</view>
<view class="popBody">
<view class="searchbar">
<uni-easyinput placeholderStyle="font-size:30rpx" :input-border="false" prefixIcon="search"
v-model="query.name" placeholder="搜索单位会员名称" @blur="getSonList" @clear="getSonList">
</uni-easyinput>
<view class="invertedbtn-red" @click="getSonList">搜索</view>
</view>
<view class="userlist" style="height:70vh;overflow: auto;">
<view class="item" v-for=" (n,index) in studentList" :key="index">
......@@ -92,21 +92,21 @@
<image class="icon" v-else :src="config.baseUrl_api+'/fs/static/member/dx.png'" />
</view>
<view class="w100">
<view class="name">{{n.name}} </view>
<view class="flexbox" style="padding: 0">
<view v-if="n.memCode">会员号
<text>{{n.memCode}}</text>
</view>
<view class="date" v-if="n.validityDate">到期时间
<text>{{n.validityDate?.slice(0,10)}}</text>
</view>
<view class="date">团体类型
<text v-if="n.deptType == 2">一级协会</text>
<text v-if="n.deptType == 3">直属协会</text>
<text v-if="n.deptType == 4">二级协会</text>
<text v-if="n.deptType == 5">三级协会</text>
<text v-if="n.deptType == 6">职业性团体会员</text>
</view>
<view class="name">{{n.name}} </view>
<view class="flexbox" style="padding: 0">
<view v-if="n.memCode">会员号
<text>{{n.memCode}}</text>
</view>
<view class="date" v-if="n.validityDate">到期时间
<text>{{n.validityDate?.slice(0,10)}}</text>
</view>
<view class="date">单位类型
<text v-if="n.deptType == 2">一级协会</text>
<text v-if="n.deptType == 3">直属协会</text>
<text v-if="n.deptType == 4">二级协会</text>
<text v-if="n.deptType == 5">三级协会</text>
<text v-if="n.deptType == 6">职业性单位会员</text>
</view>
</view>
</view>
</view>
......@@ -132,7 +132,7 @@ import {
} from '@dcloudio/uni-app'
import * as api from '@/common/api.js'
import config from '/config.js'
const queryParams = ref({})
const queryParams = ref({})
const query = ref({})
const total = ref(0)
const list = ref([])
......@@ -148,12 +148,12 @@ onLoad((option) => {
getList()
}
})
onShow((option) => {
console.log(option)
if(option){
queryParams.value.rangeId = option
getList()
}
onShow((option) => {
console.log(option)
if(option){
queryParams.value.rangeId = option
getList()
}
})
function getList() {
......@@ -198,26 +198,26 @@ function chooseOnline() {
// title: '加载中',
// icon: 'none'
// })
// query.value.paymentRangeId = queryParams.value.rangeId || '-1'
// api.getMySonList(query.value).then(res => {
// studentList.value = res.data.rows
// uni.hideLoading()
// choseStudent.value.open()
// query.value.paymentRangeId = queryParams.value.rangeId || '-1'
// api.getMySonList(query.value).then(res => {
// studentList.value = res.data.rows
// uni.hideLoading()
// choseStudent.value.open()
// })
uni.navigateTo({
url:`/group/changeGroupChoseList?rangeId=${queryParams.value.rangeId || '-1'}`
uni.navigateTo({
url:`/group/changeGroupChoseList?rangeId=${queryParams.value.rangeId || '-1'}`
})
}
function getSonList(){
uni.showLoading({
title: '加载中',
icon: 'none'
})
query.value.paymentRangeId = queryParams.value.rangeId || '-1'
api.getMySonList(query.value).then(res => {
studentList.value = res.data.rows
uni.hideLoading()
})
}
function getSonList(){
uni.showLoading({
title: '加载中',
icon: 'none'
})
query.value.paymentRangeId = queryParams.value.rangeId || '-1'
api.getMySonList(query.value).then(res => {
studentList.value = res.data.rows
uni.hideLoading()
})
}
function checkThis(n) {
......@@ -291,9 +291,9 @@ let selectFileValue = {}
function selectFile(row, e) {
form.value = row
let file = e.tempFiles[0]
if(!file){
return
let file = e.tempFiles[0]
if(!file){
return
}
api.uploadFile(e).then(data => {
selectFileValue = {
......@@ -310,7 +310,7 @@ function selectFile(row, e) {
newName: form.value.newName,
fileUrl: JSON.stringify([selectFileValue])
}).then(Response => {
uni.hideLoading()
uni.hideLoading()
getList()
})
});
......@@ -321,30 +321,30 @@ function delSupplementFile(row) {
row.fileUrl = []
}
</script>
<style scoped lang="scss">
.searchbar {
display: flex;
align-items: center;
padding:0 0 25rpx;
box-sizing: border-box;
:deep(.uni-easyinput .uni-easyinput__content) {
border-radius: 35rpx;
height: 66rpx; border: 1px solid #AD181F!important;
}
:deep(.uni-easyinput__content-input) {
font-size: 26rpx;
}
.invertedbtn-red {
border-radius: 50px; margin-left: 20rpx;
background-color: #fff;
font-size: 30rpx;
padding: 10rpx 20rpx;
}
}
<style scoped lang="scss">
.searchbar {
display: flex;
align-items: center;
padding:0 0 25rpx;
box-sizing: border-box;
:deep(.uni-easyinput .uni-easyinput__content) {
border-radius: 35rpx;
height: 66rpx; border: 1px solid #AD181F!important;
}
:deep(.uni-easyinput__content-input) {
font-size: 26rpx;
}
.invertedbtn-red {
border-radius: 50px; margin-left: 20rpx;
background-color: #fff;
font-size: 30rpx;
padding: 10rpx 20rpx;
}
}
.userlist .item{background-color: #f4f4f4;}
.flexbox {
padding: 30rpx 30rpx 0
......@@ -382,6 +382,6 @@ function delSupplementFile(row) {
.text-center .btn-red-kx {
border-radius: 50px;
font-size: 28rpx;
}
}
:deep(.file-picker__progress){opacity: 0;}
</style>
\ No newline at end of file
......
......@@ -2,7 +2,7 @@
<view class="hasfixedbottom">
<view class="searchbar">
<uni-easyinput placeholderStyle="font-size:30rpx" :input-border="false" prefixIcon="search"
v-model="queryParams.name" placeholder="团体会员名称" @blur="getList()" @clear="getList()">
v-model="queryParams.name" placeholder="单位会员名称" @blur="getList()" @clear="getList()">
</uni-easyinput>
</view>
<view class="indexboxre">
......@@ -14,7 +14,7 @@
<image class="icon" v-else :src="config.baseUrl_api+'/fs/static/member/dx.png'" />
</view>
<view>
<view class="name">
<view class="name">
{{n.name}}
</view>
<view class="name">
......@@ -22,7 +22,7 @@
<text v-if="n.deptType == 3">直属协会</text>
<text v-if="n.deptType == 4">二级协会</text>
<text v-if="n.deptType == 5">三级协会</text>
<text v-if="n.deptType == 6">职业性团体会员</text>
<text v-if="n.deptType == 6">职业性单位会员</text>
</view>
<view class="date">到期时间:{{n.validityDate?.slice(0,10)}}</view>
</view>
......@@ -67,13 +67,13 @@
getList()
})
function getList() {
uni.showLoading({
title:'加载中'
function getList() {
uni.showLoading({
title:'加载中'
})
api.getMySonList(queryParams.value).then(res => {
list.value = res.data.rows
total.value = res.data.total
total.value = res.data.total
uni.hideLoading()
})
}
......@@ -95,7 +95,7 @@
}
if (arr.length == 0) {
uni.showToast({
title: "请选择团体",
title: "请选择单位",
icon: "none"
})
return
......
......@@ -15,7 +15,7 @@
</view>
<view class="name">{{n.realName}}</view>
<view class="date">
所属团体: {{n.memName}}
所属单位: {{n.memName}}
</view>
<view class="flexbox mtb30">
......@@ -82,17 +82,17 @@
uni.hideLoading()
})
}
function checkCert(row){
return api.checkPersonByPersonId(row.perId).then(res => {
if (!res.data) {
uni.showModal({
title: '提示',
content:'该学员没有照片,无法生成证书!',
success: () => {}
})
return Promise.reject()
}
})
function checkCert(row){
return api.checkPersonByPersonId(row.perId).then(res => {
if (!res.data) {
uni.showModal({
title: '提示',
content:'该学员没有照片,无法生成证书!',
success: () => {}
})
return Promise.reject()
}
})
}
function sendCert(row) {
let msg
......
......@@ -409,7 +409,7 @@
function payTheFees() {
if (!form.value.name) {
uni.showToast({
title: `请先完善团体信息`,
title: `请先完善单位信息`,
icon: 'none'
});
return; // 新增:防止无名称时跳转
......
......@@ -11,7 +11,7 @@
</view>
<view class="rMainBox">
<uni-list :border="false" class="myList">
<uni-list-item thumb="/static/user_icon01.png" title="团体信息" showArrow clickable @click="goPath('/myCenter/teamInfo')">
<uni-list-item thumb="/static/user_icon01.png" title="单位信息" showArrow clickable @click="goPath('/myCenter/teamInfo')">
</uni-list-item>
<uni-list-item thumb="/static/user_icon02.png" title="会员认证" showArrow clickable @click="goPath('/myCenter/auth')">
......
......@@ -530,7 +530,7 @@
}, {
"path": "apply/applyDetail",
"style": {
"navigationBarTitleText": "团体会员审核详情",
"navigationBarTitleText": "单位会员审核详情",
"enablePullDownRefresh": false
}
......@@ -544,7 +544,7 @@
}, {
"path": "list",
"style": {
"navigationBarTitleText": "团体会员",
"navigationBarTitleText": "单位会员",
"enablePullDownRefresh": false
}
......@@ -558,7 +558,7 @@
}, {
"path": "feeBill",
"style": {
"navigationBarTitleText": "团体会员缴费单",
"navigationBarTitleText": "单位会员缴费单",
"enablePullDownRefresh": false
}
}, {
......@@ -571,7 +571,7 @@
}, {
"path": "apply/applyList",
"style": {
"navigationBarTitleText": "团体会员审核",
"navigationBarTitleText": "单位会员审核",
"enablePullDownRefresh": false
}
......@@ -585,28 +585,28 @@
{
"path": "changeGroupInfo",
"style": {
"navigationBarTitleText": "团体会员信息修改",
"navigationBarTitleText": "单位会员信息修改",
"enablePullDownRefresh": false
}
},
{
"path": "changeGroupAudit",
"style": {
"navigationBarTitleText": "团体信息变更审核",
"navigationBarTitleText": "单位信息变更审核",
"enablePullDownRefresh": false
}
},
{
"path": "changeGroupDetail",
"style": {
"navigationBarTitleText": "团体信息变更详情",
"navigationBarTitleText": "单位信息变更详情",
"enablePullDownRefresh": false
}
},
{
"path": "newChange",
"style": {
"navigationBarTitleText": "新建团体信息变更",
"navigationBarTitleText": "新建单位信息变更",
"enablePullDownRefresh": false
}
},
......@@ -757,7 +757,7 @@
{
"path": "teamInfo",
"style": {
"navigationBarTitleText": "团体信息",
"navigationBarTitleText": "单位信息",
"enablePullDownRefresh": false
}
},
......@@ -799,7 +799,7 @@
{
"path": "perfect",
"style": {
"navigationBarTitleText": "团体会员缴费",
"navigationBarTitleText": "单位会员缴费",
"enablePullDownRefresh": false
}
},
......
......@@ -22,7 +22,7 @@
</view>
<view class="girdBox" v-if="userType=='2'">
<view @click="goPath('/group/feeBill')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'" />团体会员缴费单
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'" />单位会员缴费单
</view>
<view @click="goPath('/level/approval')">
<image :src="config.baseUrl_api+'/fs/static/icon/3.png'" />级位考试审核
......
......@@ -26,9 +26,9 @@
<!-- 会员证 -->
<view style="margin: 30rpx 0 0;" v-if="form.certStage!=0&&form.idcType!=3&&form.certStage!=2&&form.certStage!=1">
<view class="zhengBox">
<view class="zhengBox">
<image v-if="form.certStage == 4" style="width: 600rpx; height: 380rpx;position: relative" :src="config.baseUrl_api+'/fs/static/icon/memberCardU.png'" :fit="fit" />
<image v-else style="width: 600rpx; height: 380rpx;position: relative" :src="config.baseUrl_api+'/fs/static/icon/memberCard.png'" :fit="fit" />
<image v-else style="width: 600rpx; height: 380rpx;position: relative" :src="config.baseUrl_api+'/fs/static/icon/memberCard.png'" :fit="fit" />
<view class="zhengbody" @contextmenu.prevent="youji">
<image mode="aspectFill" :src="(form.photo)" class="head"/>
<view class="memberNumber">{{ form.perCode }}</view>
......@@ -51,7 +51,7 @@
<uni-list-item title="会员编号" :rightText="form.perCode" />
<uni-list-item title="所属一级协会" :rightText="form.topAssName" />
<uni-list-item title="所属地区协会" :rightText="form.areaAssName" />
<uni-list-item title="注册团体会员" :rightText="form.memName" />
<uni-list-item title="注册单位会员" :rightText="form.memName" />
<uni-list-item title="缴费日期" :rightText="form.payDate||'--'" />
<uni-list-item title="出生日期" :rightText="form.birth?.slice(0,10)" />
<uni-list-item title="手机号码" :rightText="form.phone" />
......@@ -99,7 +99,7 @@
value: '6'
}
])
const form = ref({})
const form = ref({})
const urlHref = ref()
onLoad((option) => {
console.log(option)
......@@ -129,15 +129,15 @@
}
}
})
}
function fileData(time) {
if (!time) return
const data = new Date(time.replace(/-/g, '/'))
const year = data.getFullYear()
const month = data.getMonth() + 1
const dates = data.getDate()
return year + '年' + month + '月' + dates + '日'
}
}
function fileData(time) {
if (!time) return
const data = new Date(time.replace(/-/g, '/'))
const year = data.getFullYear()
const month = data.getMonth() + 1
const dates = data.getDate()
return year + '年' + month + '月' + dates + '日'
}
</script>
......@@ -215,63 +215,63 @@
color: #fff;
text-align: center;
border-radius: 50%;
}
.zhengBox{
position: relative;width: 600rpx; height: 380rpx;margin:0 auto 30rpx;
.zhengbody{
.head{width: 114rpx;height: 114rpx;border-radius: 50%;position: absolute;left: 65rpx;top: 132rpx;}
.birthday{
position: absolute; top: 158rpx;left: 434rpx;
font-size: 16rpx;
color: #9f6a44;
}
.memberNumber{
position: absolute;top: 182rpx;left: 290rpx;
font-size: 19rpx;
color: #9f6a44;
font-weight: 600;
letter-spacing: 1px;
}
.phone{
position: absolute; top: 292rpx;left: 340rpx;
font-size: 16rpx;
color: #bc9060;
}
.service{
position: absolute;
top: 313rpx;
left: 340rpx;
font-size: 16rpx;
color: #bc9060;
}
.validity{
position: absolute;
top: 336rpx;
left: 340rpx;
font-size: 16rpx;
color: #bc9060;
}
.nameC{
position: absolute;
top: 146rpx;
left: 240rpx;
color: #9f6a44;
font-weight: 600;
line-height: 1;
}
.content{
width: 120rpx;
box-sizing: border-box;
display: flex;
align-items: center;
//white-space: nowrap;
overflow: hidden;
overflow-x: auto;
transform-origin: 0 55%;
white-space: nowrap;
}
}
}
.zhengBox{
position: relative;width: 600rpx; height: 380rpx;margin:0 auto 30rpx;
.zhengbody{
.head{width: 114rpx;height: 114rpx;border-radius: 50%;position: absolute;left: 65rpx;top: 132rpx;}
.birthday{
position: absolute; top: 158rpx;left: 434rpx;
font-size: 16rpx;
color: #9f6a44;
}
.memberNumber{
position: absolute;top: 182rpx;left: 290rpx;
font-size: 19rpx;
color: #9f6a44;
font-weight: 600;
letter-spacing: 1px;
}
.phone{
position: absolute; top: 292rpx;left: 340rpx;
font-size: 16rpx;
color: #bc9060;
}
.service{
position: absolute;
top: 313rpx;
left: 340rpx;
font-size: 16rpx;
color: #bc9060;
}
.validity{
position: absolute;
top: 336rpx;
left: 340rpx;
font-size: 16rpx;
color: #bc9060;
}
.nameC{
position: absolute;
top: 146rpx;
left: 240rpx;
color: #9f6a44;
font-weight: 600;
line-height: 1;
}
.content{
width: 120rpx;
box-sizing: border-box;
display: flex;
align-items: center;
//white-space: nowrap;
overflow: hidden;
overflow-x: auto;
transform-origin: 0 55%;
white-space: nowrap;
}
}
}
</style>
\ No newline at end of file
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!