Commit f729dc5b by chenwq

汇总

1 parent 6f9c2e23
...@@ -66,7 +66,8 @@ Component({ ...@@ -66,7 +66,8 @@ Component({
prefix: '¥' prefix: '¥'
} }
], ],
tableHeadList: [{ tableHeadList: [
{
label: 'rankIdx', label: 'rankIdx',
width: '40rpx' width: '40rpx'
}, },
...@@ -93,6 +94,34 @@ Component({ ...@@ -93,6 +94,34 @@ Component({
prefix: '¥' prefix: '¥'
} }
] ]
// tableHeadList: [
// {
// label: 'rankIdx',
// width: '40rpx'
// },
// {
// label: '业务员',
// name: 'shareName'
// },
// {
// label: '转发',
// name: 'shareCount'
// },
// {
// label: '浏览',
// name: 'browseCount'
// },
// {
// label: '成交',
// name: 'dealCount',
// width: '92rpx'
// },
// {
// label: '产值',
// name: 'totalAmount',
// prefix: '¥'
// }
// ]
}, },
/** /**
...@@ -169,7 +198,9 @@ Component({ ...@@ -169,7 +198,9 @@ Component({
const { const {
item item
} = e.currentTarget.dataset, } = e.currentTarget.dataset,
posterObj = this.selectComponent('#poster') posterObj = this.selectComponent('#poster'),
{options} = wx.$router.getPageInstance()
console.log(options)
try { try {
let flag = await posterObj.check(item) let flag = await posterObj.check(item)
posterObj.setData({ posterObj.setData({
......
/* packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxss */ /* packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxss */
.crowdfund-layout { .crowdfund-layout {
margin: 20rpx 20rpx; margin: 20rpx 20rpx;
padding-bottom: 20rpx;
.box { .box {
background-color: #FFFFFF; background-color: #FFFFFF;
...@@ -316,6 +317,36 @@ ...@@ -316,6 +317,36 @@
} }
} }
} }
// 战报
.new-report {
display: flex;
justify-content: space-between;
margin-top: 20rpx;
height: 52rpx;
line-height: 52rpx;
font-size: 20rpx;
color: #5A6066;
.report-left {
box-sizing: border-box;
display: flex;
font-size: 20rpx;
color: #3666FE;
padding: 0 20rpx;
height: 100%;
background: rgba(54, 102, 254, 0.06);
border: 2rpx solid #3666FE;
border-radius: 8rpx;
.icon-report {
width: 32rpx;
height: 32rpx;
vertical-align: middle;
margin-top: -2rpx;
}
}
}
} }
} }
} }
......
...@@ -111,6 +111,14 @@ ...@@ -111,6 +111,14 @@
</view> </view>
</view> </view>
</view> </view>
<!-- 战报 -->
<view class="new-report">
<view class="report-left">
<glsx-image class="icon-report" src="output/icon-report.webp"></glsx-image>
生成最新战报
</view>
<view>最新更新:</view>
</view>
</view> </view>
</view> </view>
</view> </view>
......
<!-- pages/tab/output/components/client/client.wxml --> <!-- pages/tab/output/components/client/client.wxml -->
<scroll-view <scroll-view class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}">
class="client" <!-- <view class="test">1234567890</view> -->
scroll-y="{{true}}" <view class="client-box">
refresher-enabled="{{true}}" <view class="profit-box flex-between">
refresher-triggered="{{triggered}}" <text>总收益</text>
bindscrolltolower="onReachBottom" <text class="price-txt">¥{{totalProfit}}</text>
bindrefresherrefresh="onBindRefresh" </view>
lower-threshold='50' <view class="box" wx:for="{{list}}" wx:key="index" bindtap="handleJump" data-idx="{{index}}">
scroll-top="{{scrollTop}}"> <view class="head flex-between">
<!-- <view class="test">1234567890</view> --> <view class="name ">{{item.merchantName}}</view>
<view class="client-box"> <view class="price-txt ">¥{{item.totalMoney}}</view>
<view class="profit-box flex-between"> </view>
<text>总收益</text> <!-- 场景内容 -->
<text class="price-txt">¥{{totalProfit}}</text> <view class="box-content">
</view> <scene-box formData="{{item}}" hasLockIcon="{{false}}" />
<view <!-- 通知 -->
class="box" <view class="box-bottom">
wx:for="{{list}}" <view wx:if="{{item.msgList.length}}" class="flex">
wx:key="index" <view class="tip-blue">最新</view>
bindtap="handleJump" <view class="bottom-content">
data-idx="{{index}}"> <view class="flex-between tip-row" wx:for="{{item.msgList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="head flex-between"> <view>{{subItem.msg}}</view>
<view class="name ">{{item.merchantName}}</view> <view class="time">{{subItem.createTime}}</view>
<view class="price-txt ">¥{{item.totalMoney}}</view> </view>
</view> </view>
<!-- 场景内容 --> </view>
<view class="box-content"> <view wx:if="{{!item.msgList.length && !item.isOpenScene}}" class="flex">
<scene-box formData="{{item}}" hasLockIcon="{{false}}" /> <view class="tip-blue">通知</view>
<!-- 通知 --> <view class="bottom-content">
<view class="box-bottom"> <view class="tip-row">
<view wx:if="{{item.msgList.length}}" class="flex"> <view>
<view class="tip-blue">最新</view> 运营建议:您的门店尚未开展活动,暂无产值。建议
<view class="bottom-content"> <text class="tip-link" catchtap="handleJumpIdx">开通新产品</text>
<view 拓展营收范围。
class="flex-between tip-row" </view>
wx:for="{{item.msgList}}" </view>
wx:for-item="subItem" </view>
wx:for-index="idx" </view>
wx:key="idx"> </view>
<view>{{subItem.msg}}</view> </view>
<view class="time">{{subItem.createTime}}</view> </view>
</view> <view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
</view> 到底啦!
</view> </view>
<view wx:if="{{!item.msgList.length && !item.isOpenScene}}" class="flex"> </view>
<view class="tip-blue">通知</view> </scroll-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="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
到底啦!
</view>
</view>
</scroll-view>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!