1、个人信息:隐藏用户名的展示;调整保存按钮的背景颜色和字重
2、地址详情的删除按钮的逻辑完善 3、地址列表的底部按钮字重和背景颜色调整 4、发票详情的按钮背景颜色调整 5、发票列表的按钮背景颜色调整 6、地址列表的默认所在的组件增加圆角
This commit is contained in:
parent
5542dcdd15
commit
fce0172f6e
@ -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 {
|
||||
|
@ -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;"
|
||||
>
|
||||
<text class="cicon-weixin ss-p-r-10" style="color: #09bb07; font-size: 40rpx"></text>
|
||||
<text class="cicon-weixin ss-p-r-10" style="color: #09bb07; font-size: 40rpx;font-weight: bold;"></text>
|
||||
导入微信地址
|
||||
</button>
|
||||
<button
|
||||
class="add-btn ss-reset-button ui-Shadow-Main"
|
||||
@tap="sheep.$router.go('/pages/user/address/edit')"
|
||||
style="font-weight: bold;"
|
||||
>
|
||||
新增收货地址
|
||||
</button>
|
||||
@ -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;
|
||||
}
|
||||
|
@ -36,7 +36,7 @@
|
||||
</view>
|
||||
|
||||
<view class="bg-white ss-p-x-30">
|
||||
<uni-forms-item name="username" label="用户名" @tap="onChangeUsername" class="label-box">
|
||||
<!-- <uni-forms-item name="username" label="用户名" @tap="onChangeUsername" class="label-box">
|
||||
<uni-easyinput
|
||||
v-model="userInfo.username"
|
||||
disabled
|
||||
@ -53,7 +53,7 @@
|
||||
</button>
|
||||
</template>
|
||||
</uni-easyinput>
|
||||
</uni-forms-item>
|
||||
</uni-forms-item> -->
|
||||
|
||||
<uni-forms-item name="nickname" label="昵称">
|
||||
<uni-easyinput
|
||||
@ -412,11 +412,11 @@ onBeforeMount(async () => {
|
||||
.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;
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -6,9 +6,9 @@
|
||||
<view class="item-left" v-if="!isEmpty(props.item)">
|
||||
<view class="area-text ss-flex ss-col-center">
|
||||
<uni-tag
|
||||
class="ss-m-r-10"
|
||||
class="ss-m-r-10 defaultBox"
|
||||
size="small"
|
||||
custom-style="background-color: var(--ui-BG-Main); border-color: var(--ui-BG-Main); color: #fff;"
|
||||
custom-style="background-color: var(--ui-BG-Main); border-color: var(--ui-BG-Main); color: #fff;border-radius: 10rpx;"
|
||||
v-if="props.item.is_default"
|
||||
text="默认"
|
||||
></uni-tag>
|
||||
@ -73,6 +73,10 @@
|
||||
color: $dark-9;
|
||||
}
|
||||
|
||||
.defaultBox {
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.address-text {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
|
Loading…
x
Reference in New Issue
Block a user