|
@@ -14,7 +14,7 @@
|
|
|
<span class="value_2">{{ Math.round(Number(product.income_reta) * 100 * 100) / 100 || 0 }}</span>
|
|
<span class="value_2">{{ Math.round(Number(product.income_reta) * 100 * 100) / 100 || 0 }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="">
|
|
<div class="">
|
|
|
- <span class="key">{{ $t('lang332') }}:</span>
|
|
|
|
|
|
|
+ <span class="key">{{ $t('lang478') }}:</span>
|
|
|
<span class="value_1">{{ product.day_num || 0 }}</span>
|
|
<span class="value_1">{{ product.day_num || 0 }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -49,6 +49,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="btn_box">
|
|
<div class="btn_box">
|
|
|
<van-button class="btn" @click="submit">{{ $t('lang325') }}</van-button>
|
|
<van-button class="btn" @click="submit">{{ $t('lang325') }}</van-button>
|
|
|
|
|
+ <div class="btn_checkbox flex">
|
|
|
|
|
+ <van-checkbox icon-size="16px" checked-color="#21926f" v-model="readProtocol"> </van-checkbox>
|
|
|
|
|
+ <span style="padding-left: 6px">
|
|
|
|
|
+ {{ $t('lang480') }}<span style="color: #29b286" @click="toPage">《{{ $t('lang481') }}》</span>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<van-popup v-model="showOrders" round closeable>
|
|
<van-popup v-model="showOrders" round closeable>
|
|
|
<div class="orderpopup">
|
|
<div class="orderpopup">
|
|
@@ -91,6 +97,7 @@ export default {
|
|
|
order_no: {}, // 存放已选择订单
|
|
order_no: {}, // 存放已选择订单
|
|
|
show: false,
|
|
show: false,
|
|
|
pay_type: -1,
|
|
pay_type: -1,
|
|
|
|
|
+ readProtocol: false,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
@@ -101,6 +108,13 @@ export default {
|
|
|
back() {
|
|
back() {
|
|
|
this.$router.back();
|
|
this.$router.back();
|
|
|
},
|
|
},
|
|
|
|
|
+ toPage(){
|
|
|
|
|
+ if (this.$i18n.locale == 'zh-cn') {
|
|
|
|
|
+ this.$router.push({ name: 'protocol' ,query: {id: this.product.announcement_id.zh }});
|
|
|
|
|
+ } else if (this.$i18n.locale == 'en') {
|
|
|
|
|
+ this.$router.push({ name: 'protocol' ,query: {id: this.product.announcement_id.en }});
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
getInfo() {
|
|
getInfo() {
|
|
|
homeApi.pledgeDetail({ id: this.$route.query.id }).then(res => {
|
|
homeApi.pledgeDetail({ id: this.$route.query.id }).then(res => {
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -160,6 +174,9 @@ export default {
|
|
|
if (this.pay_type == -1) {
|
|
if (this.pay_type == -1) {
|
|
|
return this.$toast(this.$t('lang470'));
|
|
return this.$toast(this.$t('lang470'));
|
|
|
}
|
|
}
|
|
|
|
|
+ if (!this.readProtocol) {
|
|
|
|
|
+ return this.$toast(this.$t('lang479'));
|
|
|
|
|
+ }
|
|
|
let _this = this;
|
|
let _this = this;
|
|
|
Dialog.confirm({
|
|
Dialog.confirm({
|
|
|
title: _this.$t('lang136'),
|
|
title: _this.$t('lang136'),
|
|
@@ -323,19 +340,26 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.btn_box {
|
|
.btn_box {
|
|
|
|
|
+ text-align: center;
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
bottom: 0;
|
|
bottom: 0;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
right: 0;
|
|
right: 0;
|
|
|
- padding: 20px;
|
|
|
|
|
|
|
+ padding: 16px 20px;
|
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
|
.btn {
|
|
.btn {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
letter-spacing: 2px;
|
|
letter-spacing: 2px;
|
|
|
border-radius: 20px;
|
|
border-radius: 20px;
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
background-color: #29b286;
|
|
background-color: #29b286;
|
|
|
}
|
|
}
|
|
|
|
|
+ .btn_checkbox {
|
|
|
|
|
+ color: #000;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.nodata {
|
|
.nodata {
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
@@ -379,6 +403,8 @@ export default {
|
|
|
.key {
|
|
.key {
|
|
|
color: #4b4b4b;
|
|
color: #4b4b4b;
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
}
|
|
|
::v-deep .van-radio__label {
|
|
::v-deep .van-radio__label {
|
|
|
color: #21926f;
|
|
color: #21926f;
|