sadjv3_user/pages/my/serviceOderDrtail.vue

1148 lines
28 KiB
Vue
Raw Normal View History

2024-06-12 15:52:21 +08:00
<template>
<view class="content">
<view class="header">
2024-06-30 19:11:56 +08:00
<view class="header-top" :style="backgroundStyle" @click="goNav('/my/vip/index')">
2024-06-24 11:29:11 +08:00
<image src="../../static/servicePackage/member_ba.png" mode="widthFix" v-if="!isVip"></image>
<image src="../../static/activate2.png" mode="widthFix" v-if="isVip"></image>
2024-06-12 15:52:21 +08:00
</view>
<view class="header-bottom">
<view class="header-bottom-top">
<view class="header-bottom-title">
<view class="header-bottom-title-text">
2024-07-26 14:50:20 +08:00
{{mainData.title}}
2024-06-12 15:52:21 +08:00
</view>
<view class="header-bottom-title-num">
2024-06-24 11:29:11 +08:00
<span>{{mainData.sales}}</span>
2024-06-12 15:52:21 +08:00
<span> 人选择</span>
</view>
</view>
<view class="header-bottom-money-view">
<view class="header-bottom-money">
<view class="header-bottom-money-zhen">
2024-07-26 17:49:35 +08:00
<span></span>
<span>{{mainData.price}}</span>
2024-07-03 10:58:32 +08:00
<span>/</span>
2024-06-12 15:52:21 +08:00
</view>
<view class="header-bottom-money-jia">
2024-07-02 22:23:55 +08:00
{{mainData.oldPrice}}/
2024-06-12 15:52:21 +08:00
</view>
</view>
</view>
</view>
<view class="header-bottom-mian">
2024-07-26 14:04:39 +08:00
<!--<view class="header-bottom-mian-title">
2024-06-12 15:52:21 +08:00
<image src="../../static/servicePackage/jianjie.png" mode=""></image>
<span>套餐简介</span>
2024-07-26 14:04:39 +08:00
</view>-->
2024-06-12 15:52:21 +08:00
<view class="jianjie">
2024-06-15 20:59:02 +08:00
{{mainData.content}}
2024-06-12 15:52:21 +08:00
</view>
2024-07-26 14:04:39 +08:00
<span class="jianjie-more">更多</span>
2024-06-12 15:52:21 +08:00
</view>
<view class="header-bottom-foot">
2024-07-20 16:11:07 +08:00
<view><image class="header-bottom-foot-title" src="../../static/dituzhaoren1.png" ></image></view>
2024-06-12 15:52:21 +08:00
<view class="header-bottom-foot-view">
<image class="header-bottom-foot-view-img1" src="../../static/servicePackage/idCard.png" mode=""></image>
2024-06-27 20:04:31 +08:00
<span>实名认证</span>
2024-06-12 15:52:21 +08:00
</view>
<view class="header-bottom-foot-view" style="margin: 0px 7px;">
<image class="header-bottom-foot-view-img2" src="../../static/servicePackage/money.png" mode=""></image>
2024-06-27 20:04:31 +08:00
<span>资质认证</span>
2024-06-12 15:52:21 +08:00
</view>
<view class="header-bottom-foot-view">
<image class="header-bottom-foot-view-img3" src="../../static/servicePackage/shuangyue.png" mode=""></image>
2024-06-27 20:04:31 +08:00
<span>平台担保</span>
2024-06-12 15:52:21 +08:00
</view>
</view>
</view>
</view>
<view class="detail-foot">
<view class="detail-foot-nav">
<span class="detail-foot-nav-text">套餐详情</span>
<span class="detail-foot-nav-bor"></span>
</view>
<view class="detail-foot-mian">
2024-06-15 20:59:02 +08:00
<view class="detail-foot-list" v-for="(item,index) in detailData" :key="index" @click="detail(item)">
2024-06-12 15:52:21 +08:00
<view class="detail-foot-list-top">
2024-06-15 20:59:02 +08:00
<span style="margin-right: 5px;">{{item.title}}</span>
2024-06-12 15:52:21 +08:00
</view>
2024-07-03 21:02:51 +08:00
<view class="detail-view" style="position: relative;">
2024-06-30 19:11:56 +08:00
<image class="detail-view-img" :src="item.massageImg" mode=""></image>
2024-07-04 10:46:53 +08:00
<span v-if="serviData.name!='index'" class="img-span">{{item.status=='1'?'已使用':'未使用'}}</span>
2024-06-30 19:11:56 +08:00
<view class="detail-view-mina">
2024-07-04 22:30:26 +08:00
<view class="header-bottom-money" style="margin: 7px 0px;display: flex;justify-content: space-between; ">
<view style="display: flex; align-items: flex-end;">
<view class="header-bottom-money-zhen">
2024-07-26 17:49:35 +08:00
<span></span>
<span>{{item.price}}</span>
2024-07-04 22:30:26 +08:00
</view>
<view class="header-bottom-money-jia" >
{{item.oldPrice}}
</view>
2024-06-30 19:11:56 +08:00
</view>
2024-07-11 15:11:00 +08:00
<view class="service-more" @click.stop="xiangqing(item)">{{item.status=='1'?'详情':'预约'}}</view>
2024-06-30 19:11:56 +08:00
</view>
2024-07-20 16:11:07 +08:00
<view style="color: #019c88; font-size: 26rpx;">服务时长:{{item.duration}}分钟</view>
2024-06-30 19:11:56 +08:00
<view class="tese">
<span>项目特色: </span>
<span>{{item.jianjie}}</span>
</view>
2024-06-12 15:52:21 +08:00
</view>
</view>
2024-07-26 14:50:20 +08:00
2024-06-12 15:52:21 +08:00
<view class="detail-foot-title">
2024-06-15 20:59:02 +08:00
服务项目{{index+1}}
2024-06-12 15:52:21 +08:00
</view>
</view>
2024-07-18 11:00:59 +08:00
<view style="height: 70rpx;"></view>
2024-07-26 14:50:20 +08:00
2024-06-12 15:52:21 +08:00
</view>
</view>
2024-07-18 11:00:59 +08:00
<view class="push-button">
<view class="detail-btn" v-if="serviData.name=='index'" @click="openpay(mainData)">
立即购买
</view>
2024-06-24 11:29:11 +08:00
</view>
<!-- 支付方式 -->
<u-popup v-model="showpay" mode="bottom" :closeable="closeable">
<view class="popup_pay">
<view style="background-color: #fff;">
<view style="padding: 0 20upx;margin-top: 60rpx;margin-bottom: 20rpx;display: flex;flex-direction: column;justify-content: center;">
<view
style="width:92%;display: flex;height: 100upx;align-items: center;padding: 20upx 0;justify-content: center;"
v-for="(item,index) in openLists" :key='item.id'>
<image :src="item.image" style="width: 55upx;height: 55upx;border-radius: 50upx;">
</image>
<view style="font-size: 30upx;margin-left: 20upx;width: 70%;">
{{item.text}}
</view>
<radio-group name="openWay" style="margin-left: 45upx;" @tap='selectWay(item)'>
<label class="tui-radio">
<radio color="#096f4b" :checked="openWay === item.id ? true : false" />
</label>
</radio-group>
</view>
</view>
</view>
<view class="pay_btn" @click="pay()">确认支付</view>
</view>
</u-popup>
2024-06-12 15:52:21 +08:00
</view>
</template>
<script>
export default{
data(){
return{
2024-06-24 11:29:11 +08:00
checkbox:false,
couponData:[],
couponId:'',
tordersId: '',
tpayMoney: '',
paySel: 0,
openWay: 1,
openLists: [],
closeable: true,
showpay: false,
2024-06-15 20:59:02 +08:00
serviData:[],
2024-06-24 11:29:11 +08:00
isVip:false,
2024-06-15 20:59:02 +08:00
mainData:[],
detailData:[],
// 背景图片的URL可以是动态的比如从API获取或根据条件生成
2024-06-24 11:29:11 +08:00
backgroundImageUrl: '',
nameText:'',
zong:''
2024-06-12 15:52:21 +08:00
}
},
2024-06-15 20:59:02 +08:00
computed: {
backgroundStyle() {
return {
backgroundImage: `url(${this.backgroundImageUrl})`,
backgroundSize: 'cover', // 根据需要调整
};
}
},
onLoad(e){
var that=this;
2024-06-24 11:29:11 +08:00
that.serviData=e;
2024-06-15 20:59:02 +08:00
that.getData();
2024-06-24 11:29:11 +08:00
that.youhui()
that.isVip=this.$queue.getData('isVIP');
},
onShow() {
// #ifndef MP-WEIXIN
this.openLists = [{
image: '../../static/images/icon_weixin.png',
text: '微信支付',
id: 2
}, {
image: '../../static/images/zhifubao.png',
text: '支付宝支付',
id: 3
}, {
image: '../../static/images/lingqian.png',
text: '零钱支付',
id: 1
}],
this.openWay = 2;
// #endif
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #ifdef MP-WEIXIN
this.openLists = [{
image: '../../static/images/icon_weixin.png',
text: '微信支付',
id: 2
}, {
image: '../../static/images/lingqian.png',
text: '零钱支付',
id: 1
}],
this.openWay = 2;
// #endif
2024-06-15 20:59:02 +08:00
},
2024-06-12 15:52:21 +08:00
methods:{
2024-06-30 19:11:56 +08:00
goNav(e) {
uni.navigateTo({
url: e
})
},
2024-06-24 11:29:11 +08:00
checkboxChange(e){
this.couponId=e.detail.value.join(",")
},
youhui(){//获取优惠卷
let that = this
let data = {
status: 0,
page: 1,
limit: 10
}
that.$Request.get("/app/coupon/selectCouponUserList", data).then(res => {
if (res.code == 0) {
that.couponData=res.data.list
} else {
that.$queue.showToast(res.msg)
}
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
});
},
goOrder() {//生成orderId
let that = this
console.log('asdasd',that.couponId)
// let payMoney =item.price;
// let payMoney = that.isVip ? item.memberPrice : item.price;
let data = {
userId: uni.getStorageSync('userId'),
couponId: that.couponId,
2024-06-25 20:23:11 +08:00
oldSumMoney: that.mainData.oldPrice,
sumMoney: that.mainData.price,
// oldSumMoney: that.mainData.oldPrice*that.detailData.length,
// sumMoney: that.mainData.price*that.detailData.length,
2024-06-24 11:29:11 +08:00
ordersPackageList:[
2024-06-25 21:25:46 +08:00
{packageId: that.mainData.id,num: 1},
2024-06-24 11:29:11 +08:00
]
}
that.$Request.postJson("/app/user/package/order/insertOrders", data).then(res => {
that.showorder = false
if (res.code == 0) {
that.tordersId = res.data.ordersId;
that.tpayMoney = res.data.payMoney;
that.showpay = true;
that.paySel = 1;
} else {
that.$queue.showToast(res.msg)
}
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
});
},
2024-06-27 20:04:31 +08:00
openpay(item) {
this.$queue.setData('mainData',item)
this.$queue.setData('detailData',this.detailData)
this.$queue.setData('xiangmu',item)
this.$queue.setData('youhui','');
uni.navigateTo({
url:'/my/order/payModifyTc?ordersId='+item.id
})
// this.goOrder()
// this.showpay = true
2024-06-24 11:29:11 +08:00
},
//支付选择
selectWay: function(item) {
this.openWay = item.id;
},
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
payJZ() {
let that = this;
if (that.openWay == 1) { //零钱支付
uni.showModal({
title: '付款提示',
content: '确认支付' + that.tpayMoney + '元吗?',
success: function(re) {
if (re.confirm) {
that.$queue.showLoading('支付中...')
// console.log('用户点击确定');
that.$Request.post("/app/user/package/order/payOrder", {
ordersId: that.tordersId,
}).then(ret => {
uni.hideLoading();
if (ret.code == 0) {
uni.showToast({
title: '支付成功',
icon: 'none'
})
that.getData()
} else {
uni.showToast({
title: ret.msg,
icon: 'none'
})
}
});
} else if (re.cancel) {
}
}
})
} else if (that.openWay == 2) { //微信支付
// #ifdef MP-WEIXIN
let data = {
ordersId: that.tordersId,
type: 3
}
that.$Request.post('/app/wxPay/payOrder', data).then(ret => {
console.log(ret)
if (ret.code == 0) {
uni.hideLoading();
uni.requestPayment({
provider: 'wxpay',
timeStamp: ret.data.timestamp,
nonceStr: ret.data.noncestr,
package: ret.data.package,
signType: ret.data.signType,
paySign: ret.data.sign,
success: function(ret) {
console.log(ret)
uni.showToast({
title: '支付成功',
icon: 'none'
})
that.getData()
// this.$queue.showToast('支付成功');
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// uni.switchTab({
// url: '/pages/my/index'
// })
},
fail: function(err) {
// this.$queue.showToast('支付失败');
uni.showToast({
title: '支付失败',
icon: 'nones'
});
}
});
}
});
// #endif
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #ifdef H5
let ua = navigator.userAgent.toLowerCase();
if (ua.indexOf('micromessenger') != -1) {
let data = {
ordersId: that.tordersId,
type: 2
}
that.$Request.post('/app/wxPay/payOrder', data).then(rea => {
that.showpay = false
if (rea.code == 0) {
that.callPay(rea.data);
that.getData()
} else {
uni.showToast({
title: rea.msg,
icon: 'none'
})
}
});
} else {
let data = {
ordersId: that.tordersId,
type: 4
}
that.$Request.post('/app/wxPay/payOrder', data).then(rea => {
that.showpay = false
if (rea.code == 0) {
const urlArr = window.location.href;
const hostUrl = urlArr.split("/");
const callBack = hostUrl[0] + "//" + hostUrl[2] + "/";
const url = '&redirect_url=' + callBack + 'my/order/pay';
window.location = rea.data.mweb_url + url
that.getData()
} else {
uni.showToast({
title: rea.msg,
icon: 'none'
})
}
});
}
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #endif
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #ifdef APP
let data = {
ordersId: that.order.ordersId,
type: 1
}
that.$Request.post('/app/wxPay/payOrder', data).then(rea => {
console.log(rea)
that.showpay = false
if (rea.code == 0) {
that.isCheckPay(rea.code, 'wxpay', JSON.stringify(rea.data));
}
});
// #endif
} else if (that.openWay == 3) { //支付宝支付
// #ifdef H5
let data = {
ordersId: that.tordersId,
type: 2
}
that.$Request.post('/app/aliPay/payOrder', data).then(
rea => {
that.showpay = false
const div = document.createElement('div')
div.innerHTML = rea.data //此处form就是后台返回接收到的数据
document.body.appendChild(div)
document.forms[0].submit()
that.getData()
});
// #endif
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #ifdef APP-PLUS
let data = {
ordersId: that.tordersId,
type: 1
}
that.$Request.post('/app/aliPay/payOrder', data).then(
rea => {
that.showpay = false
that.setPayment('alipay', rea.data);
that.getData()
});
// #endif
}
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
},
// 支付订单
pay() {
let that = this
this.showpay = false
if (this.paySel != 0) {
this.payJZ();
return;
}
if (that.openWay == 1) { //零钱支付
uni.showModal({
title: '付款提示',
content: '确认支付' + that.order.payMoney + '元吗?',
success: function(re) {
if (re.confirm) {
that.$queue.showLoading('支付中...')
console.log('用户点击确定');
that.$Request.post("/app/user/package/order/payOrder", {
ordersId: that.order.ordersId,
}).then(res => {
uni.hideLoading();
if (res.code == 0) {
uni.showToast({
title: '支付成功'
})
that.getData()
} else {
uni.showToast({
title: res.msg,
icon: 'none'
})
}
});
} else if (re.cancel) {
uni.hideLoading();
console.log('用户点击取消');
}
}
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
})
} else if (that.openWay == 2) { //微信支付
that.$queue.showLoading('支付中...')
// #ifdef MP-WEIXIN
let data = {
ordersId: that.order.ordersId,
type: 3
}
that.$Request.post('/app/wxPay/payOrder', data).then(ret => {
console.log(ret)
if (ret.code == 0) {
uni.hideLoading();
uni.requestPayment({
provider: 'wxpay',
timeStamp: ret.data.timestamp,
nonceStr: ret.data.noncestr,
package: ret.data.package,
signType: ret.data.signType,
paySign: ret.data.sign,
success: function(ret) {
console.log(ret)
uni.showToast({
title: '支付成功',
icon: 'none'
})
that.getData()
// this.$queue.showToast('支付成功');
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// uni.switchTab({
// url: '/pages/my/index'
// })
},
fail: function(err) {
// this.$queue.showToast('支付失败');
uni.showToast({
title: '支付失败',
icon: 'nones'
});
}
});
}
});
// #endif
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #ifdef H5
let ua = navigator.userAgent.toLowerCase();
if (ua.indexOf('micromessenger') != -1) {
let data = {
ordersId: that.order.ordersId,
type: 2
}
that.$Request.post('/app/wxPay/payOrder', data).then(rea => {
that.showpay = false
if (rea.code == 0) {
that.callPay(rea.data);
that.getData()
} else {
uni.showToast({
title: rea.msg,
icon: 'none'
})
}
});
} else {
let data = {
ordersId: that.order.ordersId,
type: 4
}
// debugger;
that.$Request.post('/app/wxPay/payOrder', data).then(rea => {
// const urlArr = window.location.href;
// const hostUrl = urlArr.split("/");
// const callBack = hostUrl[0] + "//" + hostUrl[2] + "/";
// const url = '&redirect_url=' + callBack + 'my/order/pay';
// window.location = rea.mweb_url + url
that.showpay = false
if (rea.code == 0) {
const urlArr = window.location.href;
const hostUrl = urlArr.split("/");
const callBack = hostUrl[0] + "//" + hostUrl[2] + "/";
const url = '&redirect_url=' + callBack + 'my/order/pay';
window.location = rea.data.mweb_url + url
that.getData()
} else {
uni.showToast({
title: rea.msg,
icon: 'none'
})
}
});
}
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #endif
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #ifdef APP
let data = {
ordersId: that.order.ordersId,
type: 1
}
that.$Request.post('/app/wxPay/payOrder', data).then(rea => {
console.log(rea)
that.showpay = false
if (rea.code == 0) {
that.getData()
that.isCheckPay(rea.code, 'wxpay', JSON.stringify(rea.data));
}
});
// #endif
} else if (that.openWay == 3) { //支付宝支付
that.$queue.showLoading('支付中...')
// #ifdef H5
let data = {
ordersId: that.order.ordersId,
type: 2
}
that.$Request.post('/app/aliPay/payOrder', data).then(
rea => {
const div = document.createElement('div')
div.innerHTML = rea.data //此处form就是后台返回接收到的数据
document.body.appendChild(div)
document.forms[0].submit()
that.getData()
});
// #endif
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
// #ifdef APP-PLUS
let data = {
ordersId: that.order.ordersId,
type: 1
}
that.$Request.post('/app/aliPay/payOrder', data).then(
rea => {
that.setPayment('alipay', rea.data);
that.getData()
});
// #endif
}
},
2024-07-05 23:39:28 +08:00
xiangqing(item){
uni.navigateTo({
url:'/pages/my/cureOderDrtail?mainId='+item.mainId+'&id='+item.id+
'&massageTypeId='+item.massageTypeId+
'&status='+item.status+
'&name='+this.nameText
})
},
2024-06-15 20:59:02 +08:00
detail(item){
2024-07-04 10:46:53 +08:00
if(item.status=='1'&&this.serviData.name!='index'){
2024-07-03 21:02:51 +08:00
uni.showToast({
title:'该项目已使用!'
})
}else{
uni.navigateTo({
url:'/pages/my/cureOderDrtail?mainId='+item.mainId+'&id='+item.id+
'&massageTypeId='+item.massageTypeId+
'&page='+1+
'&limit='+10+
'&name='+this.nameText
})
}
2024-07-26 14:50:20 +08:00
2024-06-15 20:59:02 +08:00
},
getData(){
var that=this;
2024-06-24 11:29:11 +08:00
if(that.serviData.name!='index'){
let data = {
mainId: that.serviData.id,
page: that.serviData.page,
limit: that.serviData.limit,
}
that.$Request.get('/app/user/package/detail/findMyPackageDetailList',data).then(res => {
if (res.code == 0) {
that.mainData=res.data.mainData;
that.detailData=res.data.detailData;
that.backgroundImageUrl=that.mainData.packageImg;
that.nameText="my"
2024-06-15 20:59:02 +08:00
}
2024-07-26 14:50:20 +08:00
})
2024-06-24 11:29:11 +08:00
}else{//从首页 推荐进入 请求的接口
let data = {
mainId: that.serviData.id,
page: that.serviData.page,
limit: that.serviData.limit,
}
that.$Request.get('/app/massage/packageDetail/findAppPage',data).then(res => {
if (res.code == 0) {
that.mainData=res.mainData;
that.detailData=res.detailData.list;
that.backgroundImageUrl=that.mainData.packageImg;
that.nameText="index"
}
})
}
2024-07-26 14:50:20 +08:00
2024-06-15 20:59:02 +08:00
},
2024-06-12 15:52:21 +08:00
}
}
</script>
<style scoped>
2024-07-03 21:02:51 +08:00
.img-span{
padding: 2px 5px;
font-weight: 400;
font-size: 8px;
color: #FFFFFF;
background: linear-gradient(-90deg, #FF6F48, #FF9E69);
border-radius: 7px 0px 7px 0px;
position: absolute;
bottom: 0px;
left: 0;
margin-bottom: 14px;
margin-left: 27px;
}
2024-06-30 19:11:56 +08:00
.detail-view-mina{
2024-07-20 16:11:07 +08:00
width: 74%;
2024-06-30 19:11:56 +08:00
display: flex;
flex-direction: column;
justify-content: space-around;
}
.detail-view-img{
2024-07-20 16:11:07 +08:00
width: 80px;
height: 80px;
2024-06-30 19:11:56 +08:00
border-radius: 9px;
}
.detail-view{
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
2024-07-26 14:50:20 +08:00
margin-top: 5px;
height: 100px;
2024-06-30 19:11:56 +08:00
}
2024-06-24 11:29:11 +08:00
/deep/uni-checkbox .uni-checkbox-input{
width: 26px;
height: 26px;
border-radius: 50%;
}
.youhui-img{
width: 111.81rpx;
height: 111.81rpx;
}
.youhui-view-right-btn{
width: 158rpx;
height: 64rpx;
background: linear-gradient(-90deg, #019C88, #2DC48E);
border-radius: 32rpx;
text-align: center;
line-height: 64rpx;
font-weight: 400;
font-size: 28rpx;
color: #FFFFFF;
text-shadow: 0rpx 2rpx 4rpx rgba(0,119,104,0.44);
margin-left: 10px;
}
.youhui-view-right-time{
font-weight: 400;
font-size: 22rpx;
color: #999999;
}
.youhui-view-right-title{
width: 105px;
font-weight: 400;
font-size: 32rpx;
color: #333333;
}
.youhui-view-right-top{
display: flex;
flex-direction: column;
align-items: center;
}
.youhui-view-right{
width: 502.08rpx;
height: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
}
.youhui-view-left-bottom{
font-weight: 400;
font-size: 22rpx;
color: #FFFFFF;
}
.youhui-view-left-yuan{
display: flex;
flex-direction: row;
align-items: baseline;
color: #FFFFFF;
}
.youhui-view-left-num{
font-weight: bold;
font-size: 89rpx;
}
.youhui-view-left-text{
font-weight: bold;
font-size:24.31rpx;
}
.youhui-view-left{
width: 199rpx;
height: 242rpx;
display: flex;
flex-direction:column;
align-items: center;
justify-content: center;
}
.youhui-yiyong{
background-image: url('../../static/youhuijuan/coupons7.png');
}
.youhui-weiyong{
background-image: url('../../static/youhuijuan/coupons1.png');
}
.youhui-list{
width: 95%;
display: flex;
flex-direction: row;
height: 242rpx;
border-radius: 21rpx;
background-size: 100%;
margin: 20px auto;
justify-content: space-between;
}
.popup_pay {
width: 100%;
position: relative;
padding-bottom: 45rpx;
/* height: 400px; */
/* height: 160px; */
/* #ifndef MP-WEIXIN */
/* height: 130px; */
/* #endif */
2024-07-26 14:50:20 +08:00
2024-06-24 11:29:11 +08:00
}
.pay_btn {
width: 90%;
margin: 0 auto;
text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 80rpx;
border-radius: 60rpx;
color: #ffffff;
line-height: 80rpx;
}
2024-07-18 11:00:59 +08:00
.push-button{
width: 100%;
height: 48px;
position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
}
2024-06-24 11:29:11 +08:00
.detail-btn{
2024-07-18 11:00:59 +08:00
display: inline-block;
width: 92%;
text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 40px;
border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin-top: 4px;
2024-07-25 19:36:32 +08:00
font-size: 30rpx;
padding-top: 2px;
2024-06-24 11:29:11 +08:00
}
2024-06-15 20:59:02 +08:00
.header-top image{
width: 706.25rpx;
height: 105.07rpx;
}
.header-top{
width: 100%;
height: 745.83rpx;
background-image: url('../../static/servicePackage/display.png');
/* background-size: 100%;
background-repeat: no-repeat; */
display: flex;
align-items: flex-end;
justify-content: center;
}
2024-06-12 15:52:21 +08:00
.shouc image{
width: 34.03rpx;
height: 32.64rpx;
}
2024-07-26 14:50:20 +08:00
2024-06-12 15:52:21 +08:00
.shouc{
display: flex;
align-items: center;
justify-content: center;
}
.detail-foot-nav-bor{
width: 64px;
height: 11rpx;
border-radius: 6rpx;
position: absolute;
bottom: 0;
background: linear-gradient(90deg,rgba(234, 248, 245,0.7),rgba(132, 211, 196,0.7));
}
.detail-foot-nav-text{
font-weight: bold;
2024-06-27 20:39:03 +08:00
font-size: 34rpx;
2024-06-12 15:52:21 +08:00
color: #000000;
}
.detail-foot-nav{
width: 90%;
display: flex;
flex-direction: column;
position: relative;
}
.detail-foot-title{
2024-07-26 14:04:39 +08:00
width: 100px;
height:28px;
/*background-image: url(../../static/servicePackage/horn.png);
2024-06-12 15:52:21 +08:00
background-repeat: no-repeat;
2024-07-26 14:04:39 +08:00
background-size: 100% 100%;*/
background: linear-gradient(90deg, #ffdf96, #feca76);
border-radius: 0 15rpx 0 30rpx;
2024-06-12 15:52:21 +08:00
font-weight: 400;
2024-07-26 14:04:39 +08:00
font-size: 14px;
color: #a13504;
2024-06-12 15:52:21 +08:00
text-align: right;
2024-07-26 14:04:39 +08:00
line-height: 28px;
2024-06-12 15:52:21 +08:00
padding-right: 15px;
position: absolute;
right: 0;
top: 0;
}
.detail-foot-list-top{
width: 95%;
display: flex;
flex-direction: row;
align-items: center;
}
.detail-foot-list{
width: 95%;
border-radius: 21rpx;
position: relative;
2024-06-29 10:23:28 +08:00
margin: 6px 0px 5px 0px;
2024-06-12 15:52:21 +08:00
padding: 15px;
display: flex;
flex-direction: column;
background-color: #fff;
}
.detail-foot{
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
padding: 15px 0px;
}
2024-07-26 14:50:20 +08:00
2024-06-12 15:52:21 +08:00
.tese span:nth-child(1){
font-weight: bold;
2024-07-20 16:11:07 +08:00
font-size: 24rpx;
2024-06-27 20:39:03 +08:00
color: #666;
2024-06-12 15:52:21 +08:00
}
.tese span:nth-child(2){
2024-07-20 16:11:07 +08:00
font-size: 24rpx;
2024-06-12 15:52:21 +08:00
color: #8D9194;
}
.tese{
width: 100%;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
overflow: hidden;
text-overflow: ellipsis;
2024-07-20 16:11:07 +08:00
margin-top: 4rpx;
2024-06-12 15:52:21 +08:00
}
.detail-foot-list-top span:nth-child(1){
font-weight: bold;
font-size: 31rpx;
color: #3F3F3F;
}
.detail-foot-list-top span:nth-child(2){
width: 76rpx;
height: 33rpx;
line-height: 33rpx;
text-align: center;
border-radius: 16rpx;
border: 1px solid #7D7D7D;
font-weight: 400;
font-size: 20rpx;
color: #777777;
margin: 0px 25px 0px 5px;
}
.detail-foot-list-top span:nth-child(3){
2024-06-27 20:39:03 +08:00
font-size: 30rpx;
color: #029d88;
2024-06-12 15:52:21 +08:00
}
2024-07-26 14:50:20 +08:00
2024-06-12 15:52:21 +08:00
.detail-foot-mian{
width: 100%;
display: flex;
flex-direction: column;
2024-06-15 20:59:02 +08:00
justify-content: center;
align-items: center;
2024-06-27 20:39:03 +08:00
margin-top: 8px;
2024-06-12 15:52:21 +08:00
}
.jianjie{
font-weight: 400;
2024-07-20 16:11:07 +08:00
font-size: 24rpx;
2024-06-12 15:52:21 +08:00
color: #8D9194;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
overflow: hidden;
text-overflow: ellipsis;
}
2024-07-26 14:04:39 +08:00
.jianjie-more{
color: #029d88;
font-size: 24rpx;
}
2024-06-12 15:52:21 +08:00
.header-bottom-mian{
2024-07-20 16:11:07 +08:00
margin: 3px 0px;
2024-06-12 15:52:21 +08:00
}
.header-bottom-mian-title{
width: 100%;
2024-07-20 16:11:07 +08:00
display: flex;
align-items: center;
2024-06-12 15:52:21 +08:00
}
.header-bottom-mian-title span{
font-weight: 400;
2024-06-27 20:15:51 +08:00
font-size: 28rpx;
2024-06-12 15:52:21 +08:00
color: #20AB95;
margin-left: 5px;
2024-07-20 16:11:07 +08:00
padding: 10rpx 0;
2024-06-12 15:52:21 +08:00
}
.header-bottom-mian-title image{
width: 30.56rpx;
height: 29.86rpx;
}
.header-bottom-foot-view-img1{
2024-06-27 20:48:34 +08:00
width: 30rpx;
height: 30rpx;
2024-06-12 15:52:21 +08:00
}
.header-bottom-foot-view-img2{
2024-06-27 20:48:34 +08:00
width: 28rpx;
height: 28rpx;
2024-06-12 15:52:21 +08:00
}
.header-bottom-foot-view-img3{
2024-06-27 20:48:34 +08:00
width: 30rpx;
height: 30rpx;
2024-06-12 15:52:21 +08:00
}
.header-bottom-foot-view image{
margin-right: 3px;
}
.header-bottom-foot-view{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
2024-06-27 20:48:34 +08:00
width: 80px;
2024-06-12 15:52:21 +08:00
height: 22px;
line-height: 22px;
background-color: rgba(8, 162, 138, 0.1);
border-radius: 8px;
font-weight: 400;
2024-06-27 20:48:34 +08:00
font-size: 11px;
2024-06-12 15:52:21 +08:00
color: #029D88;
}
.header-bottom-foot-title{
2024-07-20 16:11:07 +08:00
width: 65px;
height: 17px;
margin-right: 8rpx;
margin-top: 4rpx;
2024-06-12 15:52:21 +08:00
}
.header-bottom-foot{
width: 100%;
display: flex;
flex-direction: row;
2024-07-26 14:50:20 +08:00
align-items: center;
2024-07-20 16:11:07 +08:00
margin-top: 8rpx;
2024-06-12 15:52:21 +08:00
}
.header-bottom-money-jia{
font-size: 28rpx;
color: #848484;
line-height: 37rpx;
text-decoration-line: line-through;
margin-left: 5px;
}
.header-bottom-money-zhen span{
2024-07-25 19:36:32 +08:00
color: #FF1200;
2024-06-12 15:52:21 +08:00
}
.header-bottom-money-zhen span:nth-child(1){
2024-07-26 17:49:35 +08:00
font-size: 28rpx;
2024-06-12 15:52:21 +08:00
}
.header-bottom-money-zhen span:nth-child(2){
2024-07-03 10:58:32 +08:00
font-size:38rpx;
2024-06-12 15:52:21 +08:00
font-weight: bold;
}
.header-bottom-money-zhen span:nth-child(3){
2024-07-26 17:49:35 +08:00
font-size: 28rpx;
2024-06-12 15:52:21 +08:00
}
.header-bottom-money-zhen{
display: flex;
flex-direction: row;
align-items: baseline;
}
2024-07-26 14:50:20 +08:00
2024-06-12 15:52:21 +08:00
.header-bottom-money-view{
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
2024-06-27 20:39:03 +08:00
margin-top:8px;
2024-06-12 15:52:21 +08:00
}
.header-bottom-money{
width: 100%;
display: flex;
flex-direction: row;
align-items: flex-end;
}
.header-bottom-title-num span{
2024-07-20 16:11:07 +08:00
font-size: 28rpx;
2024-06-12 15:52:21 +08:00
}
.header-bottom-title-num span:nth-child(1){
2024-07-20 16:11:07 +08:00
font-weight: bold;
2024-06-12 15:52:21 +08:00
color: #08A28A;
}
.header-bottom-title-num span:nth-child(2){
color: #848485;
margin-left: 5px;
}
.header-bottom-title-text{
font-weight: bold;
font-size: 35rpx;
color: #13141A;
}
.header-bottom-title{
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.header-bottom-top{
width: 100%;
display: flex;
flex-direction: column;
}
.header-bottom{
width: 100%;
background-color: #fff;
2024-06-27 20:39:03 +08:00
padding: 15px 20px;
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: column;
}
2024-07-26 14:50:20 +08:00
2024-06-12 15:52:21 +08:00
.header{
width: 100%;
display: flex;
flex-direction: column;
}
.content{
width: 100%;
2024-07-04 10:46:53 +08:00
height: 100vh;
position: relative;
2024-06-12 15:52:21 +08:00
background-color: #f7f7f7;
2024-07-04 10:46:53 +08:00
display: flex;
flex-direction: column;
align-items: center;
2024-06-12 15:52:21 +08:00
}
2024-07-04 22:30:26 +08:00
.service-more{
width: 50px;
2024-07-18 11:00:59 +08:00
height: 26px;
2024-07-04 22:30:26 +08:00
font-size: 13px;
border-radius: 15px;
2024-07-18 11:00:59 +08:00
line-height: 26px;
border: 1px #2dbe93 solid ;
color: #019c88;
2024-07-04 22:30:26 +08:00
text-align: center;
justify-content: fex-end;
2024-07-18 11:00:59 +08:00
background: #eefffa;
2024-07-04 22:30:26 +08:00
}
2024-07-26 14:50:20 +08:00
</style>