Commit b033da5a authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 8b958f6e
<template> <template>
<view> <uni-popup type="bottom" ref="kefuPop" :maskClick="false" :safe-area='false' :isMaskClick="false">
<uni-popup type="bottom" ref="kefuPop" :maskClick="false" :isMaskClick="false"> <view class="container">
<view class="container"> <image @click="onClose" style="width: 40rpx; height: 40rpx;margin-left:auto;margin-right: 30rpx;
<image @click="onClose" style="width: 50rpx; height: 50rpx;margin-left:auto;margin-right: 30rpx; margin-top: 20rpx;" src="@/static/index/ic_quit_white.png"></image>
margin-bottom: 30rpx;" src="https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_close_white.png"></image>
<view class="content"> <view class="content">
<text style="font-size: 40rpx;margin-bottom: 15rpx;">客服时间: 工作日9:00-18:00</text> <text style="font-size: 40rpx;margin-bottom: 15rpx;">客服时间: 工作日9:00-18:00</text>
<text class="button1" @click="tapMakePhoneCall">客服电话</text> <text class="button1" @click="tapMakePhoneCall">客服电话</text>
<button class="button2" open-type="im" data-im-id="93264117800">在线客服</button> <button class="button2" open-type="im" data-im-id="93264117800">在线客服</button>
</view>
</view> </view>
</uni-popup> </view>
</view> </uni-popup>
</template> </template>
<script> <script>
...@@ -77,20 +75,23 @@ ...@@ -77,20 +75,23 @@
<style lang="scss"> <style lang="scss">
.container { .container {
background-color: white;
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
border-radius: 20rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
} }
.content { .content {
border-radius: 20rpx;
background-color: white; background-color: white;
display: flex; display: flex;
width: 100%; width: 100%;
padding: 30rpx 0; margin-bottom: 100rpx;
padding: 10rpx 0;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
......
...@@ -60,21 +60,27 @@ ...@@ -60,21 +60,27 @@
"path": "book-search/book-search", "path": "book-search/book-search",
"style": { "style": {
"navigationBarTitleText": "书籍搜索", "navigationBarTitleText": "书籍搜索",
"enablePullDownRefresh": false "navigationStyle": "default",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
} }
}, { }, {
"path": "book-content/book-content", "path": "book-content/book-content",
"style": { "style": {
"navigationBarTitleText": "阅读", "navigationBarTitleText": "阅读",
"enablePullDownRefresh": true "navigationStyle": "default",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
} }
}, { }, {
"path": "book-long-content/book-long-content", "path": "book-long-content/book-long-content",
"style": { "style": {
"navigationBarTitleText": "阅读", "navigationBarTitleText": "阅读",
"enablePullDownRefresh": true "navigationStyle": "default",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
} }
}] }]
......
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