Browse Source

客服

master
chenkainan 1 year ago
parent
commit
de939683c3
  1. 50
      pages/user/user.vue

50
pages/user/user.vue

@ -59,6 +59,18 @@
<img src="https://static.ticket.sz-trip.com/dongtai/images/user/rightIcon-gray.png" class="rightIcon"> <img src="https://static.ticket.sz-trip.com/dongtai/images/user/rightIcon-gray.png" class="rightIcon">
</button> --> </button> -->
</view> </view>
<!-- 旅游咨询弹框 -->
<uni-popup ref="popup" type="center">
<view class="consult-popup">
即将拨打客服电话
<view class="consult-subtitle">服务时间周一至周五<br>8:30-11:3014:30-18:00</view>
<view class="consult-btns">
<view @click="$refs.popup.close()">取消</view>
<view @click="clickPhone('0515-69186109')">确定</view>
</view>
</view>
</uni-popup>
</view> </view>
</template> </template>
@ -255,7 +267,7 @@
// }, // },
gotoUrl(path, index) { gotoUrl(path, index) {
if (index == 3) { if (index == 3) {
this.clickPhone('13333333333') this.$refs.popup.open()
return; return;
} }
uni.navigateTo({ uni.navigateTo({
@ -580,4 +592,40 @@
height: 80rpx; height: 80rpx;
} }
} }
.consult-popup {
width: 487rpx;
height: 367rpx;
background: #F0F0F0;
border-radius: 20rpx;
padding: 65rpx 0 23rpx;
font-weight: bold;
font-size: 32rpx;
color: #000000;
text-align: center;
.consult-subtitle {
font-weight: 500;
font-size: 27rpx;
color: #333333;
margin-top: 43rpx;
}
.consult-btns {
display: flex;
margin-top: 75rpx;
view {
width: 50%;
font-weight: bold;
font-size: 32rpx;
color: #71B580;
line-height: 54rpx;
}
view:first-child {
border-right: 1rpx solid #D8D8D8;
color: #000000;
}
}
}
</style> </style>
Loading…
Cancel
Save