|
@@ -8,6 +8,7 @@
|
|
|
class="avatar"
|
|
class="avatar"
|
|
|
:src="userInfo.imgPath || 'https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/logo3.png'"
|
|
:src="userInfo.imgPath || 'https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/logo3.png'"
|
|
|
mode="aspectFill"
|
|
mode="aspectFill"
|
|
|
|
|
+ style="width: 100%; height: 100%; display: block;"
|
|
|
></image>
|
|
></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="user-detail">
|
|
<view class="user-detail">
|
|
@@ -50,7 +51,7 @@
|
|
|
:key="index"
|
|
:key="index"
|
|
|
@click="navigateToOrder(item.path)"
|
|
@click="navigateToOrder(item.path)"
|
|
|
>
|
|
>
|
|
|
- <image class="type-icon" :src="'/pages-mine/static/' + item.icon" mode="aspectFit"></image>
|
|
|
|
|
|
|
+ <image class="type-icon" :src="item.icon" mode="aspectFit"></image>
|
|
|
<text>{{ item.name }}</text>
|
|
<text>{{ item.name }}</text>
|
|
|
<view class="badge" v-if="item.badge">{{ item.badge }}</view>
|
|
<view class="badge" v-if="item.badge">{{ item.badge }}</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -67,7 +68,7 @@
|
|
|
:key="index"
|
|
:key="index"
|
|
|
@click="navigateToTool(tool.path)"
|
|
@click="navigateToTool(tool.path)"
|
|
|
>
|
|
>
|
|
|
- <image class="tool-icon" :src="'/pages-mine/static/' + tool.icon" mode="aspectFit"></image>
|
|
|
|
|
|
|
+ <image class="tool-icon" :src="tool.icon" mode="aspectFit"></image>
|
|
|
<text>{{ tool.name }}</text>
|
|
<text>{{ tool.name }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -98,48 +99,48 @@ export default {
|
|
|
orderTypes: [
|
|
orderTypes: [
|
|
|
{
|
|
{
|
|
|
name: "待初审",
|
|
name: "待初审",
|
|
|
- icon: "1.png",
|
|
|
|
|
|
|
+ icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/1.png",
|
|
|
badge: 0,
|
|
badge: 0,
|
|
|
key: "firstAuditNum",
|
|
key: "firstAuditNum",
|
|
|
path: "/pages-mine/pages/order-page?status=2",
|
|
path: "/pages-mine/pages/order-page?status=2",
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "待取件",
|
|
name: "待取件",
|
|
|
- icon: "2.png",
|
|
|
|
|
|
|
+ icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/2.png",
|
|
|
badge: 0,
|
|
badge: 0,
|
|
|
key: "pickUpNum",
|
|
key: "pickUpNum",
|
|
|
path: "/pages-mine/pages/order-page?status=3",
|
|
path: "/pages-mine/pages/order-page?status=3",
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "待审核",
|
|
name: "待审核",
|
|
|
- icon: "3.png",
|
|
|
|
|
|
|
+ icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/3.png",
|
|
|
badge: 0,
|
|
badge: 0,
|
|
|
key: "auditNum",
|
|
key: "auditNum",
|
|
|
path: "/pages-mine/pages/order-page?status=8",
|
|
path: "/pages-mine/pages/order-page?status=8",
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: "待到款",
|
|
name: "待到款",
|
|
|
- icon: "4.png",
|
|
|
|
|
|
|
+ icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/4.png",
|
|
|
badge: 0,
|
|
badge: 0,
|
|
|
key: "payNum",
|
|
key: "payNum",
|
|
|
path: "/pages-mine/pages/order-page?status=10",
|
|
path: "/pages-mine/pages/order-page?status=10",
|
|
|
},
|
|
},
|
|
|
- { name: "申请退回", icon: "5.png", badge: 0, key: "refundNum", path: "/pages-mine/pages/apply-return" },
|
|
|
|
|
|
|
+ { name: "申请退回", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/5.png", badge: 0, key: "refundNum", path: "/pages-mine/pages/apply-return" },
|
|
|
],
|
|
],
|
|
|
tools: [
|
|
tools: [
|
|
|
- { name: "消息通知", icon: "t1.png", path: "/pages-mine/pages/notice" },
|
|
|
|
|
- { name: "我的收藏", icon: "t2.png", path: "" },
|
|
|
|
|
- { name: "我的足迹", icon: "t3.png", path: "" },
|
|
|
|
|
- { name: "我的地址", icon: "t4.png", path: "/pages-mine/pages/address/list" },
|
|
|
|
|
- { name: "我的优惠券", icon: "t5.png", path: "" },
|
|
|
|
|
- { name: "联系客服", icon: "t6.png", path: "/pages/tools/service" },
|
|
|
|
|
- { name: "意见反馈", icon: "t7.png", path: "/pages-mine/pages/feedback" },
|
|
|
|
|
- { name: "到货提醒", icon: "t8.png", path: "/pages/tools/arrival-notice" },
|
|
|
|
|
- { name: "合伙人计划", icon: "t9.png", path: "/pages-mine/pages/partner/partner-rule" },
|
|
|
|
|
- { name: "买卖答疑", icon: "t10.png", path: "/pages/tools/faq" },
|
|
|
|
|
- { name: "关于书嗨", icon: "t11.png", path: "/pages/tools/about" },
|
|
|
|
|
- { name: "我的余额", icon: "t12.png", path: "/pages-mine/pages/wallet" },
|
|
|
|
|
- { name: "用户设置", icon: "t13.png", path: "/pages/tools/settings" },
|
|
|
|
|
|
|
+ { name: "消息通知", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t1.png", path: "/pages-mine/pages/notice" },
|
|
|
|
|
+ { name: "我的收藏", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t2.png", path: "" },
|
|
|
|
|
+ { name: "我的足迹", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t3.png", path: "" },
|
|
|
|
|
+ { name: "我的地址", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t4.png", path: "/pages-mine/pages/address/list" },
|
|
|
|
|
+ { name: "我的优惠券", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t5.png", path: "" },
|
|
|
|
|
+ { name: "联系客服", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t6.png", path: "/pages/tools/service" },
|
|
|
|
|
+ { name: "意见反馈", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t7.png", path: "/pages-mine/pages/feedback" },
|
|
|
|
|
+ { name: "到货提醒", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t8.png", path: "/pages/tools/arrival-notice" },
|
|
|
|
|
+ { name: "合伙人计划", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t9.png", path: "/pages-mine/pages/partner/partner-rule" },
|
|
|
|
|
+ { name: "买卖答疑", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t10.png", path: "/pages/tools/faq" },
|
|
|
|
|
+ { name: "关于书嗨", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t11.png", path: "/pages/tools/about" },
|
|
|
|
|
+ { name: "我的余额", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t12.png", path: "/pages-mine/pages/wallet" },
|
|
|
|
|
+ { name: "用户设置", icon: "https://shuhi.oss-cn-qingdao.aliyuncs.com/mini/t13.png", path: "/pages/tools/settings" },
|
|
|
],
|
|
],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
@@ -257,11 +258,15 @@ export default {
|
|
|
border: 4rpx solid #fff;
|
|
border: 4rpx solid #fff;
|
|
|
width: 128rpx;
|
|
width: 128rpx;
|
|
|
height: 128rpx;
|
|
height: 128rpx;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
|
|
|
.avatar {
|
|
.avatar {
|
|
|
- width: 120rpx;
|
|
|
|
|
- height: 120rpx;
|
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
|
|
|
+ object-fit: cover;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|