Commit c4e1c6e7 by 赵雅纹

plus会员购买页

parent a913267e
......@@ -94,6 +94,7 @@ Component({
imagewidth: imageSize.imageWidth,
imageheight: imageSize.imageHeight
})
console.log('-----', imageSize)
},
preview(event) {
utilLink.currentLinkRouter(event)
......
......@@ -20,7 +20,7 @@
>
<image
class="pic-img hhh"
style="width: {{100}}%;height: {{100}}px;"
style="width: {{100}}%;"
src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}"
data-appid="{{item.link.appid}}"
data-path="{{item.link.url}}"
......@@ -28,13 +28,15 @@
data-item="{{item}}"
bindload="imageLoad"
bindtap='preview'
mode="widthFix"
/>
</button>
<image
wx:if="{{currentHasUserInfo}}"
class="pic-img yyyy"
style="width: {{100}}%;height: {{100}}px;"
style="width: {{100}}%;"
src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}"
data-appid="{{item.link.appid}}"
data-path="{{item.link.url}}"
......@@ -42,12 +44,14 @@
data-item="{{item}}"
bindload="imageLoad"
bindtap='preview'
mode="widthFix"
/>
</view>
<view wx:else>
<image
class="pic-img ttt"
style="width: {{100}}%;height: {{100}}px;"
style="width: {{100}}%;"
src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}"
data-appid="{{item.link.appid}}"
data-path="{{item.link.url}}"
......@@ -55,6 +59,7 @@
data-item="{{item}}"
bindload="imageLoad"
bindtap='preview'
mode="widthFix"
/>
</view>
</view>
......
......@@ -268,23 +268,13 @@ wxService.page({
if (result == 0) {
wx.hideLoading()
data.content.forEach((item) =>{
//内容类型 1.文章 2.商品 3.页面
// if (item.content){
// if (item.contentType == 3){
// item.content = item.content
// }else{
// let content = JSON.parse(item.content)
// item.contentArr = content
// }
// }
wxService.getContentByContentType(item)
wxService.getContentByContentType(item.tentacleContent)
})
this.setData({
myExtendList: this.data.pageNum == 1 ? [...data.content] : [...this.data.myExtendList, ...data.content],
myTotalPages: data.totalPages
}, () => {
})
console.log('00000',this.data.myExtendList)
}
}
})
......
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