Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 14fd1ce3
authored
Nov 01, 2022
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zhangxw_dev_3.0' into 'v3.0'
Zhangxw dev 3.0 See merge request
!118
2 parents
7012fab4
1e4037a9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
packageActivity/pages/applyActivity/applyActivity.js
packageActivity/pages/taskDetail/taskDetail.wxml
pages/tab/index/components/activityOverview/activityOverview.wxml
packageActivity/pages/applyActivity/applyActivity.js
View file @
14fd1ce
...
@@ -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
||
''
,
...
...
packageActivity/pages/taskDetail/taskDetail.wxml
View file @
14fd1ce
...
@@ -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}}">
...
...
pages/tab/index/components/activityOverview/activityOverview.wxml
View file @
14fd1ce
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment