Compare commits

..

No commits in common. "23bbb1bf7d3ff0fe7cb1b1156919892d02af33ab" and "175c052e97f2bb095412b342b7e184b1435dcea5" have entirely different histories.

6 changed files with 12 additions and 22 deletions

View File

@ -1,7 +1,7 @@
{ {
"pages": [ "pages": [
"pages/loginModule/pwdLogin/pwdLogin",
"pages/personCenter/mine/mine", "pages/personCenter/mine/mine",
"pages/loginModule/pwdLogin/pwdLogin",
"pages/personCenter/subCommissionSetting/subCommissionSetting", "pages/personCenter/subCommissionSetting/subCommissionSetting",
"pages/test/testVideo/testVideo", "pages/test/testVideo/testVideo",
"pages/personCenter/withdrawal/withdrawal", "pages/personCenter/withdrawal/withdrawal",

View File

@ -5,15 +5,6 @@ import { validate } from "../../../utils/validate";
// pages/loginModule/register/register.js // pages/loginModule/register/register.js
Page({ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
const scene = decodeURIComponent(options.scene)
let [key, value] = scene.split('=');
this.setData({inviteCode: value})
},
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
@ -146,6 +137,12 @@ Page({
wx.navigateTo({ wx.navigateTo({
url: '/pages/loginModule/pwdLogin/pwdLogin', url: '/pages/loginModule/pwdLogin/pwdLogin',
}) })
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
}, },
/** /**

View File

@ -69,7 +69,6 @@
width: 300rpx; width: 300rpx;
height: 300rpx; height: 300rpx;
margin: 40rpx auto 0; margin: 40rpx auto 0;
border-radius: 50%;
border-radius: 16rpx; border-radius: 16rpx;
box-shadow: 0 4rpx 24rpx rgba(255, 111, 0, 0.08); box-shadow: 0 4rpx 24rpx rgba(255, 111, 0, 0.08);
background: #fff; background: #fff;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,6 +1,5 @@
// pages/personCenter/mine/mine.js // pages/personCenter/mine/mine.js
const { baseUrl } = require("../../../request"); const { baseUrl } = require("../../../request");
const { globalImgUrl } = require("../../../request")
Page({ Page({
@ -97,13 +96,11 @@ Page({
}, },
success: res => { success: res => {
if (res.data.code === 1) { if (res.data.code === 1) {
let result = res.data.data
this.setData({ this.setData({
currentBalance: result.currentBalance, // 当前余额 currentBalance: res.data.data.currentBalance, // 当前余额
withdrawalingBalance: result.withdrawalAmount, // 提现中的余额 withdrawalingBalance: res.data.data.withdrawalAmount, // 提现中的余额
withdrawaledAmount: result.withdrawnAmount, // 已提现的余额 withdrawaledAmount: res.data.data.withdrawnAmount, // 已提现的余额
totalIncome: result.totalIncome, // 累计收入 totalIncome: res.data.data.totalIncome // 累计收入
qrcode: globalImgUrl + result.inviteQrCode
}) })
} else { } else {
wx.showToast({ wx.showToast({

View File

@ -1,6 +1,3 @@
export const local='http://localhost:3456'; export const local='http://localhost:3456';
export const ip = 'http://1.94.237.210:3457'; export const ip = 'http://1.94.237.210:3457';
export const baseUrl = local; export const baseUrl = ip;
export const globalImgUrl = baseUrl + '/file/download/'