提交工作台和首页的更改
This commit is contained in:
@@ -144,15 +144,27 @@ Page({
|
||||
})
|
||||
},
|
||||
connect() {
|
||||
Dialog.alert({
|
||||
title: '提示',
|
||||
message: '将进入咨询客服页面',
|
||||
confirmButtonOpenType: "contact",
|
||||
showCancelButton: true,
|
||||
}).then(() => {
|
||||
// on close
|
||||
});
|
||||
|
||||
// Dialog.alert({
|
||||
// title: '提示',
|
||||
// message: '将进入咨询客服页面',
|
||||
// "confirm-button-open-type": "contact",
|
||||
// showCancelButton: true,
|
||||
// }).then(() => {
|
||||
// // on close
|
||||
// });
|
||||
this.setData({
|
||||
connectShow: true
|
||||
})
|
||||
},
|
||||
bindConnect() {
|
||||
this.setData({
|
||||
connectShow: false
|
||||
})
|
||||
},
|
||||
bindCancelConnect() {
|
||||
this.setData({
|
||||
connectShow: false
|
||||
})
|
||||
},
|
||||
jumpToFinance() {
|
||||
wx.navigateTo({
|
||||
|
@@ -69,6 +69,7 @@
|
||||
/>
|
||||
</view>
|
||||
<view style="border-radius: 16rpx; overflow: hidden;">
|
||||
<!-- <button open-type="contact" class="connect"> 联系客服 </button> -->
|
||||
<van-cell title="联系客服" value="" is-link bind:tap="connect" icon="service-o" />
|
||||
<van-cell icon="qr" wx:if="{{!!user.isAdmin}}" title="二维码" value="" is-link bind:click="jumpToQrCode" />
|
||||
<van-cell icon="friends-o" wx:if="{{!!user.isAdmin}}" is-link bind:click="jumpToMember">
|
||||
@@ -87,5 +88,19 @@
|
||||
<van-cell title="退出登录" icon="revoke" value="" is-link bind:tap="logout" />
|
||||
</view>
|
||||
|
||||
<van-dialog id="van-dialog" />
|
||||
</view>
|
||||
<!-- <van-dialog id="van-dialog" /> -->
|
||||
</view>
|
||||
|
||||
<van-dialog
|
||||
title="提示"
|
||||
message="将进入咨询客服页面"
|
||||
show="{{ connectShow }}"
|
||||
custom-class="my-custom-class"
|
||||
show-cancel-button
|
||||
use-confirm-button-slot="{{true}}"
|
||||
use-cancel-button-slot="{{true}}"
|
||||
>
|
||||
<button slot="cancel-button" style="width: 50%;background-color: transparent;border: 0px;border-radius: 0;" bind:tap="bindCancelConnect"> 取消 </button>
|
||||
<button open-type="contact" slot="confirm-button" style="width: 50%;background-color: transparent;border: 0px;border-radius: 0;" bind:tap="bindConnect"> 确认 </button>
|
||||
</van-dialog>
|
||||
|
||||
|
@@ -40,3 +40,6 @@
|
||||
margin-top: 6rpx;
|
||||
}
|
||||
|
||||
.connect {
|
||||
display: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user