Commit b033da5a authored by mengcuiguang's avatar mengcuiguang

代码优化

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