Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
new-sing
h5-base
Commits
602e5508
Commit
602e5508
authored
Sep 28, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
a0f6a429
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
16 deletions
+38
-16
index.html
dist/index.html
+1
-1
app.ed6d1273dc8c2d144766934b011e5890.css
dist/static/css/app.ed6d1273dc8c2d144766934b011e5890.css
+1
-1
app.2ba11ac5a56f67eb6be7.js
dist/static/js/app.2ba11ac5a56f67eb6be7.js
+1
-0
app.6d125b033597c4a658d1.js
dist/static/js/app.6d125b033597c4a658d1.js
+0
-1
index.js
src/service/index.js
+7
-2
common.js
src/util/common.js
+0
-10
vancs.less
src/util/vancs.less
+28
-1
No files found.
dist/index.html
View file @
602e5508
...
@@ -11,4 +11,4 @@
...
@@ -11,4 +11,4 @@
position
:
fixed
;
position
:
fixed
;
background
:
#f4f4f4
;
background
:
#f4f4f4
;
}
}
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.d7ff704234c186886ba9e9e037596e8c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.6a8a8f81d41eede92744.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.6d125b033597c4a658d1.js
></script></body></html>
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.ed6d1273dc8c2d144766934b011e5890.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.6a8a8f81d41eede92744.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.2ba11ac5a56f67eb6be7.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
d7ff704234c186886ba9e9e037596e8c
.css
→
dist/static/css/app.
ed6d1273dc8c2d144766934b011e5890
.css
View file @
602e5508
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/app.2ba11ac5a56f67eb6be7.js
0 → 100644
View file @
602e5508
This diff is collapsed.
Click to expand it.
dist/static/js/app.6d125b033597c4a658d1.js
deleted
100644 → 0
View file @
a0f6a429
This diff is collapsed.
Click to expand it.
src/service/index.js
View file @
602e5508
...
@@ -16,8 +16,13 @@ axios.interceptors.request.use(
...
@@ -16,8 +16,13 @@ axios.interceptors.request.use(
// 获取token
// 获取token
// process.env.versionTime
// process.env.versionTime
let
versiontime
=
'09021400'
let
versiontime
=
'09021400'
console
.
log
(
common
.
getUrlParam
().
token
)
console
.
log
(
common
.
isWeixinBrowser
(),
'678887'
);
const
token
=
common
.
getUrlParam
().
token
||
localStorage
.
getItem
(
'cc_token'
);
if
(
common
.
isWeixinBrowser
()
===
1
)
{
const
token
=
common
.
getUrlParam
().
token
;
}
else
{
const
token
=
localStorage
.
getItem
(
'cc_token'
);
}
// 设置参数格式
// 设置参数格式
if
(
!
config
.
headers
[
'Content-Type'
])
{
if
(
!
config
.
headers
[
'Content-Type'
])
{
config
.
headers
=
{
config
.
headers
=
{
...
...
src/util/common.js
View file @
602e5508
...
@@ -144,15 +144,5 @@ export default {
...
@@ -144,15 +144,5 @@ export default {
url
=
url
||
window
.
location
;
url
=
url
||
window
.
location
;
var
match
=
RegExp
(
'[?&]'
+
name
+
'=([^&]*)'
).
exec
(
url
);
var
match
=
RegExp
(
'[?&]'
+
name
+
'=([^&]*)'
).
exec
(
url
);
return
match
&&
decodeURIComponent
(
match
[
1
].
replace
(
/
\+
/g
,
' '
))
return
match
&&
decodeURIComponent
(
match
[
1
].
replace
(
/
\+
/g
,
' '
))
},
/**
* 动态改变css
* @param obj
* @param css
*/
setStyle
(
obj
,
css
)
{
for
(
var
attr
in
obj
){
obj
.
style
[
attr
]
=
css
[
attr
];
}
}
}
}
}
src/util/vancs.less
View file @
602e5508
.van-dialog {
.van-dialog {
border-radius: 15px;
border-radius: 15px;
padding-bottom: 25px;
.van-dialog__header {
.van-dialog__header {
opacity: 0;
opacity: 0;
}
}
&:before {
.van-button__text {
display: inline-block;
width: 98px;
height: 44px;
color: #FFFFFF;
border-radius: 25px;
}
[class*=van-hairline]::after {
border: none
}
.van-button::before {
}
border-color: transparent;
//background-color: transparent;
.van-dialog__cancel {
.van-button__text {
background: #97A0BB;
}
}
.van-dialog__confirm {
.van-button__text {
background: #40A9FF;
}
}
}
}
}
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