flat: 暂存
This commit is contained in:
104
pages/my/my.vue
104
pages/my/my.vue
@@ -100,23 +100,26 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
import {
|
||||
phoneFilter, stringFilterNum
|
||||
} from '@/untils/format.js'
|
||||
import { labourUnionInfo } from '@/api/federation.js'
|
||||
export default {
|
||||
} from 'vuex'
|
||||
import {
|
||||
phoneFilter,
|
||||
stringFilterNum
|
||||
} from '@/untils/format.js'
|
||||
import {
|
||||
labourUnionInfo
|
||||
} from '@/api/federation.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
federationStatus: false
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
if (this.$store.state.user.token && this.authPass) {
|
||||
this.$store.dispatch('getVipCode')
|
||||
}
|
||||
// if (this.$store.state.user.token && this.authPass) {
|
||||
// this.$store.dispatch('getVipCode')
|
||||
// }
|
||||
},
|
||||
onShow() {
|
||||
if (!this.$store.state.user.token) {
|
||||
@@ -150,26 +153,27 @@ export default {
|
||||
url
|
||||
})
|
||||
},
|
||||
makePhoneCall: function () {
|
||||
makePhoneCall: function() {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: "18500206848"
|
||||
})
|
||||
},
|
||||
phoneFilter,stringFilterNum
|
||||
phoneFilter,
|
||||
stringFilterNum
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['userInfo', 'auth', 'authPass'])
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page {
|
||||
page {
|
||||
height: 100%;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
}
|
||||
|
||||
.federation {
|
||||
.federation {
|
||||
height: 48rpx;
|
||||
border-radius: 10rpx;
|
||||
padding: 28rpx 30rpx;
|
||||
@@ -182,9 +186,9 @@ page {
|
||||
align-items: center;
|
||||
background: url(../../static/img/my/mybanner.png) no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.forMembership {
|
||||
.forMembership {
|
||||
width: 140rpx;
|
||||
height: 50rpx;
|
||||
background: linear-gradient(112deg, #EFE0BC 0%, #D29A5A 100%, #DDBA88 100%);
|
||||
@@ -195,9 +199,9 @@ page {
|
||||
color: #6F5931;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.bottom {
|
||||
.bottom {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
@@ -206,22 +210,22 @@ page {
|
||||
/* width: 100%; */
|
||||
margin: 120rpx 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.btnList image:last-child {
|
||||
.btnList image:last-child {
|
||||
width: 19rpx;
|
||||
height: 32rpx;
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.btnList image {
|
||||
.btnList image {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.btnList {
|
||||
.btnList {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
@@ -229,16 +233,16 @@ page {
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding: 30rpx 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
.btn {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
border-radius: 15rpx;
|
||||
background: #fefefe;
|
||||
}
|
||||
}
|
||||
|
||||
.BarList {
|
||||
.BarList {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
@@ -246,16 +250,16 @@ page {
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
padding: 30rpx 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.BarList image {
|
||||
.BarList image {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.centerBar {
|
||||
.centerBar {
|
||||
width: 690rpx;
|
||||
background-color: #fefefe;
|
||||
border-radius: 15rpx;
|
||||
@@ -263,56 +267,56 @@ page {
|
||||
position: absolute;
|
||||
bottom: -70rpx;
|
||||
left: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.userContent {
|
||||
.userContent {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 26rpx;
|
||||
color: #FFFFFF;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.userTel {
|
||||
.userTel {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 36rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
|
||||
.userRight {
|
||||
.userRight {
|
||||
float: left;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.userTitle image {
|
||||
.userTitle image {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
margin-right: 20rpx;
|
||||
float: left;
|
||||
border-radius: 200rpx;
|
||||
background-color: rgba(255, 255, 255, .3);
|
||||
}
|
||||
}
|
||||
|
||||
.userTitle {
|
||||
.userTitle {
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.head {
|
||||
.head {
|
||||
background-color: #1B66FF;
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
padding-top: 200rpx;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.body {
|
||||
.body {
|
||||
background: #f6f6f6;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* .btn-out {
|
||||
/* .btn-out {
|
||||
background-color: #fefefe;
|
||||
margin-top: 20rpx;
|
||||
padding: 20rpx 0;
|
||||
|
||||
@@ -63,10 +63,10 @@
|
||||
if (resData.data.data) {
|
||||
resolve()
|
||||
} else {
|
||||
this.$api.msg('您未申请开通该功能,请联系工作人员')
|
||||
// this.navTo(
|
||||
// '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
|
||||
// )
|
||||
// this.$api.msg('您未申请开通该功能,请联系工作人员')
|
||||
this.navTo(
|
||||
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
|
||||
)
|
||||
}
|
||||
} else {
|
||||
reject()
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</UploadIdNumber>
|
||||
</u-form-item>
|
||||
<u-form-item labelWidth="100" prop="authUrlId">
|
||||
<UploadIdNumber v-model="formData.authUrlId" backImg="/static/img/idcard.png">
|
||||
<UploadIdNumber v-model="formData.authUrlId" backImg="/static/img/businessLicense.jpg">
|
||||
</UploadIdNumber>
|
||||
</u-form-item>
|
||||
</view>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<u-upload :fileList="ImgUrl" @afterRead="afterRead" :deletable="true" @delete="deletePic" name="6" :maxCount="1"
|
||||
width="280" height="150">
|
||||
<image :src="backImg" mode="widthFix" style="width: 280px;height: 150px;"></image>
|
||||
:width="width" :height="height">
|
||||
<image :src="backImg" mode="widthFix" :style="`width: ${width}px;height: ${height}px;`"></image>
|
||||
</u-upload>
|
||||
</view>
|
||||
</template>
|
||||
@@ -21,7 +21,15 @@
|
||||
value: {
|
||||
type: String,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
width: {
|
||||
type: Number,
|
||||
default: 250
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
default: 150
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
ImgUrl(val) {
|
||||
|
||||
BIN
static/img/businessLicense.jpg
Normal file
BIN
static/img/businessLicense.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
@@ -50,7 +50,7 @@ const auth = {
|
||||
commit('SET_AUTH_BANKCARD', convert(authValue[2]))
|
||||
commit('SET_AUTH_INSURE', convert(authValue[3]))
|
||||
commit('SET_AUTH_INFO', data)
|
||||
dispatch('getVipCode')
|
||||
// dispatch('getVipCode')
|
||||
|
||||
resolve()
|
||||
}).catch(reject)
|
||||
@@ -70,7 +70,7 @@ const auth = {
|
||||
realName: name,
|
||||
idNumber: idNumber
|
||||
})
|
||||
dispatch('getVipCode')
|
||||
// dispatch('getVipCode')
|
||||
resolve()
|
||||
}).catch(reject)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user