uniapp 销售业绩联调

pull/4/head^2
Jruome 2023-05-30 19:03:08 +08:00
parent 819e2e20d2
commit 82cc7cfd3e
1 changed files with 26 additions and 4 deletions

View File

@ -1,9 +1,9 @@
<template> <template>
<view class="box"> <view class="box">
<u-navbar autoBack title="发展会员业绩" bgColor="rgba(255,255,255,0)" :placeholder="true" leftIconSize="40" <u-navbar autoBack :title="performance[active].name" bgColor="rgba(255,255,255,0)" :placeholder="true" leftIconSize="40"
leftIconColor="#fff" titleStyle="font-size:35rpx;color:#fff"> leftIconColor="#fff" titleStyle="font-size:35rpx;color:#fff">
<!-- <view slot="right"> <!-- <view slot="right">
<u-icon name="more-dot-fill" color="#fff"></u-icon> <u-icon name="more-dot-fill" color="#fff" @click="show = true"></u-icon>
</view> --> </view> -->
</u-navbar> </u-navbar>
<u-sticky bgColor="#fff"> <u-sticky bgColor="#fff">
@ -48,7 +48,7 @@
</view> </view>
<view class="sale_turnover"> <view class="sale_turnover">
<view class="turnover_title"> <view class="turnover_title">
流水明细 {{performance[active].fund}}
</view> </view>
<view class="turnover_list"> <view class="turnover_list">
<u-list <u-list
@ -71,6 +71,7 @@
</view> </view>
</view> </view>
</view> </view>
<u-action-sheet :actions="performance" @close="show = false" :closeOnClickOverlay="true" :closeOnClickAction="true" @select="selectClick" :title="title" :show="show"></u-action-sheet>
</view> </view>
</template> </template>
@ -96,6 +97,23 @@
fontWeight: '400', fontWeight: '400',
color: '#fff' color: '#fff'
}, },
show:false,
title:'业绩',
active:0,
performance: [
{
fund:'流水明细',
name:'发展会员业绩',
fontSize:'30',
id:0
},
{
fund:'订单流水',
name: '商品订单业绩',
fontSize:'30',
id:1
},
],
list: [{ list: [{
name: '今日', name: '今日',
}, { }, {
@ -127,6 +145,10 @@
} }
}, },
methods: { methods: {
selectClick(value){
console.log(value)
this.active = value.id
},
async scrolltolower() { async scrolltolower() {
if(this.total>this.orderData.length){ if(this.total>this.orderData.length){
this.pageData.pageNo++ this.pageData.pageNo++