|
@@ -16,12 +16,12 @@
|
|
|
<view class="one_2">
|
|
|
<view class="one_2_1">
|
|
|
<text v-if="user._id">{{user.collect||0}}</text>
|
|
|
- <text @click="toOrrder('收藏的商品')">收藏的商品</text>
|
|
|
+ <text @click="toOrrder('pagesMy/collection/market')">收藏的商品</text>
|
|
|
</view>
|
|
|
<text class="link">|</text>
|
|
|
<view class="one_2_1">
|
|
|
<text v-if="user._id">{{user.collect||0}}</text>
|
|
|
- <text @click="toOrrder('收藏的店铺')">收藏的店铺</text>
|
|
|
+ <text @click="toOrrder('pagesMy/collection/shop')">收藏的店铺</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -34,8 +34,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="two_2">
|
|
|
- <view class="orderList" v-for="(item, index) in orderList" :key="index"
|
|
|
- @click="toOrrder(item.type)">
|
|
|
+ <view class="orderList" v-for="(item, index) in orderList" :key="index" @click="toOrrder(item.type)">
|
|
|
<view class="icon">
|
|
|
<text class="iconfont" :class="[item.icon]"></text>
|
|
|
</view>
|
|
@@ -133,7 +132,9 @@
|
|
|
// 跳转页面
|
|
|
toOrrder(e) {
|
|
|
const that = this;
|
|
|
- console.log(e);
|
|
|
+ uni.navigateTo({
|
|
|
+ url: `/${e}`
|
|
|
+ })
|
|
|
},
|
|
|
}
|
|
|
}
|