Commit 641aa212 by chenwq

client海报分享,样式

1 parent b109ef70
...@@ -232,13 +232,15 @@ ...@@ -232,13 +232,15 @@
} }
} }
&-name { .rank-row-name {
max-width: 200rpx;
font-size: 24rpx; font-size: 24rpx;
color: #3666FE; color: #3666FE;
margin-right: 12rpx; margin-right: 12rpx;
} }
.name-disabled { .name-disabled {
max-width: 200rpx;
font-size: 24rpx; font-size: 24rpx;
color: #5A6066; color: #5A6066;
margin-right: 12rpx; margin-right: 12rpx;
......
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
</view> </view>
<view class="rank-content"> <view class="rank-content">
<view class="rank-row"> <view class="rank-row">
<text wx:if="{{subItem.goodUrl}}" class="rank-row-name" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}{{}}</text> <text wx:if="{{subItem.goodUrl}}" class="rank-row-name text-hide" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text>
<text wx:else class="name-disabled" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text> <text wx:else class="name-disabled text-hide" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text>
<view class="down-tips" wx:if="{{orderObj.staffIdx == index && idx == 0}}"> <view class="down-tips" wx:if="{{orderObj.staffIdx == index && idx == 0}}">
点击员工姓名看喜报 点击员工姓名看喜报
</view> </view>
......
...@@ -117,20 +117,6 @@ Component({ ...@@ -117,20 +117,6 @@ Component({
activityId: this.data.list[idx].activityLastUnSharedInfo.id, activityId: this.data.list[idx].activityLastUnSharedInfo.id,
activityName: this.data.list[idx].activityLastUnSharedInfo.activityName activityName: this.data.list[idx].activityLastUnSharedInfo.activityName
} }
// const {
// item
// } = e.currentTarget.dataset,
console.log(item)
const posterObj = this.selectComponent('#poster')
const { options } = wx.$router.getPageInstance()
console.log(options)
try {
let flag = await posterObj.check(item)
posterObj.setData({
poster: flag,
show: true
})
} catch (error) {
wx.$api.showLoading('加载中...') wx.$api.showLoading('加载中...')
outputApi outputApi
.getPosterUrl({ .getPosterUrl({
...@@ -146,7 +132,6 @@ Component({ ...@@ -146,7 +132,6 @@ Component({
.catch(() => { .catch(() => {
wx.$api.showToast('下载海报失败') wx.$api.showToast('下载海报失败')
}) })
}
}, },
/**长按海报 */ /**长按海报 */
async longtouch(e) { async longtouch(e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!