From e8b665122cf256caae4993534c696d029883f0d5 Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期三, 05 三月 2025 10:52:03 +0800 Subject: [PATCH] showmodal cancal 改成 close --- pages/modal/3037.vue | 125 +++++++++++++++++++++-------------------- 1 files changed, 65 insertions(+), 60 deletions(-) diff --git a/pages/modal/3037.vue b/pages/modal/3037.vue index 0022d13..151f653 100644 --- a/pages/modal/3037.vue +++ b/pages/modal/3037.vue @@ -622,8 +622,9 @@ <uni-popup class="view-popup" ref="popup" background-color="#fff" @change="popupChange"> <view class="popup-header">{{check_list.title}}</view> <view class="popup-content" :class="{ 'popup-height': popupType === 'left' || popupType === 'right' }" - :style="{'width':check_list.width?check_list.width+'px':'200px','height':check_list.height?check_list.height+'px':'88%'}"> - <view class="popup-cont" :style="{'height':check_list.height?check_list.height-45+'px':'415px'}"> + :style="{'width':check_list.width?check_list.width+'px':'375rpx','height':check_list.height?check_list.height+'px':popupType =='center'?'60vh':'88vh'}"> + <view class="popup-cont" + :style="{'height':check_list.height?check_list.height-45+'px':popupType =='center'?'50vh':'80vh'}"> <view class="view_popup_CheckList" v-for="(item,index) in check_list.items"> <checkbox-group class="check_list" @change="checkChange" :data-ischeck="item.check" :data-index="index" :style="{'margin-left': '10rpx'}"> @@ -705,7 +706,7 @@ title: this.translateSys('tip') + "", content: "璇ュ姛鑳界偣鏈厤缃晫闈㈢獥鍙o紝璇烽噸鏂伴厤缃紒", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -714,7 +715,7 @@ title: this.translateSys('tip') + "", content: "璇ュ姛鑳界偣鏈厤缃獥鍙f牱寮忥紝璇烽噸鏂伴厤缃紒", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -777,7 +778,7 @@ title: this.translateSys('error') + " 1.2", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return [] } @@ -811,7 +812,7 @@ title: this.translateSys("error") + " 1.1", content: tip, showCancel: false, - confirmText: this.translateSys("cancel") + confirmText: this.translateSys('close') }); return [] }; @@ -841,7 +842,7 @@ title: this.translateSys("error") + " 1.2", content: tip, showCancel: false, - confirmText: this.translateSys("cancel") + confirmText: this.translateSys('close') }); return {} }; @@ -1116,7 +1117,7 @@ title: this.translateSys('tip') + "", content: "鏈壘鍒板彲鏄剧ず鐨勭殑灞炴�", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); } }, @@ -1271,7 +1272,7 @@ title: this.translateSys('tip') + "", content: "鏈壘鍒板彲鏄剧ず鐨勭殑灞炴�", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); } }, @@ -1283,7 +1284,7 @@ title: this.translateSys('tip') + "", content: "閫夋嫨鍓嶄簨浠朵负绌猴紒", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -1298,7 +1299,7 @@ title: this.translateSys('tip') + "", content: ar.DispName + "鏈�鎷╂暟鎹紒", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -1350,7 +1351,7 @@ title: this.translateSys('tip') + "", content: ar.DispName + '涓嶈兘涓虹┖锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -1428,7 +1429,7 @@ title: this.translateSys('tip') + "", content: "閫夋嫨鍚庝簨浠朵负绌猴紒", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -1451,7 +1452,7 @@ title: this.translateSys('tip') + "", content: "鏈�鎷╂暟鎹紒", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -1466,7 +1467,7 @@ title: this.translateSys('tip') + "", content: ar.DispName + "鏈�鎷╂暟鎹紒", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -1528,7 +1529,7 @@ title: this.translateSys('tip') + "", content: "鍒犻櫎鎴愬姛锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }).catch(ex => { @@ -1538,7 +1539,7 @@ title: this.translateSys('tip') + "9.1", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); } @@ -2209,7 +2210,7 @@ title: this.translateSys('tip') + "", content: "before_click_button-event_id涓虹┖锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -2218,7 +2219,7 @@ title: this.translateSys('tip') + "", content: "button_callback-event_id涓虹┖锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -2300,7 +2301,7 @@ title: this.translateSys('tip') + "", content: "姝ゅ姛鑳借繕鏈疄鐜帮紒", showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); // var value=this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].RelCls[e.target.value]; // this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value=value; @@ -2437,7 +2438,7 @@ .DispName + '涓嶈兘涓虹┖锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -2535,7 +2536,7 @@ title: this.translateSys('tip') + "", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); }, @@ -2616,7 +2617,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); else uni.showModal({ title: this.translateSys('tip'), @@ -2625,7 +2626,7 @@ data .ret, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return false } else { @@ -2640,7 +2641,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); if (data.action) { @@ -2828,7 +2829,7 @@ title: this.translateSys('error') + " 2.2", content: "open_select_userdlg杩欎釜action_type杩樻湭澶勭悊锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); } } @@ -2842,7 +2843,7 @@ title: this.translateSys('error') + " 2.1", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); }, @@ -2941,7 +2942,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); else uni.showModal({ title: this.translateSys('tip'), @@ -2950,7 +2951,7 @@ data .ret, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return false } else { @@ -2965,7 +2966,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); var actionlist = data @@ -3308,7 +3309,7 @@ title: this.translateSys('error') + " 3.1", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); }, @@ -3428,7 +3429,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); else uni.showModal({ title: this.translateSys('tip'), @@ -3437,7 +3438,7 @@ data .ret, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return false } else { @@ -3452,7 +3453,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); var result = data @@ -3522,7 +3523,7 @@ title: this.translateSys('error') + " 4.1", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); }, @@ -3647,7 +3648,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); else uni.showModal({ title: this.translateSys('tip'), @@ -3656,7 +3657,7 @@ data .ret, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return false } else { @@ -3671,7 +3672,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); if (data != "") { @@ -3970,7 +3971,7 @@ content: '璋冪敤 before_click_button 鑴氭湰杩斿洖绌猴紝event_id' + eventid, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); } } @@ -3981,7 +3982,7 @@ title: this.translateSys('tip') + "5.1", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); }, @@ -4061,7 +4062,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); else uni.showModal({ title: this.translateSys('tip'), @@ -4070,7 +4071,7 @@ data .ret, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return false } else { @@ -4085,7 +4086,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); var actionlist = data @@ -4270,7 +4271,7 @@ title: this.translateSys('error') + " 6.2", content: "open_select_userdlg杩欎釜action_type杩樻湭澶勭悊锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); } } @@ -4283,7 +4284,7 @@ title: this.translateSys('error') + " 6.1", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); }, @@ -4373,7 +4374,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); else uni.showModal({ title: this.translateSys('tip'), @@ -4382,7 +4383,7 @@ data .ret, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return false } else { @@ -4397,7 +4398,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); var actionlist = data @@ -5128,7 +5129,7 @@ title: this.translateSys('error') + " 7.1", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); }, @@ -5179,7 +5180,7 @@ .DispName + '涓嶈兘涓虹┖锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -5236,7 +5237,7 @@ .DispName + '涓嶈兘涓虹┖锛�, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return; } @@ -5315,7 +5316,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); else uni.showModal({ title: this.translateSys('tip'), @@ -5324,7 +5325,7 @@ data .ret, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); return false } else { @@ -5339,7 +5340,7 @@ title: this.translateSys('tip'), content: tip, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); var result = data @@ -5378,7 +5379,7 @@ title: this.translateSys('error') + " 8.1", content: ex.errMsg, showCancel: false, - confirmText: this.translateSys('cancel') + confirmText: this.translateSys('close') }); }); }, @@ -5608,9 +5609,11 @@ margin-top: 50rpx; padding: 20rpx; line-height: 1.5; - background: #27A6E1; + /* background: #27A6E1; border: none; - color: #fff; + color: #fff; */ + background: #fff; + color: #000; font-size: 38rpx; font-weight: bold; float: left; @@ -5748,7 +5751,7 @@ .popup-footer { float: right; position: absolute; - bottom: 0; + bottom: 10rpx; right: 20rpx; } @@ -5772,9 +5775,11 @@ margin-top: 50rpx; padding: 15rpx; line-height: 1.5; - background: #27A6E1; + /* background: #27A6E1; border: none; - color: #fff; + color: #fff; */ + background: #fff; + color: #000; font-size: 38rpx; font-weight: bold; /* float: right; */ -- Gitblit v1.9.1