Commit deb73f35 by chenwq

bug修复

1 parent ba13ee4f
...@@ -19,6 +19,10 @@ Component({ ...@@ -19,6 +19,10 @@ Component({
} }
}, },
options: {
styleIsolation: 'shared'
},
/** /**
* 组件的初始数据 * 组件的初始数据
*/ */
...@@ -155,6 +159,10 @@ Component({ ...@@ -155,6 +159,10 @@ Component({
}) })
}) })
}, },
handleJumpH5(e) {
const { item } = e.currentTarget.dataset
wx.$router.jumpH5(item.activityUrl)
},
download(e) { download(e) {
const { item } = e.currentTarget.dataset const { item } = e.currentTarget.dataset
wx.$api.showLoading('加载中...') wx.$api.showLoading('加载中...')
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<view class="box merchant" wx:for="{{orderObj.activityList}}" wx:key="index"> <view class="box merchant" wx:for="{{orderObj.activityList}}" wx:key="index">
<view class="head"> <view class="head">
<!-- text-hide --> <!-- text-hide -->
<view class=" head-title">{{item.activityName}}</view> <view class=" head-title" bindtap="handleJumpH5" data-item="{{item}}">{{item.activityName}}</view>
<view class="head-link" bindtap="download" data-item="{{item}}"> <view class="head-link" bindtap="download" data-item="{{item}}">
<image src="{{IMAGES.download}}" class="downloadIcon" webp></image> <image src="{{IMAGES.download}}" class="downloadIcon" webp></image>
下载海报 下载海报
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<view wx:if="{{item.showStaffList.length}}"> <view wx:if="{{item.showStaffList.length}}">
<block wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx"> <block wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="tr"> <view class="tr">
<view class="td" style="width: {{i.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="i" wx:for-index="j" wx:key="j"> <view class="td text-hide" style="width: {{i.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="i" wx:for-index="j" wx:key="j">
<view wx:if="{{j == 0 && idx < 3}}"> <view wx:if="{{j == 0 && idx < 3}}">
<image class="icon-rank" src="{{IMGURL}}output/rank0{{idx + 1}}.png?v={{img_version}}" /> <image class="icon-rank" src="{{IMGURL}}output/rank0{{idx + 1}}.png?v={{img_version}}" />
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!