Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wly-APP
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘川
wly-APP
Commits
d76d43e7
Commit
d76d43e7
authored
May 08, 2023
by
xiangzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试环境优化
parent
11b66a7c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
21 deletions
+27
-21
manifest.json
manifest.json
+5
-4
login.nvue
pages/login/login.nvue
+12
-7
order-trends.nvue
pages/order-trends/order-trends.nvue
+7
-7
api.helper.js
servers/api.helper.js
+3
-3
No files found.
manifest.json
View file @
d76d43e7
{
"name"
:
"易商"
,
"name"
:
"
五粮液
易商"
,
//
"appid"
:
"__UNI__EDB6A1F"
,
"appid"
:
"__UNI__EDB6A1F"
,
"description"
:
"订货系统"
,
"versionName"
:
"1.1.
36
"
,
"versionCode"
:
"101
36
"
,
"versionName"
:
"1.1.
20
"
,
"versionCode"
:
"101
20
"
,
"transformPx"
:
false
,
"app-plus"
:
{
/*
5
+App特有相关
*/
...
...
@@ -51,7 +51,8 @@
"ios"
:
{
"dSYMs"
:
false
,
"urlschemewhitelist"
:
"uumbs"
,
"urltypes"
:
"uusafeportalwly"
"urltypes"
:
"uusafeportalwly"
,
"idfa"
:
false
},
/*
ios打包配置
*/
"sdkConfigs"
:
{
...
...
pages/login/login.nvue
View file @
d76d43e7
...
...
@@ -212,7 +212,8 @@
title: '加载中'
});
const params ={
"uuid": "f3eea700a3686e47038a4b047af6d934DsRudwTZSRY",
"uuid": "f3eea700a3686e47038a4b047af6d934DsRudwTZSRY", //测试环境
// "uuid": "13a384b65f030d9a0a6636702ca6b0e5ygV3eEOmHBy", //生产环境
"accessToken": this.accessToken
}
try{
...
...
@@ -228,16 +229,20 @@
this.goLogin(parmasObj, false)
}else{
uni.hideLoading();
// uni.showToast({
// title: '登录异常',
// icon: 'none',
// duration: 1500
// });
console.log(res.errorNumber - 0 === 0,'非')
uni.showToast({
title: res.errors && res.errors[0] || res.errorMessage,
icon: 'none',
duration: 1500
});
return
}
}catch(e){
uni.showToast({
title: e,
icon: 'none',
duration: 1500
});
//TODO handle the exception
}
},
...
...
pages/order-trends/order-trends.nvue
View file @
d76d43e7
...
...
@@ -528,8 +528,8 @@
.block-detal-item {
display: flex;
overflow: hidden;
height:
96
rpx;
margin-bottom: 14rpx;
height:
118
rpx;
//
margin-bottom: 14rpx;
border-bottom: 1px solid #f4f5f6;
}
...
...
@@ -541,16 +541,16 @@
.detal-item-label {
flex: 2;
font-size: 28rpx;
line-height:
96
rpx;
line-height:
118
rpx;
color: #333;
margin-bottom: 8rpx;
//
margin-bottom: 8rpx;
}
.detal-item-value {
flex: 2;
font-size: 28rpx;
line-height:
96
rpx;
height:
96
rpx;
line-height:
118
rpx;
height:
118
rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
...
...
@@ -563,7 +563,7 @@
// height: 96rpx;
color: #888;
margin-top: 10rpx;
align-items: center;
//
align-items: center;
}
.btn {
flex: 1;
...
...
servers/api.helper.js
View file @
d76d43e7
...
...
@@ -183,16 +183,16 @@ class Request {
if
(
config
.
url
.
indexOf
(
'crm-app'
)
!==
-
1
)
{
// config.baseUrl = 'http
://218.89.67.37:8001
'
// config.baseUrl = 'http
s://crm.wuliangye.com.cn
'
config
.
baseUrl
=
'http://221.10.127.60:5000'
}
else
if
(
config
.
url
.
indexOf
(
'adapter'
)
!==
-
1
)
{
// config.baseUrl = 'http://api.wuliangcreart.com'
config
.
baseUrl
=
'http://221.10.127.60:5000/gateway/cyj'
}
else
if
(
config
.
url
.
indexOf
(
'wmdpwebservices'
)
!==
-
1
)
{
// config.baseUrl = 'http
://218.89.67.37:8001
/gateway/sczx'
// config.baseUrl = 'http
s://crm.wuliangye.com.cn
/gateway/sczx'
config
.
baseUrl
=
'http://221.10.127.60:5000/gateway/sczx'
}
else
if
(
config
.
url
.
indexOf
(
'wmdp-storeapp'
)
!==
-
1
)
{
// config.baseUrl = 'http
://218.89.67.37:8001
/gateway/zdcx'
// config.baseUrl = 'http
s://crm.wuliangye.com.cn
/gateway/zdcx'
config
.
baseUrl
=
'http://221.10.127.60:5000/gateway/zdcx'
}
else
if
(
config
.
url
.
indexOf
(
'uusafe'
)
!==
-
1
)
{
// config.baseUrl = 'https://apps.wuliangye.com.cn:9076'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment