|
@@ -3,8 +3,8 @@
|
|
|
<!-- 空白页 -->
|
|
<!-- 空白页 -->
|
|
|
<view v-if="!hasLogin || empty === true" class="empty">
|
|
<view v-if="!hasLogin || empty === true" class="empty">
|
|
|
<image src="/static/error/emptyCart.png" class="emptyImg" mode="aspectFit"></image>
|
|
<image src="/static/error/emptyCart.png" class="emptyImg" mode="aspectFit"></image>
|
|
|
- <view v-if="hasLogin" class="empty-tips">
|
|
|
|
|
- 空空如也
|
|
|
|
|
|
|
+ <view v-if="hasLogin" class="empty-tips">
|
|
|
|
|
+ <text @click="gotods">空空如也</text>
|
|
|
<navigator class="navigator" v-if="hasLogin" url="../index/index" open-type="switchTab">随便逛逛></navigator>
|
|
<navigator class="navigator" v-if="hasLogin" url="../index/index" open-type="switchTab">随便逛逛></navigator>
|
|
|
</view>
|
|
</view>
|
|
|
<view v-else class="empty-tips">
|
|
<view v-else class="empty-tips">
|
|
@@ -210,6 +210,10 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
+ },
|
|
|
|
|
+ gotods() {
|
|
|
|
|
+ console.log('dianji')
|
|
|
|
|
+ window.location.href = 'http://ygs.hqgjsmc.com/'
|
|
|
},
|
|
},
|
|
|
//计算总价
|
|
//计算总价
|
|
|
calcTotal() {
|
|
calcTotal() {
|