|
@@ -1,21 +1,32 @@
|
|
|
<template>
|
|
|
- <view>
|
|
|
+ <view class="confirms">
|
|
|
<nav-bar title="确认订单"></nav-bar>
|
|
|
- <view style="padding: 8rpx;padding-bottom: 98rpx;">
|
|
|
- <view >
|
|
|
+ <view class="contents">
|
|
|
+ <!-- <view > -->
|
|
|
<view class="item">
|
|
|
- <view style="display: flex;justify-content: space-between;padding: 16rpx;">
|
|
|
- <image :src="$method.splitImgHost(detail.coverUrl)" style="height: 134rpx;width: 278rpx;border-radius: 16rpx;"></image>
|
|
|
- <view style="margin-left: 20rpx;">
|
|
|
+ <view style="display: flex;justify-content: space-between;">
|
|
|
+ <image :src="$method.splitImgHost(detail.coverUrl)" style="height: 120rpx;width: 204rpx;border-radius: 16rpx;"></image>
|
|
|
+ <view class="right_con" style="margin-left: 20rpx;">
|
|
|
<view style="color: #333333;font-size: 30rpx;font-weight: bold;">
|
|
|
{{detail.goodsName}}
|
|
|
</view>
|
|
|
<view class="priceTag">
|
|
|
¥ {{detail.standPrice}}
|
|
|
</view>
|
|
|
+
|
|
|
+ <view class="input_c" v-if="detail.templateType!=null&&detail.goodsType==1">
|
|
|
+ <view v-if="detail.templateType=='class'" style="display: flex;justify-content: space-between;align-items: center;height: 56rpx;padding:8rpx;border-radius: 8rpx;" @click="openPopup(0)">
|
|
|
+ <view style="color: #666666;font-size: 24rpx;">{{gradeIndex < 0 ?'选择班级':gradeList[gradeIndex].className}}</view>
|
|
|
+ <view><u-icon name="arrow-down" color="#999999" size="28"></u-icon></view>
|
|
|
+ </view>
|
|
|
+ <view v-if="detail.templateType=='apply'" style="display: flex;justify-content: space-between;align-items: center;height: 56rpx;padding:8rpx;border-radius: 8rpx;" @click="openPopup(1)">
|
|
|
+ <view style="color: #666666;font-size: 24rpx;" >{{!applyAreas.areaName?'报考地区':examDate.examineName+'-'+applyAreas.areaName+'-'+applyAreas.cityName}}</view>
|
|
|
+ <view><u-icon name="arrow-down" color="#999999" size="28"></u-icon></view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view v-if="detail.templateType!=null&&detail.goodsType==1">
|
|
|
+ <!-- <view v-if="detail.templateType!=null&&detail.goodsType==1">
|
|
|
<u-line color="#D6D6DB" />
|
|
|
<view v-if="detail.templateType=='class'" style="display: flex;justify-content: space-between;align-items: center;height: 80rpx;padding:16rpx;" @click="openPopup(0)">
|
|
|
<view style="color: #666666;font-size: 24rpx;">{{gradeIndex < 0 ?'选择班级':gradeList[gradeIndex].className}}</view>
|
|
@@ -25,9 +36,9 @@
|
|
|
<view style="color: #666666;font-size: 24rpx;" >{{!applyAreas.areaName?'报考地区':examDate.examineName+'-'+applyAreas.areaName+'-'+applyAreas.cityName}}</view>
|
|
|
<view><u-icon name="arrow-right" color="#999999" size="28"></u-icon></view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ <!-- </view> -->
|
|
|
</view>
|
|
|
<view class="bottomBox safeArea">
|
|
|
<view class="sums">
|
|
@@ -42,20 +53,22 @@
|
|
|
|
|
|
<u-popup v-model="show" mode="bottom" border-radius="40">
|
|
|
<view class="popup_box">
|
|
|
- <view style="margin-bottom: 20rpx;">
|
|
|
- <view class="line1"></view>
|
|
|
+ <view class="check_head">
|
|
|
+ <!-- <view class="line1"></view> -->
|
|
|
<view class="grade">选择班级</view>
|
|
|
+ <u-icon name="close" color="#CFCFCF" size="30" @click="closePop(0)"></u-icon>
|
|
|
</view>
|
|
|
- <u-line color="#D6D6DB" />
|
|
|
- <view>
|
|
|
- <scroll-view scroll-y="true" style="height: 536rpx;">
|
|
|
+ <!-- <u-line color="#D6D6DB" /> -->
|
|
|
+ <view class="check_con">
|
|
|
+ <scroll-view scroll-y="true" style="height: 580rpx;">
|
|
|
<view>
|
|
|
<u-radio-group v-model="gradeValue" @change="radioGroupChange">
|
|
|
- <view v-for="(item, index) in gradeList" :key="index" >
|
|
|
- <view style="display: flex;align-items: center;padding: 20rpx;">
|
|
|
+ <view v-for="(item, index) in gradeList" :key="index" class="items_c">
|
|
|
+ <view class="border_c">
|
|
|
<view>
|
|
|
<u-radio
|
|
|
shape="circle"
|
|
|
+ active-color="#FC3F3F"
|
|
|
:name="index"
|
|
|
:disabled="item.studentNum > 0 && item.studentNum == item.studentUpper"
|
|
|
>
|
|
@@ -82,12 +95,12 @@
|
|
|
</u-popup>
|
|
|
<u-popup v-model="show1" mode="bottom" border-radius="40">
|
|
|
<view class="popup_box">
|
|
|
- <view style="margin-bottom: 20rpx;">
|
|
|
- <view class="line1"></view>
|
|
|
+ <view class="check_head">
|
|
|
<view class="grade">选择考期/地区</view>
|
|
|
+ <u-icon name="close" color="#CFCFCF" size="30" @click="closePop(1)"></u-icon>
|
|
|
</view>
|
|
|
- <u-line color="#D6D6DB" />
|
|
|
- <view style="display: flex;height: 500rpx;">
|
|
|
+
|
|
|
+ <view style="display: flex;height: 550rpx;">
|
|
|
<view style="width: 50%;">
|
|
|
<view class="topTxt">考期</view>
|
|
|
<view>
|
|
@@ -383,6 +396,13 @@ export default {
|
|
|
this.getProvinceList()
|
|
|
}
|
|
|
|
|
|
+ },
|
|
|
+ closePop(index) {
|
|
|
+ if (index == 0) {
|
|
|
+ this.show = false
|
|
|
+ } else {
|
|
|
+ this.show1 = false
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
onReachBottom() {},
|
|
@@ -391,10 +411,21 @@ export default {
|
|
|
</script>
|
|
|
<style >
|
|
|
page{
|
|
|
- background-color: #EAEEF1;
|
|
|
+ background-color: #fff;
|
|
|
}
|
|
|
</style>
|
|
|
<style scoped lang="scss">
|
|
|
+.confirms {
|
|
|
+ width: 100%;
|
|
|
+ height: 100vh;
|
|
|
+ // background: #fff;
|
|
|
+ .contents {
|
|
|
+ padding: 32rpx 32rpx 132rpx 32rpx;
|
|
|
+ }
|
|
|
+ .right_con {
|
|
|
+ width: 450rpx;
|
|
|
+ }
|
|
|
+}
|
|
|
.picker-item {
|
|
|
height: 50px;
|
|
|
align-items: center;
|
|
@@ -435,16 +466,18 @@ export default {
|
|
|
padding-left: 15rpx;
|
|
|
}
|
|
|
.okBtn{
|
|
|
- width: 200rpx;
|
|
|
- height: 64rpx;
|
|
|
- background: linear-gradient(0deg, #015EEA, #00C0FA);
|
|
|
- border-radius: 32rpx;
|
|
|
+ width: 232rpx;
|
|
|
+ height: 92rpx;
|
|
|
+ line-height: 92rpx;
|
|
|
+ background: #FC3F3F;
|
|
|
+ border-radius: 120rpx;
|
|
|
color: #FFFFFF;
|
|
|
text-align: center;
|
|
|
- line-height: 64rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
+ font-weight: 500;
|
|
|
}
|
|
|
.confrim-btn{
|
|
|
- border-top:1px solid #eee;
|
|
|
+ // border-top:1px solid #eee;
|
|
|
height: 98rpx;
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
@@ -452,11 +485,12 @@ export default {
|
|
|
justify-content:center;
|
|
|
}
|
|
|
.grade{
|
|
|
- height: 23rpx;
|
|
|
- font-size: 24rpx;
|
|
|
- color: #999999;
|
|
|
- margin: 0 auto;
|
|
|
- margin-top: 15rpx;
|
|
|
+ // height: 23rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #222;
|
|
|
+ // margin: 0 auto;
|
|
|
+ // margin-top: 15rpx;
|
|
|
+ font-weight: 500;
|
|
|
text-align: center;
|
|
|
}
|
|
|
.line1{
|
|
@@ -468,9 +502,26 @@ export default {
|
|
|
margin-top: 15rpx;
|
|
|
}
|
|
|
.popup_box {
|
|
|
- height: 700rpx;
|
|
|
+ height: 824rpx;
|
|
|
box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
|
|
|
- border-radius: 32rpx 32rpx 0rpx 0rpx;
|
|
|
+ border-radius: 28rpx 28rpx 0rpx 0rpx;
|
|
|
+ .check_head {
|
|
|
+ padding: 0rpx 32rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ height: 104rpx;
|
|
|
+ background: #F2F2F2;
|
|
|
+ }
|
|
|
+ .items_c {
|
|
|
+ padding: 0rpx 32rpx;
|
|
|
+ }
|
|
|
+ .border_c {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 20rpx 0rpx;
|
|
|
+ border-bottom: 1rpx solid #F2F2F2;
|
|
|
+ }
|
|
|
}
|
|
|
.item{
|
|
|
width: 100%;
|
|
@@ -479,12 +530,15 @@ export default {
|
|
|
margin-bottom: 20rpx;
|
|
|
}
|
|
|
.priceTag{
|
|
|
- font-size: 30rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: bold;
|
|
|
- color: #FF2D55;
|
|
|
- display: flex;
|
|
|
- flex-direction: row-reverse;
|
|
|
+ color: #FC3F3F;
|
|
|
+ margin-top: 6rpx;
|
|
|
+ margin-bottom: 16rpx;
|
|
|
+ }
|
|
|
+ .input_c {
|
|
|
+ background: #F8F8F8;
|
|
|
}
|
|
|
.btn2{
|
|
|
width: 232rpx;
|