...
This commit is contained in:
1
App.vue
1
App.vue
@@ -2,7 +2,6 @@
|
||||
import { getVersions } from './apis/interfaces/versions'
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
return
|
||||
//#ifdef APP-PLUS
|
||||
// 获取系统版本号
|
||||
getVersions({
|
||||
|
||||
@@ -10,8 +10,8 @@ import router from '../router'
|
||||
|
||||
// 基础配置
|
||||
const config = {
|
||||
// apiUrl : 'https://douhuo.douhuofalv.com/api/',
|
||||
apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
|
||||
apiUrl : 'https://douhuo.douhuofalv.com/api/',
|
||||
// apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
|
||||
timeout : 60000
|
||||
}
|
||||
|
||||
@@ -47,7 +47,6 @@ const request = (parameter, hideLoding = true) => {
|
||||
data : parameter.data || {},
|
||||
method : parameter.method || 'GET',
|
||||
success : res => {
|
||||
console.log(config.apiUrl + parameter.url,res)
|
||||
if (res.header.Authorization){
|
||||
updateToken('token', res.header.Authorization)
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name" : "抖火",
|
||||
"appid" : "__UNI__C305C03",
|
||||
"description" : "纵有疾风起,人生不言弃",
|
||||
"versionName" : "1.2.9",
|
||||
"versionName" : "1.3.1",
|
||||
"versionCode" : 103,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
<view class="nowrap name">{{item.nickname}}</view>
|
||||
<view class="nowrap identitys">
|
||||
<text class="identity certification-y" v-if="item.certification"><image src="@/static/icons/user_nav_03.png"></image>已实名</text>
|
||||
<text class="identity identity-2" v-if="item.identity.order == 2">业务员</text>
|
||||
<text class="identity identity-2" v-if="item.identity.order == 2">实习顾问</text>
|
||||
<text class="identity identity-1" v-if="item.identity.order == 1">普通用户</text>
|
||||
<text class="identity identity-3" v-if="item.identity.order == 3">顾问</text>
|
||||
</view>
|
||||
<view class="nowrap submit">联系电话:{{item.real_username}}</view>
|
||||
<view class="nowrap submit">联系电话:{{item.username}}</view>
|
||||
<view class="nowrap submit">注册时间:{{item.created_at}}</view>
|
||||
</view>
|
||||
<view class="mobile">
|
||||
@@ -74,8 +74,8 @@
|
||||
page : this.page.current
|
||||
}).then(res => {
|
||||
let { users, count } = res;
|
||||
this.count = count
|
||||
let atList = users.page.current == 1 ? [] : this.users
|
||||
this.count = count
|
||||
this.users = atList.concat(users.data)
|
||||
this.page = users.page
|
||||
this.pagesShow = false
|
||||
|
||||
Reference in New Issue
Block a user