|
@@ -51,7 +51,7 @@
|
|
|
<image src="../../static/logo.png"></image>
|
|
|
<!-- <image class="image" :src="item.url&&item.url.length>0?item.url[0].url:''" mode=""></image> -->
|
|
|
</view>
|
|
|
- <view class=" one_1" v-if="num==0">
|
|
|
+ <view class=" one_1" v-if="num==0" @click="toCommon('/pagesHome/order/detail',item)">
|
|
|
<view class="name">{{item.name}}</view>
|
|
|
<view class="info">
|
|
|
<view class="title_1" v-if="item.kg">
|
|
@@ -145,6 +145,12 @@
|
|
|
url: `/${e.route}`
|
|
|
})
|
|
|
},
|
|
|
+ // 公共跳转
|
|
|
+ toCommon(route,e) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: `${route}?id=${e && e._id ? e._id : ''}`
|
|
|
+ })
|
|
|
+ },
|
|
|
// 转换金额
|
|
|
showMoney(money) {
|
|
|
const that = this;
|
|
@@ -403,7 +409,8 @@
|
|
|
border-bottom: 1px solid var(--fcColor);
|
|
|
padding: 0 0 2vw 0;
|
|
|
font-size: var(--font18Size);
|
|
|
- text{
|
|
|
+
|
|
|
+ text {
|
|
|
margin: 0 1vw;
|
|
|
}
|
|
|
}
|