Sfoglia il codice sorgente

【ID1000933】:修复砍价商品售罄列表页不显示售罄

tags/富茂链客3.3.4
meo 6 anni fa
parent
commit
1ea9fb27fd
5 ha cambiato i file con 11 aggiunte e 6 eliminazioni
  1. +3
    -3
      config/config.js
  2. +2
    -1
      pages/bargain/bargain.wxml
  3. +3
    -0
      pages/bargain/bargain.wxss
  4. +1
    -0
      pages/coupon/detail/index.js
  5. +2
    -2
      project.config.json

+ 3
- 3
config/config.js Vedi File

@@ -1,9 +1,9 @@
var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {};
var appId = extConfig.appId;
var config = {
// url: "https://ciformall.youlane.cn/C/api",
url: "https://ciformall.youlane.cn/C/api",
// url:"https://c.malls.iformall.com/C/api",
url:'https://ctest.malls.iformall.com/C/api',
// url:'https://ctest.malls.iformall.com/C/api',
// url:'http://10.100.33.70:7000/C/api',
// url: 'http://202.165.179.86:4000/C/api',
api: {
@@ -219,7 +219,7 @@ var config = {
},

weapp: {
AppId: "wx649b3be73c1afe47"
AppId: "wxea71200db93d756b"
},
ErrorCode: {


+ 2
- 1
pages/bargain/bargain.wxml Vedi File

@@ -13,7 +13,8 @@
<text class="txt03">{{item.priceStr}}元</text>
<text class="txt04">可砍至<text class="money">{{item.salePriceStr}}</text>元</text>
</view>
<view class="botton" hover-class="none" hover-stop-propagation="false">发起砍价</view>
<view class="botton" wx:if="{{item.remainInventory != 0}}" hover-class="none" hover-stop-propagation="false">发起砍价</view>
<view class="botton botton02" wx:if="{{item.remainInventory == 0}}" hover-class="none" hover-stop-propagation="false">已售罄</view>
</view>
<view class="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="aspectFill"></image>{{content}}</view>
<!-- <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view> -->


+ 3
- 0
pages/bargain/bargain.wxss Vedi File

@@ -106,6 +106,9 @@ page{
font-size:26rpx;
color:rgba(255,255,255,1);
}
.botton02{
background: #ccc!important;
}
.botton2{
position: absolute;
right: 0;


+ 1
- 0
pages/coupon/detail/index.js Vedi File

@@ -229,6 +229,7 @@ Page({
couponId: options.couponId,
title: that.data.data.title ? that.data.data.title : '',
});
if (options.cardType) {
that.setData({
cardType: options.cardType


+ 2
- 2
project.config.json Vedi File

@@ -4,7 +4,7 @@
"ignore": []
},
"setting": {
"urlCheck": true,
"urlCheck": false,
"es6": true,
"postcss": true,
"minified": true,
@@ -13,7 +13,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.0.9",
"appid": "wx649b3be73c1afe47",
"appid": "wxea71200db93d756b",
"projectname": "C",
"isGameTourist": false,
"condition": {


Caricamento…
Annulla
Salva