From d21ce56ef3e1668425cd0c8455c06ade202e333b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Fri, 27 Aug 2021 14:52:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api.js | 12 ++- components/lf-image/lf-image.vue | 8 +- components/lf-userList/lf-userList.vue | 19 ++--- pages/index/index.vue | 46 +++++++++-- pages/my/exclusiveMatch.vue | 29 ++++--- pages/my/index.vue | 22 ++++-- pages/my/memberDetails.vue | 103 +++++++++++++++++++------ pages/my/service.vue | 30 ++++--- pages/userList/userList.vue | 26 +++++-- 9 files changed, 221 insertions(+), 74 deletions(-) diff --git a/common/api.js b/common/api.js index ad49bb4..08d1232 100644 --- a/common/api.js +++ b/common/api.js @@ -1,9 +1,17 @@ // appId: 正式 null | 测试 null export const DEV = "dev"; // dev 测试 | prod 正式 export const VERSION = '1.0.0'; // 版本号 -export const DEVURL = 'http://192.168.3.181'; // 测试服请求地址 +// export const DEVURL = 'http://192.168.3.181'; // 测试服请求地址 +export const DEVURL = 'http://192.168.3.186'; // 测试服请求地址 export const PRODURL = ''; // 正式服请求地址 export const CALLBACKURL = 'http://192.168.3.183:8080'; // 重定向地址(H5授权换取code回调地址) export const APPID = 'wx98e64ab875b2553e'; // 公众号appid -export const API_OFFICIAL_LOGIN = '/api/official_login'; +export const API_OFFICIAL_LOGIN = '/api/official_login'; // code 换取用户信息 +export const API_KEFU = '/api/kefu'; // 获取客服信息 +export const API_HONGNIANG = '/api/hongniang'; // 获取红娘信息 +export const API_MEMBERS_WALL = '/api/members/wall'; // 获取首页上墙会员 +export const API_MEMBERS_ALL = '/api/members/all'; // 会员列表 +export const API_MEMBERS_DETAIL = '/api/members/detail'; // 会员详情 +export const API_MEMBERS_PARAMS = '/api/members/params'; // 获得查询参数 +export const API_UCENTER = '/api/ucenter'; // 个人中心落地页 \ No newline at end of file diff --git a/components/lf-image/lf-image.vue b/components/lf-image/lf-image.vue index ed6358f..6115663 100644 --- a/components/lf-image/lf-image.vue +++ b/components/lf-image/lf-image.vue @@ -33,10 +33,16 @@ }, data(){ return { - img_src: this.src, + img_src: '', loading: true } }, + watch: { + src(val){ + console.log("val", val) + this.img_src = val; + } + }, methods: { load(event){ this.loading = false; diff --git a/components/lf-userList/lf-userList.vue b/components/lf-userList/lf-userList.vue index 2e03e1d..1908e8a 100644 --- a/components/lf-userList/lf-userList.vue +++ b/components/lf-userList/lf-userList.vue @@ -1,14 +1,14 @@