Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-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 4850d457
authored
Nov 09, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
分享
1 parent
f729dc5b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
25 deletions
pages/tab/output/components/client/client.js
pages/tab/output/components/client/client.scss
pages/tab/output/components/client/client.wxml
pages/tab/output/components/client/client.js
View file @
4850d45
...
@@ -102,6 +102,11 @@ Component({
...
@@ -102,6 +102,11 @@ Component({
handleJumpIdx
()
{
handleJumpIdx
()
{
wx
.
$router
.
go
(
'pages.index'
)
wx
.
$router
.
go
(
'pages.index'
)
},
},
handleShare
(
e
)
{
let
{
idx
}
=
e
.
currentTarget
.
dataset
var
currentItem
=
this
.
data
.
list
[
idx
]
console
.
log
(
'分享----'
,
currentItem
)
},
handleJump
(
e
)
{
handleJump
(
e
)
{
let
{
idx
}
=
e
.
currentTarget
.
dataset
let
{
idx
}
=
e
.
currentTarget
.
dataset
var
currentItem
=
this
.
data
.
list
[
idx
]
var
currentItem
=
this
.
data
.
list
[
idx
]
...
...
pages/tab/output/components/client/client.scss
View file @
4850d45
...
@@ -129,6 +129,34 @@
...
@@ -129,6 +129,34 @@
}
}
}
}
.box.share
{
margin-bottom
:
0
;
}
.box-share
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
box-sizing
:
border-box
;
width
:
100%
;
padding
:
12rpx
20rpx
;
background
:
#FFF9F2
;
border-radius
:
0
0
8rpx
8rpx
;
margin-bottom
:
16rpx
;
.btn-share
{
width
:
112rpx
;
height
:
56rpx
;
line-height
:
56rpx
;
background
:
#3666FE
;
border-radius
:
28rpx
;
font-size
:
24rpx
;
color
:
#FFFFFF
;
text-align
:
center
;
margin-left
:
20rpx
;
}
}
.end-txt
{
.end-txt
{
font-size
:
24rpx
;
font-size
:
24rpx
;
text-align
:
center
;
text-align
:
center
;
...
...
pages/tab/output/components/client/client.wxml
View file @
4850d45
...
@@ -6,39 +6,46 @@
...
@@ -6,39 +6,46 @@
<text>总收益</text>
<text>总收益</text>
<text class="price-txt">¥{{totalProfit}}</text>
<text class="price-txt">¥{{totalProfit}}</text>
</view>
</view>
<view class="box" wx:for="{{list}}" wx:key="index" bindtap="handleJump" data-idx="{{index}}">
<view wx:for="{{list}}" wx:key="index" bindtap="handleJump" data-idx="{{index}}">
<view class="head flex-between">
<view class="box share">
<view class="name ">{{item.merchantName}}</view>
<view class="head flex-between">
<view class="price-txt ">¥{{item.totalMoney}}</view>
<view class="name ">{{item.merchantName}}</view>
</view>
<view class="price-txt ">¥{{item.totalMoney}}</view>
<!-- 场景内容 -->
</view>
<view class="box-content">
<!-- 场景内容 -->
<scene-box formData="{{item}}" hasLockIcon="{{false}}" />
<view class="box-content">
<!-- 通知 -->
<scene-box formData="{{item}}" hasLockIcon="{{false}}" />
<view class="box-bottom">
<!-- 通知 -->
<view wx:if="{{item.msgList.length}}" class="flex">
<view class="box-bottom">
<view class="tip-blue">最新</view>
<view wx:if="{{item.msgList.length}}" class="flex">
<view class="bottom-content">
<view class="tip-blue">最新</view>
<view class="flex-between tip-row" wx:for="{{item.msgList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="bottom-content">
<view>{{subItem.msg}}</view>
<view class="flex-between tip-row" wx:for="{{item.msgList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="time">{{subItem.createTime}}</view>
<view>{{subItem.msg}}</view>
<view class="time">{{subItem.createTime}}</view>
</view>
</view>
</view>
</view>
</view>
</view
>
<view wx:if="{{!item.msgList.length && !item.isOpenScene}}" class="flex"
>
<view wx:if="{{!item.msgList.length && !item.isOpenScene}}" class="flex"
>
<view class="tip-blue">通知</view
>
<view class="tip-blue">通知</view
>
<view class="bottom-content"
>
<view class="bottom-content
">
<view class="tip-row
">
<view class="tip-row"
>
<view
>
<view>
运营建议:您的门店尚未开展活动,暂无产值。建议
运营建议:您的门店尚未开展活动,暂无产值。建议
<text class="tip-link" catchtap="handleJumpIdx">开通新产品</text>
<text class="tip-link" catchtap="handleJumpIdx">开通新产品</text>
拓展营收范围。
拓展营收范围。
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 分享海报 -->
<view class="box-share">
<view>360全景影像众筹活动正在进行,分享母链海报开展业务</view>
<view class="btn-share" catchtap="handleShare" data-idx="{{index}}">去分享</view>
</view>
</view>
</view>
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
到底啦!
到底啦!
...
...
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