From 27a0a55c052bb1b964b30f8848d6c3147c869ba3 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 17 Nov 2022 14:34:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 22 ++++++++++++++++++++++ pages/my/myQa.vue | 10 ++++++---- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/App.vue b/App.vue index 0b7ced7..5fb7601 100644 --- a/App.vue +++ b/App.vue @@ -71,6 +71,28 @@ border-right: 1px solid #bdbdbd; transform: rotate(45deg); } + uni-modal { + .uni-modal { + width: 288px !important; + max-width: 288px !important; + border-radius: 26upx; + .uni-modal__bd{ + font-size: 36upx; + font-weight: 600; + color: #333333; + padding: 33px 25px 33px 25px; + } + .uni-modal__ft{ + font-size: 32upx; + .uni-modal__btn_default{ + color: #333333; + } + .uni-modal__btn_primary{ + color: #387DF7; + } + } + } + } /**统一样式*/ .fixed-field{ diff --git a/pages/my/myQa.vue b/pages/my/myQa.vue index df4ecff..19f77ec 100644 --- a/pages/my/myQa.vue +++ b/pages/my/myQa.vue @@ -117,6 +117,7 @@ + @@ -132,6 +133,7 @@ }, data() { return { + modalShow:false, inputShow:false, loadStatus:'more', active:1, @@ -232,8 +234,9 @@ delItem(item) { const $this=this uni.showModal({ - title: '提示', + // title: '提示', content: '您确定要删除此回答吗?', + confirmText:"删除", success: function (res) { if (res.confirm) { apiQa @@ -278,8 +281,9 @@ del(item,index){ const $this=this uni.showModal({ - title: '提示', + // title: '提示', content: '确认删除这条提问吗?', + confirmText:"删除", success: function (res) { if (res.confirm) { apiQa.del(item.id).then(res=>{ @@ -441,9 +445,7 @@ } -