Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
3ca9fed3
Commit
3ca9fed3
authored
Jun 29, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
4858a214
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
311 additions
and
211 deletions
+311
-211
diy-form.vue
src/components/label_other/diy-form.vue
+32
-17
hor-btm.vue
src/components/navs/hor-btm.vue
+1
-1
search_el1.vue
src/components/search_el/search_el1.vue
+0
-1
HomeLayout.vue
src/layouts/HomeLayout.vue
+19
-13
About.vue
src/pages/About.vue
+5
-5
Index.vue
src/pages/Index.vue
+254
-174
No files found.
src/components/label_other/diy-form.vue
View file @
3ca9fed3
...
...
@@ -4,28 +4,28 @@
<h2
class=
"block-title q-mb-lg"
>
專人服務
</h2>
<q-form
@
submit=
"onSubmit"
class=
"q-gutter-md"
>
<div
class=
"row q-gutter-xl desktop-only q-mb-lg q-pl-md"
>
<q-input
filled
v-model=
"params.
n
ame"
label=
"如何稱呼您"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.
N
ame"
label=
"如何稱呼您"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的稱呼']"
/>
<q-input
filled
v-model=
"params.
phon
e"
label=
"聯絡電話"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.
Mobil
e"
label=
"聯絡電話"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的聯絡電話哦']"
/>
</div>
<div
class=
"row mobile-only q-mb-lg"
>
<q-input
filled
v-model=
"params.
n
ame"
label=
"如何稱呼您"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.
N
ame"
label=
"如何稱呼您"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的稱呼']"
/>
</div>
<div
class=
"row mobile-only q-mb-lg"
>
<q-input
filled
v-model=
"params.
phon
e"
label=
"聯絡電話"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.
Mobil
e"
label=
"聯絡電話"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的聯絡電話哦']"
/>
</div>
<div
class=
"row q-mb-lg"
>
<q-input
filled
v-model=
"params.
e
Mail"
label=
"聯絡E-Mail"
type=
"email"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.
E
Mail"
label=
"聯絡E-Mail"
type=
"email"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的聯絡E-Mail哦']"
/>
</div>
<div
class=
"row q-mb-lg"
>
<q-input
filled
v-model=
"params.
remark
"
label=
"備註"
class=
"col"
type=
"textarea"
/>
<q-input
filled
v-model=
"params.
Remarks
"
label=
"備註"
class=
"col"
type=
"textarea"
/>
</div>
<div
class=
"row q-mb-lg"
>
<q-btn
type=
"submit"
unelevated
color=
"primary"
size=
"lg"
label=
"送出"
class=
"col"
/>
<q-btn
type=
"submit"
unelevated
color=
"primary"
size=
"lg"
label=
"送出"
class=
"col"
@
click=
"onSubmit"
/>
</div>
</q-form>
</div>
...
...
@@ -37,15 +37,26 @@
data
()
{
return
{
params
:
{
name
:
""
,
phone
:
""
,
eMail
:
""
,
remark
:
""
Name
:
""
,
Mobile
:
""
,
EMail
:
""
,
Remarks
:
""
,
RB_Group_Id
:
0
,
}
};
},
methods
:
{
onSubmit
()
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
params
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
apipost
(
"ws_post_SetService"
,
this
.
params
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
params
.
Name
=
''
;
this
.
params
.
Mobile
=
''
;
this
.
params
.
EMail
=
''
;
this
.
params
.
Remarks
=
''
;
this
.
$q
.
notify
({
color
:
"green-4"
,
textColor
:
"white"
,
...
...
@@ -53,6 +64,10 @@
message
:
"提交成功"
});
}
},
err
=>
{}
);
}
}
};
...
...
src/components/navs/hor-btm.vue
View file @
3ca9fed3
...
...
@@ -273,7 +273,7 @@
<div
class=
"footer-top"
>
<div
class=
"footer-link"
>
<ul
class=
"hor_footuu"
>
<li>
{{
dataList
.
Config
.
Name
}}
</li>
<li>
<a
@
click=
"CommonJump('/index',
{})">
{{
dataList
.
Config
.
Name
}}
</a>
</li>
<li
class=
"other_li"
v-for=
"(item,index) in dataList.FooterList"
:key=
"index"
>
<a
@
click=
"CommonJump(item.url,
{})">
{{
item
.
title
}}
</a>
</li>
...
...
src/components/search_el/search_el1.vue
View file @
3ca9fed3
...
...
@@ -234,7 +234,6 @@
data
()
{
return
{
slide
:
0
,
searchKey
:
""
,
searchDate
:
""
,
searchEndDate
:
""
,
...
...
src/layouts/HomeLayout.vue
View file @
3ca9fed3
...
...
@@ -39,6 +39,7 @@
dataList
:
{},
//集团编号
RB_Group_Id
:
0
,
};
},
created
()
{
...
...
@@ -47,13 +48,13 @@
})
},
mounted
()
{
localStorage
.
clear
();
//获取集团数据
if
(
localStorage
.
baseifo
)
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
RB_Group_Id
=
jObj
.
GroupId
;
}
else
{
this
.
getGroupData
();
}
//获取网站基础配置
if
(
localStorage
.
baseifo
)
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'baseifo'
));
...
...
@@ -61,9 +62,10 @@
this
.
baseinfo
.
name
=
jObj
.
Config
.
Name
;
this
.
baseinfo
.
nav
.
navs
=
jObj
.
HeaderList
;
this
.
baseinfo
.
nav
.
bg
=
jObj
.
Config
.
BgColor
;
this
.
dataList
=
jObj
;
this
.
dataList
=
jObj
;
}
else
{
this
.
getData
();
this
.
getConfigData
();
}
}
},
methods
:
{
...
...
@@ -81,6 +83,7 @@
"admin_get_GetGroupDomain"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
RB_Group_Id
=
res
.
data
.
data
.
GroupId
;
var
jsonData
=
JSON
.
stringify
(
res
.
data
.
data
);
window
.
localStorage
.
setItem
(
"groupinfo"
,
jsonData
);
}
...
...
@@ -88,10 +91,13 @@
err
=>
{}
);
},
getData
()
{
//获取网站配置数据
getConfigData
()
{
let
locationName
=
window
.
location
.
hostname
;
this
.
apipost
(
"ws_get_GetWebSiteConfig"
,
{
RB_Group_Id
:
this
.
RB_Group_Id
RB_Group_Id
:
this
.
RB_Group_Id
,
B2BDomain
:
locationName
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/pages/About.vue
View file @
3ca9fed3
...
...
@@ -236,10 +236,11 @@
};
},
created
()
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
RB_Group_Id
=
jObj
.
GroupId
;
},
mounted
()
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
getAbout
();
},
methods
:
{
...
...
@@ -252,7 +253,6 @@
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
)
{
this
.
AboutData
=
res
.
data
.
data
;
console
.
log
(
"AboutData"
,
this
.
AboutData
);
}
}
},
...
...
src/pages/Index.vue
View file @
3ca9fed3
<
template
>
<q-page>
<head-style1
v-if=
"styleType==1"
></head-style1>
<head-style2
v-if=
"styleType==2"
></head-style2>
<head-style3
v-if=
"styleType==3"
></head-style3>
<head-style4
v-if=
"styleType==4"
></head-style4>
<head-style5
v-if=
"styleType==5"
></head-style5>
<head-style6
v-if=
"styleType==6"
></head-style6>
<head-style7
v-if=
"styleType==7"
></head-style7>
<head-style8
v-if=
"styleType==8"
></head-style8>
<head-style9
v-if=
"styleType==9"
></head-style9>
<head-style10
v-if=
"styleType==10"
></head-style10>
<head-style11
v-if=
"styleType==11"
></head-style11>
<video-one></video-one>
<!--
<video-two></video-two>
-->
<diy-img-one></diy-img-one>
<diy-img-two></diy-img-two>
<diy-title></diy-title>
<paragraph></paragraph>
<!--
<swiper-big></swiper-big>
-->
<swiper-small></swiper-small>
<empty></empty>
<diy-img-three></diy-img-three>
<diy-img-four></diy-img-four>
<diy-img-five></diy-img-five>
<diy-img-six></diy-img-six>
<qr-left></qr-left>
<!--
<qr-right></qr-right>
-->
<about-center></about-center>
<!--
<about-left></about-left>
<about-right></about-right>
-->
<!--
<paragraph1></paragraph1>
-->
<!--
<paragraph2></paragraph2>
-->
<paragraph3></paragraph3>
<!--
<paragraph-left></paragraph-left>
-->
<!--
<paragraph-right></paragraph-right>
-->
<paragraph-after></paragraph-after>
<!--
<plink-left></plink-left>
-->
<plink-right></plink-right>
<!--
<ilink-left></ilink-left>
-->
<ilink-right></ilink-right>
<download-table></download-table>
<photo></photo>
<diy-form></diy-form>
<template
v-for=
"(item,index) in HomeData"
>
<div
:key=
"index"
>
<!--自訂版型(影片)-->
<videoOne
v-if=
"item.Id=='white_label_video'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></videoOne>
<videoTwo
v-if=
"item.Id=='white_label_video'&&item.plugData.Type==2"
:plugData=
"item.plugData"
></videoTwo>
<!--自訂版型(圖片)和挑選自有行程(圖片)-->
<diyImgOne
v-if=
"item.Id=='white_label_picture'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></diyImgOne>
<diyImgTwo
v-if=
"item.Id=='white_label_picture'&&item.plugData.Type==2"
:plugData=
"item.plugData"
></diyImgTwo>
<diyImgThree
v-if=
"item.Id=='white_label_picture'&&item.plugData.Type==3"
:plugData=
"item.plugData"
>
</diyImgThree>
<diyImgFour
v-if=
"item.Id=='white_label_picture'&&item.plugData.Type==4"
:plugData=
"item.plugData"
></diyImgFour>
<diyImgFive
v-if=
"item.Id=='white_label_picture'&&item.plugData.Type==5"
:plugData=
"item.plugData"
></diyImgFive>
<diyImgSix
v-if=
"item.Id=='white_label_picture'&&item.plugData.Type==6"
:plugData=
"item.plugData"
></diyImgSix>
<!--自訂版型(QRcode)white_label_qrcode-->
<qrLeft
v-if=
"item.Id=='white_label_qrcode'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></qrLeft>
<qrRight
v-if=
"item.Id=='white_label_qrcode'&&item.plugData.Type==2"
:plugData=
"item.plugData"
></qrRight>
<!--自訂版型(其他)white_label_other -Start-->
<empty
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></empty>
<downloadTable
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==2"
:plugData=
"item.plugData"
>
</downloadTable>
<diyTitle
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==3"
:plugData=
"item.plugData"
></diyTitle>
<paragraph
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==4"
:plugData=
"item.plugData"
></paragraph>
<photo
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==5"
:plugData=
"item.plugData"
></photo>
<!--待完善-->
<diyForm
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==6"
:plugData=
"item.plugData"
>
</diyForm>
<!--自訂版型(背景圖)white_label_background_article-->
<bgArticleLeft
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></bgArticleLeft>
<bgArticleRight
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==2"
:plugData=
"item.plugData"
></bgArticleRight>
<bgArticleCenter
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==3"
:plugData=
"item.plugData"
></bgArticleCenter>
<!--自訂版型(段落標題)-->
<paragraph1
v-if=
"item.Id=='white_label_paragraph_title'&&item.plugData.Type==1"
:plugData=
"item.plugData"
>
</paragraph1>
<paragraph2
v-if=
"item.Id=='white_label_paragraph_title'&&item.plugData.Type==2"
:plugData=
"item.plugData"
>
</paragraph2>
<paragraph3
v-if=
"item.Id=='white_label_paragraph_title'&&item.plugData.Type==3"
:plugData=
"item.plugData"
>
</paragraph3>
<paragraphleft
v-if=
"item.Id=='white_label_paragraph_title'&&item.plugData.Type==4"
:plugData=
"item.plugData"
>
</paragraphleft>
<paragraphright
v-if=
"item.Id=='white_label_paragraph_title'&&item.plugData.Type==5"
:plugData=
"item.plugData"
>
</paragraphright>
<paragraphafter
v-if=
"item.Id=='white_label_paragraph_title'&&item.plugData.Type==6"
:plugData=
"item.plugData"
>
</paragraphafter>
<!--自訂版型(段落連結)和挑選自有行程(段落連結) white_label_link_paragraph和b2b_LinkP -->
<plinkLeft
v-if=
"(item.Id=='white_label_link_paragraph'||item.Id=='b2b_LinkP')&&item.plugData.Type==1"
:plugData=
"item.plugData"
></plinkLeft>
<plinkRight
v-if=
"(item.Id=='white_label_link_paragraph'||item.Id=='b2b_LinkP')&&item.plugData.Type==2"
:plugData=
"item.plugData"
></plinkRight>
<!--自訂版型(圖片連結)和挑選自有行程(圖片連結)white_label_link_picture和b2b_LinkPicture-->
<ilinkLeft
v-if=
"(item.Id=='white_label_link_picture'||item.Id=='b2b_LinkPicture')&&item.plugData.Type==1"
:plugData=
"item.plugData"
></ilinkLeft>
<ilinkRight
v-if=
"(item.Id=='white_label_link_picture'||item.Id=='b2b_LinkPicture')&&item.plugData.Type==2"
:plugData=
"item.plugData"
></ilinkRight>
<!--自訂版型(輪播圖)white_label_slider-->
<sliderBig
v-if=
"item.Id=='white_label_slider'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></sliderBig>
<sliderSmall
v-if=
"item.Id=='white_label_slider'&&item.plugData.Type==2"
:plugData=
"item.plugData"
>
</sliderSmall>
<!--出团表-->
<!--挑选自有行程(图片)b2b -->
<diyImgOne
v-if=
"item.Id=='b2b'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></diyImgOne>
<diyImgTwo
v-if=
"item.Id=='b2b'&&item.plugData.Type==2"
:plugData=
"item.plugData"
></diyImgTwo>
<diyImgFour
v-if=
"item.Id=='b2b'&&item.plugData.Type==3"
:plugData=
"item.plugData"
></diyImgFour>
<diyImgSix
v-if=
"item.Id=='b2b'&&item.plugData.Type==4"
:plugData=
"item.plugData"
></diyImgSix>
<!--搜尋區塊(Banner)search_b -->
<searchb1
v-if=
"item.Id=='search_b'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></searchb1>
<searchb2
v-if=
"item.Id=='search_b'&&item.plugData.Type==2"
:plugData=
"item.plugData"
></searchb2>
<searchb3
v-if=
"item.Id=='search_b'&&item.plugData.Type==3"
:plugData=
"item.plugData"
></searchb3>
<searchb4
v-if=
"item.Id=='search_b'&&item.plugData.Type==4"
:plugData=
"item.plugData"
></searchb4>
<!--搜尋區塊(輪播淡出)search_sf -->
<searchsf1
v-if=
"item.Id=='search_sf'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></searchsf1>
<searchsf2
v-if=
"item.Id=='search_sf'&&item.plugData.Type==2"
:plugData=
"item.plugData"
></searchsf2>
<searchsf3
v-if=
"item.Id=='search_sf'&&item.plugData.Type==3"
:plugData=
"item.plugData"
></searchsf3>
<!--搜尋區塊(輪播橫)search_s -->
<searchsf1
v-if=
"item.Id=='search_s'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></searchsf1>
<searchsf2
v-if=
"item.Id=='search_s'&&item.plugData.Type==2"
:plugData=
"item.plugData"
></searchsf2>
<searchsf3
v-if=
"item.Id=='search_s'&&item.plugData.Type==3"
:plugData=
"item.plugData"
></searchsf3>
<!--搜尋區塊(其他)search_el -->
<searchel1
v-if=
"item.Id=='search_el'&&item.plugData.Type==1"
:plugData=
"item.plugData"
></searchel1>
<!--出團表group -->
<travelList
v-if=
"item.Id=='group'"
:plugData=
"item.plugData"
></travelList>
</div>
</
template
>
</q-page>
</template>
<
script
>
//搜尋區塊(輪播橫)search_s -Start
import
searchs1
from
"../components/search_s/search_s1"
;
import
searchs2
from
"../components/search_s/search_s2"
;
import
searchs3
from
"../components/search_s/search_s3"
;
//搜尋區塊(輪播橫)search_s -End
//搜尋區塊(Banner)search_b -Start
import
searchb1
from
"../components/search_b/search_b1"
;
import
searchb2
from
"../components/search_b/search_b2"
;
import
searchb3
from
"../components/search_b/search_b3"
;
import
searchb4
from
"../components/search_b/search_b4"
;
//搜尋區塊(Banner)search_b -End
//搜尋區塊(輪播淡出)search_sf -Start
import
searchsf1
from
"../components/search_sf/search_sf1"
;
import
searchsf2
from
"../components/search_sf/search_sf2"
;
import
searchsf3
from
"../components/search_sf/search_sf3"
;
//搜尋區塊(輪播淡出)search_sf -End
//搜尋區塊(其他)search_el -Start
import
searchel1
from
"../components/search_el/search_el1"
;
//搜尋區塊(其他)search_el -End
//自訂版型(影片)white_label_video -Start
import
videoOne
from
"../components/label_video/video-one"
;
import
videoTwo
from
"../components/label_video/video-two"
;
//自訂版型(影片)white_label_video -End
//自訂版型(圖片)和挑選自有行程(圖片) white_label_picture和b2b -Start
import
diyImgOne
from
"../components/label_picture/diy-img-one"
;
import
diyImgTwo
from
"../components/label_picture/diy-img-two"
;
import
diyImgThree
from
"../components/label_picture/diy-img-three"
;
import
diyImgFour
from
"../components/label_picture/diy-img-four"
;
import
diyImgFive
from
"../components/label_picture/diy-img-five"
;
import
diyImgSix
from
"../components/label_picture/diy-img-six"
;
//自訂版型(圖片)和挑選自有行程(圖片) white_label_picture和b2b -End
//自訂版型(QRcode)white_label_qrcode -Start
import
qrLeft
from
"../components/label_qrcode/left"
;
import
qrRight
from
"../components/label_qrcode/right"
;
//自訂版型(QRcode)white_label_qrcode -End
//自訂版型(背景圖)white_label_background_article -Start
import
bgArticleLeft
from
"../components/label_background_article/left"
;
import
bgArticleRight
from
"../components/label_background_article/right"
;
import
bgArticleCenter
from
"../components/label_background_article/center"
;
//自訂版型(背景圖)white_label_background_article -ENd
//自訂版型(段落標題)white_label_paragraph_title -Start
import
paragraph1
from
"../components/label_paragraph_title/paragraph1"
;
import
paragraph2
from
"../components/label_paragraph_title/paragraph2"
;
import
paragraph3
from
"../components/label_paragraph_title/paragraph3"
;
import
paragraphleft
from
"../components/label_paragraph_title/paragraph-left"
;
import
paragraphright
from
"../components/label_paragraph_title/paragraph-right"
;
import
paragraphafter
from
"../components/label_paragraph_title/paragraph-after"
;
//自訂版型(段落標題)white_label_paragraph_title -End
//自訂版型(段落連結)和挑選自有行程(段落連結)white_label_link_paragraph和b2b_LinkP -Start
import
plinkLeft
from
"../components/label_link_paragraph/left"
;
import
plinkRight
from
"../components/label_link_paragraph/right"
;
//自訂版型(段落連結)和挑選自有行程(段落連結)white_label_link_paragraph和b2b_LinkP -End
//自訂版型(圖片連結)和挑選自有行程(圖片連結)white_label_link_picture和b2b_LinkPicture -Start
import
ilinkLeft
from
"../components/label_link_picture/left"
;
import
ilinkRight
from
"../components/label_link_picture/right"
;
//自訂版型(圖片連結)和挑選自有行程(圖片連結)white_label_link_picture和b2b_LinkPicture -End
//自訂版型(輪播圖)white_label_slider -Start
import
sliderBig
from
"../components/label_slider/big"
;
import
sliderSmall
from
"../components/label_slider/small"
;
//自訂版型(輪播圖)white_label_slider -End
//自訂版型(其他)white_label_other-Start
import
empty
from
"../components/label_other/empty"
;
import
downloadTable
from
"../components/label_other/downloadTable"
;
import
diyTitle
from
"../components/label_other/diy-title"
;
import
paragraph
from
"../components/label_other/paragraph"
;
import
photo
from
"../components/label_other/photo"
;
import
diyForm
from
"../components/label_other/diy-form"
;
//自訂版型(其他)white_label_other-End
export
default
{
//出團表 group -Start
import
travelList
from
"../components/group/travel-list"
;
//出團表 group -End
//搜尋區塊(輪播橫)search_s -Start
import
searchs1
from
"../components/search_s/search_s1"
;
import
searchs2
from
"../components/search_s/search_s2"
;
import
searchs3
from
"../components/search_s/search_s3"
;
//搜尋區塊(輪播橫)search_s -End
//搜尋區塊(Banner)search_b -Start
import
searchb1
from
"../components/search_b/search_b1"
;
import
searchb2
from
"../components/search_b/search_b2"
;
import
searchb3
from
"../components/search_b/search_b3"
;
import
searchb4
from
"../components/search_b/search_b4"
;
//搜尋區塊(Banner)search_b -End
//搜尋區塊(輪播淡出)search_sf -Start
import
searchsf1
from
"../components/search_sf/search_sf1"
;
import
searchsf2
from
"../components/search_sf/search_sf2"
;
import
searchsf3
from
"../components/search_sf/search_sf3"
;
//搜尋區塊(輪播淡出)search_sf -End
//搜尋區塊(其他)search_el -Start
import
searchel1
from
"../components/search_el/search_el1"
;
//搜尋區塊(其他)search_el -End
//自訂版型(影片)white_label_video -Start
import
videoOne
from
"../components/label_video/video-one"
;
import
videoTwo
from
"../components/label_video/video-two"
;
//自訂版型(影片)white_label_video -End
//自訂版型(圖片)和挑選自有行程(圖片) white_label_picture和b2b -Start
import
diyImgOne
from
"../components/label_picture/diy-img-one"
;
import
diyImgTwo
from
"../components/label_picture/diy-img-two"
;
import
diyImgThree
from
"../components/label_picture/diy-img-three"
;
import
diyImgFour
from
"../components/label_picture/diy-img-four"
;
import
diyImgFive
from
"../components/label_picture/diy-img-five"
;
import
diyImgSix
from
"../components/label_picture/diy-img-six"
;
//自訂版型(圖片)和挑選自有行程(圖片) white_label_picture和b2b -End
//自訂版型(QRcode)white_label_qrcode -Start
import
qrLeft
from
"../components/label_qrcode/left"
;
import
qrRight
from
"../components/label_qrcode/right"
;
//自訂版型(QRcode)white_label_qrcode -End
//自訂版型(背景圖)white_label_background_article -Start
import
bgArticleLeft
from
"../components/label_background_article/left"
;
import
bgArticleRight
from
"../components/label_background_article/right"
;
import
bgArticleCenter
from
"../components/label_background_article/center"
;
//自訂版型(背景圖)white_label_background_article -ENd
//自訂版型(段落標題)white_label_paragraph_title -Start
import
paragraph1
from
"../components/label_paragraph_title/paragraph1"
;
import
paragraph2
from
"../components/label_paragraph_title/paragraph2"
;
import
paragraph3
from
"../components/label_paragraph_title/paragraph3"
;
import
paragraphleft
from
"../components/label_paragraph_title/paragraph-left"
;
import
paragraphright
from
"../components/label_paragraph_title/paragraph-right"
;
import
paragraphafter
from
"../components/label_paragraph_title/paragraph-after"
;
//自訂版型(段落標題)white_label_paragraph_title -End
//自訂版型(段落連結)和挑選自有行程(段落連結)white_label_link_paragraph和b2b_LinkP -Start
import
plinkLeft
from
"../components/label_link_paragraph/left"
;
import
plinkRight
from
"../components/label_link_paragraph/right"
;
//自訂版型(段落連結)和挑選自有行程(段落連結)white_label_link_paragraph和b2b_LinkP -End
//自訂版型(圖片連結)和挑選自有行程(圖片連結)white_label_link_picture和b2b_LinkPicture -Start
import
ilinkLeft
from
"../components/label_link_picture/left"
;
import
ilinkRight
from
"../components/label_link_picture/right"
;
//自訂版型(圖片連結)和挑選自有行程(圖片連結)white_label_link_picture和b2b_LinkPicture -End
//自訂版型(輪播圖)white_label_slider -Start
import
sliderBig
from
"../components/label_slider/big"
;
import
sliderSmall
from
"../components/label_slider/small"
;
//自訂版型(輪播圖)white_label_slider -End
//自訂版型(其他)white_label_other-Start
import
empty
from
"../components/label_other/empty"
;
import
downloadTable
from
"../components/label_other/downloadTable"
;
import
diyTitle
from
"../components/label_other/diy-title"
;
import
paragraph
from
"../components/label_other/paragraph"
;
import
photo
from
"../components/label_other/photo"
;
import
diyForm
from
"../components/label_other/diy-form"
;
export
default
{
name
:
"PageIndex"
,
components
:
{
searchs1
,
...
...
@@ -170,12 +225,37 @@ export default {
diyTitle
,
paragraph
,
photo
,
diyForm
diyForm
,
travelList
},
data
()
{
return
{
styleType
:
1
RB_Group_Id
:
0
,
HomeData
:
{},
};
},
mounted
()
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
getAbout
();
},
methods
:
{
getAbout
()
{
this
.
apipost
(
"ws_get_GetHomePage"
,
{
RB_Group_Id
:
this
.
RB_Group_Id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
)
{
this
.
HomeData
=
res
.
data
.
data
;
}
}
},
err
=>
{}
);
}
};
},
};
</
script
>
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