Commit 705e8130 by 赵雅纹

Merge branch 'fixbug-ZYW' into 'dev_7.1.0'

Fixbug zyw

See merge request !162
parents b8e221f4 9d2288bf
src/assets/imgs/7_1_0/plus-sm.png

1.14 KB | W: | H:

src/assets/imgs/7_1_0/plus-sm.png

2.19 KB | W: | H:

src/assets/imgs/7_1_0/plus-sm.png
src/assets/imgs/7_1_0/plus-sm.png
src/assets/imgs/7_1_0/plus-sm.png
src/assets/imgs/7_1_0/plus-sm.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
> >
<block wx:for="{{imageData}}" wx:key="{{item}}"> <block wx:for="{{imageData}}" wx:key="{{item}}">
<swiper-item class="swiper-item"> <swiper-item class="swiper-item">
<image src="{{item.url}}" wx:if="{{!item.videoUrl}}" data-appid="{{item.id}}" data-path="{{item.link.url}}" data-link="{{item.link}}" data-item="{{item}}" bindtap='preview' class="slide-image" /> <image src="{{item.url}}" wx:if="{{!item.videoUrl}}" data-appid="{{item.id}}" data-path="{{item.link.url}}" data-link="{{item.link}}" data-item="{{item}}" bindtap='preview' class="slide-image" mode="aspectFit"/>
<video class="slide-image" src="{{utils.formateUrl(item.videoUrl,baseImgUrl)}}" wx:if="{{item.videoUrl}}" controls="true" autoplay="true"></video> <video class="slide-image" src="{{utils.formateUrl(item.videoUrl,baseImgUrl)}}" wx:if="{{item.videoUrl}}" controls="true" autoplay="true"></video>
</swiper-item> </swiper-item>
</block> </block>
......
...@@ -80,6 +80,6 @@ ...@@ -80,6 +80,6 @@
margin-left: 13rpx; margin-left: 13rpx;
} }
.pro-member-price image{ .pro-member-price image{
width: 30rpx; width: 51rpx;
margin-left: 13rpx; margin-left: 13rpx;
} }
\ No newline at end of file
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<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>
<view class="" > <view class="" >
<image <image
class="item-vip" class="item-vip"
...@@ -22,10 +23,10 @@ ...@@ -22,10 +23,10 @@
wx:if="{{item.memberPrice}}" wx:if="{{item.memberPrice}}"
/> />
</view> </view>
<text class="vip-sale-price border_box">¥{{item.memberPrice ? utils.numberFormat(item.memberPrice / 100) : utils.numberFormat(item.minSalePrice / 100)}}</text>
<!-- <text class="vip-original-price">¥189</text> --> <!-- <text class="vip-original-price">¥189</text> -->
</view> </view>
<view class="item-plus-price weui-flex" wx:if="{{item.plusPrice}}"> <view class="item-plus-price weui-flex" wx:if="{{item.plusPrice}}">
<text class="vip-plus-price vip-sale-price border_box">¥{{utils.numberFormat(item.plusPrice / 100)}}</text>
<view class=""> <view class="">
<image <image
class="item-plus" class="item-plus"
...@@ -36,7 +37,6 @@ ...@@ -36,7 +37,6 @@
bindload="" bindload=""
/> />
</view> </view>
<text class="vip-plus-price vip-sale-price border_box">¥{{utils.numberFormat(item.plusPrice / 100)}}</text>
</view> </view>
<view/> <view/>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
margin-top: 12rpx; margin-top: 12rpx;
} }
.vip-sale-price { .vip-sale-price {
padding: 0 10rpx; padding: 0 10rpx 0 0;
} }
.vip-original-price { .vip-original-price {
width: 62rpx; width: 62rpx;
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
align-items: center; align-items: center;
} }
.item-img{ .item-img{
max-height: 480rpx;
width: 100%; width: 100%;
border-top-left-radius: 10rpx; border-top-left-radius: 10rpx;
border-top-right-radius: 10rpx; border-top-right-radius: 10rpx;
......
...@@ -263,6 +263,7 @@ wxService.page({ ...@@ -263,6 +263,7 @@ wxService.page({
// 获取我的推广订单列表 // 获取我的推广订单列表
getMyExtendOrderList(pageNum, pageSize){ getMyExtendOrderList(pageNum, pageSize){
console.log('pageNum----', pageNum)
wx.showLoading({ wx.showLoading({
title: '加载中', title: '加载中',
mask: true mask: true
...@@ -276,7 +277,7 @@ wxService.page({ ...@@ -276,7 +277,7 @@ wxService.page({
wxService.getContentByContentType(item.tentacleContent) wxService.getContentByContentType(item.tentacleContent)
}) })
this.setData({ this.setData({
myExtendList: this.data.pageNum == 1 ? [...data.content] : [...this.data.myExtendList, ...data.content], myExtendList: pageNum == 1 ? [...data.content] : [...this.data.myExtendList, ...data.content],
myTotalPages: data.totalPages, myTotalPages: data.totalPages,
noMoreFlag: data.content.length < pageSize ? true : false, noMoreFlag: data.content.length < pageSize ? true : false,
}, () => { }, () => {
...@@ -366,6 +367,7 @@ wxService.page({ ...@@ -366,6 +367,7 @@ wxService.page({
}) })
} }
}else{ }else{
console.log('11111111111', this.data.pageNum)
if (this.data.pageNum < this.data.myTotalPages) { if (this.data.pageNum < this.data.myTotalPages) {
this.setData({ this.setData({
pageNum: this.data.pageNum + 1, pageNum: this.data.pageNum + 1,
......
...@@ -194,6 +194,9 @@ wxService.page({ ...@@ -194,6 +194,9 @@ wxService.page({
//获取内容下商品列表 //获取内容下商品列表
getProList(){ getProList(){
var params = { var params = {
productIds: this.data.contentInfo.productIds productIds: this.data.contentInfo.productIds
} }
......
{ {
"navigationBarTitleText": "聚FUN", "navigationBarTitleText": "商品列表",
"usingComponents": { "usingComponents": {
"product-list-style-one": "/component/productListStyleOne/productListStyleOne", "product-list-style-one": "/component/productListStyleOne/productListStyleOne",
"product-list-style-two": "/component/productListStyleTwo/productListStyleTwo", "product-list-style-two": "/component/productListStyleTwo/productListStyleTwo",
......
...@@ -54,7 +54,7 @@ wxService.page({ ...@@ -54,7 +54,7 @@ wxService.page({
const { result, data } = res.data const { result, data } = res.data
if (result == 0) { if (result == 0) {
this.setData({ this.setData({
isGoToInvite: data isGoToInvite: data || ''
}) })
} }
}).finally(() => { }).finally(() => {
...@@ -123,7 +123,7 @@ wxService.page({ ...@@ -123,7 +123,7 @@ wxService.page({
if (result == 0) { if (result == 0) {
wx.hideLoading() wx.hideLoading()
this.setData({ this.setData({
inviteBanner: data.gradientAwardPage inviteBanner: data && data.gradientAwardPage || ''
}, () => { }, () => {
}) })
// let now = new Date().getTime() // let now = new Date().getTime()
......
...@@ -108,7 +108,7 @@ wxService.page({ ...@@ -108,7 +108,7 @@ wxService.page({
//跳转商品详情 //跳转商品详情
onTapToGoodsInfo(e) { onTapToGoodsInfo(e) {
console.log(e) console.log('0000',e)
let item = e.currentTarget.dataset.item; let item = e.currentTarget.dataset.item;
let productId = e.currentTarget.dataset.productid; let productId = e.currentTarget.dataset.productid;
//组装一个临时触点信息对象到本地 //组装一个临时触点信息对象到本地
......
...@@ -70,7 +70,7 @@ wxService.page({ ...@@ -70,7 +70,7 @@ wxService.page({
if (result == 0) { if (result == 0) {
wx.hideLoading() wx.hideLoading()
this.setData({ this.setData({
orderBenefitList: this.data.pageNum == 1 ? [...data.content] : [...this.data.orderBenefitList, ...data.content], orderBenefitList: pageNum == 1 ? [...data.content] : [...this.data.orderBenefitList, ...data.content],
totalPages: data.totalPages totalPages: data.totalPages
}, () => { }, () => {
}) })
......
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