diff --git a/App.vue b/App.vue
index fca4de9a..2d488f85 100644
--- a/App.vue
+++ b/App.vue
@@ -5,10 +5,10 @@
data: {
// 基础配置
// 数据接口请求地址
- request_url: 'https://d1.shopxo.vip/',
+ request_url: 'http://shopxo.com/',
// 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/)
- static_url: 'https://d1.shopxo.vip/',
+ static_url: 'http://shopxo.com/',
// 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立)
system_type: 'default',
diff --git a/pages.json b/pages.json
index cd01d945..c500427c 100644
--- a/pages.json
+++ b/pages.json
@@ -532,6 +532,13 @@
"enablePullDownRefresh": true,
"navigationBarTitleText": "等级介绍"
}
+ },
+ {
+ "path": "promotion-user/promotion-user",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "推广用户"
+ }
}
]
},
diff --git a/pages/plugins/distribution/profit/profit.vue b/pages/plugins/distribution/profit/profit.vue
index 319cb531..3b70434d 100644
--- a/pages/plugins/distribution/profit/profit.vue
+++ b/pages/plugins/distribution/profit/profit.vue
@@ -155,8 +155,8 @@ export default {
title: "加载中...",
});
- // 参数
- var status = (this.nav_status_list[this.nav_status_index] || null) == null ? -1 : this.nav_status_list[this.nav_status_index]["value"]; // 获取数据
+ // 获取数据
+ var status = (this.nav_status_list[this.nav_status_index] || null) == null ? -1 : this.nav_status_list[this.nav_status_index]["value"];
uni.request({
url: app.globalData.get_request_url("index", "profit", "distribution"),
method: "POST",
diff --git a/pages/plugins/distribution/promotion-user/promotion-user.css b/pages/plugins/distribution/promotion-user/promotion-user.css
new file mode 100644
index 00000000..b51acb36
--- /dev/null
+++ b/pages/plugins/distribution/promotion-user/promotion-user.css
@@ -0,0 +1,7 @@
+/*
+* 列表
+*/
+.data-list .item .base .avatar {
+ width: 40rpx;
+ height: 40rpx !important;
+}
\ No newline at end of file
diff --git a/pages/plugins/distribution/promotion-user/promotion-user.vue b/pages/plugins/distribution/promotion-user/promotion-user.vue
new file mode 100644
index 00000000..fa5548c1
--- /dev/null
+++ b/pages/plugins/distribution/promotion-user/promotion-user.vue
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+ {{ item.user_name_view || "" }}
+ {{ item.add_time }}
+
+
+
+
+ {{ fv.name }}
+ {{ item[fv.field] || fv.default }}
+ {{ fv.unit }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/plugins/distribution/user/user.vue b/pages/plugins/distribution/user/user.vue
index adc77dbc..5c84b185 100644
--- a/pages/plugins/distribution/user/user.vue
+++ b/pages/plugins/distribution/user/user.vue
@@ -67,7 +67,7 @@
-
+
{{ item.value }}
人
@@ -85,7 +85,7 @@
{{ child.name }}
-
+
{{ child.first }}
{{ child.value }}
{{ child.unit }}
@@ -464,7 +464,12 @@
// 页面滚动监听
onPageScroll(res) {
uni.$emit('onPageScroll', res);
- },
+ },
+
+ // url事件
+ url_event(e) {
+ app.globalData.url_event(e);
+ }
},
};