From fce0172f6e6b1e1aef1c413dc38aac74b0fd2c22 Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Tue, 5 Aug 2025 11:46:04 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=EF=BC=9A=E9=9A=90=E8=97=8F=E7=94=A8=E6=88=B7=E5=90=8D=E7=9A=84?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=EF=BC=9B=E8=B0=83=E6=95=B4=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=9A=84=E8=83=8C=E6=99=AF=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E5=92=8C=E5=AD=97=E9=87=8D=202=E3=80=81=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E7=9A=84=E9=80=BB=E8=BE=91=E5=AE=8C=E5=96=84=203=E3=80=81?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E5=88=97=E8=A1=A8=E7=9A=84=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=AD=97=E9=87=8D=E5=92=8C=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E8=B0=83=E6=95=B4=204=E3=80=81=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E8=AF=A6=E6=83=85=E7=9A=84=E6=8C=89=E9=92=AE=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E9=A2=9C=E8=89=B2=E8=B0=83=E6=95=B4=205=E3=80=81?= =?UTF-8?q?=E5=8F=91=E7=A5=A8=E5=88=97=E8=A1=A8=E7=9A=84=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E9=A2=9C=E8=89=B2=E8=B0=83=E6=95=B4=206?= =?UTF-8?q?=E3=80=81=E5=9C=B0=E5=9D=80=E5=88=97=E8=A1=A8=E7=9A=84=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=89=80=E5=9C=A8=E7=9A=84=E7=BB=84=E4=BB=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=9C=86=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/address/edit.vue | 10 ++++++---- pages/user/address/list.vue | 9 ++++++--- pages/user/info.vue | 12 ++++++------ pages/user/invoice/edit.vue | 5 +++-- pages/user/invoice/list.vue | 6 +++--- sheep/components/s-address-item/s-address-item.vue | 8 ++++++-- 6 files changed, 30 insertions(+), 20 deletions(-) diff --git a/pages/user/address/edit.vue b/pages/user/address/edit.vue index d38fcf4..613f40b 100644 --- a/pages/user/address/edit.vue +++ b/pages/user/address/edit.vue @@ -168,8 +168,8 @@ content: '确认删除此收货地址吗?', success: async function (res) { if (res.confirm) { - const { code } = await sheep.$api.user.address.delete(state.model.id); - if (res.code === 1) { + const res = await sheep.$api.user.address.delete(state.model.id); + if (res.code == 1) { sheep.$router.back(); } } @@ -250,8 +250,10 @@ width: 710rpx; height: 80rpx; border-radius: 40rpx; - background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)); - color: $white; + background: linear-gradient(to right, var(--ui-BG-Main-gradient), var(--ui-BG-Main)); + // color: $white; + font-weight: bold; + color: #333333; } .cancel-btn { diff --git a/pages/user/address/list.vue b/pages/user/address/list.vue index 76cb74a..d91ea8a 100644 --- a/pages/user/address/list.vue +++ b/pages/user/address/list.vue @@ -18,13 +18,15 @@ v-if="['WechatMiniProgram', 'WechatOfficialAccount'].includes(sheep.$platform.name)" @tap="importWechatAddress" class="border ss-reset-button sync-wxaddress ss-m-20 ss-flex ss-row-center ss-col-center" + style="font-weight: bold;" > - + 导入微信地址 @@ -129,12 +131,13 @@ .footer-box { .add-btn { flex: 1; - background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)); + background: linear-gradient(to right, var(--ui-BG-Main-gradient), var(--ui-BG-Main)); border-radius: 80rpx; font-size: 30rpx; font-weight: 500; line-height: 80rpx; - color: $white; + // color: $white; + color: #333333; position: relative; z-index: 1; } diff --git a/pages/user/info.vue b/pages/user/info.vue index fc2b809..e607e4b 100644 --- a/pages/user/info.vue +++ b/pages/user/info.vue @@ -36,7 +36,7 @@ - + { .logout-btn { width: 710rpx; height: 80rpx; - background: linear-gradient(90deg,#FCCA58, #FFBD25); + background: linear-gradient(to right, #FCCA58, #FFBD25); border-radius: 40rpx; font-size: 30rpx; - font-weight: 500; - color: $white; + font-weight: bold; + color: #333333; } .exit-btn { @@ -424,7 +424,7 @@ onBeforeMount(async () => { height: 80rpx; background: #ffffff; border-radius: 40rpx; - border: 2rpx solid #999999; + border: 1rpx solid #999999; font-size: 30rpx; font-weight: 800; color: #999999; diff --git a/pages/user/invoice/edit.vue b/pages/user/invoice/edit.vue index 9a44395..363c2c2 100644 --- a/pages/user/invoice/edit.vue +++ b/pages/user/invoice/edit.vue @@ -263,8 +263,9 @@ width: 710rpx; height: 80rpx; border-radius: 40rpx; - background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)); - color: $white; + background: linear-gradient(to right, var(--ui-BG-Main-gradient), var(--ui-BG-Main)); + // color: $white; + color: #333333; } .cancel-btn { diff --git a/pages/user/invoice/list.vue b/pages/user/invoice/list.vue index bb3be36..448d1a8 100644 --- a/pages/user/invoice/list.vue +++ b/pages/user/invoice/list.vue @@ -58,12 +58,12 @@ .footer-box { .add-btn { flex: 1; - background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)); + background: linear-gradient(to right, var(--ui-BG-Main-gradient), var(--ui-BG-Main)); border-radius: 80rpx; font-size: 30rpx; - font-weight: 500; + font-weight: bold; line-height: 80rpx; - color: $white; + color: #333333; position: relative; z-index: 1; } diff --git a/sheep/components/s-address-item/s-address-item.vue b/sheep/components/s-address-item/s-address-item.vue index 8e35116..0cd3c1b 100644 --- a/sheep/components/s-address-item/s-address-item.vue +++ b/sheep/components/s-address-item/s-address-item.vue @@ -6,9 +6,9 @@ @@ -72,6 +72,10 @@ font-weight: 400; color: $dark-9; } + + .defaultBox { + border-radius: 10rpx; + } .address-text { font-size: 32rpx;