修改订单功能
This commit is contained in:
@@ -39,29 +39,18 @@ Page({
|
||||
height: 46 + statusBarHeight,
|
||||
});
|
||||
},
|
||||
//条目点击---订单状态:-2:已取消 -1:拒绝接单 0:待付款 1:已付款 2:已接单(待服务)3:服务中 4:已完成 5申请退款 6退款中 7已退款 8:已结算
|
||||
//条目点击---订单状态:-2:已取消 -1:拒绝接单 0:待接单 1:已接单(待支付) 2:已支付(待服务)3:服务中 4:已完成 5申请退款 6退款中 7已退款 8:已结算
|
||||
|
||||
itemclick(e) {
|
||||
console.log("index==" + e.currentTarget.dataset.index)
|
||||
console.log("status==" + e.currentTarget.dataset.status)
|
||||
//去待付款详情
|
||||
if (e.currentTarget.dataset.status == 0) {
|
||||
if (e.currentTarget.dataset.item != 0) {
|
||||
let item = JSON.stringify(e.currentTarget.dataset.item);
|
||||
console.log("传递的item" + item);
|
||||
wx.navigateTo({
|
||||
url: "/pages/orderdetail/orderdetail?item=" + item,
|
||||
});
|
||||
}
|
||||
}
|
||||
//去取消订单详情
|
||||
if (e.currentTarget.dataset.status == -2) {
|
||||
if (e.currentTarget.dataset.item != 0) {
|
||||
let item = JSON.stringify(e.currentTarget.dataset.item);
|
||||
console.log("传递的item" + item);
|
||||
wx.navigateTo({
|
||||
url: "/pages/orderdetail/orderdetail?item=" + item,
|
||||
});
|
||||
}
|
||||
//去订单详情页
|
||||
if (e.currentTarget.dataset.item != 0) {
|
||||
let item = JSON.stringify(e.currentTarget.dataset.item);
|
||||
console.log("传递的item" + item);
|
||||
wx.navigateTo({
|
||||
url: "/pages/orderdetail/orderdetail?item=" + item,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
<view style=" padding: 0 24rpx;height:366rpx;position: relative;background: #ffffff;">
|
||||
<view style="height:66rpx;">
|
||||
<text class="time_msg">订单号:{{item.orderNumber}}</text>
|
||||
<!-- 订单状态:-2:已取消 -1:拒绝接单 0:待付款 1:已付款 2:已接单(待服务)
|
||||
<!-- 订单状态:-2:已取消 -1:拒绝接单 0:待接单 1:已接单(待支付) 2:已支付(待服务)
|
||||
3:服务中 4:已完成 5申请退款 6退款中 7已退款 8:已结算 -->
|
||||
<view wx:if="{{item.status==-2}}" class="status_msg">{{"已取消"}}</view>
|
||||
<view wx:if="{{item.status==-1}}" class="status_msg">{{"拒绝接单"}}</view>
|
||||
<view wx:if="{{item.status==0}}" class="status_msg">{{"待付款"}}</view>
|
||||
<view wx:if="{{item.status==1}}" class="status_msg">{{"已付款"}}</view>
|
||||
<view wx:if="{{item.status==0}}" class="status_msg">{{"待接单"}}</view>
|
||||
<view wx:if="{{item.status==1}}" class="status_msg">{{"已接单"}}</view>
|
||||
<view wx:if="{{item.status==2}}" class="status_msg">{{"待服务"}}</view>
|
||||
<view wx:if="{{item.status==3}}" class="status_msg">{{"服务中"}}</view>
|
||||
<view wx:if="{{item.status==4}}" class="status_msg">{{"已完成"}}</view>
|
||||
@@ -36,20 +36,17 @@
|
||||
<view style="height: 1rpx;background: #ECECEC;"></view>
|
||||
<view class="details_box">
|
||||
|
||||
<image src="{{url+item.userbAvatar}}" class="Group-image"></image>
|
||||
<image src="{{item.userbAvatar}}" class="Group-image"></image>
|
||||
<view style="margin-left: 31rpx;margin-top: 40rpx;">
|
||||
<view class="title">{{item.userbName}}</view>
|
||||
<view class="detail_number">{{item.serviceTime}}天</view>
|
||||
<view class="money">实付款:<text style="font-size: 30rpx;color: #FF8F1F;font-family: PingFang SC;font-weight: bold;">¥{{item.yuguMoney}}元</text></view>
|
||||
</view>
|
||||
<view class="detail_btn" bindtap="go_pay" data-id="{{item.order_id}}" wx:if="{{item.status==0}}" data-item="{{item}}">去付款</view>
|
||||
|
||||
<view class="detail_btn" bindtap="go_Qcode" data-id="{{item.order_id}}" wx:if="{{item.status==1}}">查看二维码</view>
|
||||
<view class="detail_btn" bindtap="go_pay" data-id="{{item.order_id}}" wx:if="{{item.status==1}}" data-item="{{item}}">去付款</view>
|
||||
|
||||
<!-- <view class="detail_btn" bindtap="go_Qcode" data-id="{{item.order_id}}" wx:if="{{item.status==1}}">查看二维码</view> -->
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -114,40 +114,28 @@ Page({
|
||||
statusBarHeight: statusBarHeight,
|
||||
height: 46 + statusBarHeight,
|
||||
});
|
||||
app.console(this.data.height + "=================xxxxxxxxxxxxxxxxxxxxxxxx")
|
||||
console.log(e.type)
|
||||
console.log(e.id)
|
||||
|
||||
// console.log(e.type)
|
||||
// console.log(e.id)
|
||||
//条目点击进入详情页
|
||||
this.setData({
|
||||
// btn1: 2,
|
||||
order_id: e.id
|
||||
})
|
||||
|
||||
//条目点击进入详情页,调取接口获取详情页数据,除外都是通过列表传参的方式展示详情页数据。
|
||||
if(e.type=3){
|
||||
this.getOrderDetail();
|
||||
}
|
||||
app.console(this.data.order_id+"======详情也收到的order_id")
|
||||
|
||||
var that = this;
|
||||
let item = JSON.parse(e.item);
|
||||
that.setData({
|
||||
item: item,
|
||||
charge_phone: 18133233292
|
||||
charge_phone: 18133233292,
|
||||
order_id: item.orderId
|
||||
});
|
||||
// if(options.type==1){
|
||||
// this.setData({
|
||||
// btn1:1,
|
||||
// order_id:options.id
|
||||
// })
|
||||
// }
|
||||
// if(options.type==2){
|
||||
// this.setData({
|
||||
// btn1:2,
|
||||
// order_id:options.id
|
||||
// })
|
||||
// }else if(options.type==3){
|
||||
// this.setData({
|
||||
// btn1:3,
|
||||
// order_id:options.id
|
||||
// })
|
||||
// }
|
||||
app.console("类型=================" + this.data.btn1)
|
||||
app.console("order_id=================" + this.data.order_id)
|
||||
|
||||
},
|
||||
mengceng() {
|
||||
this.setData({
|
||||
@@ -157,6 +145,27 @@ Page({
|
||||
refund_box: false
|
||||
})
|
||||
},
|
||||
//确认开始服务
|
||||
startService(){
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/view/startServiceWithOrder',
|
||||
header: app.getRequestHeader(),
|
||||
method: 'post',
|
||||
data: {
|
||||
orderId: that.data.order_id
|
||||
},
|
||||
success: function (res) {
|
||||
var resp = res.data;
|
||||
if (res.data.code == 200) {
|
||||
// that.setData({
|
||||
// item : res.data.data
|
||||
// });
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
seeQcode() {
|
||||
console.log('点击了查看二维码')
|
||||
//console.log(that.data.order_id)
|
||||
@@ -483,27 +492,17 @@ Page({
|
||||
getOrderDetail: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.buildUrl("/app/Goddesswechat/getOrderDetail"),
|
||||
url: app.globalData.url + '/system/view/getInfo',
|
||||
header: app.getRequestHeader(),
|
||||
method: 'POST',
|
||||
method: 'get',
|
||||
data: {
|
||||
version_number: this.data.version_number,
|
||||
uid: wx.getStorageSync('uid'),
|
||||
token: wx.getStorageSync('token'),
|
||||
order_id: this.data.order_id
|
||||
orderId: this.data.order_id
|
||||
},
|
||||
success: function (res) {
|
||||
var resp = res.data;
|
||||
console.log(resp + "=================dddddddddddddddddddddddddddddddddddddddddddd")
|
||||
console.log(resp.erro + "=================dddddddddddddddddddddddddddddddddddddddddddd")
|
||||
if (resp.erro == 0) {
|
||||
if (res.data.code == 200) {
|
||||
that.setData({
|
||||
detail: resp.detail,
|
||||
order: resp.order,
|
||||
goods_id: resp.detail.goods_id,
|
||||
id: resp.detail.id,
|
||||
refund: resp.detail.refund,
|
||||
charge_phone: resp.detail.charge_phone
|
||||
item : res.data.data
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
<view style=" height:328rpx;position: relative;background: #ffffff;margin-top:{{height}}px;">
|
||||
<view style="height:66rpx;padding: 0 24rpx;">
|
||||
<text class="time_msg"></text>
|
||||
<!-- 订单状态:-2:已取消 -1:拒绝接单 0:待付款 1:已付款 2:已接单(待服务)
|
||||
<!-- 订单状态:-2:已取消 -1:拒绝接单 0:待接单 1:已接单 2:已支付(待服务)
|
||||
3:服务中 4:已完成 5申请退款 6退款中 7已退款 8:已结算 -->
|
||||
<view wx:if="{{item.status==-2}}" class="status_msg">{{"已取消"}}</view>
|
||||
<view wx:if="{{item.status==-1}}" class="status_msg">{{"拒绝接单"}}</view>
|
||||
<view wx:if="{{item.status==0}}" class="status_msg">{{"待付款"}}</view>
|
||||
<view wx:if="{{item.status==1}}" class="status_msg">{{"已付款"}}</view>
|
||||
<view wx:if="{{item.status==0}}" class="status_msg">{{"待接单"}}</view>
|
||||
<view wx:if="{{item.status==1}}" class="status_msg">{{"已接单"}}</view>
|
||||
<view wx:if="{{item.status==2}}" class="status_msg">{{"待服务"}}</view>
|
||||
<view wx:if="{{item.status==3}}" class="status_msg">{{"服务中"}}</view>
|
||||
<view wx:if="{{item.status==4}}" class="status_msg">{{"已完成"}}</view>
|
||||
@@ -19,7 +19,7 @@
|
||||
<view wx:if="{{item.status==8}}" class="status_msg">{{"已结算"}}</view>
|
||||
</view>
|
||||
<view class="details_box">
|
||||
<image src="{{url+item.userbAvatar}}" style="width:230rpx;height:230rpx;"></image>
|
||||
<image src="{{item.userbAvatar}}" style="width:230rpx;height:230rpx;"></image>
|
||||
<view style="margin-left: 31rpx;">
|
||||
<view class="title">专业陪护服务({{item.userbName}})</view>
|
||||
<!-- <view class="detail_number">数量x{{detail.num}}</view> -->
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
<!-- 订单状态:-2:已取消 -->
|
||||
|
||||
<!-- 订单状态:0:待付款 -->
|
||||
<!-- 订单状态:0:待接单 -->
|
||||
<view wx:if="{{item.status==0}}" class="opt_view">
|
||||
<view wx:if="{{item.status==0}}">
|
||||
<view class="detail_btn" style="padding:0 30rpx" bindtap="confirm_pay">
|
||||
@@ -54,11 +54,35 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 订单状态:1:已接单 -->
|
||||
<view wx:if="{{item.status==1}}" class="opt_view">
|
||||
<view wx:if="{{item.status==1}}">
|
||||
<view class="detail_btn" style="padding:0 30rpx" bindtap="confirm_pay">
|
||||
付款
|
||||
</view>
|
||||
<view class="detail_btn" bindtap="cancelOrder">
|
||||
取消订单
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
<!-- <view wx:if="{{item.status==1}}" class="opt_view">
|
||||
<view wx:if="{{item.status==1}}">
|
||||
<view class="detail_btn" style="padding:0 30rpx" bindtap="seeQcode">
|
||||
查看身份码
|
||||
</view>
|
||||
<view class="detail_btn" bindtap="refund">
|
||||
退款
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- 订单状态:2:待服务 -->
|
||||
<view wx:if="{{item.status==2}}" class="opt_view">
|
||||
<view wx:if="{{item.status==2}}">
|
||||
<view class="detail_btn" style="padding:0 30rpx" bindtap="seeQcode">
|
||||
查看身份码
|
||||
<view class="detail_btn" style="padding:0 30rpx" bindtap="startService">
|
||||
确认开始服务
|
||||
</view>
|
||||
<view class="detail_btn" bindtap="refund">
|
||||
退款
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
// pages/paysuccess/paysuccess.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
<!--pages/paysuccess/paysuccess.wxml-->
|
||||
<text>pages/paysuccess/paysuccess.wxml</text>
|
||||
@@ -1 +0,0 @@
|
||||
/* pages/paysuccess/paysuccess.wxss */
|
||||
@@ -2,394 +2,284 @@ const app = getApp()
|
||||
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
text: '',
|
||||
texttwo: '',
|
||||
height: '',
|
||||
show: false,
|
||||
seckill_status: 1,
|
||||
seckill_start: '请输入开始日期',
|
||||
seckill_endx: '请输入结束日期',
|
||||
time: 30 * 60 * 60 * 1000,
|
||||
timeflag: 0,
|
||||
seckill_end: '',
|
||||
userInfo: {},
|
||||
item: {},
|
||||
url: app.globalData.url,
|
||||
hasUserInfo: false,
|
||||
date: '',
|
||||
paymoney:0,
|
||||
show: false,
|
||||
canIUseOpenData: wx.canIUse('open-data.type.userAvatarUrl') && wx.canIUse('open-data.type.userNickName'),
|
||||
phone: wx.getStorageSync('phone'),
|
||||
uidFlag: wx.getStorageSync('uidFlag'),
|
||||
imgUrls: [
|
||||
'/pages/image/goddess.jpg',
|
||||
'/pages/image/goddess.jpg',
|
||||
'/pages/image/goddess.jpg'
|
||||
],
|
||||
goods_detail_img: [],
|
||||
indicatorDots: true,
|
||||
autoplay: true,
|
||||
interval: 5000,
|
||||
duration: 1300,
|
||||
id: 0,
|
||||
bg: '#C79C77',
|
||||
order_id: '',
|
||||
timeData: {},
|
||||
Height: "", //这是swiper要动态设置的高度属性
|
||||
charge_phone: '',
|
||||
is_ok_click: false,
|
||||
clock: '',
|
||||
address: '',
|
||||
danjia:0.01
|
||||
},
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
height: '',
|
||||
seckill_start: '请输入开始日期',
|
||||
seckill_endx: '请输入结束日期',
|
||||
time: 30 * 60 * 60 * 1000,
|
||||
timeflag: 0,
|
||||
userInfo: {},
|
||||
item: {},
|
||||
hasUserInfo: false,
|
||||
date: '',
|
||||
paymoney: 0,
|
||||
phone: wx.getStorageSync('phone'),
|
||||
uidFlag: wx.getStorageSync('uidFlag'),
|
||||
goods_detail_img: [],
|
||||
indicatorDots: true,
|
||||
autoplay: true,
|
||||
interval: 5000,
|
||||
duration: 1300,
|
||||
id: 0,
|
||||
order_id: '',
|
||||
timeData: {},
|
||||
Height: "", //这是swiper要动态设置的高度属性
|
||||
charge_phone: '',
|
||||
is_ok_click: false,
|
||||
clock: '',
|
||||
address: '',
|
||||
danjia: 0.01,
|
||||
beizhu: '123456',
|
||||
},
|
||||
|
||||
onDisplay() {
|
||||
this.setData({
|
||||
show: true
|
||||
});
|
||||
},
|
||||
onClose() {
|
||||
this.setData({
|
||||
show: false
|
||||
});
|
||||
},
|
||||
formatDate(date) {
|
||||
date = new Date(date);
|
||||
return `${date.getMonth() + 1}/${date.getDate()}`;
|
||||
},
|
||||
onConfirm(event) {
|
||||
this.setData({
|
||||
show: false,
|
||||
text: `选择了 ${event.detail.length} 个日期`,
|
||||
texttwo: this.formatDate(event.detail),
|
||||
});
|
||||
},
|
||||
// 确认支付
|
||||
confirm_pay: async function () {
|
||||
var that = this;
|
||||
if (!this.data.is_ok_click) {
|
||||
that.setData({
|
||||
is_ok_click: true
|
||||
})
|
||||
//你要执行的操作
|
||||
this.payment()
|
||||
setTimeout(function () {
|
||||
that.setData({
|
||||
is_ok_click: false
|
||||
})
|
||||
}, 10000) //阻止一秒点击多次
|
||||
} else {
|
||||
// wx.showToast({ title:'请勿重复操作!', icon: 'none' });
|
||||
}
|
||||
},
|
||||
//获取单价
|
||||
getprice: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/config/configKey/price',
|
||||
header: app.getRequestHeader(),
|
||||
method: 'GET',
|
||||
data: {},
|
||||
success: (res) => {
|
||||
var resp = res.data;
|
||||
if (res.data.code == 200) {
|
||||
that.setData({
|
||||
special_offer: resp.data,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
//获取类型
|
||||
getpriceType: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/config/configKey/priceType',
|
||||
header: app.getRequestHeader(),
|
||||
method: 'GET',
|
||||
data: {},
|
||||
success: (res) => {
|
||||
var resp = res.data;
|
||||
if (res.data.code == 200) {
|
||||
that.setData({
|
||||
special_offer: resp.data,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
payment() {
|
||||
|
||||
if (this.data.seckill_start == "请输入开始日期") {
|
||||
wx.showToast({ title: '请输入开始日期', icon: 'none' });
|
||||
return
|
||||
}
|
||||
if (this.data.seckill_endx == "请输入结束日期") {
|
||||
wx.showToast({ title: '请输入结束日期', icon: 'none' });
|
||||
return
|
||||
}
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/order',
|
||||
data: {
|
||||
startTime: this.data.seckill_start,
|
||||
endTime: this.data.seckill_endx,
|
||||
bId: this.data.item.userId,
|
||||
yuguMoney: "1",
|
||||
price: "10",
|
||||
priceType: "1",
|
||||
hospitalId: this.data.item.hospitalId,
|
||||
cId: wx.getStorageSync('uid')
|
||||
},
|
||||
method: 'POST',
|
||||
header: {
|
||||
'content-type': 'application/json',
|
||||
'Authorization': 'Bearer ' + app.getCache("token")
|
||||
},
|
||||
success(res) {
|
||||
if (res.data.code == 200) {
|
||||
console.log('timeStamp=='+res.data.data.timeStamp)
|
||||
console.log('nonceStr=='+res.data.data.nonceStr)
|
||||
console.log('package=='+res.data.data.package)
|
||||
console.log('signType=='+res.data.data.signType)
|
||||
console.log('paySign=='+res.data.data.paySign)
|
||||
wx.requestPayment({
|
||||
timeStamp: res.data.data.timeStamp,
|
||||
nonceStr: res.data.data.nonceStr,
|
||||
package: res.data.data.package,
|
||||
signType: res.data.data.signType,
|
||||
paySign: res.data.data.paySign,
|
||||
success(res) {
|
||||
console.log('支付成功');
|
||||
wx.navigateTo({
|
||||
url: '/shopping/pages/paysuccess/paysuccess',
|
||||
})
|
||||
},
|
||||
fail(res) {
|
||||
console.log('支付失败');
|
||||
}
|
||||
})
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: res.data.msg,
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
}
|
||||
}
|
||||
// success(res) {
|
||||
// if (res.data.code == 200) {
|
||||
// that.setData({
|
||||
// // order_id: res.data.order_id,
|
||||
// order_id: 123456,
|
||||
// })
|
||||
// // wx.showToast({ title: res.data.msg, icon: 'none' });
|
||||
// wx.requestPayment({
|
||||
// timeStamp: res.data.data.timeStamp,
|
||||
// nonceStr: res.data.data.nonceStr,
|
||||
// package: res.data.data.package,
|
||||
// signType: 'MD5',
|
||||
// paySign: res.data.data.paySign,
|
||||
// success(res) {
|
||||
// console.log('支付成功');
|
||||
// wx.navigateTo({
|
||||
// url: '../paysuccess/paysuccess?' + '&order_id=' + that.data.order_id,
|
||||
// })
|
||||
// },
|
||||
// fail(res) {
|
||||
// console.log('支付失败');
|
||||
// }
|
||||
// })
|
||||
// } else {
|
||||
// wx.showToast({
|
||||
// title: res.data.msg,
|
||||
// icon: 'none'
|
||||
// });
|
||||
|
||||
// }
|
||||
// }
|
||||
// 确认支付
|
||||
confirm_pay: async function () {
|
||||
var that = this;
|
||||
if (!this.data.is_ok_click) {
|
||||
that.setData({
|
||||
is_ok_click: true
|
||||
})
|
||||
//你要执行的操作
|
||||
this.payment()
|
||||
setTimeout(function () {
|
||||
that.setData({
|
||||
is_ok_click: false
|
||||
})
|
||||
},
|
||||
|
||||
//是否登录
|
||||
isdenglu() {
|
||||
wx.showModal({
|
||||
title: '提示',
|
||||
content: '请先登录',
|
||||
}, 10000) //阻止一秒点击多次
|
||||
} else {
|
||||
// wx.showToast({ title:'请勿重复操作!', icon: 'none' });
|
||||
}
|
||||
},
|
||||
//获取单价
|
||||
getprice: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/config/configKey/price',
|
||||
header: app.getRequestHeader(),
|
||||
method: 'GET',
|
||||
data: {},
|
||||
success: (res) => {
|
||||
var resp = res.data;
|
||||
if (res.data.code == 200) {
|
||||
that.setData({
|
||||
special_offer: resp.data,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
//获取类型
|
||||
getpriceType: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/config/configKey/priceType',
|
||||
header: app.getRequestHeader(),
|
||||
method: 'GET',
|
||||
data: {},
|
||||
success: (res) => {
|
||||
var resp = res.data;
|
||||
if (res.data.code == 200) {
|
||||
that.setData({
|
||||
special_offer: resp.data,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
payment() {
|
||||
if (this.data.seckill_start == "请输入开始日期") {
|
||||
wx.showToast({
|
||||
title: '请输入开始日期',
|
||||
icon: 'none'
|
||||
});
|
||||
return
|
||||
}
|
||||
if (this.data.seckill_endx == "请输入结束日期") {
|
||||
wx.showToast({
|
||||
title: '请输入结束日期',
|
||||
icon: 'none'
|
||||
});
|
||||
return
|
||||
}
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/order',
|
||||
data: {
|
||||
startTime: this.data.seckill_start,
|
||||
endTime: this.data.seckill_endx,
|
||||
bId: this.data.item.userId,
|
||||
yuguMoney: "1",
|
||||
price: "10",
|
||||
priceType: "1",
|
||||
hospitalId: this.data.item.hospitalId,
|
||||
cId: wx.getStorageSync('uid'),
|
||||
remark: "1234567890",
|
||||
},
|
||||
method: 'POST',
|
||||
header: {
|
||||
'content-type': 'application/json',
|
||||
'Authorization': 'Bearer ' + app.getCache("token")
|
||||
},
|
||||
success(res) {
|
||||
if (res.confirm) {
|
||||
console.log('用户点击确定')
|
||||
wx.switchTab({
|
||||
url: '/pages/my/my'
|
||||
if (res.data.code == 200) {
|
||||
that.setData({
|
||||
order_id: res.data.data.orderId,
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
console.log('用户点击取消')
|
||||
wx.switchTab({
|
||||
url: '/pages/my/my'
|
||||
console.log('order_id==' + res.data.data.orderId)
|
||||
app.console(that.data.order_id + "======要传的order_id")
|
||||
wx.navigateTo({
|
||||
url: '/shopping/pages/paysuccess/paysuccess?' + "order_id=" + that.data.order_id,
|
||||
});
|
||||
// console.log('timeStamp==' + res.data.data.timeStamp)
|
||||
// console.log('nonceStr==' + res.data.data.nonceStr)
|
||||
// console.log('package==' + res.data.data.package)
|
||||
// console.log('signType==' + res.data.data.signType)
|
||||
// console.log('paySign==' + res.data.data.paySign)
|
||||
// wx.requestPayment({
|
||||
// timeStamp: res.data.data.timeStamp,
|
||||
// nonceStr: res.data.data.nonceStr,
|
||||
// package: res.data.data.package,
|
||||
// signType: res.data.data.signType,
|
||||
// paySign: res.data.data.paySign,
|
||||
// success(res) {
|
||||
// console.log('支付成功');
|
||||
// app.console(that.data.order_id + "======要传的order_id")
|
||||
// wx.navigateTo({
|
||||
// url: '/shopping/pages/paysuccess/paysuccess?' + "order_id=" + that.data.order_id,
|
||||
// });
|
||||
// },
|
||||
// fail(res) {
|
||||
// console.log('支付失败');
|
||||
// }
|
||||
// })
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: res.data.msg,
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
bindDateChange: function (e) {
|
||||
this.setData({
|
||||
seckill_start: e.detail.value
|
||||
})
|
||||
},
|
||||
bindDateChangetwo: function (e) {
|
||||
this.setData({
|
||||
seckill_endx: e.detail.value,
|
||||
})
|
||||
var day = this.checkDate()
|
||||
this.setData({
|
||||
paymoney:this.data.danjia*day
|
||||
})
|
||||
},
|
||||
checkDate: function() {
|
||||
//日期格式化
|
||||
var start_date = new Date(this.data.seckill_start.replace(/-/g, "/"));
|
||||
var end_date = new Date(this.data.seckill_endx.replace(/-/g, "/"));
|
||||
//转成毫秒数,两个日期相减
|
||||
var ms = end_date.getTime() - start_date.getTime();
|
||||
//转换成天数
|
||||
var day = parseInt(ms / (1000 * 60 * 60 * 24));
|
||||
//do something
|
||||
console.log("day = ", day);
|
||||
return day
|
||||
},
|
||||
onClickLeft() {
|
||||
wx.navigateBack()
|
||||
},
|
||||
onChange(e) {
|
||||
this.setData({
|
||||
timeData: e.detail,
|
||||
});
|
||||
|
||||
},
|
||||
imgHeight: function (e) {
|
||||
var winWid = wx.getSystemInfoSync().windowWidth; //获取当前屏幕的宽度
|
||||
var imgh = e.detail.height; //图片高度
|
||||
var imgw = e.detail.width; //图片宽度
|
||||
var swiperH = winWid * imgh / imgw + "px" //等比设置swiper的高度。 即 屏幕宽度 / swiper高度 = 图片宽度 / 图片高度 ==》swiper高度 = 屏幕宽度 * 图片高度 / 图片宽度
|
||||
this.setData({
|
||||
Height: swiperH //设置高度
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (e) {
|
||||
var statusBarHeight = wx.getSystemInfoSync().statusBarHeight;
|
||||
app.console(statusBarHeight + "=================xxxxxxxxxxxxxxxxxxxxxxxx")
|
||||
this.setData({
|
||||
statusBarHeight: statusBarHeight,
|
||||
height: 46 + statusBarHeight,
|
||||
});
|
||||
app.console(this.data.height + "=================xxxxxxxxxxxxxxxxxxxxxxxx")
|
||||
console.log(wx.getStorageSync('uidFlag'))
|
||||
console.log(wx.getStorageSync('uid'))
|
||||
if (wx.getStorageSync('phone') == '') {
|
||||
wx.setStorageSync('uidFlag', false);
|
||||
console.log('请登录')
|
||||
wx.showModal({
|
||||
title: '提示',
|
||||
content: '请先登录',
|
||||
success(res) {
|
||||
if (res.confirm) {
|
||||
console.log('用户点击确定')
|
||||
wx.switchTab({
|
||||
url: '/pages/my/my'
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
console.log('用户点击取消')
|
||||
wx.switchTab({
|
||||
url: '/pages/my/my'
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
bindDateChange: function (e) {
|
||||
this.setData({
|
||||
seckill_start: e.detail.value
|
||||
})
|
||||
},
|
||||
bindDateChangetwo: function (e) {
|
||||
this.setData({
|
||||
seckill_endx: e.detail.value,
|
||||
})
|
||||
var day = this.checkDate()
|
||||
this.setData({
|
||||
paymoney: this.data.danjia * day
|
||||
})
|
||||
},
|
||||
checkDate: function () {
|
||||
//日期格式化
|
||||
var start_date = new Date(this.data.seckill_start.replace(/-/g, "/"));
|
||||
var end_date = new Date(this.data.seckill_endx.replace(/-/g, "/"));
|
||||
//转成毫秒数,两个日期相减
|
||||
var ms = end_date.getTime() - start_date.getTime();
|
||||
//转换成天数
|
||||
var day = parseInt(ms / (1000 * 60 * 60 * 24));
|
||||
//do something
|
||||
console.log("day = ", day);
|
||||
return day + 1
|
||||
},
|
||||
onClickLeft() {
|
||||
wx.navigateBack()
|
||||
},
|
||||
onChange(e) {
|
||||
this.setData({
|
||||
timeData: e.detail,
|
||||
});
|
||||
|
||||
var that = this;
|
||||
let item = JSON.parse(e.item);
|
||||
that.setData({
|
||||
item: item
|
||||
});
|
||||
var myDate = new Date();
|
||||
myDate.getDate();
|
||||
app.console("当前天=" + myDate.toLocaleDateString())
|
||||
},
|
||||
/**
|
||||
* 拨打电话
|
||||
*/
|
||||
callphone() {
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: this.data.charge_phone,
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (e) {
|
||||
var statusBarHeight = wx.getSystemInfoSync().statusBarHeight;
|
||||
this.setData({
|
||||
statusBarHeight: statusBarHeight,
|
||||
height: 46 + statusBarHeight,
|
||||
});
|
||||
var that = this;
|
||||
let item = JSON.parse(e.item);
|
||||
that.setData({
|
||||
item: item
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 拨打电话
|
||||
*/
|
||||
callphone() {
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: this.data.charge_phone,
|
||||
})
|
||||
},
|
||||
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
var that = this;
|
||||
this.getprice();
|
||||
this.getpriceType();
|
||||
},
|
||||
|
||||
var that = this;
|
||||
this.getprice();
|
||||
this.getpriceType();
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
},
|
||||
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
},
|
||||
|
||||
},
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
},
|
||||
|
||||
},
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
},
|
||||
|
||||
},
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
},
|
||||
login: function (e) {
|
||||
|
||||
},
|
||||
|
||||
})
|
||||
},
|
||||
login: function (e) {
|
||||
|
||||
},
|
||||
|
||||
})
|
||||
@@ -1,105 +1,91 @@
|
||||
<!--pages/goddess/goddess.wxml-->
|
||||
<van-nav-bar title="下单" left-text="" right-text="" left-arrow bind:click-left="onClickLeft" bind:click-right="onClickRight" style=" position: fixed;left: 0;top: 0;width: 100%;z-index: 2;" />
|
||||
|
||||
|
||||
|
||||
|
||||
<view style="margin-top: {{height+12}}px;">
|
||||
|
||||
<view class="card_con" wx:key="key">
|
||||
<view style='display:flex;background-color: white;'>
|
||||
<view class="Group">
|
||||
<view class="Group-image">
|
||||
<image src="{{item.facePic}}"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{item.nickName}}</view>
|
||||
<view class="title2">({{"陪诊员"}})</view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{item.experience}}经验</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"简介:从事陪诊服务2年,服务细心,热情周到,有耐心、责任心强。"}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="card_con" wx:key="key">
|
||||
<view style='display:flex;background-color: white;'>
|
||||
<view class="Group">
|
||||
<view class="Group-image">
|
||||
<image src="{{item.facePic}}"></image>
|
||||
</view>
|
||||
<view style="height: 1rpx;background: #ECECEC;"></view>
|
||||
|
||||
<view style="display: flex; flex-direction:row;margin: 20rpx;">
|
||||
<view style="color: #666666;font-size: 30rpx;font-family: PingFang SC;font-weight: 400;width:532rpx;">
|
||||
电话:{{item.phonenumber}}</view>
|
||||
<image style="width:40rpx;height:40rpx;" src="/pages/image/phone.png" bindtap="callphone"></image>
|
||||
<view class="content">
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{item.nickName}}</view>
|
||||
<view class="title2">({{"陪诊员"}})</view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{item.experience}}经验</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"简介:从事陪诊服务2年,服务细心,热情周到,有耐心、责任心强。"}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="color: #666666;font-size: 30rpx;font-family: PingFang SC;font-weight: 400;width:532rpx;margin: 20rpx;margin-top: 0rpx;">
|
||||
地址:{{item.address}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 1rpx;background: #ECECEC;"></view>
|
||||
|
||||
<view style="display: flex; flex-direction:row;margin: 20rpx;">
|
||||
<view style="color: #666666;font-size: 30rpx;font-family: PingFang SC;font-weight: 400;width:532rpx;">
|
||||
电话:{{item.phonenumber}}</view>
|
||||
<image style="width:40rpx;height:40rpx;" src="/pages/image/phone.png" bindtap="callphone"></image>
|
||||
</view>
|
||||
<view style="color: #666666;font-size: 30rpx;font-family: PingFang SC;font-weight: 400;width:532rpx;margin: 20rpx;margin-top: 0rpx;">
|
||||
地址:{{item.address}}</view>
|
||||
</view>
|
||||
|
||||
<view class="card_cont" wx:key="key" style="margin-top: 24rpx;">
|
||||
<view class="title-left">
|
||||
{{"陪护时间选择"}}
|
||||
</view>
|
||||
<view style="height: 1rpx;background: #ECECEC;"></view>
|
||||
|
||||
<view class="row-wrap">
|
||||
<view class="label" style="margin-left: 33rpx;">开始日期</view>
|
||||
<view class="label-right">
|
||||
<picker mode="date" value="{{date}}" start="2022-01-01" end="2025-12-01" bindchange="bindDateChange">
|
||||
<view class="picker">
|
||||
{{seckill_start}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row-wrap">
|
||||
<view class="label" style="margin-left: 33rpx;">结束日期</view>
|
||||
<view class="label-right">
|
||||
<picker mode="date" value="{{date}}" start="2022-01-01" end="2025-12-01" bindchange="bindDateChangetwo">
|
||||
<view class="picker">
|
||||
{{seckill_endx}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="card_cont" wx:key="key" style="margin-top: 24rpx;">
|
||||
<view class="title-left">
|
||||
{{"备注"}}
|
||||
</view>
|
||||
<view style="height: 1rpx;background: #ECECEC;"></view>
|
||||
|
||||
<view class="card_cont" wx:key="key" style="margin-top: 24rpx;">
|
||||
<view class="title-left">
|
||||
{{"陪护时间选择"}}
|
||||
</view>
|
||||
<view style="height: 1rpx;background: #ECECEC;"></view>
|
||||
<!-- <van-cell title="选择多个日期" value="{{ text }}" bind:click="onDisplay" />
|
||||
<van-calendar show="{{ show }}" type="multiple" bind:close="onClose" bind:confirm="onConfirm" />
|
||||
<view>{{texttwo}}</view> -->
|
||||
|
||||
|
||||
<view class="row-wrap">
|
||||
<view class="label" style="margin-left: 33rpx;">开始日期</view>
|
||||
<view class="label-right">
|
||||
<!-- <input model:value="{{seckill_start}}" name="nickname" class="input" type="text" placeholder="请输入开始时间" /> -->
|
||||
<picker mode="date" value="{{date}}" start="2022-01-01" end="2025-12-01" bindchange="bindDateChange">
|
||||
<view class="picker">
|
||||
{{seckill_start}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="row-wrap">
|
||||
<view class="label" style="margin-left: 33rpx;">结束日期</view>
|
||||
<view class="label-right">
|
||||
<!-- <input model:value="{{seckill_end}}" name="nickname" class="input" type="text" placeholder="请输入结束时间" /> -->
|
||||
<picker mode="date" value="{{date}}" start="2022-01-01" end="2025-12-01" bindchange="bindDateChangetwo">
|
||||
<view class="picker">
|
||||
{{seckill_endx}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="peisong-way" style="margin-bottom: 30rpx;">
|
||||
<textarea style="font-size: 26rpx;padding-left: 19rpx;padding-top: 19rpx;" model:value="{{beizhu}}" bindinput="input" placeholder="请详细描述您的需求,简单讲述您的病情或症状,方便陪护人员为您服务。" />
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view style="font-size: 32rpx;color: #999999;margin-top:40rpx;margin-left: 40rpx;margin-right: 20rpx;">
|
||||
计费说明:计费说明计费说明计费说明计费说明计费说明计费说明计费说明
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
<view class="card_cont" wx:key="key" style="margin-top: 24rpx;">
|
||||
<view class="title-left">
|
||||
{{"备注"}}
|
||||
</view>
|
||||
<view style="height: 1rpx;background: #ECECEC;"></view>
|
||||
|
||||
<view class="peisong-way" style="margin-bottom: 30rpx;">
|
||||
<textarea style="font-size: 26rpx;padding-left: 19rpx;padding-top: 19rpx;" model:value="{{input_password}}" bindinput="passwordInput" placeholder="请详细描述您的需求,简单讲述您的病情或症状,方便陪护人员为您服务。" />
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view style="font-size: 32rpx;color: #999999;margin-top:40rpx;margin-left: 40rpx;margin-right: 20rpx;">
|
||||
计费说明:计费说明计费说明计费说明计费说明计费说明计费说明计费说明
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
<view class="payment">
|
||||
<view style="line-height: 56rpx;color:#333;">
|
||||
<text>需支付:</text>
|
||||
<text style="font-size:40rpx;color:#FF8F1F;margin-left:20rpx;">{{paymoney}}</text>
|
||||
<text>元</text>
|
||||
</view>
|
||||
<view class="immediately" bindtap="confirm_pay">立即支付</view>
|
||||
<view class="payment">
|
||||
<view style="line-height: 56rpx;color:#333;">
|
||||
<text>预计金额:</text>
|
||||
<text style="font-size:40rpx;color:#FF8F1F;margin-left:20rpx;">{{paymoney}}</text>
|
||||
<text>元</text>
|
||||
</view>
|
||||
<view class="immediately" bindtap="confirm_pay">提交订单</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -58,15 +58,15 @@ Page({
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
var statusBarHeight = wx.getSystemInfoSync().statusBarHeight;
|
||||
app.console(statusBarHeight+"=================xxxxxxxxxxxxxxxxxxxxxxxx")
|
||||
this.setData({
|
||||
statusBarHeight: statusBarHeight,
|
||||
height: 46 + statusBarHeight,
|
||||
});
|
||||
app.console(this.data.height+"=================xxxxxxxxxxxxxxxxxxxxxxxx")
|
||||
|
||||
this.setData({
|
||||
order_id:options.order_id
|
||||
})
|
||||
app.console(this.data.order_id+"======传来的order_id")
|
||||
this.paySuccess()
|
||||
},
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--shopping/pages/paysuccess/paysuccess.wxml-->
|
||||
|
||||
<van-nav-bar
|
||||
title="支付成功"
|
||||
title="提交成功"
|
||||
left-text=""
|
||||
right-text=""
|
||||
left-arrow
|
||||
@@ -13,10 +13,10 @@
|
||||
<view class="success">
|
||||
<image src="/pages/image/success.png"></image>
|
||||
</view>
|
||||
<view class="news1">支付成功</view>
|
||||
<view class="news1">提交成功</view>
|
||||
<view class="news2">可在个人中心“我的订单”中查看</view>
|
||||
<view style="display:flex;margin-bottom:106rpx; ">
|
||||
<view style="background-image: url(/shopping/image/back_home.png);background-repeat:no-repeat;background-size:contain; width: 304rpx;margin-left: 40rpx;" class="" bindtap="index"></view>
|
||||
<button style="width: 304rpx;margin-left: 40rpx;" class="btn1" bindtap="index">返回首页</button>
|
||||
<button class="btn2" style="width: 304rpx;" bindtap="godetail">查看详情</button>
|
||||
</view>
|
||||
<view style=" display:flex; flex-wrap: wrap;justify-content:space-around;">
|
||||
|
||||
@@ -90,6 +90,16 @@
|
||||
background: linear-gradient(312deg, #1B56FF 0%, #2D7AFF 0%, #00DBFC 100%);
|
||||
}
|
||||
|
||||
.btn1 {
|
||||
font-weight: 300;
|
||||
width: 244rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 310rpx;
|
||||
font-size: 30rpx;
|
||||
color: rgb(4, 59, 240);
|
||||
background: linear-gradient(312deg, #eeeff3 0%, #fff 0%, #e6edee 100%);
|
||||
}
|
||||
|
||||
.price {
|
||||
display: flex;
|
||||
margin-top: 8rpx;
|
||||
|
||||
Reference in New Issue
Block a user