This commit is contained in:
renjianbo0118
2023-05-25 08:24:02 +08:00
parent d775f63612
commit d4a7e89491
3 changed files with 7 additions and 33 deletions

View File

@@ -2,13 +2,11 @@
title="个人中心" title="个人中心"
left-text="" left-text=""
right-text="" right-text=""
left-arrow
bind:click-left="onClickLeft" bind:click-left="onClickLeft"
bind:click-right="onClickRight" bind:click-right="onClickRight"
style=" position: fixed;left: 0;top: 0;width: 100%;z-index: 2;" style=" position: fixed;left: 0;top: 0;width: 100%;z-index: 2;"
/> />
<view style="margin-top: {{height}}px;"> <view style="margin-top: {{height}}px;">
<view wx:if="{{uidFlag}}"> <view wx:if="{{uidFlag}}">
<view class="content"> <view class="content">
@@ -42,7 +40,7 @@
</view> </view>
</view> --> </view> -->
<view class="substance" bindtap="tuiguang"> <!-- <view class="substance" bindtap="tuiguang">
<view style="display:flex"> <view style="display:flex">
<image src="/pages/image/Bargain.png" style="width:34rpx;height:34rpx;"></image> <image src="/pages/image/Bargain.png" style="width:34rpx;height:34rpx;"></image>
<view class="price">我的推广</view> <view class="price">我的推广</view>
@@ -50,7 +48,7 @@
<view> <view>
<image src="/pages/image/right1.png" style="width:15rpx;height:28rpx"></image> <image src="/pages/image/right1.png" style="width:15rpx;height:28rpx"></image>
</view> </view>
</view> </view> -->
</view> </view>
<view class="content" wx:else> <view class="content" wx:else>

View File

@@ -58,10 +58,10 @@ Page({
// 确认支付 // 确认支付
confirm_payy: async function () { confirm_payy: async function () {
wx.showToast({ // wx.showToast({
title: '点击了', // title: '点击了',
icon: 'none' // icon: 'none'
}); // });
var that = this; var that = this;
if (!this.data.is_ok_click) { if (!this.data.is_ok_click) {
that.setData({ that.setData({
@@ -163,30 +163,6 @@ Page({
wx.navigateTo({ wx.navigateTo({
url: '/shopping/pages/paysuccess/paysuccess?' + "order_id=" + that.data.order_id, 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 { } else {
wx.showToast({ wx.showToast({
title: res.data.msg, title: res.data.msg,

View File

@@ -95,7 +95,7 @@
<view style="height: 1rpx;background: #ECECEC;"></view> <view style="height: 1rpx;background: #ECECEC;"></view>
<view class="peisong-way" style="margin-bottom: 30rpx;"> <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="填写补充说明。" /> <textarea style="width: 620rpx;height: 4em;font-size: 26rpx;padding-left: 19rpx;padding-top: 19rpx;" model:value="{{beizhu}}" bindinput="input" placeholder="填写补充说明。" />
</view> </view>
</view> </view>