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
87cc3112
Commit
87cc3112
authored
Jul 09, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
dc8110da
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
27 deletions
+36
-27
diy-form.vue
src/components/label_other/diy-form.vue
+5
-4
style2.vue
src/components/trip/style2.vue
+0
-3
style5.vue
src/components/trip/style5.vue
+6
-5
style6.vue
src/components/trip/style6.vue
+25
-15
No files found.
src/components/label_other/diy-form.vue
View file @
87cc3112
<
style
>
<
style
>
.mydiy-form
.q-mb-lg
{
.mydiy-form
.q-mb-lg
{
margin-top
:
11px
;
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
</
style
>
</
style
>
...
@@ -8,17 +9,17 @@
...
@@ -8,17 +9,17 @@
<div
class=
"form1 section-block"
>
<div
class=
"form1 section-block"
>
<h2
class=
"block-title q-mb-lg"
>
專人服務
</h2>
<h2
class=
"block-title q-mb-lg"
>
專人服務
</h2>
<q-form
class=
"q-gutter-md"
ref=
"myform"
>
<q-form
class=
"q-gutter-md"
ref=
"myform"
>
<div
class=
"row q-gutter-xl
desktop-only
q-mb-lg q-pl-md"
v-if=
"!$q.screen.xs"
>
<div
class=
"row q-gutter-xl q-mb-lg q-pl-md"
v-if=
"!$q.screen.xs"
>
<q-input
filled
v-model=
"params.Name"
label=
"如何稱呼您"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.Name"
label=
"如何稱呼您"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的稱呼']"
/>
:rules=
"[ val => val && val.length > 0 || '請填寫您的稱呼']"
/>
<q-input
filled
v-model=
"params.Mobile"
label=
"聯絡電話"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.Mobile"
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"
v-if=
"$q.screen.xs"
>
<div
class=
"row q-mb-lg"
v-if=
"$q.screen.xs"
>
<q-input
filled
v-model=
"params.Name"
label=
"如何稱呼您"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.Name"
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"
v-if=
"$q.screen.xs"
>
<div
class=
"row q-mb-lg"
v-if=
"$q.screen.xs"
>
<q-input
filled
v-model=
"params.Mobile"
label=
"聯絡電話"
class=
"col"
lazy-rules
<q-input
filled
v-model=
"params.Mobile"
label=
"聯絡電話"
class=
"col"
lazy-rules
:rules=
"[ val => val && val.length > 0 || '請填寫您的聯絡電話哦']"
/>
:rules=
"[ val => val && val.length > 0 || '請填寫您的聯絡電話哦']"
/>
</div>
</div>
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
<q-input
filled
v-model=
"params.Remarks"
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"
@
click=
"onSubmit"
/>
<q-btn
type=
"submit"
unelevated
color=
"primary"
s
tyle=
"margin-top:5px;"
s
ize=
"lg"
label=
"送出"
class=
"col"
@
click=
"onSubmit"
/>
</div>
</div>
</q-form>
</q-form>
</div>
</div>
...
...
src/components/trip/style2.vue
View file @
87cc3112
...
@@ -73,9 +73,6 @@
...
@@ -73,9 +73,6 @@
.Style2_main
{
.Style2_main
{
padding
:
0
;
padding
:
0
;
}
}
/* .travle_page{
width:100%!important;
} */
}
}
</
style
>
</
style
>
...
...
src/components/trip/style5.vue
View file @
87cc3112
...
@@ -39,21 +39,22 @@
...
@@ -39,21 +39,22 @@
}
}
.expense
{
.expense
{
display
:
flex
;
/* display: flex; */
margin
:
30px
auto
;
margin
:
30px
auto
;
width
:
100%
;
width
:
100%
;
}
}
.detail-box
.expense
.left
{
.detail-box
.expense
.left
{
width
:
1
20px
;
width
:
1
00%
;
text-align
:
center
;
text-align
:
center
;
font-size
:
"18px"
;
font-size
:
17px
;
margin-bottom
:
20px
;
font-family
:
PingFangR
;
font-family
:
PingFangR
;
}
}
.detail-box
.expense
.right
{
.detail-box
.expense
.right
{
-webkit-box-flex
:
1
;
/*
-webkit-box-flex: 1;
flex
:
1
;
flex: 1;
*/
overflow
:
hidden
;
overflow
:
hidden
;
font-size
:
16px
;
font-size
:
16px
;
line-height
:
25px
;
line-height
:
25px
;
...
...
src/components/trip/style6.vue
View file @
87cc3112
...
@@ -210,7 +210,7 @@
...
@@ -210,7 +210,7 @@
<div
class=
"detail_title"
>
<div
class=
"detail_title"
>
{{
item
.
title
}}
{{
item
.
title
}}
</div>
</div>
<div
class=
"detail_content6"
:class=
"
{'isHiden6':
getHeight(item)
.isShow
&&
item.MyContent.length>100}">
<div
class=
"detail_content6"
:class=
"
{'isHiden6':
item
.isShow
&&
item.MyContent.length>100}">
<div
v-for=
"(childItem,chiIndex) in item.details"
:key=
"chiIndex"
>
<div
v-for=
"(childItem,chiIndex) in item.details"
:key=
"chiIndex"
>
【
{{
childItem
.
title
}}
】
{{
childItem
.
content
}}
【
{{
childItem
.
title
}}
】
{{
childItem
.
content
}}
</div>
</div>
...
@@ -488,7 +488,17 @@
...
@@ -488,7 +488,17 @@
this
.
$set
(
this
.
tripList
,
j
,
x
)
this
.
$set
(
this
.
tripList
,
j
,
x
)
x
.
dateTime
=
this
.
setDate
(
j
);
x
.
dateTime
=
this
.
setDate
(
j
);
x
.
myIndex
=
1
;
x
.
myIndex
=
1
;
x
.
isShow
=
true
;
if
(
localStorage
.
baseifo
)
{
this
.
TripConfig
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'baseifo'
));
}
if
(
this
.
TripConfig
){
if
(
this
.
TripConfig
.
TripConfig
.
TripDayIsOpen
==
1
){
x
.
isShow
=
false
}
else
{
x
.
isShow
=
true
;
}
}
})
})
this
.
tripList
.
forEach
(
x
=>
{
this
.
tripList
.
forEach
(
x
=>
{
let
str
=
''
let
str
=
''
...
@@ -532,19 +542,19 @@
...
@@ -532,19 +542,19 @@
},
},
computed
:{
computed
:{
getHeight
(){
getHeight
(){
if
(
localStorage
.
baseifo
)
{
//
if (localStorage.baseifo) {
this
.
TripConfig
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'baseifo'
));
//
this.TripConfig = JSON.parse(window.localStorage.getItem('baseifo'));
}
//
}
return
function
(
item
)
{
//
return function (item) {
if
(
this
.
TripConfig
){
//
if(this.TripConfig){
if
(
this
.
TripConfig
.
TripConfig
.
TripDayIsOpen
==
1
){
//
if(this.TripConfig.TripConfig.TripDayIsOpen==1){
item
.
isShow
=
false
//
item.isShow=false
}
else
{
//
}else{
item
.
isShow
=
true
//
item.isShow=true
}
//
}
}
//
}
return
item
//
return item
}
//
}
}
}
}
}
};
};
...
...
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