更新
This commit is contained in:
parent
e135fac2de
commit
c758da2df4
@ -149,6 +149,8 @@
|
||||
this.navTo(`/subpkg/property/vehicle?task_id=${this.$props.datas?.id}`)
|
||||
} else if(this.$props.datas.type == 33){
|
||||
this.navTo(`/subpkg/blockTransaction/blockTransaction?task_id=${this.$props.datas?.id}`)
|
||||
} else if(this.$props.datas.type == 35){
|
||||
this.navTo(`/subpkg/buyShare/buyShare?task_id=${this.$props.datas?.id}`)
|
||||
}
|
||||
else this.navTo('');
|
||||
}
|
||||
|
1115
pages.json
1115
pages.json
File diff suppressed because it is too large
Load Diff
78
subpkg/buyShare/buyShare.vue
Normal file
78
subpkg/buyShare/buyShare.vue
Normal file
@ -0,0 +1,78 @@
|
||||
<template>
|
||||
<view style="padding-top: 28rpx;">
|
||||
<view class="card">
|
||||
<view class="title">任务名称: 入股任务</view>
|
||||
<u-line style="margin: 14rpx 0;"></u-line>
|
||||
<view class="text">阶段类型: 单次</view>
|
||||
<view class="text" style="color: #FF7C32;">任务金额: 3000元</view>
|
||||
</view>
|
||||
<view class="card">
|
||||
<view class="title">任务描述</view>
|
||||
<u-line style="margin: 14rpx 0;"></u-line>
|
||||
<view class="text">完成公司分配入股任务,时限30日内。完成公司分配入股任务,时限30日内。完成公司分配入股任务,时限30日内。</view>
|
||||
</view>
|
||||
<view class="card">
|
||||
<view class="title">历史记录</view>
|
||||
<u-line style="margin: 14rpx 0;"></u-line>
|
||||
<u-steps current="1" direction="column" activeColor="#0122c7">
|
||||
<u-steps-item title="2023-08-30 20:23:59" desc="XXXX公司发布任务,任务未开始">
|
||||
</u-steps-item>
|
||||
<u-steps-item title="2023-08-30 20:23:59" desc="XXXX公司发布任务,任务未开始">
|
||||
</u-steps-item>
|
||||
<u-steps-item title="2023-08-30 20:23:59" desc="XXXX公司发布任务,任务未开始"></u-steps-item>
|
||||
</u-steps>
|
||||
</view>
|
||||
<mybtn text="前往支付页面" @click="navTo(`/subpkg/topUp/topUp?task_id=${task_id}`)"></mybtn>
|
||||
<!-- <mybtn text="已支付" my_btn_disabled="true"></mybtn> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
task_id: -1,
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
this.task_id = options.task_id;
|
||||
},
|
||||
methods:{
|
||||
navTo (url) {
|
||||
if(url){
|
||||
uni.showLoading({
|
||||
title: '加载中',
|
||||
mask: true
|
||||
});
|
||||
uni.navigateTo({
|
||||
url: url,
|
||||
success() {
|
||||
uni.hideLoading()
|
||||
}
|
||||
})
|
||||
}else Toast('暂未开放')
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.card {
|
||||
margin: 0 auto;
|
||||
margin-bottom: 28rpx;
|
||||
width: 694rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 14rpx;
|
||||
padding: 28rpx;
|
||||
|
||||
.title {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.text {
|
||||
line-height: 50rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -13,7 +13,8 @@
|
||||
<view class="price">
|
||||
<view class="title">充值金额</view>
|
||||
<view class="tab">
|
||||
<view class="item" :class="index==changeMoney?'active':''" @click="changePrice(index)"
|
||||
<view v-if="task_id>0" class="item active" style="margin: 0;">{{3000}}</view>
|
||||
<view v-else class="item" :class="index==changeMoney?'active':''" @click="changePrice(index)"
|
||||
v-for="(item, index) in priceList" :key="index">{{item}}</view>
|
||||
</view>
|
||||
<input v-if="priceList[changeMoney]=='自定义'" class="input" type="digit" placeholder="输入充值金额(元)" v-model="payMoney.money" />
|
||||
@ -42,6 +43,7 @@
|
||||
},
|
||||
payTimer: null,
|
||||
timeCount: 5,
|
||||
task_id: -1, //任务id,当为任务时,不可自选充值金额
|
||||
}
|
||||
},
|
||||
// 点击充值记录
|
||||
@ -52,7 +54,9 @@
|
||||
})
|
||||
}
|
||||
},
|
||||
onLoad() {},
|
||||
onLoad(options) {
|
||||
options.task_id?this.task_id=options.task_id:null;
|
||||
},
|
||||
onShow() {},
|
||||
methods: {
|
||||
changePrice(index){
|
||||
@ -238,11 +242,13 @@
|
||||
.tab {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-evenly;
|
||||
justify-content: left;
|
||||
width: 694rpx;
|
||||
|
||||
.item {
|
||||
width: 217rpx;
|
||||
height: 131rpx;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 20rpx;
|
||||
border-radius: 7rpx 7rpx 7rpx 7rpx;
|
||||
border: 2rpx solid #F5F5F5;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="lottie" :options="options" :change:options="Lottie.optionsChange" :fun="fun" :change:fun="Lottie.funChange">
|
||||
<view class="lottie" :options="options" :change:options="Lottie.optionsChange" :change:fun="Lottie.funChange">
|
||||
<canvas :class="canvasId" :canvas-id="canvasId" type="2d" ref="lottie" style="width:100%;height:100%;"></canvas>
|
||||
</view>
|
||||
</template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user