diff --git a/api/interfaces/index.js b/api/interfaces/index.js
index 057d676..99d3a64 100644
--- a/api/interfaces/index.js
+++ b/api/interfaces/index.js
@@ -83,7 +83,7 @@ const busineSee = (business) => req({url: "business/" + business})
const busineForm = (business_id, business_item_id, type, mobile, username) => req({url: "business/create",method: "POST", data: {business_id: business_id, business_item_id: business_item_id, type: type, mobile: mobile, username: username}})
//订阅
-const subscribe = (subscribe) => req({url: "wechat/" + subscribe + "/welfare_subscribe",method: "POST"})
+const subscribe = (subscribe, channel) => req({url: "wechat/" + subscribe + "/welfare_subscribe",method: "POST", data: {channel: channel}})
export default({
index,
diff --git a/api/interfaces/user.js b/api/interfaces/user.js
index 0483c88..289e61a 100644
--- a/api/interfaces/user.js
+++ b/api/interfaces/user.js
@@ -61,6 +61,36 @@ const washcarCreate = (welfare_id, right_id, qty, address_id, is_deliver) => req
// 我的分享
const myshare = (parent_id) => req({url: "user/share",data:{parent_id : parent_id || ''}})
+// 我的推荐
+const childs = (page) => req({url: "user/childs",data:{page : page}})
+
+// 校验转账的手机号码
+const ajaxTel = (mobile) => req({url: "ajax/user", data:{mobile : mobile}})
+
+// 转账获取积分账户分类
+const transfers = () => req({url: "user/transfers"})
+
+// 转账提交表单
+const transfersForm = (mobile, type, amount, paypass) => req({url: "user/transfers", method: "POST", data:{mobile : mobile, type : type, amount : amount, paypass: paypass}})
+
+// 设置支付密码
+const setPassword = (password, password_confirmation) => req({url: "user/setting/set_password", method: "POST", data:{password : password, password_confirmation : password_confirmation}})
+
+// 修改支付密码
+const changePassword = (old_password, password, password_confirmation) => req({url: "user/setting/change_password", method: "POST", data:{old_password : old_password, password : password, password_confirmation : password_confirmation}})
+
+// 重置支付密码
+const resetPassword = (code, password, password_confirmation, mobile, channel) => req({url: "user/setting/reset_password", method: "POST", data:{code : code, password : password, password_confirmation : password_confirmation, mobile : mobile, channel : channel}})
+
+// 提现前置账户信息
+const withdraws = () => req({url: "withdraws/create"})
+
+// 提现记录列表
+const withdrawsList = (page) => req({url: "user/withdraws", data:{page : page}})
+
+// 提现表单填写
+const withdrawsForm = (amount, channel) => req({url: "withdraws", method: "POST", data:{amount : amount, channel: channel}})
+
export default({
index,
mobiles,
@@ -81,5 +111,15 @@ export default({
merchant_card,
washcarBuy,
washcarCreate,
- myshare
+ myshare,
+ childs,
+ ajaxTel,
+ transfers,
+ transfersForm,
+ setPassword,
+ changePassword,
+ resetPassword,
+ withdraws,
+ withdrawsList,
+ withdrawsForm
})
diff --git a/app.json b/app.json
index 8ec5ea7..2f9f0c8 100644
--- a/app.json
+++ b/app.json
@@ -29,7 +29,15 @@
"pages/washcar/washcar",
"pages/makeForm/makeForm",
"pages/car/index",
- "pages/code/code"
+ "pages/code/code",
+ "pages/myBalance/myBalance",
+ "pages/password/password",
+ "pages/favour/favour",
+ "pages/recommend/recommend",
+ "pages/withdrawal_record/withdrawal_record",
+ "pages/withdrawal_form/withdrawal_form",
+ "pages/password_set/password_set",
+ "pages/password_forget/password_forget"
],
"window": {
"backgroundTextStyle": "light",
diff --git a/pages/account/account.wxml b/pages/account/account.wxml
index d6f5909..6a9be52 100644
--- a/pages/account/account.wxml
+++ b/pages/account/account.wxml
@@ -7,19 +7,25 @@
- 可用余额
+ 可用余额
+
+
{{number}}
可用余额,入账记录
- 待发放
+ 待发放
+
+
{{blockeds}}
- 立即查询
+ 立即查询
+
-
+
账变记录
@@ -28,42 +34,43 @@
-
-
-
-
- {{item.channel == 'in' ? '入' : '出'}}{{item.title}}
+
+
+
+
+ {{item.channel == 'in' ?
+ '入' : '出'}}{{item.title}}
+
+
+ {{item.variable}}
+
-
- {{item.variable}}
+
-
-
-
-
- {{item.channel == 'in' ? '有效期:' : '扣除时间:'}}
- {{item.created_at}}{{item.channel == 'in' ? ' 至 ' + item.expired_at : ''}}
-
-
+
+
+
+ 加载中...
+
+
+ 没有更多了~
+
+
+
+
+
+
+ 抱歉,目前暂无内容~
-
-
- 加载中...
-
-
- 没有更多了~
-
-
-
-
-
-
-
- 抱歉,目前暂无内容~
\ No newline at end of file
diff --git a/pages/account/account.wxss b/pages/account/account.wxss
index e8e90e2..bc8d81f 100644
--- a/pages/account/account.wxss
+++ b/pages/account/account.wxss
@@ -204,4 +204,16 @@
/* .integra-time text {
color: #000;
-} */
\ No newline at end of file
+} */
+
+/* 暂无内容 */
+.recommend-hint {
+ text-align: center;
+ color: #999;
+ padding: 100rpx 0;
+}
+
+.recommend-hint image {
+ width: 200rpx;
+ height: 200rpx;
+}
\ No newline at end of file
diff --git a/pages/favour/favour.js b/pages/favour/favour.js
new file mode 100644
index 0000000..89f9efe
--- /dev/null
+++ b/pages/favour/favour.js
@@ -0,0 +1,116 @@
+// 本市生活
+
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ account : '', //账户积分
+ typeArr : [], //转账类型
+ typeIndex: 0, //转账下标
+ userInfo : '', //转账用户信息
+ mobile : '', //转账手机号
+ disabled : false, //支付按钮状态
+ popShow : false //校验弹出层
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad (options) {
+ // 获取账户下拉列表
+ this.accountList();
+ },
+
+ /**
+ * 账户下拉列表
+ */
+ accountList() {
+ wx.$api.user.transfers().then(res=>{
+ this.setData({
+ account: res.data.account,
+ typeArr: res.data.accounts
+ })
+ })
+ },
+
+ /**
+ * 账户下拉选择
+ */
+ typeBind(e) {
+ this.setData({
+ typeIndex: e.detail.value
+ })
+ },
+
+ /**
+ * 转入的手机号
+ */
+ bindKeyInput(val){
+ this.setData({
+ mobile : val.detail.value
+ })
+ },
+
+ /**
+ * 校验手机号码
+ */
+ checkTel() {
+ wx.$api.user.ajaxTel(this.data.mobile).then(res=>{
+ this.setData({
+ userInfo: res.data,
+ popShow : !this.data.popShow
+ })
+ }).catch(err=>{})
+ },
+
+ /**
+ * 关闭校验弹出
+ */
+ popHide() {
+ this.setData({
+ popShow : !this.data.popShow
+ })
+ },
+
+ /**
+ * 提交表单
+ */
+ formSubmit(e) {
+ // 检查用户登录状态
+ const Paypass = wx.getStorageSync("hasPaypass")
+ if(Paypass == false) {
+ wx.showModal({
+ title : '提示',
+ content : '抱歉,您还没有设置支付密码',
+ success : res=> {
+ if (res.confirm) {
+ wx.navigateTo({
+ url: '/pages/password/password?source=favourUrl'
+ })
+ } else if (res.cancel) {}
+ }
+ })
+ return
+ }
+ let newAmount = e.detail.value.amount,
+ newMobile = this.data.mobile,
+ newPaypass = e.detail.value.paypass,
+ newType = this.data.typeArr[this.data.typeIndex].key
+
+ wx.$api.user.transfersForm(newMobile, newType, newAmount, newPaypass).then(res=>{
+ this.setData({
+ disabled: true
+ })
+ wx.showToast({
+ title: '转入成功',
+ })
+ setTimeout(()=>{
+ wx.redirectTo({
+ url: "/pages/account/account?type=" + newType
+ })
+ },2000)
+ }) .catch(err=>{})
+ }
+})
\ No newline at end of file
diff --git a/pages/favour/favour.json b/pages/favour/favour.json
new file mode 100644
index 0000000..98cf688
--- /dev/null
+++ b/pages/favour/favour.json
@@ -0,0 +1,6 @@
+{
+ "usingComponents": {},
+ "navigationBarTitleText": "积分赠与",
+ "navigationBarBackgroundColor": "#000000",
+ "navigationBarTextStyle": "white"
+}
\ No newline at end of file
diff --git a/pages/favour/favour.wxml b/pages/favour/favour.wxml
new file mode 100644
index 0000000..73665de
--- /dev/null
+++ b/pages/favour/favour.wxml
@@ -0,0 +1,51 @@
+
+
+
+ 本时生活 -- 积分赠与
+ {{typeArr[typeIndex].value}}
+ {{typeArr[typeIndex].key == 'silver' ? account.silver : account.drill}}
+
+
+
+
+ 赠好友积分
+
+
+
+
+
+
+ 当前转入的账户信息
+
+
+ {{userInfo.nickname}}
+
+ 知道了
+
\ No newline at end of file
diff --git a/pages/favour/favour.wxss b/pages/favour/favour.wxss
new file mode 100644
index 0000000..42cd0a3
--- /dev/null
+++ b/pages/favour/favour.wxss
@@ -0,0 +1,187 @@
+page {
+ background: #fcdece;
+}
+
+.favourBack {
+ position: relative;
+}
+
+.favourBack-img {
+ width: 100vw;
+ display: block;
+}
+
+.favourBack-cont {
+ position: absolute;
+ top: 0;
+ width: 100%;
+ padding: 140rpx 40rpx;
+ box-sizing: border-box;
+ left: 0;
+ color: #ca3c19;
+}
+
+.favourBack-cont-title {
+ font-size: 32rpx;
+ font-weight: 600;
+ margin-bottom: 30rpx;
+}
+
+.favourBack-cont-name {
+ font-size: 46rpx;
+ font-weight: 600;
+}
+
+.favourBack-cont-number {
+ background-color: #ff5e5d;
+ color: #fff;
+ border-radius: 50rpx;
+ display: inline-block;
+ padding: 4rpx 20rpx;
+ margin-top: 15rpx;
+}
+
+/* 表单 */
+.favourCont {
+ background-color: #fff;
+ margin: 0 30rpx;
+ padding: 0 40rpx 60rpx;
+ box-sizing: border-box;
+ border-radius: 30rpx;
+}
+
+.favourCont-title {
+ text-align: center;
+ color: #d57449;
+ font-size: 38rpx;
+ font-weight: 600;
+ width: 100%;
+ padding: 30rpx 0 50rpx;
+}
+
+.favourCont-label {
+ position: relative;
+ line-height: 80rpx;
+ background-color: #f4f4f4;
+ margin-bottom: 40rpx;
+ font-size: 28rpx;
+}
+
+.favourCont-name {
+ background-color: #ffffff;
+ width: 130rpx;
+}
+
+.favourCont-label>input,
+.favourCont-picker,
+.favourCont-check {
+ position: absolute;
+ left: 0;
+ font-size: 28rpx;
+ top: 0;
+ display: block;
+ height: 80rpx;
+ padding: 0 30rpx 0 160rpx;
+ width: 100%;
+ box-sizing: border-box;
+}
+
+.favourCont-picker image {
+ width: 50rpx;
+ height: 50rpx;
+ position: absolute;
+ right: 10rpx;
+ top: 14rpx;
+}
+
+.favourCont-btn {
+ background: linear-gradient(to right, #ff8e65, #ff5f5d);
+ color: #fff;
+ margin-top: 80rpx;
+ width: 100% !important;
+ font-size: 32rpx;
+ line-height: 54rpx;
+}
+
+.favourCont-record {
+ text-align: center;
+ color: #ff5f5d;
+ font-size: 30rpx;
+ font-weight: 600;
+ margin-top: 40rpx;
+ text-align: center;
+ width: 100%;
+}
+
+.favourCont-record text {
+ border-bottom: #ff5f5d solid 4rpx;
+ display: inline-block;
+}
+
+.favourCont-check {
+ line-height: 80rpx;
+}
+
+.favourCont-check>input {
+ height: 80rpx;
+}
+
+.favourCont-check-btn {
+ font-size: 28rpx;
+ position: absolute;
+ right: 0;
+ top: 0;
+ background: #ff8e65;
+ padding: 0 20rpx;
+ color: #fff;
+ z-index: 9;
+}
+
+/* 校验弹出层 */
+.popTel-back {
+ position: fixed;
+ left: 0;
+ top: 0;
+ background: rgba(0, 0, 0, .7);
+ width: 100vw;
+ height: 100vh;
+ z-index: 10;
+}
+
+.popTel {
+ position: fixed;
+ left: 140rpx;
+ right: 140rpx;
+ top: 30%;
+ z-index: 11;
+ background-color: #fff;
+ border-radius: 20rpx;
+ text-align: center;
+ overflow: hidden;
+}
+
+.popTel-title {
+ font-size: 32rpx;
+ background-color: #ff8e65;
+ color: #fff;
+ line-height: 80rpx;
+}
+
+.popTel-cont {
+ padding: 60rpx 0;
+}
+
+.popTel-head {
+ width: 100rpx;
+ height: 100rpx;
+ border-radius: 50%;
+ margin: 0 auto 20rpx;
+ border: #ff8e65 solid 2rpx;
+}
+
+.popTel-btn {
+ border-top: 2rpx solid #dedede;
+ line-height: 90rpx;
+ color: #ff8e65;
+ font-size: 30rpx;
+}
\ No newline at end of file
diff --git a/pages/index/index.js b/pages/index/index.js
index d012a21..3ff8879 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -351,7 +351,7 @@ Page({
tmplIds: ['g8cEL-Tf2_Pdh8VyBdsYbhv09VVm8om-ZblhXIaVDiY'],
success: res=> {
if(res["g8cEL-Tf2_Pdh8VyBdsYbhv09VVm8om-ZblhXIaVDiY"] == "accept") {
- wx.$api.index.subscribe(1).then(res=>{
+ wx.$api.index.subscribe(1, 'mini').then(res=>{
wx.showLoading({
title: res.data,
icon : 'none',
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 1247c72..5dab53f 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -113,7 +113,7 @@
-
+
diff --git a/pages/myBalance/myBalance.js b/pages/myBalance/myBalance.js
new file mode 100644
index 0000000..1fdd811
--- /dev/null
+++ b/pages/myBalance/myBalance.js
@@ -0,0 +1,97 @@
+// pages/myBalance/myBalance.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ type : "balance ", //卡类型
+ number : '', //账户余额
+ accounts : '', //账户列表
+ screenArray : [
+ {
+ channel: 'all',
+ name: '全部'
+ },
+ {
+ channel: 'in',
+ name: '入账'
+ },
+ {
+ channel: 'out',
+ name: '出账'
+ }
+ ], //账变记录筛选数组
+ screenChannel: '', //账变记录筛选数组标识
+ screenIndex : 0, //账变记录筛选index
+ page : {}, //分页信息
+ lodingStats : false, //加载状态
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad (options) {},
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow () {
+ // 获取账变记录
+ this.accountInfo();
+ },
+
+ /**
+ * 账变记录
+ */
+ accountInfo(page) {
+ wx.$api.user.logs(this.data.type, this.data.screenChannel, page).then(res=>{
+ let listArr = this.data.accounts,
+ newData = []
+ if(page == 1 || page == undefined) listArr = []
+ newData = listArr.concat(res.data.data)
+
+ this.setData({
+ number : res.data.account.balance,
+ accounts : newData,
+ page : res.data.page
+ })
+ })
+ },
+
+ /**
+ * 筛选账变记录-条件
+ */
+ screenBind(e) {
+ this.setData({
+ screenIndex : e.detail.value,
+ screenChannel: this.data.screenArray[e.detail.value].channel
+ })
+
+ // 获取账变记录
+ this.accountInfo();
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+ // 获取账变记录
+ this.accountInfo();
+ },
+
+ /**
+ * 上拉加载
+ */
+ onReachBottom(){
+ this.setData({
+ lodingStats: true
+ })
+ let pageNumber = this.data.page.current
+ if(this.data.page.has_more){
+ pageNumber++
+ // 获取账变记录
+ this.accountInfo(pageNumber);
+ }
+ }
+})
\ No newline at end of file
diff --git a/pages/myBalance/myBalance.json b/pages/myBalance/myBalance.json
new file mode 100644
index 0000000..c555719
--- /dev/null
+++ b/pages/myBalance/myBalance.json
@@ -0,0 +1,6 @@
+{
+ "usingComponents": {},
+ "navigationBarBackgroundColor": "#000000",
+ "navigationBarTitleText": "收益账户",
+ "navigationBarTextStyle": "white"
+}
\ No newline at end of file
diff --git a/pages/myBalance/myBalance.wxml b/pages/myBalance/myBalance.wxml
new file mode 100644
index 0000000..7720c6e
--- /dev/null
+++ b/pages/myBalance/myBalance.wxml
@@ -0,0 +1,74 @@
+
+
+
+ 余额(积分)
+
+ ¥{{number}}
+
+
+
+
+
+
+
+ 提现
+
+
+
+
+
+
+
+ 提现记录
+
+
+
+
+
+
+
+ 账变记录
+
+
+ {{screenArray[screenIndex].name}}
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+ {{item.created_at}}
+
+
+
+ {{item.variable}}
+
+
+
+
+
+
+
+ 加载中...
+
+
+ 没有更多了~
+
+
+
+
+
+
+ 抱歉,目前暂无内容~
+
+
\ No newline at end of file
diff --git a/pages/myBalance/myBalance.wxss b/pages/myBalance/myBalance.wxss
new file mode 100644
index 0000000..d7c50f7
--- /dev/null
+++ b/pages/myBalance/myBalance.wxss
@@ -0,0 +1,179 @@
+
+/* 背景 */
+.balance {
+ position: relative;
+}
+
+.balanceBack {
+ width: 100vw;
+ display: block;
+}
+
+.balanceCont {
+ position: absolute;
+ width: 100%;
+ left: 0;
+ top: 0;
+ text-align: center;
+ padding: 70rpx 0 0;
+ box-sizing: border-box;
+}
+
+
+.balanceCont-name {
+ color: #717171;
+ margin-bottom: 20rpx;
+}
+
+.balanceCont-number {
+ color: #ffba33;
+ font-size: 80rpx;
+ font-weight: 600;
+}
+
+.balanceCont-number text {
+ font-size: 50rpx;
+ padding-right: 10rpx;
+}
+
+/* 提现 */
+.label {
+ background-color: white;
+ margin-bottom: 30rpx;
+ display: flex;
+ height: 100rpx;
+ line-height: 100rpx;
+}
+
+.labelLeft {
+ display: flex;
+ flex: 1;
+}
+
+.labelLeft-img {
+ width: 54rpx;
+ height: 54rpx;
+ margin: 23rpx 20rpx;
+}
+
+.labelLeft-arrow {
+ width: 44rpx;
+ height: 44rpx;
+ margin: 28rpx 0;
+}
+
+/* 账变记录 */
+.record {
+ padding: 20rpx 25rpx;
+ box-sizing: border-box;
+}
+
+.record-title {
+ color: #404040;
+ font-weight: 600;
+ font-size: 36rpx;
+ line-height: 60prx;
+ margin-bottom: 40rpx;
+ flex: 1;
+}
+
+.integra-cont-title {
+ display: flex;
+}
+
+.integra-cont-picker {
+ display: flex;
+ color: #797979;
+ font-size: 30rpx;
+ padding-top: 4rpx;
+}
+
+.integra-cont-icon {
+ width: 28rpx;
+ height: 28rpx;
+ margin: 6rpx 0 0 10rpx;
+}
+
+/* 记录列表 */
+
+.record-list {
+ background-color: #fff;
+ border-radius: 10rpx;
+ padding: 25rpx;
+ box-sizing: border-box;
+ margin-bottom: 30rpx;
+}
+
+.record-list-img {
+ width: 50rpx;
+ height: 50rpx;
+ margin-top: 6rpx;
+}
+
+.record-list-cont {
+ display: flex;
+ width: 100%;
+}
+
+.record-list-top {
+ display: flex;
+ padding-left: 30rpx;
+ width: 100%;
+ box-sizing: border-box;
+}
+
+.record-list-left {
+ flex: 1;
+ margin-right: 20rpx;
+}
+
+.record-list-time {
+ margin-top: 10rpx;
+ font-size: 28rpx;
+ color: #999;
+}
+
+.record-list-right {
+ color: green;
+}
+
+.record-list-right.active {
+ color: red;
+}
+
+.record-list-remark {
+ color: #333;
+ font-size: 28rpx;
+ margin: 30rpx 0 0;
+ background-color: #f5f5f5;
+ padding: 10rpx 15rpx;
+ display: inline-block;
+ border-radius: 4rpx;
+ position: relative;
+ box-sizing: border-box;
+}
+
+.record-list-remark::after {
+ position: absolute;
+ left: 20rpx;
+ top: -14rpx;
+ content: '';
+ width: 0;
+ height: 0;
+ border-left: 14rpx solid transparent;
+ border-right: 14rpx solid transparent;
+ border-bottom: 14rpx solid #f5f5f5;
+}
+
+
+/* 暂无内容 */
+.recommend-hint {
+ text-align: center;
+ color: #999;
+ padding: 100rpx 0;
+}
+
+.recommend-hint image {
+ width: 200rpx;
+ height: 200rpx;
+}
\ No newline at end of file
diff --git a/pages/order/order.wxml b/pages/order/order.wxml
index fa569c6..e72905d 100644
--- a/pages/order/order.wxml
+++ b/pages/order/order.wxml
@@ -80,7 +80,7 @@
-
+
暂无订单
diff --git a/pages/password/password.js b/pages/password/password.js
new file mode 100644
index 0000000..f21690a
--- /dev/null
+++ b/pages/password/password.js
@@ -0,0 +1,72 @@
+// pages/password/password.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ passSource : '', //设置密码跳转来源favourUrl为转账跳转
+ passType : '', //是否是首次设置密码
+ disabled : false, //设置支付密码
+ password : '', //支付密码
+ confirmation: '' //确认密码
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad (options) {
+ // 检查用户登录状态
+ const Paypass = wx.getStorageSync("hasPaypass")
+
+ this.setData({
+ passType : Paypass,
+ passSource: options.source
+ })
+ },
+
+ /**
+ * 设置密码
+ */
+ formSubmit(e) {
+ let newoldPassword= e.detail.value.oldPassword,
+ newPassword = e.detail.value.password,
+ newFormSubmit = e.detail.value.confirmation
+
+ let newUrl = '' //定义接口来源名称
+
+ if(this.data.passType == false) newUrl = wx.$api.user.setPassword(newPassword, newFormSubmit)
+ if(this.data.passType == true) newUrl = wx.$api.user.changePassword(newoldPassword, newPassword, newFormSubmit)
+
+ newUrl.then(res=>{
+ // 已设置密码缓存
+ wx.setStorage({
+ key : 'hasPaypass',
+ data : true
+ })
+
+ this.setData({
+ disabled: true
+ })
+ wx.showToast({
+ title: '设置成功',
+ })
+
+ // 只有从转账页面跳转才回到上一页
+ if(this.data.passSource == "favourUrl") {
+ setTimeout(()=>{
+ wx.navigateBack({delta: 1})
+ },2000)
+
+ return
+ }
+
+ // 其他跳转回到用户中心
+ setTimeout(()=>{
+ wx.switchTab({
+ url: '/pages/user/user'
+ })
+ },2000)
+ })
+ }
+})
\ No newline at end of file
diff --git a/pages/password/password.json b/pages/password/password.json
new file mode 100644
index 0000000..5b8cb61
--- /dev/null
+++ b/pages/password/password.json
@@ -0,0 +1,6 @@
+{
+ "usingComponents": {},
+ "navigationBarTitleText": "支付密码",
+ "navigationBarBackgroundColor": "#000000",
+ "navigationBarTextStyle": "white"
+}
\ No newline at end of file
diff --git a/pages/password/password.wxml b/pages/password/password.wxml
new file mode 100644
index 0000000..f488ca6
--- /dev/null
+++ b/pages/password/password.wxml
@@ -0,0 +1,20 @@
+
+
+
\ No newline at end of file
diff --git a/pages/password/password.wxss b/pages/password/password.wxss
new file mode 100644
index 0000000..dee87e5
--- /dev/null
+++ b/pages/password/password.wxss
@@ -0,0 +1,48 @@
+.favourCont-label {
+ background-color: #fff;
+ height: 120rpx;
+ padding: 0 30rpx;
+ box-sizing: border-box;
+ display: flex;
+ position: relative;
+}
+
+.favourCont-label input {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100rpx;
+ line-height: 100rpx;
+ font-size: 30rpx;
+ padding-left: 220rpx;
+ box-sizing: border-box;
+}
+
+.favourCont-name {
+ line-height: 100rpx;
+}
+
+.favourCont-btn {
+ width: 100%;
+ padding: 0 30rpx;
+ box-sizing: border-box;
+ margin-top: 50rpx;
+
+}
+
+.favourCont-btn button {
+ background-color: #3a3b3e;
+ color: #fff;
+ width: 100% !important;
+ line-height: 60rpx;
+ font-size: 32rpx;
+}
+
+.forget {
+ text-align: center;
+ line-height: 90rpx;
+ font-size: 30rpx;
+ color: #d6571f;
+ font-weight: 600;
+}
\ No newline at end of file
diff --git a/pages/password_forget/password_forget.js b/pages/password_forget/password_forget.js
new file mode 100644
index 0000000..517828c
--- /dev/null
+++ b/pages/password_forget/password_forget.js
@@ -0,0 +1,90 @@
+// pages/password_forget/password_forget.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ mobileNo : '', //手机号
+ codename : '获取验证码',
+ senddisabled: false, //获取验证码-按钮提交状态
+ disabled : false //按钮提交状态
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad (options) {
+
+ },
+
+ /**
+ * mobileNo
+ */
+ getNameValue(e) {
+ this.setData({
+ mobileNo: e.detail.value
+ })
+ },
+
+ /**
+ * 发送短信
+ */
+ sendOut(e) {
+ var _this = this
+ wx.$api.user.send(this.data.mobileNo,'PAYPASS').then(res=>{
+ wx.showToast({
+ title : '发送成功',
+ icon : 'success',
+ duration: 2000
+ })
+ var num = 61;
+ var timer = setInterval(function () {
+ num--;
+ if (num <= 0) {
+ clearInterval(timer);
+ _this.setData({
+ codename : '重新发送',
+ senddisabled: false
+ })
+
+ } else {
+ _this.setData({
+ codename : num + "s后重新获取",
+ senddisabled: true
+ })
+ }
+ }, 1000)
+ }).catch(err=>{})
+ },
+
+ /**
+ * 设置密码
+ */
+ formSubmit(e) {
+ let newMobile = this.data.mobileNo,
+ newCode = e.detail.value.code,
+ newPassword = e.detail.value.password,
+ newFormSubmit = e.detail.value.confirmation
+ wx.$api.user.resetPassword(newCode, newPassword, newFormSubmit, newMobile, 'PAYPASS').then(res=>{
+ // 已设置密码缓存
+ wx.setStorage({
+ key : 'hasPaypass',
+ data : true
+ })
+
+ this.setData({
+ disabled: true
+ })
+ wx.showToast({
+ title: '设置成功',
+ })
+
+ setTimeout(()=>{
+ wx.switchTab({
+ url: '/pages/user/user'
+ })
+ },2000)
+ }).catch(err=>{})
+ }
+})
\ No newline at end of file
diff --git a/pages/password_forget/password_forget.json b/pages/password_forget/password_forget.json
new file mode 100644
index 0000000..51fdaee
--- /dev/null
+++ b/pages/password_forget/password_forget.json
@@ -0,0 +1,6 @@
+{
+ "usingComponents": {},
+ "navigationBarTitleText": "重置密码",
+ "navigationBarBackgroundColor": "#000000",
+ "navigationBarTextStyle": "white"
+}
\ No newline at end of file
diff --git a/pages/password_forget/password_forget.wxml b/pages/password_forget/password_forget.wxml
new file mode 100644
index 0000000..c9cc889
--- /dev/null
+++ b/pages/password_forget/password_forget.wxml
@@ -0,0 +1,24 @@
+
+
+
\ No newline at end of file
diff --git a/pages/password_forget/password_forget.wxss b/pages/password_forget/password_forget.wxss
new file mode 100644
index 0000000..9280c36
--- /dev/null
+++ b/pages/password_forget/password_forget.wxss
@@ -0,0 +1,62 @@
+.favourCont-label {
+ background-color: #fff;
+ height: 120rpx;
+ padding: 0 30rpx;
+ box-sizing: border-box;
+ display: flex;
+ position: relative;
+}
+
+.favourCont-label input {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100rpx;
+ line-height: 100rpx;
+ font-size: 30rpx;
+ padding-left: 220rpx;
+ box-sizing: border-box;
+}
+
+.favourCont-name {
+ line-height: 100rpx;
+}
+
+.favourCont-btn {
+ width: 100%;
+ padding: 0 30rpx;
+ box-sizing: border-box;
+ margin-top: 50rpx;
+
+}
+
+.favourCont-btn button {
+ background-color: #3a3b3e;
+ color: #fff;
+ width: 100% !important;
+ line-height: 60rpx;
+ font-size: 32rpx;
+}
+
+.forget {
+ text-align: center;
+ line-height: 90rpx;
+ font-size: 30rpx;
+}
+
+.obtain {
+ color: #d6571f;
+ background: none;
+ border: none;
+ font-size: 30rpx;
+ position: absolute;
+ width: auto !important;
+ text-align: right;
+ line-height: 100rpx;
+ z-index: 9;
+ padding: 0;
+ margin: 0;
+ right: 20rpx;
+ top: 0;
+}
\ No newline at end of file
diff --git a/pages/password_set/password_set.js b/pages/password_set/password_set.js
new file mode 100644
index 0000000..c2ba316
--- /dev/null
+++ b/pages/password_set/password_set.js
@@ -0,0 +1,23 @@
+// 本时生活
+
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ passType : '', //是否是首次设置密码
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad (options) {
+ // 检查用户登录状态
+ const Paypass = wx.getStorageSync("hasPaypass")
+
+ this.setData({
+ passType: Paypass
+ })
+ }
+})
\ No newline at end of file
diff --git a/pages/password_set/password_set.json b/pages/password_set/password_set.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/pages/password_set/password_set.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/pages/password_set/password_set.wxml b/pages/password_set/password_set.wxml
new file mode 100644
index 0000000..bbf9251
--- /dev/null
+++ b/pages/password_set/password_set.wxml
@@ -0,0 +1,8 @@
+
+
+ 支付密码
+
+
+ {{ passType ? '已设置' : '未设置'}}
+
+
\ No newline at end of file
diff --git a/pages/password_set/password_set.wxss b/pages/password_set/password_set.wxss
new file mode 100644
index 0000000..4f6381f
--- /dev/null
+++ b/pages/password_set/password_set.wxss
@@ -0,0 +1,23 @@
+.label {
+ background-color: #fff;
+ display: flex;
+ padding: 0 20rpx;
+ box-sizing: border-box;
+ height: 90rpx;
+ line-height: 90rpx;
+}
+
+.label-name {
+ flex: 1;
+}
+
+.label-more {
+ display: flex;
+ color: #999;
+}
+
+.label-more image {
+ width: 40rpx;
+ height: 40rpx;
+ margin: 28rpx 0 0 10rpx;
+}
\ No newline at end of file
diff --git a/pages/recommend/recommend.js b/pages/recommend/recommend.js
new file mode 100644
index 0000000..90a5c98
--- /dev/null
+++ b/pages/recommend/recommend.js
@@ -0,0 +1,56 @@
+// 本时生活
+
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ recomNumber : '', //推荐好友数量
+ recomArr : [], //推荐好友列表
+ page : {}, //下一页
+ lodingStats : false //加载状态
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow () {
+ // 获取列表
+ this.recomInfo();
+ },
+
+ /**
+ * 商品活动订单
+ */
+ recomInfo(page) {
+ wx.$api.user.childs(page).then(res=>{
+ let listArr = this.data.recomArr,
+ newData = []
+ if(page == 1 || page == undefined) listArr = []
+
+ newData = listArr.concat(res.data.lists.data)
+ this.setData({
+ recomNumber : res.data.all,
+ recomArr : newData,
+ page : res.data.lists.page,
+ lodingStats : false
+ })
+ wx.stopPullDownRefresh()
+ })
+ },
+
+ /**
+ * 上拉加载
+ */
+ onReachBottom(){
+ this.setData({
+ lodingStats: true
+ })
+ let pageNumber = this.data.page.current
+ if(this.data.page.has_more){
+ pageNumber++
+ this.recomInfo(pageNumber)
+ }
+ }
+})
\ No newline at end of file
diff --git a/pages/recommend/recommend.json b/pages/recommend/recommend.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/pages/recommend/recommend.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/pages/recommend/recommend.wxml b/pages/recommend/recommend.wxml
new file mode 100644
index 0000000..54386f7
--- /dev/null
+++ b/pages/recommend/recommend.wxml
@@ -0,0 +1,25 @@
+
+
+
+ {{recomNumber}}
+ 推荐好友人数(人)
+
+
+
+
+
+
+
+ {{item.nickname}}
+ {{item.username}}
+
+ {{item.identity_name}}
+
+
+
+
+
+ 暂无数据
+
+
+
\ No newline at end of file
diff --git a/pages/recommend/recommend.wxss b/pages/recommend/recommend.wxss
new file mode 100644
index 0000000..ddc2465
--- /dev/null
+++ b/pages/recommend/recommend.wxss
@@ -0,0 +1,104 @@
+page {
+ background: linear-gradient(to right, #fa603f, #fc963f);
+}
+
+.recommend {
+ padding: 40rpx 0;
+}
+
+.recommend-cont {
+ text-align: center;
+ color: #fff;
+ position: absolute;
+ top: 90rpx;
+ right: 100rpx;
+ font-weight: 600;
+}
+
+.recommend-cont-number {
+ font-size: 70rpx;
+ margin-bottom: 20rpx;
+}
+
+/* 列表 */
+.recommend-list {
+ background-color: #fff;
+ border-radius: 20rpx;
+ padding: 40rpx 30rpx;
+ box-sizing: border-box;
+ margin: 20rpx 40rpx;
+}
+
+.recommend-label {
+ position: relative;
+ margin-bottom: 30rpx;
+ padding-bottom: 30rpx;
+}
+
+.recommend-label::after {
+ position: absolute;
+ content: '';
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ height: 2rpx;
+ background-color: #f5f5f5;
+}
+
+.recommend-label:last-child {
+ margin-bottom: 0;
+ padding-bottom: 0;
+}
+
+.recommend-label:last-child::after {
+ display: none;
+}
+
+.recommend-head {
+ width: 110rpx;
+ height: 110rpx;
+ border-radius: 60%;
+}
+
+.recommend-text {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ padding: 0 0 0 140rpx;
+ box-sizing: border-box;
+}
+
+.recommend-text-top {
+ display: flex;
+ margin-bottom: 20rpx;
+}
+
+.recommend-text-name {
+ flex: 1;
+}
+
+.recommend-text-tel {
+ color: #666;
+}
+
+.recommend-text-identity {
+ font-size: 24rpx;
+ color: #7b7b7b;
+ border-radius: 20rpx;
+ border: #d4d4d4 2rpx solid;
+ display: inline-block;
+ padding: 4rpx 15rpx;
+}
+
+/* 暂无内容 */
+.recommend-hint {
+ text-align: center;
+ color: #999;
+ padding: 100rpx 0;
+}
+
+.recommend-hint image {
+ width: 200rpx;
+ height: 200rpx;
+}
\ No newline at end of file
diff --git a/pages/user/user.js b/pages/user/user.js
index cd92fd6..1e0cad3 100644
--- a/pages/user/user.js
+++ b/pages/user/user.js
@@ -26,10 +26,16 @@ Page({
type : 'silver'
},
{
- id : 2,
+ id : 1,
src : '/static/img/user_card_02.png',
color : '#192b4c',
type : 'drill'
+ },
+ {
+ id : 2,
+ src : '/static/img/user_card_01.png',
+ color : '#ff8f00',
+ type : 'balance'
}
],
autoplay: false,
@@ -77,6 +83,12 @@ Page({
*/
userInfo() {
wx.$api.user.index().then(res=>{
+ // 是否设置过密码缓存
+ wx.setStorage({
+ key : 'hasPaypass',
+ data : res.data.info.has_paypass
+ })
+
this.setData({
infos : res.data.info,
order : res.data.order,
@@ -94,6 +106,30 @@ Page({
})
},
+ /**
+ * 处理账户积分跳转
+ */
+ swiperNav(e) {
+ let newType = e.currentTarget.dataset.type
+ if(this.data.isUser){
+ if(newType == "balance"){
+ wx.navigateTo({
+ url: '/pages/myBalance/myBalance'
+ })
+ return
+ }
+
+ wx.navigateTo({
+ url: "/pages/account/account?type=" + newType
+ })
+ }else{
+ // 去登录
+ wx.navigateTo({
+ url: "/pages/login/login"
+ })
+ }
+ },
+
/**
* 处理未登录时的转跳
*/
diff --git a/pages/user/user.wxml b/pages/user/user.wxml
index 48df59b..8aa2258 100644
--- a/pages/user/user.wxml
+++ b/pages/user/user.wxml
@@ -3,7 +3,7 @@
- {{infos.identity.identity_id == 0 ? '普通用户':'惠生活会员'}}
+ {{infos.identity.name}}
@@ -36,12 +36,12 @@
-
+
可用余额:
{{account.silver}}
{{account.gold}}
- {{account.drill}}
+ {{account.balance}}
@@ -176,9 +176,27 @@
-
+
我的邀请码
+
+
+
+
+ 我的推荐
+
+
+
+
+
+ 积分赠与
+
+
+
+
+
+ 支付密码
+
\ No newline at end of file
diff --git a/pages/user/user.wxss b/pages/user/user.wxss
index 1c7387a..bde8b6e 100644
--- a/pages/user/user.wxss
+++ b/pages/user/user.wxss
@@ -44,8 +44,8 @@
}
.userHead-img view.active {
- width: 144rpx;
- left: 8rpx;
+ width: 120rpx;
+ left: 18rpx;
background: #000;
color: #fff;
}
diff --git a/pages/withdrawal_form/withdrawal_form.js b/pages/withdrawal_form/withdrawal_form.js
new file mode 100644
index 0000000..68e8aee
--- /dev/null
+++ b/pages/withdrawal_form/withdrawal_form.js
@@ -0,0 +1,63 @@
+// pages/withdrawal_form/withdrawal_form.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ balance : '', //余额
+ tax : '', //手续费
+ disabled: false //按钮状态
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad (options) {
+ // 获取提现前置账户信息
+ this.withdrawsInfo();
+ },
+
+ /**
+ * 提现前置账户信息
+ */
+ withdrawsInfo() {
+ wx.$api.user.withdraws().then(res=>{
+ this.setData({
+ balance: res.data.balance,
+ tax : res.data.tax
+ })
+
+ }).catch(err=>{})
+ },
+
+ /**
+ * 提现表单填写
+ */
+ formSubmit(e) {
+ let newAmount = e.detail.value.amount
+ if(newAmount > 1) {
+ wx.$api.user.withdrawsForm(newAmount, "mini").then(res=>{
+ this.setData({
+ disabled: true
+ })
+
+ wx.showToast({
+ title: '提现申请提交成功',
+ })
+
+ setTimeout(()=>{
+ wx.redirectTo({
+ url: '/pages/withdrawal_record/withdrawal_record'
+ })
+ },2000)
+
+ }).catch(err=>{})
+ }else {
+ wx.showToast({
+ title: '金额不得低于2元',
+ icon: 'none'
+ })
+ }
+ }
+})
\ No newline at end of file
diff --git a/pages/withdrawal_form/withdrawal_form.json b/pages/withdrawal_form/withdrawal_form.json
new file mode 100644
index 0000000..cf19ec3
--- /dev/null
+++ b/pages/withdrawal_form/withdrawal_form.json
@@ -0,0 +1,4 @@
+{
+ "usingComponents": {},
+ "navigationBarTitleText": "提现申请"
+}
\ No newline at end of file
diff --git a/pages/withdrawal_form/withdrawal_form.wxml b/pages/withdrawal_form/withdrawal_form.wxml
new file mode 100644
index 0000000..a33425f
--- /dev/null
+++ b/pages/withdrawal_form/withdrawal_form.wxml
@@ -0,0 +1,22 @@
+
+
+ {{balance}}
+ (我的账户余额)
+
+
+
+ 当前现金金额低于2元不可提现,每次提现的额度不低于2元,提现手续费按照到账周期收取
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/withdrawal_form/withdrawal_form.wxss b/pages/withdrawal_form/withdrawal_form.wxss
new file mode 100644
index 0000000..46f2a7d
--- /dev/null
+++ b/pages/withdrawal_form/withdrawal_form.wxss
@@ -0,0 +1,54 @@
+/* 余额 */
+.withdrawal{
+ background-color: #fff;
+ text-align: center;
+ padding: 30rpx 0;
+}
+
+.withdrawal-img {
+ width: 180rpx;
+ height: 180rpx;
+}
+
+.withdrawal-price {
+ color: #df0000;
+ font-size: 50rpx;
+ margin: 10rpx 0;
+}
+
+.withdrawal-name {
+ font-size: 28rpx;
+ color: #666666;
+}
+
+.withdrawalTips {
+ padding: 30rpx 20rpx;
+ box-sizing: border-box;
+ font-size: 28rpx;
+ color: #b9c6d2;
+}
+
+.withdrawalForm-label {
+ background-color: #fff;
+ margin-bottom: 30rpx;
+ padding: 30rpx 20rpx;
+ box-sizing: border-box;
+ display: flex;
+}
+
+.withdrawalForm-label input {
+ background-color: transparent;
+ padding-left: 50rpx;
+ box-sizing: border-box;
+}
+
+.withdrawalForm-btn {
+ background-color: #ff6d6d;
+ width: calc(100% - 40rpx) !important;
+ color: #fff;
+ height: 90rpx !important;
+ line-height: 90rpx !important;
+ padding: 0;
+ margin-top: 40rpx;
+ font-size: 32rpx;
+}
\ No newline at end of file
diff --git a/pages/withdrawal_record/withdrawal_record.js b/pages/withdrawal_record/withdrawal_record.js
new file mode 100644
index 0000000..56b57fd
--- /dev/null
+++ b/pages/withdrawal_record/withdrawal_record.js
@@ -0,0 +1,68 @@
+// 本时生活
+
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ accounts : [], //列表
+ page : {}, //分页信息
+ lodingStats : false, //加载状态
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad (options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow () {
+ // 获取提现列表
+ this.recordInfo();
+ },
+
+ /**
+ * 提现列表
+ */
+ recordInfo(page) {
+ wx.$api.user.withdrawsList(page).then(res=>{
+ let listArr = this.data.accounts,
+ newData = []
+ if(page == 1 || page == undefined) listArr = []
+ newData = listArr.concat(res.data.data)
+
+ this.setData({
+ accounts : newData,
+ page : res.data.page
+ })
+ })
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+ // 获取提现列表
+ this.recordInfo();
+ },
+
+ /**
+ * 上拉加载
+ */
+ onReachBottom(){
+ this.setData({
+ lodingStats: true
+ })
+ let pageNumber = this.data.page.current
+ if(this.data.page.has_more){
+ pageNumber++
+ // 获取提现列表
+ this.recordInfo(pageNumber);
+ }
+ }
+})
\ No newline at end of file
diff --git a/pages/withdrawal_record/withdrawal_record.json b/pages/withdrawal_record/withdrawal_record.json
new file mode 100644
index 0000000..7348d18
--- /dev/null
+++ b/pages/withdrawal_record/withdrawal_record.json
@@ -0,0 +1,4 @@
+{
+ "usingComponents": {},
+ "navigationBarTitleText": "提现记录"
+}
\ No newline at end of file
diff --git a/pages/withdrawal_record/withdrawal_record.wxml b/pages/withdrawal_record/withdrawal_record.wxml
new file mode 100644
index 0000000..9f84dfc
--- /dev/null
+++ b/pages/withdrawal_record/withdrawal_record.wxml
@@ -0,0 +1,32 @@
+
+
+
+ {{item.way}}
+ +{{item.take}}
+
+
+
+ 提现时间
+ {{item.create_at}}
+
+
+ 提现状态
+ {{item.status.status_text}}
+ {{item.status.status_text}}
+
+
+
+
+
+ 加载中...
+
+
+ 没有更多了~
+
+
+
+
+
+
+ 抱歉,目前暂无记录~
+
\ No newline at end of file
diff --git a/pages/withdrawal_record/withdrawal_record.wxss b/pages/withdrawal_record/withdrawal_record.wxss
new file mode 100644
index 0000000..cfc834a
--- /dev/null
+++ b/pages/withdrawal_record/withdrawal_record.wxss
@@ -0,0 +1,43 @@
+/* 记录列表 */
+.record-list {
+ background-color: #fff;
+ border-radius: 10rpx;
+ padding: 25rpx 25rpx 10rpx;
+ box-sizing: border-box;
+ margin: 30rpx;
+}
+
+.record-top {
+ display: flex;
+}
+
+.record-way {
+ flex: 1;
+}
+
+.record-take {
+ font-weight: 600;
+}
+
+.record-cont {
+ margin-top: 20rpx;
+ color: #999;
+ font-size: 28rpx;
+}
+
+.record-label {
+ display: flex;
+ line-height: 70rpx;
+}
+
+.record-label-name {
+ flex: 1;
+}
+
+.record-label-status {
+ color: red;
+}
+
+.record-label-green {
+ color: green;
+}
\ No newline at end of file
diff --git a/project.private.config.json b/project.private.config.json
index 95696f2..2582961 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -19,27 +19,6 @@
"query": "",
"scene": null
},
- {
- "id": 1,
- "name": "pages/activityInfo/activityInfo",
- "pathName": "pages/activityInfo/activityInfo",
- "query": "",
- "scene": null
- },
- {
- "id": -1,
- "name": "pages/activityOrder/activityOrder",
- "pathName": "pages/activityOrder/activityOrder",
- "query": "",
- "scene": null
- },
- {
- "id": 3,
- "name": "pages/activate/activate",
- "pathName": "pages/activate/activate",
- "query": "",
- "scene": null
- },
{
"id": -1,
"name": "pages/index/index",
@@ -48,82 +27,32 @@
"scene": null
},
{
- "id": 5,
- "name": "pages/login/login",
- "pathName": "pages/login/login",
+ "name": "pages/favour/favour",
+ "pathName": "pages/favour/favour",
"query": "",
"scene": null
},
{
- "id": -1,
- "name": "pages/coupon/coupon",
- "pathName": "pages/coupon/coupon",
+ "name": "pages/password/password",
+ "pathName": "pages/password/password",
"query": "",
"scene": null
},
{
- "name": "pages/frozen/frozen",
- "pathName": "pages/frozen/frozen",
+ "name": "pages/myBalance/myBalance",
+ "pathName": "pages/myBalance/myBalance",
"query": "",
"scene": null
},
{
- "name": "pages/account/account",
- "pathName": "pages/account/account",
+ "name": "pages/withdrawal_form/withdrawal_form",
+ "pathName": "pages/withdrawal_form/withdrawal_form",
"query": "",
"scene": null
},
{
- "name": "pages/packet/packet",
- "pathName": "pages/packet/packet",
- "query": "",
- "scene": null
- },
- {
- "name": "pages/welfare/welfare",
- "pathName": "pages/welfare/welfare",
- "query": "",
- "scene": null
- },
- {
- "name": "pages/classify/classify",
- "pathName": "pages/classify/classify",
- "query": "",
- "scene": null
- },
- {
- "name": "pages/order/order",
- "pathName": "pages/order/order",
- "query": "",
- "scene": null
- },
- {
- "name": "pages/frozen/frozen",
- "pathName": "pages/frozen/frozen",
- "query": "",
- "scene": null
- },
- {
- "name": "pages/makeForm/makeForm",
- "pathName": "pages/makeForm/makeForm",
- "query": "",
- "scene": null
- },
- {
- "name": "pages/switchcity/switchcity",
- "pathName": "pages/switchcity/switchcity",
- "query": "",
- "scene": null
- },
- {
- "name": "pages/car/index",
- "pathName": "pages/car/index",
- "query": "",
- "scene": null
- },
- {
- "name": "pages/code/code",
- "pathName": "pages/code/code",
+ "name": "pages/password_forget/password_forget",
+ "pathName": "pages/password_forget/password_forget",
"query": "",
"scene": null
}
diff --git a/static/img/balance-back.png b/static/img/balance-back.png
new file mode 100644
index 0000000..896a198
Binary files /dev/null and b/static/img/balance-back.png differ
diff --git a/static/img/balance-icon-00.png b/static/img/balance-icon-00.png
new file mode 100644
index 0000000..527e590
Binary files /dev/null and b/static/img/balance-icon-00.png differ
diff --git a/static/img/balance-icon-01.png b/static/img/balance-icon-01.png
new file mode 100644
index 0000000..b9b69e0
Binary files /dev/null and b/static/img/balance-icon-01.png differ
diff --git a/static/img/balance-icon-02.png b/static/img/balance-icon-02.png
new file mode 100644
index 0000000..27002c2
Binary files /dev/null and b/static/img/balance-icon-02.png differ
diff --git a/static/img/balance-icon-03.png b/static/img/balance-icon-03.png
new file mode 100644
index 0000000..b1d9cad
Binary files /dev/null and b/static/img/balance-icon-03.png differ
diff --git a/static/img/favour_back.png b/static/img/favour_back.png
new file mode 100644
index 0000000..49a4f29
Binary files /dev/null and b/static/img/favour_back.png differ
diff --git a/static/img/location_img.jpg b/static/img/location_img.jpg
index 6d34eab..8376967 100644
Binary files a/static/img/location_img.jpg and b/static/img/location_img.jpg differ
diff --git a/static/img/packetText_top.png b/static/img/packetText_top.png
index 8b1c42e..2de3177 100644
Binary files a/static/img/packetText_top.png and b/static/img/packetText_top.png differ
diff --git a/static/img/recommend_img.png b/static/img/recommend_img.png
new file mode 100644
index 0000000..635cf1d
Binary files /dev/null and b/static/img/recommend_img.png differ
diff --git a/static/img/user-codeGold.png b/static/img/user-codeGold.png
index b848ac1..a3a7fbc 100644
Binary files a/static/img/user-codeGold.png and b/static/img/user-codeGold.png differ
diff --git a/static/img/user-codeImg-down.png b/static/img/user-codeImg-down.png
index 58ff1cd..e95cc90 100644
Binary files a/static/img/user-codeImg-down.png and b/static/img/user-codeImg-down.png differ
diff --git a/static/img/user-codeTips-01.png b/static/img/user-codeTips-01.png
index f8830a9..c7a8940 100644
Binary files a/static/img/user-codeTips-01.png and b/static/img/user-codeTips-01.png differ
diff --git a/static/img/user-codeTips-02.png b/static/img/user-codeTips-02.png
index d9f9d61..70da9eb 100644
Binary files a/static/img/user-codeTips-02.png and b/static/img/user-codeTips-02.png differ
diff --git a/static/img/user-codeTitle.png b/static/img/user-codeTitle.png
index 4a33bfb..79a51fa 100644
Binary files a/static/img/user-codeTitle.png and b/static/img/user-codeTitle.png differ
diff --git a/static/img/userOrder_01.png b/static/img/userOrder_01.png
index e20bf9d..0d0ca72 100644
Binary files a/static/img/userOrder_01.png and b/static/img/userOrder_01.png differ
diff --git a/static/img/userOrder_02.png b/static/img/userOrder_02.png
index 4d0d78e..9950970 100644
Binary files a/static/img/userOrder_02.png and b/static/img/userOrder_02.png differ
diff --git a/static/img/userOrder_03.png b/static/img/userOrder_03.png
index 41ea591..91a105e 100644
Binary files a/static/img/userOrder_03.png and b/static/img/userOrder_03.png differ
diff --git a/static/img/userOrder_04.png b/static/img/userOrder_04.png
index c1f6a53..4e5b8f6 100644
Binary files a/static/img/userOrder_04.png and b/static/img/userOrder_04.png differ
diff --git a/static/img/userOrder_05.png b/static/img/userOrder_05.png
index b7dfcd3..bc3794e 100644
Binary files a/static/img/userOrder_05.png and b/static/img/userOrder_05.png differ
diff --git a/static/img/userOrder_06.png b/static/img/userOrder_06.png
index 349c143..6678f49 100644
Binary files a/static/img/userOrder_06.png and b/static/img/userOrder_06.png differ
diff --git a/static/img/userOrder_07.png b/static/img/userOrder_07.png
new file mode 100644
index 0000000..8204299
Binary files /dev/null and b/static/img/userOrder_07.png differ
diff --git a/static/img/userOrder_08.png b/static/img/userOrder_08.png
new file mode 100644
index 0000000..7b6e6ab
Binary files /dev/null and b/static/img/userOrder_08.png differ
diff --git a/static/img/userOrder_09.png b/static/img/userOrder_09.png
new file mode 100644
index 0000000..f7f8dc1
Binary files /dev/null and b/static/img/userOrder_09.png differ
diff --git a/static/img/userOrder_10.png b/static/img/userOrder_10.png
new file mode 100644
index 0000000..9f5773d
Binary files /dev/null and b/static/img/userOrder_10.png differ
diff --git a/static/img/userSite.png b/static/img/userSite.png
index fa79790..6902bab 100644
Binary files a/static/img/userSite.png and b/static/img/userSite.png differ
diff --git a/static/img/user_card_00.png b/static/img/user_card_00.png
index 57a8097..79f41d3 100644
Binary files a/static/img/user_card_00.png and b/static/img/user_card_00.png differ
diff --git a/static/img/user_card_01.png b/static/img/user_card_01.png
index 4921fcb..002fc48 100644
Binary files a/static/img/user_card_01.png and b/static/img/user_card_01.png differ
diff --git a/static/img/user_card_02.png b/static/img/user_card_02.png
index ff72f3a..9873bdb 100644
Binary files a/static/img/user_card_02.png and b/static/img/user_card_02.png differ
diff --git a/static/img/welfare_back_00.png b/static/img/welfare_back_00.png
index ecf734a..4c2fb7a 100644
Binary files a/static/img/welfare_back_00.png and b/static/img/welfare_back_00.png differ
diff --git a/static/img/welfare_back_01.png b/static/img/welfare_back_01.png
index cd518a3..241e0c8 100644
Binary files a/static/img/welfare_back_01.png and b/static/img/welfare_back_01.png differ
diff --git a/static/img/withdrawal_icon.png b/static/img/withdrawal_icon.png
new file mode 100644
index 0000000..73b7dc9
Binary files /dev/null and b/static/img/withdrawal_icon.png differ