Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
db84ee37
Commit
db84ee37
authored
Nov 14, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员图片
parent
0c4e9a10
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
4 deletions
+15
-4
banner-bg.jpg
src/assets/img/vip/banner-bg.jpg
+0
-0
banner-phonevipEn.png
src/assets/img/vip/banner-phonevipEn.png
+0
-0
banner-phonevipZh.png
src/assets/img/vip/banner-phonevipZh.png
+0
-0
banner-vipEn.jpg
src/assets/img/vip/banner-vipEn.jpg
+0
-0
banner-vipZh.jpg
src/assets/img/vip/banner-vipZh.jpg
+0
-0
main.js
src/main.js
+1
-1
index1.vue
src/views/index/pages/index1.vue
+4
-3
index.vue
src/views/mobile/index/index.vue
+10
-0
No files found.
src/assets/img/vip/banner-bg.jpg
0 → 100644
View file @
db84ee37
422 KB
src/assets/img/vip/banner-phonevipEn.png
0 → 100644
View file @
db84ee37
147 KB
src/assets/img/vip/banner-phonevipZh.png
0 → 100644
View file @
db84ee37
148 KB
src/assets/img/vip/banner-vipEn.jpg
0 → 100644
View file @
db84ee37
434 KB
src/assets/img/vip/banner-vipZh.jpg
0 → 100644
View file @
db84ee37
420 KB
src/main.js
View file @
db84ee37
...
...
@@ -149,7 +149,7 @@ router.beforeEach((to, from, next) => {
}
}
if
(
window
.
sessionStorage
.
getItem
(
"userInfo"
)
==
null
){
if
(
to
.
name
==
'dashboard'
||
to
.
name
==
'indexView'
||
to
.
name
==
'login'
||
to
.
name
==
'mobileLoginCmpt'
||
to
.
name
==
'emailLoginCmpt'
||
to
.
name
==
'mobileRegisterCmpt'
||
to
.
name
==
'emailRegisterCmpt'
||
to
.
name
==
'completeInfoCmpt'
||
to
.
name
==
'successCmpt'
||
to
.
name
==
'findPasswordCmpt'
||
to
.
name
==
'modifyPasswordCmpt'
||
to
.
name
==
'passSuccessCmpt'
||
to
.
name
==
'indexView'
||
to
.
name
==
"mobileIndex"
||
to
.
name
==
"mobileLogin"
||
to
.
name
==
"loginByPhone"
||
to
.
name
==
"loginByEmail"
||
to
.
name
==
"mobileRegister"
||
to
.
name
==
"registerComplete"
||
to
.
name
==
"shareRequire"
||
to
.
name
==
"shareProject"
||
to
.
name
==
"knowledgeList"
||
to
.
name
==
"knowledgeDetail"
){
if
(
to
.
name
==
'dashboard'
||
to
.
name
==
'indexView'
||
to
.
name
==
'login'
||
to
.
name
==
'mobileLoginCmpt'
||
to
.
name
==
'emailLoginCmpt'
||
to
.
name
==
'mobileRegisterCmpt'
||
to
.
name
==
'emailRegisterCmpt'
||
to
.
name
==
'completeInfoCmpt'
||
to
.
name
==
'successCmpt'
||
to
.
name
==
'findPasswordCmpt'
||
to
.
name
==
'modifyPasswordCmpt'
||
to
.
name
==
'passSuccessCmpt'
||
to
.
name
==
'indexView'
||
to
.
name
==
"mobileIndex"
||
to
.
name
==
"mobileLogin"
||
to
.
name
==
"loginByPhone"
||
to
.
name
==
"loginByEmail"
||
to
.
name
==
"mobileRegister"
||
to
.
name
==
"registerComplete"
||
to
.
name
==
"shareRequire"
||
to
.
name
==
"shareProject"
||
to
.
name
==
"knowledgeList"
||
to
.
name
==
"knowledgeDetail"
||
to
.
name
==
'vip'
||
to
.
name
==
'vipList'
){
}
else
{
if
(
to
.
path
==
'/knowledge'
||
to
.
path
==
'/knowledgedetails'
||
to
.
path
==
'/termserviceed'
||
to
.
path
==
'/privacypolicyed'
||
to
.
path
==
'/contactused'
||
to
.
path
==
'/aboutused'
||
to
.
path
==
'/casedetailsed'
||
to
.
path
==
'/lndustryfocused'
||
to
.
path
==
'/successfulcaseed'
||
to
.
path
==
'/usehelped'
||
to
.
path
==
'/useHelp'
||
to
.
path
==
'/reminder'
||
to
.
path
==
'/contactus'
||
to
.
path
==
'/privacypolicy'
||
to
.
path
==
'/termservice'
||
to
.
path
==
'/casedetails'
||
to
.
path
==
'/successfulcase'
||
to
.
path
==
'/lndustryfocus'
||
to
.
path
==
'/aboutus'
){
...
...
src/views/index/pages/index1.vue
View file @
db84ee37
...
...
@@ -3,7 +3,7 @@
<div
id=
"bannerWrapper"
>
<swiper
:options=
"swiperOption"
class=
"swiper-wrap"
ref=
"mySwiper"
v-if=
"list"
@
click=
"handleToFocus"
style=
"cursor: pointer"
>
<swiper-slide
v-for=
"(item,index) in list"
v-if=
"list"
:key=
"index"
:data-swiper-autoplay=
"6000"
>
<div
class=
"imgSwiper"
:style=
"
{backgroundImage:index==1?'url('+imgBg+')':
'url('+imgBg1+')',backgroundColor:index==0?'#19233c':'#005cc3
'}">
<!--:style="
{backgroundColor:index==0?'unset':'#072074'}"-->
<div
class=
"imgSwiper"
:style=
"
{backgroundImage:index==1?'url('+imgBg+')':
index==0?'url('+imgBg1+')':'url('+imgBg2+')',backgroundColor:index==0?'#19233c':index==1?'#005cc3':'#2b1306
'}">
<!--:style="
{backgroundColor:index==0?'unset':'#072074'}"-->
<img
:src=
"item.image"
alt=
""
/>
</div>
</swiper-slide>
...
...
@@ -249,6 +249,7 @@
return
{
imgBg
:
require
(
'../../../assets/img/index/bannerchinese.jpg'
),
imgBg1
:
require
(
'../../../assets/img/slider-1920.jpg'
),
imgBg2
:
require
(
'../../../assets/img/vip/banner-bg.jpg'
),
isInit
:
true
,
realSwiperIndex
:
0
,
activeInfoSwiperOption
:
{
...
...
@@ -351,7 +352,7 @@
image
:
require
(
'../../../assets/img/bannerImgChZn.jpg'
)
},
{
id
:
3
,
image
:
require
(
'../../../assets/img/
bannerImgChZn
.jpg'
)
image
:
require
(
'../../../assets/img/
vip/banner-vipZh
.jpg'
)
}];
}
else
{
this
.
list
=
[{
...
...
@@ -362,7 +363,7 @@
image
:
require
(
'../../../assets/img/bannerImgEn.jpg'
)
},
{
id
:
3
,
image
:
require
(
'../../../assets/img/
bannerImgChZ
n.jpg'
)
image
:
require
(
'../../../assets/img/
vip/banner-vipE
n.jpg'
)
}];
}
...
...
src/views/mobile/index/index.vue
View file @
db84ee37
...
...
@@ -262,6 +262,9 @@
},
{
id
:
2
,
image
:
require
(
'../../../assets/img/mobile/bannerzh.png'
)
},
{
id
:
3
,
image
:
require
(
'../../../assets/img/vip/banner-phonevipZh.png'
)
}];
}
else
{
this
.
list
=
[{
...
...
@@ -270,6 +273,9 @@
},
{
id
:
2
,
image
:
require
(
'../../../assets/img/mobile/banneren.png'
)
},
{
id
:
3
,
image
:
require
(
'../../../assets/img/vip/banner-phonevipEn.png'
)
}];
}
...
...
@@ -281,6 +287,10 @@
globalMsg
.
$emit
(
'sendIndex'
,
3
);
this
.
$router
.
push
(
"/lndustryfocused"
)
}
if
(
this
.
realSwiperIndex
==
2
){
globalMsg
.
$emit
(
'sendIndex'
,
-
2
);
this
.
$router
.
push
(
"/vip"
)
}
},
handleToProject
(
data
){
if
(
this
.
isCompleteInfo
){
...
...
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