支付宝|微信小程序开发
parent
b5b00d4f24
commit
193f2d49e2
|
|
@ -837,9 +837,9 @@ class UserService
|
|||
}
|
||||
|
||||
// 邮箱/手机
|
||||
if(isset($user['email']))
|
||||
if(isset($user['mobile']))
|
||||
{
|
||||
$user['mobile_security']= empty($user['mobile']) ? '' : substr($user['mobile'], 0, 3).'***'.substr($user['email'], -3);
|
||||
$user['mobile_security']= empty($user['mobile']) ? '' : substr($user['mobile'], 0, 3).'***'.substr($user['mobile'], -3);
|
||||
}
|
||||
if(isset($user['email']))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"pages": ["pages/plugins/wallet/user/user",
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/goods-category/goods-category",
|
||||
"pages/cart/cart",
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
"pages/plugins/distribution/extraction-apply/extraction-apply",
|
||||
"pages/plugins/distribution/extraction-order/extraction-order",
|
||||
"pages/plugins/distribution/introduce/introduce",
|
||||
|
||||
"pages/plugins/wallet/user/user",
|
||||
"pages/plugins/wallet/recharge/recharge",
|
||||
"pages/plugins/wallet/cash-auth/cash-auth",
|
||||
"pages/plugins/wallet/cash-create/cash-create",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<form onSubmit="form_submit" class="form-container spacing-mb oh">
|
||||
<form onSubmit="form_submit" class="form-container oh">
|
||||
<view class="form-gorup bg-white">
|
||||
<view class="form-gorup-title">别名<text class="form-group-tips">选填</text></view>
|
||||
<input type="text" name="alias" value="{{extraction_data.alias || ''}}" placeholder-class="cr-ccc" class="cr-666" placeholder="别名格式最多 16 个字符" />
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<view a:if="{{data_list_loding_status != 1}}">
|
||||
<form a:if="{{check_account_list.length > 0}}" onSubmit="form_submit" class="form-container spacing-mb oh">
|
||||
<form a:if="{{check_account_list.length > 0}}" onSubmit="form_submit" class="form-container oh">
|
||||
<view class="form-gorup bg-white">
|
||||
<view class="form-gorup-title">选择身份认证方式<text class="form-group-tips-must">必选</text></view>
|
||||
<view class="section">
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
</view>
|
||||
</form>
|
||||
|
||||
<view class="view-tips">
|
||||
<view class="view-tips spacing-mt">
|
||||
<view class="tips">
|
||||
<view>操作提示</view>
|
||||
<view>1. 请选择 "<text class="cr-main">绑定邮箱</text>" 或 "<text class="cr-main">绑定手机</text>" 方式其一作为安全校验码的获取方式并正确输入。</view>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ Page({
|
|||
self.setData({ form_submit_disabled_status: false });
|
||||
my.hideLoading();
|
||||
if (res.data.code == 0) {
|
||||
my.navigateTo({
|
||||
my.redirectTo({
|
||||
url: '/pages/plugins/wallet/cash-create/cash-create',
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": false,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "余额提现"
|
||||
}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<form a:if="{{(data_base || null) != null && check_status == 1}}" onSubmit="form_submit" class="form-container spacing-mb oh">
|
||||
<form a:if="{{check_status == 1}}" onSubmit="form_submit" class="form-container oh">
|
||||
<view class="form-gorup bg-white">
|
||||
<view class="form-gorup-title">提现金额<text class="form-group-tips-must">必填</text></view>
|
||||
<input type="digit" name="money" value="{{default_data.money || ''}}" placeholder-class="cr-ccc" class="cr-666" placeholder="提现金额,最低0.01元,最高{{can_cash_max_money}}元" />
|
||||
<view class="tips form-tips">
|
||||
<view a:if="{{data_base.is_cash_retain_give != 0}}">赠送金额不可提现</view>
|
||||
<view a:if="{{(data_base || null) == null || data_base.is_cash_retain_give != 0}}">赠送金额不可提现</view>
|
||||
<view>当前可提现金额 <text class="cr-main">{{can_cash_max_money}}</text> 元</view>
|
||||
<view>当前可用金额 <text class="cr-666">{{user_wallet.normal_money}}</text> 元</view>
|
||||
<view>当前赠送金额 <text class="cr-666">{{user_wallet.give_money}}</text> 元</view>
|
||||
|
|
|
|||
|
|
@ -128,7 +128,9 @@ Page({
|
|||
if (res.data.code == 0) {
|
||||
app.showToast(res.data.msg, "success");
|
||||
setTimeout(function () {
|
||||
my.navigateBack();
|
||||
my.redirectTo({
|
||||
url: '/pages/plugins/wallet/user-cash/user-cash',
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
self.setData({ form_submit_disabled_status: false });
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "余额提现"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": false,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "充值"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "提现详情"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "提现记录"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "充值详情"
|
||||
}
|
||||
|
|
@ -221,7 +221,7 @@ Page({
|
|||
my.hideLoading();
|
||||
if (res.data.code == 0) {
|
||||
my.tradePay({
|
||||
tradeNO: res.data.data.data,
|
||||
tradeNO: res.data.data,
|
||||
success: res => {
|
||||
// 数据设置
|
||||
if (res.resultCode == 9000) {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
{
|
||||
"pullRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "充值记录",
|
||||
"usingComponents": {
|
||||
"component-popup": "/components/popup/popup"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "我的钱包"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "明细详情"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"pullRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"titleBarColor": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"defaultTitle": "账户明细"
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<form bindsubmit="form_submit" class="form-container spacing-mb oh">
|
||||
<form bindsubmit="form_submit" class="form-container oh">
|
||||
<view class="form-gorup bg-white">
|
||||
<view class="form-gorup-title">别名<text class="form-group-tips">选填</text></view>
|
||||
<input type="text" name="alias" value="{{extraction_data.alias || ''}}" placeholder-class="cr-ccc" class="cr-666" placeholder="别名格式最多 16 个字符" />
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ Page({
|
|||
self.setData({ form_submit_disabled_status: false });
|
||||
wx.hideLoading();
|
||||
if (res.data.code == 0) {
|
||||
wx.navigateTo({
|
||||
wx.redirectTo({
|
||||
url: '/pages/plugins/wallet/cash-create/cash-create',
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "余额提现"
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<view wx:if="{{data_list_loding_status != 1}}">
|
||||
<form wx:if="{{check_account_list.length > 0}}" bindsubmit="form_submit" class="form-container spacing-mb oh">
|
||||
<form wx:if="{{check_account_list.length > 0}}" bindsubmit="form_submit" class="form-container oh">
|
||||
<view class="form-gorup bg-white">
|
||||
<view class="form-gorup-title">选择身份认证方式<text class="form-group-tips-must">必选</text></view>
|
||||
<view class="section">
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
</view>
|
||||
</form>
|
||||
|
||||
<view class="view-tips">
|
||||
<view class="view-tips spacing-mt">
|
||||
<view class="tips">
|
||||
<view>操作提示</view>
|
||||
<view>1. 请选择 "<text class="cr-main">绑定邮箱</text>" 或 "<text class="cr-main">绑定手机</text>" 方式其一作为安全校验码的获取方式并正确输入。</view>
|
||||
|
|
|
|||
|
|
@ -128,7 +128,9 @@ Page({
|
|||
if (res.data.code == 0) {
|
||||
app.showToast(res.data.msg, "success");
|
||||
setTimeout(function () {
|
||||
wx.navigateBack();
|
||||
wx.redirectTo({
|
||||
url: '/pages/plugins/wallet/user-cash/user-cash',
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
self.setData({ form_submit_disabled_status: false });
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "余额提现"
|
||||
}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<form wx:if="{{(data_base || null) != null && check_status == 1}}" bindsubmit="form_submit" class="form-container spacing-mb oh">
|
||||
<form wx:if="{{check_status == 1}}" bindsubmit="form_submit" class="form-container oh">
|
||||
<view class="form-gorup bg-white">
|
||||
<view class="form-gorup-title">提现金额<text class="form-group-tips-must">必填</text></view>
|
||||
<input type="digit" name="money" value="{{default_data.money || ''}}" placeholder-class="cr-ccc" class="cr-666" placeholder="提现金额,最低0.01元,最高{{can_cash_max_money}}元" />
|
||||
<view class="tips form-tips">
|
||||
<view wx:if="{{data_base.is_cash_retain_give != 0}}">赠送金额不可提现</view>
|
||||
<view wx:if="{{(data_base || null) == null || data_base.is_cash_retain_give != 0}}">赠送金额不可提现</view>
|
||||
<view>当前可提现金额 <text class="cr-main">{{can_cash_max_money}}</text> 元</view>
|
||||
<view>当前可用金额 <text class="cr-666">{{user_wallet.normal_money}}</text> 元</view>
|
||||
<view>当前赠送金额 <text class="cr-666">{{user_wallet.give_money}}</text> 元</view>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "充值"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "提现详情"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "提现记录"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "充值详情"
|
||||
}
|
||||
|
|
@ -1,9 +1,5 @@
|
|||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "充值记录",
|
||||
"usingComponents": {
|
||||
"component-popup": "/components/popup/popup"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "我的钱包"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "明细详情"
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarBackgroundColor": "#d2364c",
|
||||
"backgroundColorTop": "#d2364c",
|
||||
"backgroundColorBottom": "#f5f5f5",
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarTitleText": "账户明细"
|
||||
}
|
||||
Loading…
Reference in New Issue