Commit 38aaa11c by 谢中龙

修改bug

parent e4c2a7b0
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
id="swiperImg{{index}}" id="swiperImg{{index}}"
mode="widthFix" mode="widthFix"
class="slide-image" class="slide-image"
lazy-load
/> />
</button> </button>
<view wx:if="{{currentHasUserInfo}}"> <view wx:if="{{currentHasUserInfo}}">
...@@ -43,6 +44,7 @@ ...@@ -43,6 +44,7 @@
id="swiperImg{{index}}" id="swiperImg{{index}}"
mode="widthFix" mode="widthFix"
class="slide-image" class="slide-image"
lazy-load
/> />
</view> </view>
</view> </view>
...@@ -62,6 +64,7 @@ ...@@ -62,6 +64,7 @@
id="swiperImg{{index}}" id="swiperImg{{index}}"
mode="widthFix" mode="widthFix"
class="slide-image" class="slide-image"
lazy-load
/> />
</view> </view>
</view> </view>
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
bindload="imageLoad" bindload="imageLoad"
bindtap='preview' bindtap='preview'
mode="widthFix" mode="widthFix"
lazy-load
/> />
</button> </button>
...@@ -44,7 +45,7 @@ ...@@ -44,7 +45,7 @@
bindload="imageLoad" bindload="imageLoad"
bindtap='preview' bindtap='preview'
mode="widthFix" mode="widthFix"
lazy-load="true"
/> />
</view> </view>
<view wx:else> <view wx:else>
...@@ -59,6 +60,7 @@ ...@@ -59,6 +60,7 @@
bindload="imageLoad" bindload="imageLoad"
bindtap='preview' bindtap='preview'
mode="widthFix" mode="widthFix"
lazy-load
/> />
</view> </view>
</view> </view>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<template name="water-list"> <template name="water-list">
<navigator hover-class="none" url="/pages/productDetail/productDetail?id={{productId}}"> <navigator hover-class="none" url="/pages/productDetail/productDetail?id={{productId}}">
<view class="item"> <view class="item">
<image class="item-img" src="{{indexUrl}}" mode="widthFix"></image> <image class="item-img" src="{{indexUrl}}" mode="widthFix" lazy-load></image>
<view class="item-title-box"> <view class="item-title-box">
<view class="item-title">{{productName}}</view> <view class="item-title">{{productName}}</view>
</view> </view>
......
<!--component/productListStyleTwo/productListStyleTwo.wxml--> <!--component/productListStyleTwo/productListStyleTwo.wxml-->
<wxs src="../../wxs/utils.wxs" module="utils" /> <wxs src="../../wxs/utils.wxs" module="utils" />
<block wx:for="{{imageData}}" wx:key="{{index}}"> <block wx:for="{{imageData}}" wx:key="*this">
<navigator hover-class="none" url="/pages/productDetail/productDetail?id={{menuSec.productId}}"> <navigator hover-class="none" url="/pages/productDetail/productDetail?id={{menuSec.productId}}">
<view class="hot-item border_box" > <view class="hot-item border_box" >
<view class="hot-img-box"> <view class="hot-img-box">
<image class="hot-img" src="{{item.indexUrl}}" mode="widthFix" lazy-load="false" binderror="" bindload="" /> <image class="hot-img" src="{{item.indexUrl}}" mode="widthFix" lazy-load />
</view> </view>
<view class="hot-item-desc border_box"> <view class="hot-item-desc border_box">
<view class="item-name">{{item.productName}}</view> <view class="item-name">{{item.productName}}</view>
<!-- <view class="item-desc">{{item.productStatusDesc}}</view>--> <!-- <view class="item-desc">{{item.productStatusDesc}}</view>-->
<view class="item-vip-price weui-flex"> <view class="item-vip-price weui-flex">
<text class="vip-sale-price border_box">¥{{item.memberPrice ? utils.numberFormat(item.memberPrice / 100) : utils.numberFormat(item.minSalePrice / 100)}}</text> <text class="vip-sale-price border_box">
¥{{item.memberPrice ? utils.numberFormat(item.memberPrice / 100) : utils.numberFormat(item.minSalePrice / 100)}}
</text>
<view class="" > <view class="" >
<image <image
class="item-vip" class="item-vip"
src="./../../assets/imgs/7_1_0/vip.png" src="./../../assets/imgs/7_1_0/vip.png"
mode="widthFix" mode="widthFix"
lazy-load="false"
binderror=""
bindload=""
wx:if="{{item.memberPrice}}" wx:if="{{item.memberPrice}}"
/> />
</view> </view>
...@@ -33,12 +32,9 @@ ...@@ -33,12 +32,9 @@
src="./../../assets/imgs/7_1_0/plus.png" src="./../../assets/imgs/7_1_0/plus.png"
mode="widthFix" mode="widthFix"
lazy-load="false" lazy-load="false"
binderror=""
bindload=""
/> />
</view> </view>
</view> </view>
<view/> <view/>
</view> </view>
</view> </view>
......
...@@ -21,7 +21,7 @@ const PROJECT_ENV = 'prod' // 生产 prod, 开发 dev, 测试 test , 测试门 ...@@ -21,7 +21,7 @@ const PROJECT_ENV = 'prod' // 生产 prod, 开发 dev, 测试 test , 测试门
//2015 花在花园 //2015 花在花园
//2016 阿吉豆 //2016 阿吉豆
//2017 ACTREE wx2aae34874e88cdf5 //2017 ACTREE wx2aae34874e88cdf5
const BRANCH_ID = 2006 const BRANCH_ID = 3001
const isMall = true const isMall = true
// const needMock = '' // // const needMock = '' //
......
...@@ -74,7 +74,9 @@ wxService.page({ ...@@ -74,7 +74,9 @@ wxService.page({
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad () {}, onLoad () {
wx.hideShareMenu();
},
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.8.2", "libVersion": "2.8.2",
"appid": "wx40fec8944623c8b3", "appid": "wx313ec36b710125d4",
"projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E", "projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment