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
5a94f54a
Commit
5a94f54a
authored
Jul 15, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
41473c5b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
18 deletions
+25
-18
travel-list.vue
src/components/group/travel-list.vue
+0
-1
style2.vue
src/components/trip/style2.vue
+2
-2
Index.vue
src/pages/Index.vue
+18
-15
index.js
src/router/index.js
+5
-0
No files found.
src/components/group/travel-list.vue
View file @
5a94f54a
...
...
@@ -102,7 +102,6 @@
</q-item>
<q-item>
<q-item-section>
<q-btn
type=
"a"
@
click=
"getUrl(props.row.LinkUrl)"
target=
"_blank"
:label=
"props.row.Seat>0||props.row.Substitute?'我有興趣':'無法預訂'"
:color=
"props.row.Seat>0||props.row.Substitute?'indigo':'grey'"
rounded
unelevated
...
...
src/components/trip/style2.vue
View file @
5a94f54a
...
...
@@ -104,7 +104,7 @@
<ul
class=
"tour-detail-list"
>
<li>
行程編號:
<template
v-if=
"dataList.currentPriceInfo&&dataList.currentPriceInfo.tcnum"
>
{{
dataList
.
currentPriceInfo
.
tcnum
}}
{{
dataList
.
currentPriceInfo
.
tcnum
.
toUpperCase
()
}}
</
template
></li>
<li>
旅遊地點:{{dataList.countryName}}
</li>
<li>
旅遊天數:{{dataList.dayNum}}天
</li>
...
...
@@ -114,7 +114,7 @@
</
template
>
</li>
<li
style=
"margin-top:30px;"
>
<q-btn
style=
"width:115px;"
type=
"a"
label=
"立即预定"
color=
"primary"
@
click=
"buyNow()"
/>
<q-btn
v-if=
"dataList.currentPriceInfo&&dataList.currentPriceInfo.tcnum"
style=
"width:115px;"
type=
"a"
label=
"立即预定"
color=
"primary"
@
click=
"buyNow()"
/>
</li>
</ul>
</div>
...
...
src/pages/Index.vue
View file @
5a94f54a
...
...
@@ -24,7 +24,8 @@
<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"
:TCID=
"0"
>
</diyForm>
<diyForm
v-if=
"item.Id=='white_label_other'&&item.plugData.Type==6"
:plugData=
"item.plugData"
:TCID=
"0"
>
</diyForm>
<!--自訂版型(背景圖)white_label_background_article-->
<bgArticleLeft
v-if=
"item.Id=='white_label_background_article'&&item.plugData.Type==1"
...
...
@@ -244,11 +245,13 @@
},
methods
:
{
getHomeData
()
{
if
(
this
.
RB_Group_Id
>
0
)
{
let
locationName
=
window
.
location
.
hostname
;
var
msg
=
{
RB_Group_Id
:
this
.
RB_Group_Id
,
B2BDomain
:
locationName
};
this
.
apipost
(
"ws_get_GetHomePage"
,
{
RB_Group_Id
:
this
.
RB_Group_Id
},
"ws_get_GetHomePage"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
)
{
...
...
@@ -258,7 +261,7 @@
},
err
=>
{}
);
}
}
},
};
...
...
src/router/index.js
View file @
5a94f54a
...
...
@@ -5,6 +5,11 @@ import routes from './routes'
Vue
.
use
(
VueRouter
)
const
routerPush
=
VueRouter
.
prototype
.
push
VueRouter
.
prototype
.
push
=
function
push
(
location
)
{
return
routerPush
.
call
(
this
,
location
).
catch
(
error
=>
error
)
}
/*
* If not building with SSR mode, you can
* directly export the Router instantiation;
...
...
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