Commit 022fc59a by 高淑倩

优化

parent 5b8b2084
...@@ -94,7 +94,6 @@ Component({ ...@@ -94,7 +94,6 @@ Component({
imagewidth: imageSize.imageWidth, imagewidth: imageSize.imageWidth,
imageheight: imageSize.imageHeight imageheight: imageSize.imageHeight
}) })
console.log('-----', imageSize)
}, },
preview(event) { preview(event) {
utilLink.currentLinkRouter(event) utilLink.currentLinkRouter(event)
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
style="height:100%" style="height:100%"
> >
<image <image
class="pic-img hhh" class="pic-img"
style="width: {{100}}%;" style="width: {{100}}%;"
src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}" src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}"
data-appid="{{item.link.appid}}" data-appid="{{item.link.appid}}"
...@@ -29,13 +29,12 @@ ...@@ -29,13 +29,12 @@
bindload="imageLoad" bindload="imageLoad"
bindtap='preview' bindtap='preview'
mode="widthFix" mode="widthFix"
/> />
</button> </button>
<image <image
wx:if="{{currentHasUserInfo}}" wx:if="{{currentHasUserInfo}}"
class="pic-img yyyy" class="pic-img"
style="width: {{100}}%;" style="width: {{100}}%;"
src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}" src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}"
data-appid="{{item.link.appid}}" data-appid="{{item.link.appid}}"
...@@ -50,7 +49,7 @@ ...@@ -50,7 +49,7 @@
</view> </view>
<view wx:else> <view wx:else>
<image <image
class="pic-img ttt" class="pic-img"
style="width: {{100}}%;" style="width: {{100}}%;"
src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}" src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}"
data-appid="{{item.link.appid}}" data-appid="{{item.link.appid}}"
......
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