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