feat:小程序改造
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</template>
|
||||
</Header>
|
||||
<view class="top-line"></view>
|
||||
<view class="contract-view" v-if="topSelect == 0">
|
||||
<scroll-view scroll-y="true" class="contract-view" v-if="topSelect == 0">
|
||||
<view class="top-head">
|
||||
<text class="text-32 text-gray text-bold">股权分布</text>
|
||||
<text class="text-28 text-fu">51%的股权回馈消费者(免费赠予)。<text v-if="currentUserData?.isNewUser">股权以积分形式发放</text></text>
|
||||
@@ -29,6 +29,7 @@
|
||||
:canvas2d="isCanvas2d"
|
||||
:resshow="delayload"
|
||||
:opts="oneOps"
|
||||
:inScrollView="true"
|
||||
:chartData="oneData"/>
|
||||
|
||||
</view>
|
||||
@@ -44,6 +45,7 @@
|
||||
:canvas2d="isCanvas2d"
|
||||
:resshow="delayload"
|
||||
:opts="twoOps"
|
||||
:inScrollView="true"
|
||||
:chartData="twoData"/>
|
||||
</view>
|
||||
<view class="bottom-view" v-if="currentUserData?.isNewUser">
|
||||
@@ -74,8 +76,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contract-view" v-if="topSelect == 1 && curData">
|
||||
</scroll-view>
|
||||
<scroll-view scroll-y="true" class="contract-view" v-if="topSelect == 1 && curData">
|
||||
<view class="two-top-tab-view">
|
||||
<view v-for="(item,index) in twoTopList" @click="onTwoTop(index)" :key="index" class="two-top-list">
|
||||
<text class="text-28 " :style="{
|
||||
@@ -108,6 +110,7 @@
|
||||
:canvas2d="isCanvas2d"
|
||||
:resshow="delayload"
|
||||
:opts="threeOps"
|
||||
:inScrollView="true"
|
||||
:chartData="threeData"/>
|
||||
</view>
|
||||
<view class="bottom-view">
|
||||
@@ -162,7 +165,8 @@
|
||||
/>
|
||||
</view> -->
|
||||
<qiun-data-charts
|
||||
type="area" :ontouch="true" :canvas2d="true" canvasId="scrolllineid"
|
||||
type="area" :ontouch="true" :canvas2d="isCanvas2d" canvasId="scrolllineid"
|
||||
:inScrollView="true"
|
||||
:opts="fourOps" :chartData="fourData"/>
|
||||
</view>
|
||||
<view class="tab-view-two">
|
||||
@@ -175,10 +179,11 @@
|
||||
<text class="text-32 text-gray text-bold">已分配总额:{{fiveTotal}}</text>
|
||||
</view>
|
||||
<view class="tu-view-one" style="margin:32rpx 0">
|
||||
<qiun-data-charts type="area" :ontouch="true" :canvas2d="true" canvasId="scrolllineid1"
|
||||
<qiun-data-charts type="area" :ontouch="true" :canvas2d="isCanvas2d" canvasId="scrolllineid1"
|
||||
:inScrollView="true"
|
||||
:opts="fourOps" :chartData="fiveData"/>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<up-toast ref="uToastRef"></up-toast>
|
||||
</view>
|
||||
</template>
|
||||
@@ -186,14 +191,15 @@
|
||||
<script>
|
||||
import Header from '@/components/common/header.vue';
|
||||
import TopSafe from '@/components/common/top-safe.nvue'
|
||||
import func from '@/utils/func.js';
|
||||
import qiunDataCharts from '@/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue'
|
||||
import { getProfitSharingData } from '@/api/finance.js'
|
||||
import qiunDataCharts from "@/pages/rwa_package/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue"
|
||||
|
||||
import { getUserInfo } from '@/api/auth.js';
|
||||
export default {
|
||||
components: { Header,TopSafe,qiunDataCharts },
|
||||
data() {
|
||||
return {
|
||||
isCanvas2d: false,
|
||||
topSelect:0,
|
||||
twoTopList:['优选区','平价区'],
|
||||
curTopTwo:0,
|
||||
@@ -468,7 +474,19 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
page {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.top-view{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -521,7 +539,6 @@ export default {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user