Commit 756c72ce authored by mengcuiguang's avatar mengcuiguang

支付页面添加客服

parent cac058ef
...@@ -82,13 +82,14 @@ ...@@ -82,13 +82,14 @@
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view @click="onVip" <view @click="onVip"
style="font-size: 34rpx;color: gray;margin-top: 16rpx;margin-bottom: 10rpx;"> style="font-size: 34rpx;color: black;margin-top: 16rpx;margin-bottom: 10rpx;">
更多充值及说明 ></view> 更多充值及说明 ></view>
</view> </view>
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view style="font-size: 24rpx;color: gray;margin-top: 16rpx;margin-bottom: 18rpx;"> <view style="font-size: 29rpx;color: gray;margin-top: 16rpx;">
订单中如有疑问,请在我的订单页面联系客服</view> 客服时间工作日 9:00-18:00</view>
<button class="button2" open-type="im" data-im-id="kaixinhaha7785">在线客服</button>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
...@@ -413,4 +414,18 @@ ...@@ -413,4 +414,18 @@
} }
} }
} }
.button2 {
width: 300rpx;
height: 50rpx;
line-height: 50rpx;
text-align: center;
margin: 10rpx 20rpx;
border-radius: 10rpx;
background-color: white;
border: 1px orange solid;
color: orange;
font-size: 26rpx;
box-shadow: 0 0 2px 0px rgba(255, 255, 255, 0.1);
}
</style> </style>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<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="handleBtn1">客服电话</text> <text class="button1" @click="handleBtn1">客服电话</text>
<button class="button2" open-type="im" data-im-id="kaixinhaha7785">客服在线</button> <button class="button2" open-type="im" data-im-id="kaixinhaha7785">在线客服</button>
</view> </view>
</view> </view>
</uni-popup> </uni-popup>
......
...@@ -90,6 +90,13 @@ ...@@ -90,6 +90,13 @@
</text> </text>
</view> </view>
</view> </view>
<view class="box-wrap" @click="handleKefu">
<image src="../../static/ic_service.png"></image>
<text>客服时间</text>
<text>工作日9:00-18:00</text>
</view>
<kefu-popup :show="showKefuPop" @close="showKefuPop = false" />
</view> </view>
</template> </template>
...@@ -118,11 +125,11 @@ ...@@ -118,11 +125,11 @@
selectedVipIndex: -1, selectedVipIndex: -1,
btnText: '', btnText: '',
userBean: {}, userBean: {},
os: 'android' os: 'android',
showKefuPop:false
} }
}, },
methods: { onLoad(options) {
loadData() {
let that = this; let that = this;
if (tt.getSystemInfoSync().platform === 'ios') { if (tt.getSystemInfoSync().platform === 'ios') {
this.os = 'ios'; this.os = 'ios';
...@@ -198,6 +205,10 @@ ...@@ -198,6 +205,10 @@
} }
} }
}); });
},
methods: {
loadData() {
}, },
dialogClose() { dialogClose() {
this.$refs.alertDialog.close(); this.$refs.alertDialog.close();
...@@ -360,6 +371,9 @@ ...@@ -360,6 +371,9 @@
message.notify('充值成功,快去看剧吧'); message.notify('充值成功,快去看剧吧');
} }
}); });
},
handleKefu() {
this.showKefuPop = true
} }
} }
} }
...@@ -467,4 +481,23 @@ ...@@ -467,4 +481,23 @@
font-size: 26rpx; font-size: 26rpx;
margin-bottom: 40rpx; margin-bottom: 40rpx;
} }
.box-wrap {
position: absolute;
bottom: 20%;
right: 6%;
z-index: 999;
display: flex;
flex-direction: column;
align-items: center;
image {
width: 100rpx;
height: 100rpx;
}
text {
color: #2c2c2c;
}
}
</style> </style>
\ No newline at end of file
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
<view class="box-wrap" @click="handleKefu"> <view class="box-wrap" @click="handleKefu">
<image src="../../static/ic_service.png"></image> <image src="../../static/ic_service.png"></image>
<text>客服时间</text> <text>客服时间</text>
<text>每天9:00-18:00</text> <text>工作日9:00-18:00</text>
</view> </view>
<kefu-popup :show="showKefuPop" @close="showKefuPop = false" /> <kefu-popup :show="showKefuPop" @close="showKefuPop = false" />
</view> </view>
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
<view class="box-wrap" @click="handleKefu"> <view class="box-wrap" @click="handleKefu">
<image src="../../static/ic_service.png"></image> <image src="../../static/ic_service.png"></image>
<text>客服时间</text> <text>客服时间</text>
<text>每天9:00-18:00</text> <text>工作日9:00-18:00</text>
</view> </view>
<kefu-popup :show="showKefuPop" @close="showKefuPop = false" /> <kefu-popup :show="showKefuPop" @close="showKefuPop = false" />
</view> </view>
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
</z-paging> </z-paging>
<view class="box-wrap" @click="handleKefu"> <view class="box-wrap" @click="handleKefu">
<image src="../../static/ic_service.png"></image> <image src="../../static/ic_service.png"></image>
<text>客服时间</text> <text>客服时间</text>
<text>每天9:00-18:00</text> <text>工作日9:00-18:00</text>
</view> </view>
<kefu-popup :show="showKefuPop" @close="showKefuPop = false" /> <kefu-popup :show="showKefuPop" @close="showKefuPop = false" />
</view> </view>
......
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