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 bcaf70f3
authored
Apr 04, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
19e59b86
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
39 deletions
pages/tab/output/components/client/client.scss
pages/tab/output/components/client/client.wxml
pages/tab/output/components/outputCrowdfund/outputCrowdfund.scss
pages/tab/output/components/client/client.scss
View file @
bcaf70f
...
...
@@ -4,13 +4,19 @@
height
:
calc
(
100%
-
92rpx
);
color
:
#323436
;
// padding-top: 16rpx;
background-color
:
#F2F3F7
;
// background-color: #F2F3F7;
background-color
:
#FFFFFF
;
}
.client-box
{
margin
:
0
16rpx
;
}
.shadow
{
box-shadow
:
0
2rpx
20rpx
0
#b4bacc
52
;
// box-shadow: 0 2rpx 20rpx 0 red;
}
.output-box
{
margin
:
16rpx
0
;
}
...
...
pages/tab/output/components/client/client.wxml
View file @
bcaf70f
...
...
@@ -3,55 +3,55 @@
<total-tab id="totalTab" bindbusiSearch="handleBusiSearch" bindtabChange="handleTabChange"></total-tab>
<scroll-view wx:if="{{tabActive == 'store'}}" class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}">
<view class="client-box">
<view class="profit-box flex-between">
<text>总收益</text>
<text class="price-txt">¥{{filter.money_three_for_two_thousands(totalProfit || 0.00)}}</text>
</view>
<view wx:for="{{list}}" wx:key="index" bindtap="handleJump" data-idx="{{index}}">
<view class="box {{item.activityLastUnSharedInfo ? 'share' : ''}}">
<view class="head flex-between">
<view class="name ">{{item.merchantName}}</view>
<view class="price-txt ">¥{{filter.money_three_for_two_thousands(item.totalMoney || 0.00)}}</view>
</view>
<!-- 场景内容 -->
<view class="box-content">
<scene-box sceneInfo="{{item}}" hasLockIcon="{{false}}" scenePriceList="{{item.scenePriceList}}" />
<!-- 通知 -->
<view class="box-bottom">
<view wx:if="{{item.msgList.length}}" class="flex">
<view class="tip-blue">最新</view>
<view class="bottom-content">
<view class="flex-between tip-row" wx:for="{{item.msgList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view>{{subItem.msg}}</view>
<view class="time">{{subItem.createTime}}</view>
<view class="profit-box flex-between">
<text>总收益</text>
<text class="price-txt">¥{{filter.money_three_for_two_thousands(totalProfit || 0.00)}}</text>
</view>
<view wx:for="{{list}}" class="shadow" wx:key="index" bindtap="handleJump" data-idx="{{index}}">
<view class="box {{item.activityLastUnSharedInfo ? 'share' : ''}}">
<view class="head flex-between">
<view class="name ">{{item.merchantName}}</view>
<view class="price-txt ">¥{{filter.money_three_for_two_thousands(item.totalMoney || 0.00)}}</view>
</view>
<!-- 场景内容 -->
<view class="box-content">
<scene-box sceneInfo="{{item}}" hasLockIcon="{{false}}" scenePriceList="{{item.scenePriceList}}" />
<!-- 通知 -->
<view class="box-bottom">
<view wx:if="{{item.msgList.length}}" class="flex">
<view class="tip-blue">最新</view>
<view class="bottom-content">
<view class="flex-between tip-row" wx:for="{{item.msgList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view>{{subItem.msg}}</view>
<view class="time">{{subItem.createTime}}</view>
</view>
</view>
</view>
</view
>
<view wx:if="{{!item.msgList.length && !item.isOpenScene}}" class="flex"
>
<view class="tip-blue">通知</view
>
<view class="bottom-content
">
<view class="tip-row"
>
<view>
运营建议:您的门店尚未开展活动,暂无产值。建议
<text class="tip-link" catchtap="handleJumpIdx">开通新产品</text>
拓展营收范围。
<view wx:if="{{!item.msgList.length && !item.isOpenScene}}" class="flex"
>
<view class="tip-blue">通知</view
>
<view class="bottom-content"
>
<view class="tip-row
">
<view
>
运营建议:您的门店尚未开展活动,暂无产值。建议
<text class="tip-link" catchtap="handleJumpIdx">开通新产品</text>
拓展营收范围。
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 分享海报 -->
<view wx:if="{{item.activityLastUnSharedInfo}}" class="box-share">
<view>{{item.activityLastUnSharedInfo.activityName}}正在进行,分享母链海报开展业务</view>
<view class="btn-share" catchtap="handleShare" data-idx="{{index}}">去分享</view>
</view>
</view>
<!-- 分享海报 -->
<view wx:if="{{item.activityLastUnSharedInfo}}" class="box-share">
<view>{{item.activityLastUnSharedInfo.activityName}}正在进行,分享母链海报开展业务</view>
<view class="btn-share" catchtap="handleShare" data-idx="{{index}}">去分享</view>
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
到底啦!
</view>
</view>
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
到底啦!
</view>
</view>
</scroll-view>
<scroll-view wx:if="{{tabActive == 'business'}}" class="client" id="scroller" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindrefresherrefresh="handleSort" lower-threshold='50' bind:scroll="handleBusiScroll" scroll-top="{{busiScrollTop}}">
<view class="client-box">
...
...
pages/tab/output/components/outputCrowdfund/outputCrowdfund.scss
View file @
bcaf70f
...
...
@@ -44,6 +44,7 @@
.merchant
{
padding
:
0
32rpx
32rpx
;
box-shadow
:
0
2rpx
20rpx
0
#b4bacc
52
;
.head
{
box-sizing
:
border-box
;
...
...
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