Commit ab889a20 authored by 罗林杰's avatar 罗林杰

修改弹窗

parent cf2d4207
......@@ -5,9 +5,13 @@
<view class="bag">
<image class="pop-bgc" :src="img + '/img/home-pop-bg.png'"></image>
<view class="divss">
<view class="namne">提示</view>
<view class="namne">{{tips}}</view>
<view class="namnes">{{ msg!=null&&msg!=''?msg:"网络异常" }}</view>
<view class="button" @click="hideDialog()">确定</view>
<view style="display: flex; justify-content: center;">
<view class="cancelButton" @click="cancel()">取消</view>
<view class="confirmButton" @click="hideDialog()">确定</view>
</view>
</view>
</view>
</view>
......@@ -21,6 +25,10 @@
type: String,
default: ""
},
tips: {
type: String,
default: "提示"
},
isConfirm: {
type: Boolean,
default: false
......@@ -47,6 +55,12 @@
// url: '/pages/tab/index'
// });
},
cancel(){
this.show = false;
if (this.isConfirm != undefined&&this.isConfirm!=null && this.isConfirm == true) {
this.$emit('cancel')
}
},
gzh() {
this.show = false;
// uni.navigateTo({
......@@ -120,8 +134,8 @@
text-align: center;
}
.button {
width: 392rpx;
.confirmButton {
width: 172rpx;
height: 84rpx;
background: linear-gradient(86deg, #c2d2f9 0%, #c5c2f3 100%);
border-radius: 42rpx;
......@@ -136,6 +150,22 @@
margin-top: 64rpx;
}
.cancelButton {
width: 172rpx;
height: 84rpx;
background: linear-gradient(86deg, #dde0e5 0%, #eae7e7 100%);
border-radius: 42rpx;
font-size: 28rpx;
font-family: 'PingFang SC-Regular, PingFang SC';
font-weight: 400;
color: #000000;
line-height: 84rpx;
text-align: center;
margin: 0 auto;
margin-top: 64rpx;
}
.namnes {
width: 364rpx;
height: 96rpx;
......
......@@ -16,7 +16,7 @@
<u-badge :isDot="wxTask.type == '1'" type="error"></u-badge>
</view>
</view>
<u-tabbar-item text="互要联系方式" icon="phone-fill" @click="tabbarClick"/>
<u-tabbar-item text="互要联系方式" icon="phone-fill" @click="phoneClick"/>
</u-tabbar>
</view>
<z-paging ref="paging" v-model="dataList" @query="getMessageList" use-chat-record-mode>
......@@ -478,6 +478,12 @@ export default {
url: "/pagesme/goldCoin/recharge"
})
},
phoneClick(){
uni.showToast({
title: '功能待开发',
icon: 'none'
})
},
backbar() {
uni.navigateBack({
delta: 1, // 返回层数,2则上上页
......
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