Commit 160c92dd authored by linwenqing's avatar linwenqing

style:客服页样式修改

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