详情页面电话联系弹窗

This commit is contained in:
zxy
2024-02-21 11:45:29 +08:00
parent 4ece5ec7e3
commit ead8d9e255
2 changed files with 14 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
{ {
"pages" : [ "pages" : [
//pages数组中第一项表示应用启动页参考https://uniapp.dcloud.io/collocation/pages //pages数组中第一项表示应用启动页参考https://uniapp.dcloud.io/collocation/pages
{ {
"path" : "pages/index/index", "path" : "pages/index/index",

View File

@@ -131,9 +131,14 @@
<view v-if="nextBtn" class="down" @click="next">下一步</view> <view v-if="nextBtn" class="down" @click="next">下一步</view>
</view> </view>
</uniMask> </uniMask>
<uni-popup type="bottom" ref="popup" :showClose='true' @change="change"> <u-popup closeable :show="showPopUp" mode="bottom" @close="closePopUp">
<view>1111111</view> <view style="height: 200rpx;padding: 20rpx 40rpx;">
</uni-popup> <view style="font-size: 28rpx;font-weight: bold;">重要提示</view>
<view style="font-size: 24rpx;color:#707070;margin-top:10rpx;">为保障个人基本劳动权益建议通过平台用工的形式就业</view>
<view style="text-align: center;font-size:28rpx;margin-top: 30rpx;"> {{ info.callName }} : {{ info.callTel }}</view>
<!-- <view style="margin-left: 50rpx;font-size:28rpx;margin-top: 7rpx;">手机号{{ info.callTel }}</view> -->
</view>
</u-popup>
</view> </view>
<view v-else-if="showCode" class="codeSealBox"> <view v-else-if="showCode" class="codeSealBox">
@@ -194,7 +199,7 @@
src: 'https://jlfiles.oss-cn-zhangjiakou.aliyuncs.com/jobslink-api/doc/%E7%94%B5%E5%AD%90%E5%90%88%E5%90%8C%E9%A2%84%E8%A7%88%E5%9B%BE%E7%89%87.png', src: 'https://jlfiles.oss-cn-zhangjiakou.aliyuncs.com/jobslink-api/doc/%E7%94%B5%E5%AD%90%E5%90%88%E5%90%8C%E9%A2%84%E8%A7%88%E5%9B%BE%E7%89%87.png',
maxlength: 6, maxlength: 6,
collectStatus: 0, // 收藏状态 collectStatus: 0, // 收藏状态
showPopup: false, showPopUp: false,
} }
}, },
components: {uniMask,validCode,uniPopup}, components: {uniMask,validCode,uniPopup},
@@ -236,9 +241,10 @@
}) })
}, },
callPhone() { callPhone() {
console.log('电话联系') this.showPopUp = true;
// this.showPopup = true; },
this.$refs.popup.open(); closePopUp() {
this.showPopUp = false;
}, },
// 获取收藏状态 // 获取收藏状态
getCollectStatus() { getCollectStatus() {