Commit 4c0ea4d4 authored by linwenqing's avatar linwenqing

style:我的模块-样式图片调整

parent 160c92dd
......@@ -58,9 +58,6 @@ export default {
],
}
},
compute() {},
onLoad() {},
methods: {},
}
</script>
......@@ -71,9 +68,11 @@ export default {
color: transparent;
display: none;
}
page {
background-color: #f7f9fc;
}
.begin-answer {
display: flex;
flex-direction: column;
......@@ -86,6 +85,7 @@ page {
top: 0;
width: 100%;
}
.content {
display: flex;
flex-direction: column;
......
......@@ -96,12 +96,12 @@ export default {
certFront() {
return this.student.identityFrontPath
? process.uniEnv.qn_asset_url + this.student.identityFrontPath
: 'https://qn-static.banshouhui.com/self-support/renxiang.png'
: process.uniEnv.qn_base_url + 'shangchuanzhaopianfront@3x.png'
},
certBack() {
return this.student.identityBackPath
? process.uniEnv.qn_asset_url + this.student.identityBackPath
: 'https://qn-static.banshouhui.com/self-support/guohui.png'
: process.uniEnv.qn_base_url + 'shangchuanzhaopianback@3x.png'
},
name() {
return this.student.name || ''
......@@ -128,11 +128,11 @@ export default {
}
this.$u.api
.updateUserInfo({
identityFrontPath: ' ',
identityBackPath: ' ',
identityNumber: '11',
certificateValidityDate: '11111',
name: '11',
identityFrontPath: this.student.identityFrontPath,
identityBackPath: this.student.identityBackPath,
identityNumber: this.student.identityNumber,
certificateValidityDate: this.student.certificateValidityDate,
name: this.student.name,
})
.then((res) => {
this.$u.toast('认证成功')
......@@ -168,7 +168,6 @@ export default {
.checkIdCardBack({ id_card_back: res.key })
.then(() => {})
.catch((data) => {
console.log('beimian', data)
if (data.errMsg == 'request:ok') {
this.student.certificateValidityDate = data.data.id_card_expire
} else {
......
......@@ -3,7 +3,7 @@
<u-navbar
back-icon-color="#ffffff"
background="transparent"
title="我的题库"
title="联系客服"
titleColor="#ffffff"
:border-bottom="false"
title-bold
......@@ -25,13 +25,9 @@
export default {
data() {
return {
title: '我的客服',
avatar: 'https://qn-static.banshouhui.com/self-support/avatar.gif',
erweima: 'https://qn-static.banshouhui.com/self-support/erweima-bg.png',
erweima: process.uniEnv.qn_base_url + 'kefuerweima@3x.png',
}
},
onLoad() {},
methods: {},
}
</script>
......@@ -62,27 +58,12 @@ export default {
padding: 130rpx 24rpx 0rpx 24rpx;
}
.logo {
height: 200rpx;
width: 200rpx;
margin: 200rpx auto 50rpx auto;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
.kf-body {
width: 100%;
height: 880rpx;
background-color: aliceblue;
text-align: center;
border-radius: 12rpx;
}
.kf-image {
......@@ -90,16 +71,6 @@ export default {
margin-top: 160rpx;
}
.name-space {
display: flex;
}
.erweima {
text-align: center;
margin-top: 30rpx;
padding-left: 10%;
}
.tips {
color: #5a6073;
font-size: 28rpx;
......
......@@ -95,7 +95,6 @@ export default {
return this.student.workUnit || ''
},
getCertifyStatus() {
console.log(this.student.identityNumber)
return !this.student.identityNumber ? '去认证' : '已认证'
},
},
......@@ -110,7 +109,6 @@ export default {
})
this.$u.api.getUserInfo().then((res) => {
this.student = res
console.log('stu', this.student)
})
},
methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment