1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138 |
- <template>
- <view class="orderDetails">
- <view class="content" v-if="details">
- <view class="address">
- <view class="add">{{address}} {{name}} {{atlasAdd}} </view>
- <view class="name">
- <view class="name_left">
- {{details.cNickName}} <text>{{details.cPhone}}</text>
- </view>
- <view class="toggle" @click="changeAddress(details.cId)">
- 更换地址
- </view>
- </view>
- </view>
- <view class="list_content">
- <view class="list_title">
- <view class="title_left">
- <text></text>体验项目
- </view>
- <view class="js">商户:{{details.js.cNickName}}</view>
- </view>
- <view class="lists" v-for="(item,index) in projects" :key="index">
- <view class="imgs">
- <image :src="$globalData.publicUrl + item.cCover" mode="" />
- </view>
- <view class="right">
- <view class="list_title">
- <view class="title">{{item.cTitle}}</view>
- <view class="time">服务时长:{{item.nMinute}}分钟</view>
- </view>
- <view class="price">
- <view class="counter">份数:{{item.number}} </view>
- <view class="money">¥{{item.dPrice}}</view>
- </view>
- </view>
- </view>
- <view class="total">
- <text style="font-size: 28rpx;">总计</text>
- <view class="total_price" v-if="orderType ==2">
- ¥<text class="price">{{priceDifference}}</text>
- </view>
- <view class="total_price" v-else>
- ¥<text class="price">{{dTotalMoney}}</text>
- </view>
- </view>
- <view class="time_coupon">
- <!-- <view class="select_coupon" @click="isSelectDate = true">
- <text>预约时间 <text class="red">*</text> </text>
- <view class="right" v-if="preferential>0">-{{preferential}}元
- <image src="../../static/identify/more.png" mode="" />
- </view>
- <view class="right" v-else>请选择上门时间
- <image src="../../static/identify/more.png" mode="" />
- </view>
- </view> -->
- <view class="select_coupon" @click="selectCoupon">
- <text>优惠券</text>
- <view class="right" v-if="preferential>0">-{{preferential}}元
- <image src="../../static/identify/more.png" mode="" />
- </view>
- <view class="right" v-else>{{couponNum}}张可用
- <image src="../../static/identify/more.png" mode="" />
- </view>
- </view>
- </view>
- </view>
- <view class="face" v-if="!details.parentNo">
- <view class="face_one">
- <view class="title_left"> <text></text>出行方式</view>
- <view class="btn">滴滴/出租</view>
- </view>
- <view class="face_one">
- <view>车费</view>
- <view class="price"> 预估:{{details.fare || 0}}元</view>
- </view>
- <view class="face_three">
- 车费¥{{details.fare || 0}}全程 {{details.distance.toFixed(2)}} 公里,起步价
- <span v-if="!baseDistance == ''">{{baseDistance}}</span>
- <span v-else>3</span>
- 公里
- <span v-if="!baseFare == ''">{{baseFare}}</span>
- <span v-else>9.3</span>
- 元;超出
- <span v-if="!baseDistance == ''">{{baseDistance}}</span>
- <span v-else>3</span>公里
- 后,每公里
- <span v-if="!additionalFarePer == ''">{{additionalFarePer}}</span>
- <span v-else>2.4</span>
- 元。
- </view>
- </view>
- <view class="pay_type">
- <view class="pay_title"> <text></text>支付方式</view>
- <view class="pay_box">
- <!-- <view class="container"> -->
- <radio-group @change="onPaymentRadioChange">
- <view class="public wx_pay">
- <image src="../../static/identify/weixin.png" mode="" />
- <text>微信支付</text>
- <radio value="1" class="radio" />
- </view>
- <view class="public wx_pay">
- <image src="../../static/identify/qianbao.png" mode="" />
- <text>账户余额({{dBalance}})</text>
- <radio value="2" class="radio" />
- </view>
- <view class="public wx_pay" v-if="orderType ==2">
- <image src="../../static/identify/rmb.png" mode="" />
- <text>现金支付</text>
- <radio value="3" class="radio" />
- </view>
- </radio-group>
- <!-- </view> -->
- </view>
- </view>
- <view class="yuyue">
- <view class="prices">合计:
- <text v-if="orderType == 2">{{priceDifference}}</text>
- <text v-else>{{totalPrice}}</text>
- </view>
- <view class="btn" @click="goPay" v-if="remainingTime>0">
- <view class="">
- 立即支付
- </view>
- <view class="remaining_time">
- 剩余 <u-count-down :timestamp="remainingTime" @end="Refresh"></u-count-down>
- </view>
- </view>
- <view class="btn" v-else>
- <view class="">
- 已过期
- </view>
- </view>
- </view>
- </view>
- <view class="time_popup" v-if="isTime">
- <view class="popup_content">
- <view class="popup_title">
- 请预约时间
- </view>
- <view class="describe">
- 您还没有预约上门时间,<br />
- 请先去预约时间再进行下单
- </view>
- <view class="popup_btn">
- <view class="popup_cancel" @click="isTime = false">
- 取消
- </view>
- <view class="popup_subscribe" @click="isTime = false,isSelectDate = true">
- 预约时间
- </view>
- </view>
- </view>
- </view>
- <seelctName @dateSend="getDate" v-if="isSelectDate" />
- </view>
- </template>
- <script>
- import wx from 'weixin-js-sdk'
- import seelctName from '../../components/select_time.vue'
- import {
- orderDeatails,
- getInfo,
- payoff,
- pay,
- getSignature,
- getCoupon,
- tFareSetting,
- verification
- } from '../../api/index.js'
- export default {
- components: {
- seelctName
- },
- data() {
- return {
- isSelect: true,
- isCoupon: false,
- couponNum: 0,
- couponMoney: 0,
- orderId: '',
- publicUrl: 'https://1910ca70.r6.cpolar.top',
- details: [],
- projects: [],
- address: '',
- atlasAdd: '',
- name: '',
- money: 0,
- dTotalMoney: 0,
- carFace: 0,
- selectedPayment: null, // 初始状态下,没有选项被选中
- dBalance: 0, //账户余额
- payData: {
- appId: '',
- nonceStr: '',
- package: '',
- paySign: '',
- signType: '',
- timeStamp: '',
- },
- form: {
- dMoney: 0,
- cOpenId: uni.getStorageSync('wx_copenid'),
- },
- remainingTime: '',
- baseFare: '', //起步价
- baseDistance: '', //起步距离
- additionalFarePer: '', //超出费用
- cId: '', //订单id
- couponReceiveId: '', //优惠券id
- preferential: '', //优惠金额
- totalPrice: '', //总金额
- priceDifference: '', //升级差价
- orderType: '',
- isTime: false,
- isSelectDate: false
- }
- },
- methods: {
- getDate(data) {
- this.isSelectDate = false
- console.log(data)
- },
- fareSetting(id) {
- let data = {}
- data.deptId = id
- data.enable = 1
- tFareSetting(data).then(res => {
- this.baseDistance = res.data.data.records[0].baseDistance
- this.additionalFarePer = res.data.data.records[0].additionalFarePer
- this.baseFare = res.data.data.records[0].baseFare
- })
- },
- Refresh() {
- this.remainingTime = 0
- },
- myCoupon() {
- var openId = {
- openid: uni.getStorageSync('wx_copenid')
- }
- getCoupon(openId).then(res => {
- if (res.data.data.length > 0) {
- this.couponNum = res.data.data.length
- } else {
- this.couponNum = 0
- }
- })
- },
- selectCoupon() {
- if (this.remainingTime > 0) {
- uni.navigateTo({
- url: '/pages/my/coupon?title=' + 'select'
- })
- } else {
- uni.showToast({
- title: '已过期,请重新下单',
- icon: 'none'
- })
- }
- },
- changeAddress(id) {
- uni.navigateTo({
- url: '../my/remember?name=支付订单&orderNo=' + id
- })
- // if(this.isSelect){
- // }else{
- // uni.showToast({
- // title: '待支付订单不可修改地址',
- // icon: 'none'
- // })
- // }
- },
- //选择支付方式
- onPaymentRadioChange(e) {
- this.selectedPayment = e.target.value
- },
- // 支付
- goPay() {
- this.form.dMoney = this.totalPrice
- if (this.selectedPayment == null) {
- uni.showToast({
- title: '请选择支付方式',
- icon: 'none'
- })
- } else if (this.remainingTime == 0) {
- uni.showToast({
- title: '订单已过期',
- icon: 'none'
- })
- } else if (this.selectedPayment == 1) {
- //微信支付
- this.weixinPay()
- } else if (this.selectedPayment == 2) {
- //余额支付
- this.nowYuyue()
- }else if(this.selectedPayment == 3){
- this.rmbPay()
- }
- },
- //微信支付
- weixinPay() {
- var data = {
- cId: this.details.cId,
- payType: this.selectedPayment,
- couponReceiveId: this.couponReceiveId,
- preferential: this.preferential, //优惠金额
- totalPrice: this.totalPrice, //总金额
- }
- let url = 'https://test.baoxianzhanggui.com/fragrance/'
- payoff(data).then(res => {
- let payConfig = JSON.parse(res.data.data)
- getSignature(url).then(res => {
- this.wxconfig = res.data
- wx.config({
- beta: true,
- debug: false,
- appId: this.wxconfig.appId, // 公众号ID
- // appId: uni.getAppBaseInfo().host.appId, // 公众号ID
- timestamp: this.wxconfig.timestamp, // 时间戳,自1970年以来的秒数
- nonceStr: this.wxconfig.nonceStr, // 随机串
- signature: this.wxconfig.sign, // 微信签名方式
- jsApiList: ['getBrandWCPayRequest']
- });
- var vm = this
- wx.invoke(
- 'getBrandWCPayRequest', { // 下面参数内容都是后台返回的
- 'appId': payConfig.appid, // 公众号名称,由商户传入
- 'timeStamp': payConfig.timeStamp, // 时间戳
- 'nonceStr': payConfig.nonceStr, // 随机串
- 'package': payConfig.package, // 预支付id
- 'signType': payConfig.signType, // 微信签名方式
- 'paySign': payConfig.paySign, // 微信签名
- },
- function(res) {
- // 使用以上方式判断前端返回,微信团队郑重提示:res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。
- // JSON.stringify(res);
- if (res.err_msg == "get_brand_wcpay_request:ok") {
- vm.$message.success(
- "支付成功") // 使用alert来弹窗 支付成功 是没有反应的。所以这里改为框架页面的弹窗就好了。注意必须要上这个微信浏览器内置事件外 转this指向才能弹窗
- // vm.isDisabledSubmitBtn = false;
- uni.switchTab({
- url: '../order/order',
- })
- } else if (res.err_msg == "get_brand_wcpay_request:cancel") {
- uni.showToast({
- title: '已取消支付',
- icon: 'none'
- })
- // alert('支付取消');
- // vm.isDisabledSubmitBtn = false;
- } else {
- alert('付款失败');
- // vm.isDisabledSubmitBtn = false;
- }
- })
- })
- })
- },
- //拉取微信支付的方法
- pullWchatPay(data) {
- var that = this;
- let onBridgeReady = () => {
- if (WeixinJSBridge && appId) {
- WeixinJSBridge.invoke(
- 'getBrandWCPayRequest', {
- appId: data.appId,
- nonceStr: data.nonceStr,
- package: data.package,
- paySign: data.paySign,
- signType: data.signType,
- timeStamp: data.timeStamp
- },
- function(res) {
- console.log('调起支付时的警告');
- if (res.err_msg === 'get_brand_wcpay_request:ok') {
- _this.payType = 0;
- console.log('支付成功回调')
- } else {
- console.log('支付失败')
- }
- }
- )
- }
- }
- // 检测支付环境中的 WeixinJSBridge
- if (typeof WeixinJSBridge == "undefined") {
- if (document.addEventListener) {
- //android机型,调取支付支付环境偶尔有延迟,这里增加延时器处理
- var timev = setTimeout(() => {
- clearTimeout(timev)
- document.addEventListener('WeixinJSBridgeReady', onBridgeReady(),
- false);
- }, 1000)
- } else if (document.attachEvent) {
- document.attachEvent('WeixinJSBridgeReady', onBridgeReady());
- document.attachEvent('onWeixinJSBridgeReady', onBridgeReady());
- }
- } else {
- onBridgeReady();
- }
- },
- //账号余额支付
- nowYuyue() {
- if (parseInt(this.dBalance) < parseInt(this.totalPrice)) {
- uni.showModal({
- title: '账户余额不足',
- content: '请充值',
- success: function(res) {
- if (res.confirm) {
- uni.navigateTo({
- url: '../my/pay?name=充值'
- })
- } else if (res.cancel) {}
- }
- });
- } else {
- var data = {
- cId: this.details.cId,
- payType: this.selectedPayment,
- couponReceiveId: this.couponReceiveId,
- preferential: this.preferential, //优惠金额
- totalPrice: this.totalPrice, //总金额
- }
- payoff(data).then(res => {
- if (res.data.code == 200) {
- uni.showToast({
- title: '支付成功!',
- })
- setTimeout(() => {
- uni.switchTab({
- url: '../order/order',
- })
- }, 2000)
- } else {
- uni.showToast({
- icon: 'error',
- title: res.data.msg,
- })
- }
- })
- }
- },
- //现金支付
- rmbPay(){
- var data = {
- cId: this.details.cId,
- payType: this.selectedPayment,
- couponReceiveId: this.couponReceiveId,
- preferential: this.preferential, //优惠金额
- totalPrice: this.totalPrice, //总金额
- }
- payoff(data).then(res => {
- if (res.data.code == 200) {
- uni.showToast({
- title: '支付成功!',
- })
- setTimeout(() => {
- uni.switchTab({
- url: '../order/order',
- })
- }, 2000)
- } else {
- uni.showToast({
- icon: 'error',
- title: res.data.msg,
- })
- }
-
- })
- },
- getInfo() {
- getInfo().then(res => {
- this.dBalance = res.data.data.dBalance.toFixed(2)
- })
- },
- getOrder() {
- let order = {
- orderNo: this.orderId,
- // orderNo: 'YORDER2025062000007',
- couponReceiveId: this.couponId
- }
- orderDeatails(order).then(res => {
- this.cId = res.data.data.records[0].cId
- this.details = res.data.data.records[0],
- this.totalPrice = this.details.totalPrice,
- this.priceDifference = this.details.priceDifference,
- this.orderType = this.details.orderType,
- console.log(res)
- this.projects = res.data.data.records[0].cGoods,
- this.address = res.data.data.records[0].address,
- this.atlasAdd = res.data.data.records[0].atlasAdd,
- this.name = res.data.data.records[0].name,
- this.dTotalMoney = res.data.data.records[0].dTotalMoney,
- this.totalPrice = res.data.data.records[0].totalPrice,
- this.remainingTime = res.data.data.records[0].remainingTime,
- this.fareSetting(res.data.data.records[0].deptId),
- this.getInfo()
- })
- },
- verification() {
- let order = {
- cId: this.cId,
- couponReceiveId: this.couponId
- }
- verification(order).then(res => {
- if (res.data.msg == '不满足优惠券门槛金额') {
- uni.showToast({
- title: res.data.msg,
- icon: 'none'
- })
- }
- this.couponReceiveId = res.data.data.couponReceiveId
- this.preferential = res.data.data.preferential
- this.totalPrice = res.data.data.totalPrice
- // this.details = res.data.data.records[0],
- // this.projects = res.data.data.records[0].cGoods,
- // this.address = res.data.data.records[0].address
- // this.atlasAdd = res.data.data.records[0].atlasAdd
- // this.name = res.data.data.records[0].name
- // this.dTotalMoney = res.data.data.records[0].totalPrice
- // this.remainingTime = res.data.data.records[0].remainingTime
- // this.fareSetting(res.data.data.records[0].deptId)
- // this.getInfo()
- })
- },
- },
- onLoad(options) {
- // if(options.couponMoney){
- // this.couponMoney = options.couponMoney
- // this.isCoupon = true
- // this.couponId = options.couponId
- // }else if(options.orderNo){
- // }
- this.orderId = options.orderNo
- if (options.page == 'order') {
- // this.isSelect = false
- }
- wx.checkJsApi({
- jsApiList: ['chooseImage'], // 需要检测的JS接口列表,所有JS接口列表见附录2,
- success: function(res) {
- // 以键值对的形式返回,可用的api值true,不可用为false
- // 如:{"checkResult":{"chooseImage":true},"errMsg":"checkJsApi:ok"}
- }
- });
- },
- onShow() {
- this.getInfo()
- this.myCoupon()
- this.getOrder()
- let couponData = uni.getStorageSync('couponData');
- if (couponData) {
- // this.couponMoney = couponData.discountValue
- // this.isCoupon = true
- this.couponId = couponData.id
- this.verification()
- }
- // uni.$on('returnData', function(data) {
- // this.couponMoney = data.discountValue
- // this.isCoupon = true
- // this.$router.go(0)
- // })
- }
- }
- </script>
- <style lang="scss" scoped>
- .orderDetails {
- height: 100%;
- background-color: #e8f2f4;
- // overflow-y: scroll;
- background: linear-gradient(152deg, #DCFFF8 0%, #F1FEFF 100%);
- padding: 30rpx 40rpx;
- .content {
- overflow-y: auto;
- .address {
- background-color: #fff;
- border-radius: 20rpx;
- padding: 24rpx;
- color: #000;
- position: relative;
- margin-bottom: 24rpx;
- .add {
- font-weight: 600;
- font-size: 30rpx;
- color: #2F3437;
- line-height: 35rpx;
- margin-bottom: 12rpx;
- }
- .name {
- width: 100%;
- color: #666;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .name_left {
- font-size: 26rpx;
- color: #333333;
- text {
- font-size: 26rpx;
- color: #999999;
- margin-left: 20rpx;
- }
- }
- .toggle {
- width: 152rpx;
- height: 52rpx;
- background: linear-gradient(135deg, #1AD8CF 0%, #21C8C0 100%);
- border-radius: 98rpx;
- font-size: 26rpx;
- color: #FFFFFF;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- .back {
- position: absolute;
- top: 50%;
- right: 30rpx;
- margin-top: -16rpx;
- image {
- width: 16rpx;
- transform: rotate(180deg);
- }
- }
- }
- }
- .yuyue {
- position: fixed;
- bottom: 0;
- left: 0;
- width: calc(100% - 60rpx);
- height: 100rpx;
- background-color: #fff;
- padding: 20rpx 30rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .prices {
- font-size: 28rpx;
- color: #b0b5b7;
- text {
- color: #d3362b;
- }
- }
- .btn {
- color: #fff;
- width: 300rpx;
- // height: 70rpx;
- // line-height: 70rpx;
- padding: 10rpx 0;
- background: linear-gradient(to right, #53aebc, #12d4f4);
- border-radius: 10rpx;
- text-align: center;
- display: flex;
- flex-direction: column;
- .remaining_time {
- height: 30rpx;
- margin-top: 10rpx;
- font-size: 24rpx;
- ::v-deep.u-countdown-time {
- font-size: 24rpx !important;
- }
- }
- }
- }
- .list_content {
- width: 100%;
- background: #FFFFFF;
- box-shadow: 0px 4px 12px 0px rgba(88, 209, 187, 0.2);
- border-radius: 24px 24px 24px 24px;
- margin-bottom: 24rpx;
- padding: 24rpx;
- box-sizing: border-box;
- .list_title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 24rpx;
- .title_left {
- font-weight: 600;
- font-size: 28rpx;
- color: #2F3437;
- display: flex;
- align-items: center;
- text {
- display: inline-block;
- width: 6rpx;
- height: 28rpx;
- background: #20CBC2;
- margin-right: 12rpx;
- }
- }
- .js {
- width: 188rpx;
- height: 52rpx;
- background: #DEFFFD;
- border-radius: 4rpx;
- padding: 8rpx 16rpx;
- font-size: 26rpx;
- color: #00B8B0;
- box-sizing: border-box;
- }
- }
- .total {
- width: 100%;
- display: flex;
- justify-content: space-between;
- .total_price {
- font-size: 28rpx;
- color: #F53E54;
- .price {
- font-weight: 600;
- font-size: 36rpx;
- color: #F53E54;
- }
- }
- }
- .time_coupon {
- border-top: 1px solid #eeeeee;
- // padding-top: 24rpx;
- margin-top: 24rpx;
- .select_coupon {
- display: flex;
- justify-content: space-between;
- margin-top: 26rpx;
- text {
- font-size: 28rpx;
- color: #333333;
- .red {
- font-weight: 600;
- font-size: 28rpx;
- color: #F53E54;
- margin-left: 10rpx;
- }
- }
- .right {
- font-size: 26rpx;
- display: flex;
- align-items: center;
- image {
- width: 28rpx;
- height: 28rpx;
- margin-left: 8rpx;
- }
- }
- }
- }
- }
- .lists {
- width: 100%;
- // height: 160rpx;
- display: flex;
- justify-content: space-between;
- border-radius: 24rpx;
- margin-bottom: 28rpx;
- .imgs {
- width: 160rpx;
- height: 160rpx;
- border-radius: 20rpx;
- overflow: hidden;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .right {
- flex: 1;
- padding-left: 30rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- .list_title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .title {
- font-size: 34rpx;
- font-weight: bold;
- }
- .time {
- font-size: 24rpx;
- }
- }
- .js {
- color: #8f9394;
- }
- .price {
- // padding-top: 50rpx;
- display: flex;
- justify-content: space-between;
- .counter {
- color: #c8caca;
- }
- .money {
- font-size: 24rpx;
- color: #333333;
- }
- .counter {
- display: flex;
- view {
- width: 60rpx;
- height: 60rpx;
- line-height: 60rpx;
- background-color: #f7f8fa;
- text-align: center;
- border-radius: 60rpx;
- font-size: 50rpx;
- }
- text {
- width: 100rpx;
- text-align: center;
- line-height: 60rpx;
- }
- }
- }
- }
- }
- .face {
- width: 100%;
- background-color: #fff;
- // margin: 0 30rpx;
- border-radius: 20rpx;
- padding: 24rpx;
- box-shadow: 0px 4rpx 12rpx 0px rgba(88, 209, 187, 0.05);
- box-sizing: border-box;
- .face_one {
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 28rpx;
- margin-bottom: 12rpx;
- .title_left {
- font-weight: 600;
- font-size: 28rpx;
- color: #2F3437;
- display: flex;
- align-items: center;
- text {
- display: inline-block;
- width: 6rpx;
- height: 28rpx;
- background: #20CBC2;
- margin-right: 12rpx;
- }
- }
- .btn {
- font-size: 28rpx;
- color: #00B8B0;
- }
- .price {
- color: #999999;
- }
- }
- .face_three {
- font-size: 26rpx;
- color: #999999;
- }
- }
- .pay_type {
- background: #FFFFFF;
- box-shadow: 0px 4rpx 12rpx 0px rgba(88, 209, 187, 0.1);
- border-radius: 20rpx;
- margin-top: 24rpx;
- padding: 24rpx;
- box-sizing: border-box;
- .pay_title {
- width: 100%;
- margin-bottom: 24rpx;
- font-weight: 600;
- font-size: 32rpx;
- color: #2F3437;
- font-weight: 600;
- font-size: 28rpx;
- color: #2F3437;
- display: flex;
- align-items: center;
- text {
- display: inline-block;
- width: 6rpx;
- height: 28rpx;
- background: #20CBC2;
- margin-right: 12rpx;
- }
- }
- .public {
- width: 100%;
- height: 10%;
- border-radius: 20rpx;
- background-color: #ffffff;
- margin-bottom: 20px;
- }
- .wx_pay {
- width: 100%;
- height: 48rpx;
- margin-bottom: 16rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- // padding: 10rpx;
- image {
- width: 40rpx;
- height: 40rpx;
- margin-right: 10rpx;
- }
- text {
- flex: 1;
- font-size: 30rpx;
- color: #333333;
- }
- checkbox .wx-checkbox-input {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- }
- checkbox .wx-checkbox-input.wx-checkbox-input-checked {
- border: none;
- background: #37C674;
- }
- }
- .account_pay {
- width: 100%;
- height: 48rpx;
- margin-bottom: 16rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- // padding: 10rpx;
- image {
- width: 50rpx;
- height: 50rpx;
- margin-right: 10rpx;
- }
- text {
- font-size: 30rpx;
- color: #333333;
- }
- checkbox .wx-checkbox-input {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- }
- checkbox .wx-checkbox-input.wx-checkbox-input-checked {
- border: none;
- background: #37C674;
- }
- }
- .account_pay {
- width: 100%;
- height: 10%;
- margin-bottom: 20rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 10rpx;
- image {
- width: 40rpx;
- height: 40rpx;
- margin-right: 10rpx;
- }
- text {
- flex: 1;
- font-size: 30rpx;
- color: #333333;
- }
- .right {
- text-align: right;
- padding-right: 10px;
- }
- }
- }
- }
- .time_popup {
- width: 100vw;
- height: 100vh;
- position: fixed;
- top: 0px;
- left: 0px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: rgba(0, 0, 0, 0.4);
- .popup_content {
- width: 630rpx;
- height: 420rpx;
- background: #FFFFFF;
- border-radius: 24rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- .popup_title {
- height: 92rpx;
- background: #E6F8F7;
- border-radius: 24rpx;
- text-align: center;
- font-weight: 600;
- font-size: 32rpx;
- line-height: 92rpx;
- color: #000000;
- }
- .describe {
- flex: 1;
- text-align: center;
- font-size: 28rpx;
- color: #333333;
- padding: 64rpx 0px;
- }
- .popup_btn {
- width: 100%;
- height: 116rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 24rpx 60rpx;
- box-sizing: border-box;
- border-top: 2rpx solid #EEEEEE;
- .popup_cancel {
- width: 182rpx;
- height: 68rpx;
- border-radius: 106rpx;
- border: 2rpx solid #BBBBBB;
- font-size: 32rpx;
- color: #999999;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .popup_subscribe {
- width: 268rpx;
- height: 68rpx;
- background: linear-gradient(90deg, #1AD7CE 0%, #21C9C1 100%);
- border-radius: 106rpx;
- font-size: 32rpx;
- color: #FFFFFF;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- }
- }
- </style>
|