Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yimu
h5-front
Commits
a5fb7d8d
Commit
a5fb7d8d
authored
Apr 19, 2022
by
verestrasz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新分享
parent
4f9dce92
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
17 deletions
+16
-17
share-bg.png
src/assets/img/share-bg.png
+0
-0
preivew-video.vue
src/components/previewMedia/preivew-video.vue
+5
-2
index.vue
src/views/blind-box/index.vue
+5
-7
index.vue
src/views/goods/index.vue
+4
-6
index.vue
src/views/user-center/share-invite/index.vue
+0
-0
vue.config.js
vue.config.js
+2
-2
No files found.
src/assets/img/share-bg.png
0 → 100644
View file @
a5fb7d8d
This diff is collapsed.
Click to expand it.
src/components/previewMedia/preivew-video.vue
View file @
a5fb7d8d
...
@@ -55,8 +55,11 @@ export default {
...
@@ -55,8 +55,11 @@ export default {
},
},
},
},
methods
:{
methods
:{
async
getPoster
(){
getPoster
(){
this
.
poster
=
await
this
.
getVideoBase64
(
this
.
item
.
video
,
'100%'
,
'100%'
)
this
.
poster
=
""
this
.
getVideoBase64
(
this
.
item
.
video
,
'100vw'
,
'100vh'
).
then
(
res
=>
{
this
.
poster
=
res
})
},
},
play
(){
play
(){
this
.
isPlay
=
true
this
.
isPlay
=
true
...
...
src/views/blind-box/index.vue
View file @
a5fb7d8d
...
@@ -143,7 +143,7 @@ export default {
...
@@ -143,7 +143,7 @@ export default {
},
},
});
});
},
},
async
initData
(
res
)
{
initData
(
res
)
{
let
goodsVo
=
{};
let
goodsVo
=
{};
if
(
this
.
goodsTypeMap
.
PRE_SALE
)
{
if
(
this
.
goodsTypeMap
.
PRE_SALE
)
{
goodsVo
=
res
.
goodsVo
;
goodsVo
=
res
.
goodsVo
;
...
@@ -188,12 +188,10 @@ export default {
...
@@ -188,12 +188,10 @@ export default {
};
};
});
});
if
(
video
&&
video
.
length
!==
0
)
{
if
(
video
&&
video
.
length
!==
0
)
{
let
Poster
=
""
let
Poster
=
""
try
{
this
.
getVideoBase64
(
video
,
158
,
211
).
then
(
res
=>
{
Poster
=
await
this
.
getVideoBase64
(
video
,
158
,
211
)
Poster
=
res
}
catch
(
err
)
{
})
console
.
log
(
11
)
}
swiperList
.
splice
(
0
,
0
,
{
swiperList
.
splice
(
0
,
0
,
{
type
:
"video"
,
type
:
"video"
,
url
:
Poster
,
url
:
Poster
,
...
...
src/views/goods/index.vue
View file @
a5fb7d8d
...
@@ -268,7 +268,7 @@ export default {
...
@@ -268,7 +268,7 @@ export default {
},
},
});
});
},
},
async
initData
(
res
)
{
initData
(
res
)
{
let
goodsVo
=
{};
let
goodsVo
=
{};
if
(
this
.
goodsTypeMap
.
PRE_SALE
)
{
if
(
this
.
goodsTypeMap
.
PRE_SALE
)
{
goodsVo
=
res
.
goodsVo
;
goodsVo
=
res
.
goodsVo
;
...
@@ -322,11 +322,9 @@ export default {
...
@@ -322,11 +322,9 @@ export default {
if
(
video
&&
video
.
length
!==
0
)
{
if
(
video
&&
video
.
length
!==
0
)
{
let
Poster
=
""
let
Poster
=
""
try
{
this
.
getVideoBase64
(
video
,
158
,
211
).
then
(
res
=>
{
Poster
=
await
this
.
getVideoBase64
(
video
,
158
,
211
)
Poster
=
res
}
catch
(
err
)
{
})
console
.
log
(
11
)
}
swiperList
.
splice
(
0
,
0
,
{
swiperList
.
splice
(
0
,
0
,
{
type
:
"video"
,
type
:
"video"
,
url
:
Poster
,
url
:
Poster
,
...
...
src/views/user-center/share-invite/index.vue
View file @
a5fb7d8d
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
a5fb7d8d
...
@@ -65,8 +65,8 @@ module.exports = {
...
@@ -65,8 +65,8 @@ module.exports = {
// target: 'http://172.22.20.64:8100/root'
// target: 'http://172.22.20.64:8100/root'
// target: 'http://172.22.17.176:12008'
// target: 'http://172.22.17.176:12008'
// target: 'http://172.22.17.108:9089'
// target: 'http://172.22.17.108:9089'
//
target: 'https://mall.inmvo.com/root'
target
:
'https://mall.inmvo.com/root'
target
:
'https://testym.8n.cn/root'
//
target: 'https://testym.8n.cn/root'
},
},
'/chat'
:
{
'/chat'
:
{
pathRewrite
:
{
pathRewrite
:
{
...
...
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