Commit 441aa2e9 authored by youjie's avatar youjie

no message

parent 74cafaec
...@@ -82,8 +82,8 @@ ...@@ -82,8 +82,8 @@
const data=reactive({ const data=reactive({
isShow: false, isShow: false,
titleHead: t('v104.passbook.titles.text1'), titleHead: t('v104.passbook.titles.text1'),
dataList: [], dataList: [] as Array<any>,
zbList:[], zbList:[] as Array<any>,
}) })
const methods = { const methods = {
...@@ -129,27 +129,6 @@ ...@@ -129,27 +129,6 @@
getinit() { getinit() {
// 基于准备好的dom,初始化echarts实例 // 基于准备好的dom,初始化echarts实例
const myChart = echarts.init(main.value); const myChart = echarts.init(main.value);
// const schoolData = [
// {
// name:'张三',
// value:4253
// },
// {
// name:'李四',
// value:5691
// },
// {
// name:'王五',
// value:4536
// },
// {
// name:'赵六',
// value:4369
// },
// {
// name:'周七',
// value:5124
// }]
// 指定图表的配置项和数据 // 指定图表的配置项和数据
const option = { const option = {
...@@ -159,7 +138,6 @@ ...@@ -159,7 +138,6 @@
}, },
calculable: true, calculable: true,
graphic: [ graphic: [
{ {
type: "text", type: "text",
left: $q.platform.is.desktop?"35%":"40%", left: $q.platform.is.desktop?"35%":"40%",
...@@ -215,14 +193,6 @@ ...@@ -215,14 +193,6 @@
} }
] ]
}; };
// 赋值
// option.legend = [
// {
// data: schoolData.map((a) => a.name)
// }
// ]
// 赋值
// option.legend.data = schoolData.map((a) => a.name)
// 使用刚指定的配置项和数据显示图表。 // 使用刚指定的配置项和数据显示图表。
myChart.setOption(option); myChart.setOption(option);
......
...@@ -90,30 +90,6 @@ ...@@ -90,30 +90,6 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <div class="row items-center no-wrap q-py-lg">
<q-linear-progress class="col q-mr-lg" stripe rounded size="20px" :value="progress2" color="red-5"/>
<div class="col-4 row items-center q-ml-lg">
<q-img src="../../assets/images/personal/gou.png"
width="20px"
height="20px" style="position: relative;"/>
<div class="column q-pl-md">
<span class="fz16 text-red-5 text-weight-bold">还差 ¥360,预计收益 ¥600</span>
<span class="fz12 text-grey-6 q-pt-xs">月交易额已达 ¥ 1000 可返5%</span>
</div>
</div>
</div>
<div class="row items-center no-wrap q-py-lg">
<q-linear-progress class="col q-mr-lg" stripe rounded size="20px" :value="progress2" color="cyan-4"/>
<div class="col-4 row items-center q-ml-lg">
<q-img src="../../assets/images/personal/gou.png"
width="20px"
height="20px" style="position: relative;"/>
<div class="column q-pl-md">
<span class="fz16 text-dark text-weight-bold">期待你的爆发</span>
<span class="fz12 text-grey-6 q-pt-xs"> 月交易额达 ¥300,000.00 可返 6%</span>
</div>
</div>
</div> -->
</div> </div>
</div> </div>
</template> </template>
...@@ -145,11 +121,9 @@ ...@@ -145,11 +121,9 @@
const main = ref(); const main = ref();
const data=reactive({ const data=reactive({
titleHead: t('v104.passbook.titles.text5'), titleHead: t('v104.passbook.titles.text5'),
DetailList: [], xMonth:[] as Array<any>,
progress2: 0.5, yMoney1:[] as Array<any>,
xMonth:[], yMoney2:[] as Array<any>,
yMoney1:[],
yMoney2:[],
datainfo: null as any datainfo: null as any
}) })
if(props.Obj&&props.info){ if(props.Obj&&props.info){
...@@ -244,17 +218,13 @@ ...@@ -244,17 +218,13 @@
}; };
// 使用刚指定的配置项和数据显示图表。 // 使用刚指定的配置项和数据显示图表。
myChart.setOption(option); myChart.setOption(option);
// chart.setOption(option)
} }
} }
onBeforeUnmount(()=>{ onBeforeUnmount(()=>{
// window.onresize = null
}) })
onMounted(() => { onMounted(() => {
methods.getinit(); methods.getinit();
// window.onresize = debounce(()=>{
// chart.resize()
// },300)
}); });
return {...toRefs(data),main,...methods} return {...toRefs(data),main,...methods}
} }
......
...@@ -37,9 +37,9 @@ ...@@ -37,9 +37,9 @@
const $q = useQuasar() const $q = useQuasar()
const data=reactive({ const data=reactive({
datainfo:null as Object, datainfo:null as Object,
xMonth:[], xMonth:[] as Array<any>,
yMoney1:[], yMoney1:[] as Array<any>,
yMoney2:[], yMoney2:[] as Array<any>,
MonthObj:null as Object MonthObj:null as Object
}) })
......
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