Commit 75aec6effb4219c8245c5f4fb9ae9782e12dd557

Authored by season
1 parent 889dbdb8

去掉充值页面

app.json
@@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
24 "pages/user/return_goods_info/return_goods_info", 24 "pages/user/return_goods_info/return_goods_info",
25 "pages/user/return_goods/return_goods", 25 "pages/user/return_goods/return_goods",
26 "pages/user/withdrawals/withdrawals", 26 "pages/user/withdrawals/withdrawals",
27 - "pages/user/recharge/recharge",  
28 "pages/user/express/express", 27 "pages/user/express/express",
29 "pages/user/binding_info/binding_info", 28 "pages/user/binding_info/binding_info",
30 "pages/user/get_user_info/get_user_info", 29 "pages/user/get_user_info/get_user_info",
@@ -83,9 +82,20 @@ @@ -83,9 +82,20 @@
83 "pages/user/assistance/friend_assistance", 82 "pages/user/assistance/friend_assistance",
84 "pages/user/assistance/assistance_success", 83 "pages/user/assistance/assistance_success",
85 "pages/user/assistance/assistance" 84 "pages/user/assistance/assistance"
86 -  
87 85
88 ], 86 ],
  87 + "subPackages": [
  88 + {
  89 + "root": "packageA/",
  90 + "pages": [],
  91 + "plugins": {
  92 + "live-player-plugin": {
  93 + "version": "1.0.2",
  94 + "provider": "wx2b03c6e691cd7370"
  95 + }
  96 + }
  97 + }
  98 + ],
89 "permission": { 99 "permission": {
90 "scope.userLocation": { 100 "scope.userLocation": {
91 "desc": "获取你的位置信息" 101 "desc": "获取你的位置信息"
pages/user/recharge/recharge.js deleted
1 -var e = getApp(), a = require("../../../utils/pay.js");  
2 -  
3 -Page({  
4 - data: {  
5 - userMoney: 0,  
6 - iurl:e.globalData.setting.imghost,  
7 - },  
8 - onLoad: function(e) {  
9 - this.setData({  
10 - userMoney: e.money  
11 - });  
12 - },  
13 - submitRechange: function(n) {  
14 - var t = parseFloat(n.detail.value.money);  
15 - if (console.log(t), isNaN(t) || t < .01) return e.showWarning("请输入有效的金额");  
16 - a.rechange(t, function() {  
17 - wx.navigateBack();  
18 - });  
19 - }  
20 -});  
21 \ No newline at end of file 0 \ No newline at end of file
pages/user/recharge/recharge.json deleted
1 -{  
2 - "navigationBarTitleText": "充值"  
3 -}  
4 \ No newline at end of file 0 \ No newline at end of file
pages/user/recharge/recharge.wxml deleted
1 -<form bindsubmit="submitRechange">  
2 - <view class="pd-bg-fff">  
3 - <view class="balance">  
4 - 您的当前余额 : <text class="co-red">{{userMoney}}</text> 元  
5 - </view>  
6 - <view class="recharge">  
7 - <view class="title">充值金额 : </view>  
8 - <input autoFocus name="money" placeholder="0.00" type="digit"></input>  
9 - </view>  
10 - <view class="recharge recharge-way">  
11 - <view>充值方式 : </view>  
12 - <view class="pic-wrap">  
13 - <image class="wh100" src="{{iurl}}/miniapp/images/wx-pay2.png"></image>  
14 - </view>  
15 - </view>  
16 - </view>  
17 - <button class="recharge-btns" formType="submit">充 值</button>  
18 -</form>  
pages/user/recharge/recharge.wxss deleted
1 -.balance {  
2 - font-size: 28rpx;  
3 - line-height: 64rpx;  
4 - color: #444;  
5 - border-bottom: 1px solid #ddd;  
6 -}  
7 -  
8 -.recharge {  
9 - display: flex;  
10 - align-items: center;  
11 - height: 120rpx;  
12 - font-size: 28rpx;  
13 - color: #444;  
14 - border-bottom: 1px solid #ddd;  
15 -}  
16 -  
17 -.recharge .title {  
18 - word-break: keep-all;  
19 - white-space: nowrap;  
20 -}  
21 -  
22 -.recharge input {  
23 - height: 120rpx;  
24 - margin-left: 30rpx;  
25 -}  
26 -  
27 -.pic-wrap {  
28 - margin-left: 30rpx;  
29 - width: 240rpx;  
30 - height: 72rpx;  
31 -}  
32 -  
33 -.recharge-btns {  
34 - margin: 60rpx auto 0;  
35 - width: 580rpx;  
36 - height: 88rpx;  
37 - font-size: 28rpx;  
38 - line-height: 88rpx;  
39 - text-align: center;  
40 - color: #fff;  
41 - background-color: #e30000;  
42 - border-radius: 8rpx;  
43 -}  
44 \ No newline at end of file 0 \ No newline at end of file