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
Expand all
Hide 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 @@
...
@@ -4,28 +4,28 @@
<h2
class=
"block-title q-mb-lg"
>
專人服務
</h2>
<h2
class=
"block-title q-mb-lg"
>
專人服務
</h2>
<q-form
@
submit=
"onSubmit"
class=
"q-gutter-md"
>
<q-form
@
submit=
"onSubmit"
class=
"q-gutter-md"
>
<div
class=
"row q-gutter-xl desktop-only q-mb-lg q-pl-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 || '請填寫您的稱呼']"
/>
: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 || '請填寫您的聯絡電話哦']"
/>
:rules=
"[ val => val && val.length > 0 || '請填寫您的聯絡電話哦']"
/>
</div>
</div>
<div
class=
"row mobile-only q-mb-lg"
>
<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 || '請填寫您的稱呼']"
/>
:rules=
"[ val => val && val.length > 0 || '請填寫您的稱呼']"
/>
</div>
</div>
<div
class=
"row mobile-only q-mb-lg"
>
<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 || '請填寫您的聯絡電話哦']"
/>
:rules=
"[ val => val && val.length > 0 || '請填寫您的聯絡電話哦']"
/>
</div>
</div>
<div
class=
"row q-mb-lg"
>
<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哦']"
/>
:rules=
"[ val => val && val.length > 0 || '請填寫您的聯絡E-Mail哦']"
/>
</div>
</div>
<div
class=
"row q-mb-lg"
>
<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>
<div
class=
"row q-mb-lg"
>
<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>
</div>
</q-form>
</q-form>
</div>
</div>
...
@@ -37,21 +37,36 @@
...
@@ -37,21 +37,36 @@
data
()
{
data
()
{
return
{
return
{
params
:
{
params
:
{
name
:
""
,
Name
:
""
,
phone
:
""
,
Mobile
:
""
,
eMail
:
""
,
EMail
:
""
,
remark
:
""
Remarks
:
""
,
RB_Group_Id
:
0
,
}
}
};
};
},
},
methods
:
{
methods
:
{
onSubmit
()
{
onSubmit
()
{
this
.
$q
.
notify
({
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
color
:
"green-4"
,
this
.
params
.
RB_Group_Id
=
jObj
.
GroupId
;
textColor
:
"white"
,
this
.
apipost
(
icon
:
"cloud_done"
,
"ws_post_SetService"
,
this
.
params
,
message
:
"提交成功"
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"
,
icon
:
"cloud_done"
,
message
:
"提交成功"
});
}
},
err
=>
{}
);
}
}
}
}
};
};
...
...
src/components/navs/hor-btm.vue
View file @
3ca9fed3
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
<div
class=
"footer-top"
>
<div
class=
"footer-top"
>
<div
class=
"footer-link"
>
<div
class=
"footer-link"
>
<ul
class=
"hor_footuu"
>
<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"
>
<li
class=
"other_li"
v-for=
"(item,index) in dataList.FooterList"
:key=
"index"
>
<a
@
click=
"CommonJump(item.url,
{})">
{{
item
.
title
}}
</a>
<a
@
click=
"CommonJump(item.url,
{})">
{{
item
.
title
}}
</a>
</li>
</li>
...
...
src/components/search_el/search_el1.vue
View file @
3ca9fed3
...
@@ -234,7 +234,6 @@
...
@@ -234,7 +234,6 @@
data
()
{
data
()
{
return
{
return
{
slide
:
0
,
slide
:
0
,
searchKey
:
""
,
searchKey
:
""
,
searchDate
:
""
,
searchDate
:
""
,
searchEndDate
:
""
,
searchEndDate
:
""
,
...
...
src/layouts/HomeLayout.vue
View file @
3ca9fed3
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
dataList
:
{},
dataList
:
{},
//集团编号
//集团编号
RB_Group_Id
:
0
,
RB_Group_Id
:
0
,
};
};
},
},
created
()
{
created
()
{
...
@@ -47,23 +48,24 @@
...
@@ -47,23 +48,24 @@
})
})
},
},
mounted
()
{
mounted
()
{
localStorage
.
clear
();
//获取集团数据
//获取集团数据
if
(
localStorage
.
baseifo
)
{
if
(
localStorage
.
baseifo
)
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
RB_Group_Id
=
jObj
.
GroupId
;
}
else
{
}
else
{
this
.
getGroupData
();
this
.
getGroupData
();
}
//获取网站基础配置
//获取网站基础配置
if
(
localStorage
.
baseifo
)
{
if
(
localStorage
.
baseifo
)
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'baseifo'
));
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'baseifo'
))
;
this
.
baseinfo
.
logo
=
jObj
.
Config
.
Logo
;
this
.
baseinfo
.
logo
=
jObj
.
Config
.
Logo
;
this
.
baseinfo
.
name
=
jObj
.
Config
.
Name
;
this
.
baseinfo
.
name
=
jObj
.
Config
.
Name
;
this
.
baseinfo
.
nav
.
navs
=
jObj
.
HeaderList
;
this
.
baseinfo
.
nav
.
navs
=
jObj
.
HeaderList
;
this
.
baseinfo
.
nav
.
bg
=
jObj
.
Config
.
BgColor
;
this
.
baseinfo
.
nav
.
bg
=
jObj
.
Config
.
BgColor
;
this
.
dataList
=
jObj
;
this
.
dataList
=
jObj
;
}
else
{
}
else
{
this
.
getConfigData
();
this
.
getData
();
}
}
}
},
},
methods
:
{
methods
:
{
...
@@ -81,6 +83,7 @@
...
@@ -81,6 +83,7 @@
"admin_get_GetGroupDomain"
,
msg
,
"admin_get_GetGroupDomain"
,
msg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
RB_Group_Id
=
res
.
data
.
data
.
GroupId
;
var
jsonData
=
JSON
.
stringify
(
res
.
data
.
data
);
var
jsonData
=
JSON
.
stringify
(
res
.
data
.
data
);
window
.
localStorage
.
setItem
(
"groupinfo"
,
jsonData
);
window
.
localStorage
.
setItem
(
"groupinfo"
,
jsonData
);
}
}
...
@@ -88,10 +91,13 @@
...
@@ -88,10 +91,13 @@
err
=>
{}
err
=>
{}
);
);
},
},
getData
()
{
//获取网站配置数据
getConfigData
()
{
let
locationName
=
window
.
location
.
hostname
;
this
.
apipost
(
this
.
apipost
(
"ws_get_GetWebSiteConfig"
,
{
"ws_get_GetWebSiteConfig"
,
{
RB_Group_Id
:
this
.
RB_Group_Id
RB_Group_Id
:
this
.
RB_Group_Id
,
B2BDomain
:
locationName
},
},
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/pages/About.vue
View file @
3ca9fed3
...
@@ -99,11 +99,11 @@
...
@@ -99,11 +99,11 @@
</template>
</template>
<
script
>
<
script
>
//出團表 group -Start
//出團表 group -Start
import
travelList
from
"../components/group/travel-list"
;
import
travelList
from
"../components/group/travel-list"
;
//出團表 group -End
//出團表 group -End
//搜尋區塊(輪播橫)search_s -Start
//搜尋區塊(輪播橫)search_s -Start
import
searchs1
from
"../components/search_s/search_s1"
;
import
searchs1
from
"../components/search_s/search_s1"
;
import
searchs2
from
"../components/search_s/search_s2"
;
import
searchs2
from
"../components/search_s/search_s2"
;
import
searchs3
from
"../components/search_s/search_s3"
;
import
searchs3
from
"../components/search_s/search_s3"
;
//搜尋區塊(輪播橫)search_s -End
//搜尋區塊(輪播橫)search_s -End
...
@@ -236,10 +236,11 @@
...
@@ -236,10 +236,11 @@
};
};
},
},
created
()
{
created
()
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
RB_Group_Id
=
jObj
.
GroupId
;
},
},
mounted
()
{
mounted
()
{
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'groupinfo'
));
this
.
RB_Group_Id
=
jObj
.
GroupId
;
this
.
getAbout
();
this
.
getAbout
();
},
},
methods
:
{
methods
:
{
...
@@ -252,7 +253,6 @@
...
@@ -252,7 +253,6 @@
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
)
{
if
(
res
.
data
.
data
)
{
this
.
AboutData
=
res
.
data
.
data
;
this
.
AboutData
=
res
.
data
.
data
;
console
.
log
(
"AboutData"
,
this
.
AboutData
);
}
}
}
}
},
},
...
...
src/pages/Index.vue
View file @
3ca9fed3
This diff is collapsed.
Click to expand it.
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