|
@@ -240,12 +240,10 @@
|
|
|
<view class="pop-bg" @tap="tapPopClose"></view>
|
|
|
<view class="pop-win-inner">
|
|
|
<view class="pop-win-body">
|
|
|
-
|
|
|
<view class="fx-r">
|
|
|
<view class="pop-win-bg">
|
|
|
<image @tap="tapPhone2" :src="selData.img"></image>
|
|
|
</view>
|
|
|
-
|
|
|
<view class="pop-win-lg">
|
|
|
<view class="pop-win-lg-title">{{data.title}}</view>
|
|
|
<view class="pop-win-log-price"><text>¥</text>{{selData.commission}}</view>
|
|
@@ -274,15 +272,15 @@
|
|
|
|
|
|
<view class="buy fx-r fx-bc fx-ac">
|
|
|
<view class="fx-g1">数量</view>
|
|
|
- <view class="fx-r" v-if="data.is_package == 0">
|
|
|
+ <view class="fx-r">
|
|
|
<button @tap="tapAdCount(-1)" class="nt buy-ad-btn jdd">-</button>
|
|
|
<input type="number" v-model="selData.count" @input="tapInput" class="buy-input"/>
|
|
|
<button @tap="tapAdCount(1)" class="nt buy-ad-btn add">+</button>
|
|
|
</view>
|
|
|
|
|
|
- <view class="fx-r" v-else>
|
|
|
+ <!-- <view class="fx-r" v-else>
|
|
|
x{{ selData.count }}
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -451,7 +449,7 @@
|
|
|
*/
|
|
|
tapBuy:function(){
|
|
|
if(this.user == null) {
|
|
|
- uni.navigateTo({ url:"../login/login"});
|
|
|
+ uni.navigateTo({ url:"/pages/login/index"});
|
|
|
return;
|
|
|
}
|
|
|
buyType = "buy";
|
|
@@ -573,6 +571,7 @@
|
|
|
uni.hideLoading();
|
|
|
if(res.code == 200) {
|
|
|
this.data = res.data;
|
|
|
+ console.log(this.data,'this.data')
|
|
|
var sku = [];
|
|
|
this.selData = {
|
|
|
title : res.data.title,
|