Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duiba-h5-frame
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
江思志
duiba-h5-frame
Commits
729ac372
Commit
729ac372
authored
Apr 04, 2019
by
jsz315
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改点击
parent
ad3095cd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
4 deletions
+9
-4
ossupload.js
build/ossupload.js
+2
-1
index.js
config/index.js
+1
-0
home.less
src/pages/kejiji/webview/content/page/home.less
+1
-1
home.vue
src/pages/kejiji/webview/content/page/home.vue
+1
-1
today.vue
src/pages/kejiji/webview/daily/page/today.vue
+4
-1
No files found.
build/ossupload.js
View file @
729ac372
...
...
@@ -71,7 +71,8 @@ class OssUpload {
co(function*() {
let relativeDir = _this.getRelativePath(fileDir);
const originPath = `${_this.options.originDir}${relativeDir}`; // cdn 路径
console.log("上传文件 " + config.build.assetsPublicPath + originPath);
console.log(originPath);
console.log("上传文件 " + config.build.host + originPath);
try {
originFile = yield _this.client.head(originPath);
} catch (error) {
...
...
config/index.js
View file @
729ac372
...
...
@@ -36,6 +36,7 @@ module.exports = {
build
:
{
// Template for index.html
host
:
process
.
env
.
NODE_ENV
===
'production'
?
prodDomain
:
testDomain
,
index
:
path
.
resolve
(
__dirname
,
'../dist/index.html'
),
// Paths
assetsRoot
:
path
.
resolve
(
__dirname
,
'../dist'
),
...
...
src/pages/kejiji/webview/content/page/home.less
View file @
729ac372
...
...
@@ -32,7 +32,7 @@
background-size: 100% 100%;
position: absolute;
z-index: 1;
right:
88
px;
right:
110
px;
top: 206px;
}
}
...
...
src/pages/kejiji/webview/content/page/home.vue
View file @
729ac372
...
...
@@ -294,7 +294,7 @@ export default {
});
},
getH5Authorize
(){
let
url
=
'/kjy/authorize/wxh5base?uri=
/kjy/mp/content?mini=1'
;
let
url
=
'/kjy/authorize/wxh5base?uri=
'
+
encodeURIComponent
(
'/kjy/mp/content'
+
location
.
search
)
;
window
.
location
.
href
=
url
;
},
jump
(
item
){
...
...
src/pages/kejiji/webview/daily/page/today.vue
View file @
729ac372
...
...
@@ -172,6 +172,9 @@ export default {
if
(
inMiniprogram
&&
res
.
data
.
myself
){
this
.
showShare
=
true
;
}
if
(
PUSH
){
this
.
showShare
=
true
;
}
if
(
FROM
===
'singlemessage'
&&
res
.
data
.
myself
)
{
this
.
isShow
=
true
;
}
...
...
@@ -195,7 +198,7 @@ export default {
},
getH5Authorize
(){
let
url
=
'/kjy/authorize/wxh5base?uri=
/kjy/mp/daily?scid='
+
SCID
;
let
url
=
'/kjy/authorize/wxh5base?uri=
'
+
encodeURIComponent
(
`/kjy/mp/daily?scid=
${
SCID
}
&mini=
${
inMiniprogram
?
1
:
0
}
&push=
${
PUSH
?
1
:
0
}
`
)
;
window
.
location
.
href
=
url
;
},
closeModal
()
{
...
...
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