Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_currency
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huahua
wechat_currency
Commits
a6e04c53
Commit
a6e04c53
authored
Jan 07, 2023
by
huahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
0667be6b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
21 deletions
+5
-21
pages.json
+0
-15
pages/index/index.vue
+0
-0
pages/index/js/drag.js
+0
-0
util/Env.js
+1
-2
util/http.js
+1
-1
util/loadFont.js
+3
-3
No files found.
pages.json
View file @
a6e04c53
...
...
@@ -3,25 +3,15 @@
"path"
:
"pages/index/mall"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
//
"navigationStyle"
:
"custom"
,
//禁用uni-app默认的头部导航
"enablePullDownRefresh"
:
true
,
"navigationStyle"
:
"custom"
}
},
/*
{
"path"
:
"pages/index/machineDetail"
,
"style"
:
{
"navigationBarTitleText"
:
"色彩高尔夫"
,
//
"navigationStyle"
:
"custom"
,
//禁用uni-app默认的头部导航
"enablePullDownRefresh"
:
true
}
}
*/
{
"path"
:
"pages/index/machineDetail"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"navigationStyle"
:
"custom"
//禁用uni-app默认的头部导航
}
},
{
...
...
@@ -29,10 +19,8 @@
"style"
:
{
"navigationBarTitleText"
:
""
,
"navigationStyle"
:
"custom"
//禁用uni-app默认的头部导航
}
}
],
"globalStyle"
:
{
"navigationBarTextStyle"
:
"#ffffff"
,
...
...
@@ -52,7 +40,6 @@
{
"root"
:
"pages/mall"
,
"pages"
:
[
{
"path"
:
"lineUp"
,
"style"
:
{
...
...
@@ -72,7 +59,6 @@
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"self_help_payment_details_new"
,
"style"
:
{
...
...
@@ -80,7 +66,6 @@
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"order"
,
"style"
:
{
...
...
pages/index/index.vue
View file @
a6e04c53
This diff is collapsed.
Click to expand it.
pages/index/js/drag.js
View file @
a6e04c53
This diff is collapsed.
Click to expand it.
util/Env.js
View file @
a6e04c53
...
...
@@ -23,8 +23,7 @@ const Env = {
getmalltext
:
()
=>
"色彩公园Lite"
,
getAppID
:
()
=>
"wx1c777ee874c39b0b"
,
getcompany
:
()
=>
"深圳市瑞丰彩科技有限公司"
,
// 跳转--色彩小程序
//跳转--色彩小程序
getappId
:
()
=>
"wx55b5b6d95c648041"
,
//getenvVersion: () => "trial",
getenvVersion
:
()
=>
"release"
,
...
...
util/http.js
View file @
a6e04c53
...
...
@@ -18,7 +18,7 @@ const http = ({ url = '', param = {}, ...other } = {}) => {
...
other
,
complete
(
res
)
{
wx
.
hideLoading
();
console
.
log
(
`耗时
${
Date
.
now
()}
- timeStart`
);
//
console.log(`耗时${Date.now()} - timeStart`);
if
(
res
.
statusCode
>=
200
&&
res
.
statusCode
<
300
){
resolve
(
res
.
data
);
}
else
{
...
...
util/loadFont.js
View file @
a6e04c53
...
...
@@ -20,7 +20,7 @@ let loadFont = function(textlist,list) {
weight
:
100
},
success
:
function
(
message
)
{
//
console.log('load font-family success:', message)
//console.log('load font-family success:', message)
textlist
.
textlong
=
true
},
fail
:
function
(
message
)
{
...
...
@@ -29,8 +29,8 @@ let loadFont = function(textlist,list) {
},
complete
(
res
)
{
uni
.
hideLoading
();
//
wx.showToast({title: '字体下载完成',icon: 'success',duration: 2000});
//
console.log('complete', res)
//wx.showToast({title: '字体下载完成',icon: 'success',duration: 2000});
//console.log('complete', res)
textlist
.
long
=
true
// list.forEach(item=>{
// if(item.long == true){
...
...
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