Commit 4c0ea4d4 authored by linwenqing's avatar linwenqing

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

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