Commit bcaf70f3 by chenwq

样式

1 parent 19e59b86
...@@ -4,13 +4,19 @@ ...@@ -4,13 +4,19 @@
height: calc(100% - 92rpx); height: calc(100% - 92rpx);
color: #323436; color: #323436;
// padding-top: 16rpx; // padding-top: 16rpx;
background-color: #F2F3F7; // background-color: #F2F3F7;
background-color: #FFFFFF;
} }
.client-box { .client-box {
margin: 0 16rpx; margin: 0 16rpx;
} }
.shadow {
box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
// box-shadow: 0 2rpx 20rpx 0 red;
}
.output-box { .output-box {
margin: 16rpx 0; margin: 16rpx 0;
} }
......
...@@ -3,55 +3,55 @@ ...@@ -3,55 +3,55 @@
<total-tab id="totalTab" bindbusiSearch="handleBusiSearch" bindtabChange="handleTabChange"></total-tab> <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}}"> <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="client-box">
<view class="profit-box flex-between"> <view class="profit-box flex-between">
<text>总收益</text> <text>总收益</text>
<text class="price-txt">¥{{filter.money_three_for_two_thousands(totalProfit || 0.00)}}</text> <text class="price-txt">¥{{filter.money_three_for_two_thousands(totalProfit || 0.00)}}</text>
</view> </view>
<view wx:for="{{list}}" wx:key="index" bindtap="handleJump" data-idx="{{index}}"> <view wx:for="{{list}}" class="shadow" wx:key="index" bindtap="handleJump" data-idx="{{index}}">
<view class="box {{item.activityLastUnSharedInfo ? 'share' : ''}}"> <view class="box {{item.activityLastUnSharedInfo ? 'share' : ''}}">
<view class="head flex-between"> <view class="head flex-between">
<view class="name ">{{item.merchantName}}</view> <view class="name ">{{item.merchantName}}</view>
<view class="price-txt ">¥{{filter.money_three_for_two_thousands(item.totalMoney || 0.00)}}</view> <view class="price-txt ">¥{{filter.money_three_for_two_thousands(item.totalMoney || 0.00)}}</view>
</view> </view>
<!-- 场景内容 --> <!-- 场景内容 -->
<view class="box-content"> <view class="box-content">
<scene-box sceneInfo="{{item}}" hasLockIcon="{{false}}" scenePriceList="{{item.scenePriceList}}" /> <scene-box sceneInfo="{{item}}" hasLockIcon="{{false}}" scenePriceList="{{item.scenePriceList}}" />
<!-- 通知 --> <!-- 通知 -->
<view class="box-bottom"> <view class="box-bottom">
<view wx:if="{{item.msgList.length}}" class="flex"> <view wx:if="{{item.msgList.length}}" class="flex">
<view class="tip-blue">最新</view> <view class="tip-blue">最新</view>
<view class="bottom-content"> <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 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>{{subItem.msg}}</view>
<view class="time">{{subItem.createTime}}</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 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>
<!-- 分享海报 --> <view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
<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> </view>
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
到底啦!
</view>
</view>
</scroll-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}}"> <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"> <view class="client-box">
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
.merchant { .merchant {
padding: 0 32rpx 32rpx; padding: 0 32rpx 32rpx;
box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
.head { .head {
box-sizing: border-box; box-sizing: border-box;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!