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 @@