Commit 14fd1ce3 by 张晓玮

Merge branch 'zhangxw_dev_3.0' into 'v3.0'

Zhangxw dev 3.0

See merge request !118
2 parents 7012fab4 1e4037a9
...@@ -89,7 +89,7 @@ Page({ ...@@ -89,7 +89,7 @@ Page({
openId: WXUSERINFO.openId || '', openId: WXUSERINFO.openId || '',
unionId: USERINFO.uuid || '', unionId: USERINFO.uuid || '',
nickName: USERINFO.name || '', nickName: USERINFO.name || '',
avatar: USERINFO.weChatAvatarUrl || '', avatar: USERINFO.sta_avatarUrl || USERINFO.weChatAvatarUrl || '',
phone: USERINFO.phone || USERINFO.weChatPhone || '', phone: USERINFO.phone || USERINFO.weChatPhone || '',
merchantId: USERINFO.merchantId || '', merchantId: USERINFO.merchantId || '',
shopName: USERINFO.merchantName || '', shopName: USERINFO.merchantName || '',
......
...@@ -25,10 +25,10 @@ ...@@ -25,10 +25,10 @@
<view class="share-box" wx:if="{{detailInfo.missonType == 2}}"> <view class="share-box" wx:if="{{detailInfo.missonType == 2}}">
<image class="bg" style="height: {{boxImageHeight}}px;" webp src="{{IMGURL}}taskDetail_bg.png"></image> <image class="bg" style="height: {{boxImageHeight}}px;" webp src="{{IMGURL}}taskDetail_bg.png"></image>
<view class="user-box"> <view class="user-box">
<image webp class="user_image" src="{{userStorage.weChatAvatarUrl ? userStorage.weChatAvatarUrl : IMGURL + 'default_avatar.png'}}"></image> <image webp class="user_image" src="{{userStorage.sta_avatarUrl ? userStorage.sta_avatarUrl : userStorage.weChatAvatarUrl ? userStorage.weChatAvatarUrl : IMGURL + 'default_avatar.png'}}"></image>
<view class="message"> <view class="message">
<view class="name">{{userStorage.weChatNickName || userStorage.name || ""}}<text>邀请你参加</text></view> <view class="name">{{userStorage.name || ""}}<text>邀请你参加</text></view>
<view class="activity"><text>{{userStorage.merchantName || ""}}{{detailInfo.activityName || ""}}</text><text class="activity-type-tag">{{activityTypList[0]}}</text></view> <view class="activity"><text>{{detailInfo.activityName || ""}}</text><text class="activity-type-tag">{{activityTypList[0]}}</text></view>
</view> </view>
</view> </view>
<view class="content" wx:if="{{detailInfo.platformMerchantMissionMaterialResponseList.length}}"> <view class="content" wx:if="{{detailInfo.platformMerchantMissionMaterialResponseList.length}}">
......
...@@ -8,14 +8,16 @@ ...@@ -8,14 +8,16 @@
<view class="all"> <view class="all">
<view class="title {{ind > 1 ? 'primary-title': ''}}">{{data.overviewData[i].all.title}}</view> <view class="title {{ind > 1 ? 'primary-title': ''}}">{{data.overviewData[i].all.title}}</view>
<view class="number">{{data.overviewData[i].all.num || 0}}</view> <view class="number">{{data.overviewData[i].all.num || 0}}</view>
<view wx:if="{{ind != 1}}" class="sort"><text>当前排名:</text>{{data.overviewData[i].all.sort || '-'}}</view> <view class="sort"><text>当前排名:</text>{{data.overviewData[i].all.sort || '-'}}</view>
<view wx:else class="sort"><text>排名 </text><text class="{{!data.overviewData[i].all.sort ? '' : (data.overviewData[i].all.sort > 0 ? 'up' : 'down')}}">{{fn.mathABS(data.overviewData[i].all.sort) || '-'}}<text wx:if="{{data.overviewData[i].all.sort}}">{{data.overviewData[i].all.sort > 0 ? ' ⬆ ' : ' ⬇ '}}</text></text></view> <!-- <view wx:if="{{ind != 1}}" class="sort"><text>当前排名:</text>{{data.overviewData[i].all.sort || '-'}}</view>
<view wx:else class="sort"><text>排名 </text><text class="{{!data.overviewData[i].all.sort ? '' : (data.overviewData[i].all.sort > 0 ? 'up' : 'down')}}">{{fn.mathABS(data.overviewData[i].all.sort) || '-'}}<text wx:if="{{data.overviewData[i].all.sort}}">{{data.overviewData[i].all.sort > 0 ? ' ⬆ ' : ' ⬇ '}}</text></text></view> -->
</view> </view>
<view class="today"> <view class="today">
<view class="title">{{data.overviewData[i].today.title}}</view> <view class="title">{{data.overviewData[i].today.title}}</view>
<view class="number">{{data.overviewData[i].today.num || 0}}</view> <view class="number">{{data.overviewData[i].today.num || 0}}</view>
<view wx:if="{{ind != 1}}" class="sort"><text>当前排名:</text>{{data.overviewData[i].today.sort || '-'}}</view> <view class="sort"><text>当前排名:</text>{{data.overviewData[i].today.sort || '-'}}</view>
<view wx:else class="sort"><text>排名 </text><text class="{{!data.overviewData[i].today.sort ? '' : (data.overviewData[i].today.sort > 0 ? 'up' : 'down')}}">{{fn.mathABS(data.overviewData[i].today.sort) || '-'}}<text wx:if="{{data.overviewData[i].today.sort}}">{{data.overviewData[i].today.sort > 0 ? ' ⬆ ' : ' ⬇ '}}</text></text></view> <!-- <view wx:if="{{ind != 1}}" class="sort"><text>当前排名:</text>{{data.overviewData[i].today.sort || '-'}}</view>
<view wx:else class="sort"><text>排名 </text><text class="{{!data.overviewData[i].today.sort ? '' : (data.overviewData[i].today.sort > 0 ? 'up' : 'down')}}">{{fn.mathABS(data.overviewData[i].today.sort) || '-'}}<text wx:if="{{data.overviewData[i].today.sort}}">{{data.overviewData[i].today.sort > 0 ? ' ⬆ ' : ' ⬇ '}}</text></text></view> -->
</view> </view>
</view> </view>
</block> </block>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!