diff --git a/api/user/vip.js b/api/user/vip.js
index d50750b..7da820d 100644
--- a/api/user/vip.js
+++ b/api/user/vip.js
@@ -5,7 +5,8 @@ const api = {
brandList: 'goods/brandList',
category: 'category/list',
getImage: 'goods/getCommonConfig',
- vipList:'user/list'
+ vipList:'user/list',
+ updateVip:'user/updateUser'
}
// 大牌
@@ -24,3 +25,8 @@ export const getImage = (data) => {
export const getVipList = (data) => {
return request.get(api.vipList, data)
}
+//修改会员信息
+export const updateVip = (data) => {
+ return request.post(api.updateVip, data)
+}
+
diff --git a/pages/news/user/index.vue b/pages/news/user/index.vue
index e28222d..17dba02 100644
--- a/pages/news/user/index.vue
+++ b/pages/news/user/index.vue
@@ -1,7 +1,7 @@
-
+
@@ -16,16 +16,16 @@
- 余额(元)¥{{form.expend_money?form.expend_money:0.00}}
+ 余额(元)¥{{form.balance?form.balance:0.00}}
- 积分(分){{form.grade?form.grade:0.00}}
+ 积分(分){{form.points?form.points:0.00}}
-
+
关联订单
- 99+
+ {{total}}
@@ -34,18 +34,18 @@
编辑信息
-
+
上级推广人
- 张三
-
+ {{form.inviter?form.inviter.nick_name:''}}
+
-
+
推广权限
-
+
+
指定分销模式下,开启或关闭用户的推广权限
@@ -76,11 +79,13 @@
用户状态
-
+
-
+
确认修改
@@ -89,6 +94,8 @@
@@ -188,9 +243,10 @@
align-items: center;
text{
display: block;
- width: 98rpx;
+ // width: 98rpx;
border: 1px solid #FFB950;
- height: 40rpx;
+ // height: 40rpx;
+ padding:0 10rpx;
font-size: 28rpx;
font-weight: 400;
color: #FFB343;
@@ -363,9 +419,11 @@
justify-content: space-between;
.b{
- width: 630rpx;
+ // width: 630rpx;
+ width:100%;
line-height: 83rpx;
- background: #FFAAA4;
+ // background: #FFAAA4;
+ background: #FF6257;
border-radius: 83rpx;
text-align: center;
font-size: 28rpx;
diff --git a/pages/news/user/vip.vue b/pages/news/user/vip.vue
index 62112e7..4cc2412 100644
--- a/pages/news/user/vip.vue
+++ b/pages/news/user/vip.vue
@@ -5,7 +5,7 @@
-->
-
+
@@ -22,9 +22,9 @@
{{i.mobile}}
-
+
-
+
- 余额(元)¥{{i.points?i.points:0.00}}
+ 余额(元)¥{{i.balance?i.balance:0.00}}
积分(分){{i.points?i.points:0}}
@@ -79,6 +79,12 @@
};
},
methods: {
+ searchhandle(){
+ this.list=[]
+ this.page = 1;
+ this.getList()
+
+ },
async getList(){
let res = await Vip.getVipList({page:this.page,search:this.keyword,user_type:this.title=='会员管理'?"10,20":'30'})
console.log(res,"===")
@@ -141,7 +147,7 @@
goVipDetails(item){
let details = JSON.stringify(item)
uni.navigateTo({
- url:"/pages/news/user/index?item="+details
+ url:"/pages/news/user/index?item="+details+"&title="+this.title
})
}
},
diff --git a/pages/news3/shopDealerOrder.vue b/pages/news3/shopDealerOrder.vue
index cba13e8..eb3bcff 100644
--- a/pages/news3/shopDealerOrder.vue
+++ b/pages/news3/shopDealerOrder.vue
@@ -251,6 +251,7 @@ export default {
// console.log(options);
this.classifyShow=options.type;
this.getList();
+ console.log("会员管理带来的user_id",options.user_id)
},
onPageScroll(e){
diff --git a/pages/news3/shopOrder.vue b/pages/news3/shopOrder.vue
index c8e40df..3fc0b5a 100644
--- a/pages/news3/shopOrder.vue
+++ b/pages/news3/shopOrder.vue
@@ -29,11 +29,14 @@
-
- x{{p.total_num}}
-
- ¥
- {{p.total_price}}
+
+ {{p.goods_name}}
+
+ x{{p.total_num}}
+
+ ¥
+ {{p.total_price}}
+
@@ -44,7 +47,7 @@