Browse Source

Merge branch 'rel-master'

feat
JinxChen 1 year ago
parent
commit
a8e508637a
1 changed files with 13 additions and 7 deletions
  1. +13
    -7
      src/views/package-list/index.vue

+ 13
- 7
src/views/package-list/index.vue View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2022-03-29 16:57:58 * @Date: 2022-03-29 16:57:58
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-03-03 17:08:43
* @LastEditTime: 2023-03-05 11:48:02
* @FilePath: \TelpoH5FrontendWeb\src\views\package-list\index.vue * @FilePath: \TelpoH5FrontendWeb\src\views\package-list\index.vue
* @description: TODO 小台风充值h5 * @description: TODO 小台风充值h5
--> -->
@@ -52,11 +52,11 @@
<span>合计</span><span class="orange price">{{item.packagePrice}}元</span> <span>合计</span><span class="orange price">{{item.packagePrice}}元</span>
</p> </p>
</div> </div>
<div class="package-buy">
<!-- <div class="package-buy">
<div class="buy-btn" @click="onBuy(item)"> <div class="buy-btn" @click="onBuy(item)">
<p>第一步:充值话费</p> <p>第一步:充值话费</p>
</div> </div>
</div>
</div> -->
<div class="radios-con"> <div class="radios-con">
<div class="pay-type"> <div class="pay-type">
<p>支付方式:</p> <p>支付方式:</p>
@@ -88,6 +88,11 @@
</van-radio> </van-radio>
</van-radio-group> </van-radio-group>
</div> </div>
<div class="package-buy">
<div class="buy-btn" @click="onBuy(item)">
<p>第一步:充值话费</p>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -313,7 +318,7 @@ export default {
packageName: /* data.productModel */ data.packageName, //套餐名字 packageName: /* data.productModel */ data.packageName, //套餐名字
packagePayType: Number(this.payType), //支付类型 packagePayType: Number(this.payType), //支付类型
packageIssue: 12, //分期 packageIssue: 12, //分期
packagePrice: process.env.NODE_ENV === "production" ?/* data.packagePrice * 100 */1 : 1 //总金额单位为分,测试环境写死
packagePrice: process.env.NODE_ENV === "production" ? /* data.packagePrice * 100 */1 : 1 //总金额单位为分,测试环境写死
}; };
this.$toast.clear(); this.$toast.clear();
APICore.payLiveBaseDevice(reqBody) APICore.payLiveBaseDevice(reqBody)
@@ -408,7 +413,7 @@ export default {
packageName: /* data.productModel + ',' + */data.packageName, //套餐名字 packageName: /* data.productModel + ',' + */data.packageName, //套餐名字
packagePayType: Number(this.payType), //支付类型 packagePayType: Number(this.payType), //支付类型
packageIssue: this.packageIssue, //分期 packageIssue: this.packageIssue, //分期
packagePrice: process.env.NODE_ENV === "production" ?/* data.packagePrice * 100 */1 : 1 //总金额单位为分,测试环境写死
packagePrice: process.env.NODE_ENV === "production" ? /* data.packagePrice * 100 */1 : 1 //总金额单位为分,测试环境写死
}; };
this.$toast.clear(); this.$toast.clear();
APICore.payLiveBaseDevice(reqBody) APICore.payLiveBaseDevice(reqBody)
@@ -522,7 +527,7 @@ export default {
.package-order-container { .package-order-container {
position: relative; position: relative;
margin: 10px 0; margin: 10px 0;
padding: 0 0 0 20px;
/* padding: 0 0 0 20px; */
z-index: 999; z-index: 999;
box-shadow: rgba(14, 30, 37, 0.12) 0 3px 5px 0, box-shadow: rgba(14, 30, 37, 0.12) 0 3px 5px 0,
rgba(14, 30, 37, 0.32) 0 2px 16px 0; rgba(14, 30, 37, 0.32) 0 2px 16px 0;
@@ -560,7 +565,7 @@ export default {
} }
} }
.order-content { .order-content {
padding: 15px 0;
padding: 15px 10px;
.title { .title {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
@@ -619,6 +624,7 @@ export default {
} }
.package-buy { .package-buy {
padding: 5px 8px; padding: 5px 8px;
@include center();
.buy-btn { .buy-btn {
height: 40px; height: 40px;
width: 200px; width: 200px;


Loading…
Cancel
Save