Commit 08ef0207 authored by youjie's avatar youjie

no message

parent e61b87e9
<template>
<view class="ActInProBox column"
:class="[Details.Level>0?`activeLv${Details.Level}`:'activeLv1']">
<!--:scroll-top="scrollTop"-->
<!--:scroll-top="scrollTop"
:style="{ opacity: 100 - boxOption + '%' }"
@scroll="scroll"
-->
<scroll-view :scroll-y="true"
style="height: 1px;flex: 1;box-sizing: border-box;"
@scroll="scroll">
<view class="ActInProHeaderBox" :style="{ opacity: 100 - boxOption + '%' }"
class="ActInProBox column"
@scroll="scroll"
style="height: 100vh;overflow: hidden;"
>
<view class="ActInProHeaderBox"
:class="[Details.Level>0?`activeLv${Details.Level}`:'activeLv1']">
<headers :title="page" color="#fff"></headers>
<headers :title="' '" color="#fff"></headers>
<view class="ActInProHeader" v-if="Details&&Details.TradeMoney>=0">
<view class="ActInProHeaderTitle">
Lv{{ Details.Level>0?Details.Level:1 }}
......@@ -90,6 +93,8 @@
<view class="ActInProCenTjBox">
<view class="ActInProCenTjTitle">月销售额统计</view>
<view class="ActInProCenBar">
<!--:pageScrollTop="477"
:inScrollView="true"-->
<mrsongCharts v-if="chartsData.series[0].data.length>0"
height="414rpx"
type='column'
......@@ -180,10 +185,11 @@
<view style="height: 40rpx;"></view>
</view>
</scroll-view>
<u-picker mode="time" v-model="showTime" :defaultTime="times" :params="params" @confirm = 'confirm'></u-picker>
<auth v-if="showAuth&&is_show_auth==1" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth>
</view>
</scroll-view>
</template>
<script>
import auth from "@/components/auth/index.vue";
......@@ -197,7 +203,7 @@ export default {
},
data() {
return {
page:'',
page:'出发序章',
boxOption: 0,
params: {
year: true,
......@@ -256,10 +262,10 @@ export default {
color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
padding: [25,5,10,5],
enableScroll: false,
pageScrollTop: 477,
legend: {
show: false,
},
animation: false,
xAxis: {
disableGrid: true,
axisLine: true,
......@@ -401,6 +407,15 @@ export default {
let data = res.data
this.Details = data
this.CustomerOrderListAll = data.CustomerOrderList
if(this.Details.Level==2){
this.page = '秘境探索'
}else if(this.Details.Level==3){
this.page = '云端行者'
}else if(this.Details.Level==4){
this.page = '丝路征程'
}else if(this.Details.Level==5){
this.page = '寰宇旅人'
}
this.SelectDate(1)
let TotalAmount = 0
for(let i=0;i<this.Details.OrderMonthList.length;i++){
......@@ -496,6 +511,7 @@ export default {
.ActInProBox{
height: 100vh;
background: #F3F1EF;
will-change: transform;
}
.ActInProHeaderBox{
height: 919rpx;
......@@ -620,6 +636,7 @@ export default {
height: 414rpx;
background: #F2F8FF;
border-radius: 18rpx;
overflow: hidden;
}
.ActInProCenTimeBox{
padding: 40rpx 0 30rpx 0;
......
......@@ -87,10 +87,11 @@ export default {
showAuth: false,
is_show_auth: 0,
b2bUser:{},
type: 0
}
},
onLoad(options) {
if(options.type)this.type = options.type;
},
onShow() {
this.U = uni.getStorageSync("mall_UserInfo");
......@@ -116,10 +117,12 @@ export default {
};
this.showAuth = true;
}
this.getList()
if(this.type==1){
this.getList()
}
},
mounted() {
this.getList()
},
methods: {
formatAmount(value) {
......
......@@ -597,7 +597,7 @@ export default {
this.goWebUrl(2)
}else if(type==5){
uni.redirectTo({
url: `/pages/bigredrnvelope/list`
url: `/pages/bigredrnvelope/list?type=1`
})
}
}
......@@ -687,7 +687,7 @@ export default {
}
// else this.msg.StepNum = 0
// if(this.IsRenewalContract==1) this.msg.ContractId = 0
if(this.ContractId) {
this.msg.ContractId = this.ContractId
let ContractList = data.ContractList.filter(x=>{
......
......@@ -10,7 +10,11 @@
<slot name="unit">
<view v-if="unit" class="chart-unit">单位:{{ unit ? `(${unit})` : '' }}</view>
</slot>
<qiun-data-charts :opts="opts" type="column" :chart-data="currentData" background="none" :animation="false" :ontouch="true" />
<qiun-data-charts :opts="opts" type="column"
:chart-data="currentData" background="none"
:animation="false" :ontouch="true"
:inScrollView="inScrollView"
:pageScrollTop="pageScrollTop"/>
</view>
</view>
</template>
......@@ -92,7 +96,15 @@ export default {
height:{
type: String,
default: '600px'
}
},
inScrollView: {
type: Boolean,
default: false
},
pageScrollTop: {
type: Number,
default: 0
},
},
data() {
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment