作者 lihongjuan

1

... ... @@ -16,7 +16,7 @@
<view class='sell'>已卖出{{item.paynum}}件</view>
</view>
<view class='oldprice'>{{item.price}}</view>
<!-- <view class='oldprice'>{{item.price}}</view> -->
</view>
<view class='goods_flex' wx:else>
... ...
... ... @@ -18,7 +18,7 @@
<image class="num_btn" src="/images/add.png" data-index="{{index}}" data-type="1" data-num="{{item.num}}" data-id="{{item.id}}" data-product_id="{{item.product_id}}" catchtap="num_change"/>
</view>
</view>
<view class="oldprice" wx:if="{{item.product.price2!=null||item.price2!=null}}">{{item.product.price||item.price}}</view>
<!-- <view class="oldprice" wx:if="{{item.product.price2!=null||item.price2!=null}}">{{item.product.price||item.price}}</view> -->
</view>
</view>
</view>
... ...
... ... @@ -25,7 +25,8 @@
<view class="list_textarea">
<view class="list_left">详细地址</view>
<view class="list_right">
<textarea placeholder="道路、门牌号、小区、楼栋号等" placeholder-class="inut_plclass" bindinput="getAddressFun" style="padding-top:22rpx;"></textarea>
<!-- style="padding-top:22rpx;" -->
<textarea placeholder="道路、门牌号、小区、楼栋号等" placeholder-class="inut_plclass" bindinput="getAddressFun" style="padding-top:2rpx;" ></textarea>
</view>
</view>
<view class="list">
... ...
... ... @@ -72,9 +72,6 @@ if( app.globalData.index==undefined){
this.get_info(0, 1);
}
this.get_banner()
// 获取活动专区
this.getzhuanqulist();
this.getxianshi();
... ... @@ -715,6 +712,8 @@ if( app.globalData.index==undefined){
* 生命周期函数--监听页面显示
*/
onShow: function() {
this.get_banner()
console.log(app.globalData.index)
if(app.globalData.index==0){
app.globalData.index=undefined
... ...
... ... @@ -12,7 +12,7 @@
<!-- <view class="id">ID {{obj.id_card}}</view> -->
</view>
</view>
<view class="company">{{obj.competition}}</view>
<!-- <view class="company">{{obj.competition}}</view> -->
<view class="info_box">
<view>{{obj.job?obj.job:'暂无'}}</view>
<!-- <view>{{obj.section?obj.section:'暂无'}}</view> -->
... ...
... ... @@ -18,6 +18,13 @@ Page({
},
// 展示待支付的去支付弹窗
show_cover(e) {
if( app.globalData.status==0){
wx.showToast({
title: '您已被拉黑',
icon:'none'
})
return false
}
if (e.currentTarget.dataset.d) {
let index = Number(e.currentTarget.dataset.index)
let daiorder = this.data.daiorder
... ...
... ... @@ -159,7 +159,9 @@ Page({
},
//去结算
submit(){
let that = this
let that = this;
if (that.data.all_num == 0){
wx.showToast({
title: '请先选择商品',
... ... @@ -168,6 +170,13 @@ submit(){
})
return
}
if(app.globalData.status==0){
wx.showToast({
title: '您已被拉黑',
icon:'none'
})
return false
}
let list = that.data.list
let info = []
for (let obj of list) {
... ...
... ... @@ -128,6 +128,13 @@ Page({
},
change_cover(e) {
if( app.globalData.status==0){
wx.showToast({
title: '您已被拉黑',
icon:'none'
})
return false
}
if (e.currentTarget.dataset.type) {
this.setData({
btn_type: e.currentTarget.dataset.type
... ...
... ... @@ -16,7 +16,7 @@
<view class='price'>{{info.price2==null?info.price:info.price2}}</view>
</view>
<view class="oldprice" wx:if="{{info.price2!=null}}">{{info.price}}</view>
<!-- <view class="oldprice" wx:if="{{info.price2!=null}}">{{info.price}}</view> -->
<view class='two_two'>{{info.name}}</view>
<view class='two_three two_threek'>
<view>库存:{{info.sold}}</view>
... ... @@ -69,7 +69,7 @@
<view class='scores'>积分</view>
<view class='prices'>{{info.price2}}</view>
</view>
<view class="oldprice">{{info.price}}</view>
<!-- <view class="oldprice">{{info.price}}</view> -->
</view>
... ...
... ... @@ -115,6 +115,13 @@ Page({
},
change_cover(e) {
if( app.globalData.status==0){
wx.showToast({
title: '您已被拉黑',
icon:'none'
})
return false
}
if (e.currentTarget.dataset.type) {
this.setData({
btn_type: e.currentTarget.dataset.type
... ...
... ... @@ -24,7 +24,7 @@
<view class="miaogood flextwo">
<view class="miaogoodleft flexone" wx:if="{{item.price2!=null}}">
<view class="saleprice" >¥{{item.price2}}</view>
<view class=" oldprice">¥{{item.price}}</view>
<!-- <view class=" oldprice">¥{{item.price}}</view> -->
<!-- <view class="yuansaleprice">¥{{}}</view> -->
</view>
<view class="miaogoodleft flexone" wx:else>
... ...
... ... @@ -37,7 +37,7 @@
<view class='sell'>已卖出{{item.product.paynum}}件</view>
</view>
<view class='oldprice'>{{item.product.price}}</view>
<!-- <view class='oldprice'>{{item.product.price}}</view> -->
</view>
<view class='goods_flex' wx:else>
... ... @@ -68,7 +68,7 @@
<!-- <view class='sell'>已卖出{{item.combo.paynum}}件</view> -->
</view>
<view class='oldprice'>{{item.combo.price}}</view>
<!-- <view class='oldprice'>{{item.combo.price}}</view> -->
</view>
<view class='goods_flex' wx:else>
... ...