第一次提交

This commit is contained in:
2023-03-24 22:16:37 +08:00
parent 2115b4a161
commit 0ce30b5a30
4 changed files with 9 additions and 8 deletions

View File

@@ -183,7 +183,7 @@ Page({
pageNum: 1, pageNum: 1,
pageSize: 30, pageSize: 30,
status: that.data.status[that.data.currentType], status: that.data.status[that.data.currentType],
usercId: 103 usercId: wx.getStorageSync('uid')
}, },
success: (res) => { success: (res) => {
var resp = res.data; var resp = res.data;
@@ -225,7 +225,7 @@ Page({
pageNum: 1, pageNum: 1,
pageSize: 30, pageSize: 30,
status: that.data.status[that.data.currentType], status: that.data.status[that.data.currentType],
usercId: 103 usercId: wx.getStorageSync('uid')
}, },
success: (res) => { success: (res) => {
var resp = res.data; var resp = res.data;

View File

@@ -373,7 +373,7 @@ Page({
wx.request({ wx.request({
// url: app.globalData.url + '/system/weixinPayNew/12345666', // url: app.globalData.url + '/system/weixinPayNew/12345666',
//order_id为8位数字 //order_id为8位数字
url: app.globalData.url + '/system/weixinPay/'+this.data.item.orderId, url: app.globalData.url + '/system/order/weixinPay/'+this.data.item.orderId,
header: app.getRequestHeader(), header: app.getRequestHeader(),
method: 'GET', method: 'GET',
data: { data: {

View File

@@ -2,9 +2,9 @@
<view class="area1"> <view class="area1">
<image style="height: 336rpx;width: 100%;" src="../image/home_bj.png"></image> <image style="height: 336rpx;width: 100%;" src="../image/home_bj.png"></image>
</view> </view>
<view style="display: flex; flex-direction:row;align-items : flex-end;margin-top: -200rpx; justify-content: center;"> <view style="margin-top: -200rpx;">
<!-- <image style="width: 25rpx;height: 50rpx;" src="../image/right.png"></image> --> <!-- <image style="width: 25rpx;height: 50rpx;" src="../image/right.png"></image> -->
<view class="" style="font-size: 34rpx;color: #ffffff;">{{"服务列表"}}</view> <view class="" style="display: flex; flex-direction:row;justify-content: center;font-size: 34rpx;color: #ffffff;">{{"服务列表"}}</view>
</view> </view>
<view style="display: flex; flex-direction:row;align-items : flex-end; height: 40rpx;margin-top: -40rpx;margin-left: 20rpx;"bindtap="back"> <view style="display: flex; flex-direction:row;align-items : flex-end; height: 40rpx;margin-top: -40rpx;margin-left: 20rpx;"bindtap="back">

View File

@@ -44,7 +44,8 @@ Page({
charge_phone: '', charge_phone: '',
is_ok_click: false, is_ok_click: false,
clock: '', clock: '',
address: '' address: '',
danjia:0.01
}, },
onDisplay() { onDisplay() {
@@ -139,7 +140,7 @@ Page({
startTime: this.data.seckill_start, startTime: this.data.seckill_start,
endTime: this.data.seckill_endx, endTime: this.data.seckill_endx,
bId: this.data.item.userId, bId: this.data.item.userId,
yuguMoney: "100", yuguMoney: "1",
price: "10", price: "10",
priceType: "1", priceType: "1",
hospitalId: this.data.item.hospitalId, hospitalId: this.data.item.hospitalId,
@@ -247,7 +248,7 @@ Page({
}) })
var day = this.checkDate() var day = this.checkDate()
this.setData({ this.setData({
paymoney:100*day paymoney:this.data.danjia*day
}) })
}, },
checkDate: function() { checkDate: function() {