Commit 160c92dd authored by linwenqing's avatar linwenqing

style:客服页样式修改

parent 0ed4ac7f
...@@ -234,6 +234,7 @@ ...@@ -234,6 +234,7 @@
"name": "mineCustomer", "name": "mineCustomer",
"style": { "style": {
"navigationBarTitleText": "联系客服", "navigationBarTitleText": "联系客服",
"navigationStyle": "custom",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"disableScroll": true "disableScroll": true
} }
......
...@@ -151,13 +151,10 @@ export default { ...@@ -151,13 +151,10 @@ export default {
}, },
onLoad() {}, onLoad() {},
onShow() { onShow() {
this.$u.api.getCertList({}).then((res) => {
console.log(res)
})
if (this.userInfo.nickName) { if (this.userInfo.nickName) {
this.$u.api.getUserInfo().then((res) => { this.$u.api.getUserInfo().then((res) => {
this.student = res this.student = res
getApp().globalData.student getApp().globalData.student = res
}) })
} }
}, },
......
<template> <template>
<view class="content"> <view class="begin-answer">
<view class="kf-body"> <u-navbar
<!-- <text class="title">{{title}}</text> --> back-icon-color="#ffffff"
<view class="name-space"> background="transparent"
<view class="head-photo"> title="我的题库"
<u-avatar :src="avatar"></u-avatar> titleColor="#ffffff"
:border-bottom="false"
title-bold
></u-navbar>
<view class="content">
<view class="kf-body">
<view class="kf-image">
<u-image width="436rpx" height="436rpx" :src="erweima"></u-image>
</view> </view>
<view> <view class="tips">
<view class="nick" 长按识别二维码添加官方客服
><text>aaa</text><u-icon name="server-man"></u-icon
></view>
<view class="city"><text>安徽</text><text>合肥</text></view>
</view> </view>
</view> </view>
<view class="erweima">
<u-image width="424rpx" height="424rpx" :src="erweima"></u-image>
</view>
</view> </view>
</view> </view>
</template> </template>
...@@ -34,16 +35,31 @@ export default { ...@@ -34,16 +35,31 @@ export default {
} }
</script> </script>
<style> <style scoped lang="scss">
page { ::-webkit-scrollbar {
background-color: rgb(229, 229, 236); width: 0;
height: 0;
color: transparent;
display: none;
}
.begin-answer {
display: flex;
flex-direction: column;
background-color: #2953ff;
background-size: 100% 920rpx;
background-repeat: no-repeat;
height: 120vh;
position: absolute;
top: 0;
width: 100%;
} }
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 130rpx 30rpx 0rpx 30rpx; padding: 130rpx 24rpx 0rpx 24rpx;
} }
.logo { .logo {
...@@ -64,9 +80,14 @@ page { ...@@ -64,9 +80,14 @@ page {
.kf-body { .kf-body {
width: 100%; width: 100%;
height: 700rpx; height: 880rpx;
background-color: aliceblue; background-color: aliceblue;
padding: 50rpx; text-align: center;
}
.kf-image {
margin-left: 132rpx;
margin-top: 160rpx;
} }
.name-space { .name-space {
...@@ -78,4 +99,10 @@ page { ...@@ -78,4 +99,10 @@ page {
margin-top: 30rpx; margin-top: 30rpx;
padding-left: 10%; padding-left: 10%;
} }
.tips {
color: #5a6073;
font-size: 28rpx;
margin-top: 114rpx;
}
</style> </style>
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