Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh-order-h5
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
李俊赕
wxh-order-h5
Commits
62b96740
Commit
62b96740
authored
Mar 05, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式优化
parent
43a5923f
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
209 deletions
+53
-209
XhFiles.vue
web/src/views/h5/shzhida/components/XhFiles.vue
+3
-67
XhInput.vue
web/src/views/h5/shzhida/components/XhInput.vue
+20
-38
XhSelect.vue
web/src/views/h5/shzhida/components/XhSelect.vue
+0
-43
XhServiceMore.vue
web/src/views/h5/shzhida/components/XhServiceMore.vue
+0
-42
XhSwitch.vue
web/src/views/h5/shzhida/components/XhSwitch.vue
+6
-15
XhTextarea.vue
web/src/views/h5/shzhida/components/XhTextarea.vue
+1
-3
service.vue
web/src/views/h5/shzhida/order/service.vue
+23
-1
No files found.
web/src/views/h5/shzhida/components/XhFiles.vue
View file @
62b96740
<
template
>
<div
class=
"input-item"
>
<div
class=
"label"
>
施工方案
<span
class=
"required"
>
*
</span></div>
<div
class=
"label"
>
{{
item
.
label
}}
<span
class=
"required"
>
*
</span></div>
<!--
<div
class=
"required"
>
*
</div>
-->
<div
class=
"input-box img-box"
>
<div
:key=
"index"
class=
"img-item"
v-for=
"(item, index) in imgList"
>
...
...
@@ -69,46 +69,17 @@ export default {
<
style
lang=
"less"
scoped
>
@import '~@/assets/css/func.less';
.input-item{
// display: flex;
width:100%;
padding:px2rem(10) 0;
text-align: left;
display: block!important;
}
.label{
font-size: px2rem(28);
line-height:px2rem(40);
text-align: left;
}
.input-box{
width:100%;
padding:px2rem(20) 0 0 px2rem(20);
min-height: px2rem(212);
background: #f3f3f3;
// flex:1;
display: flex;
// justify-content: flex-end;
}
.txt,.input{
display: inline-block;
margin-right:px2rem(10) ;
line-height:px2rem(40);
font-size: px2rem(20);;
color:#999;
}
.input{
margin-right:0;
width:px2rem(100);
}
.item{
margin-right:px2rem(20);
&:last-child{
margin-right: 0;
}
}
.required{
padding:0 px2rem(10);
line-height:px2rem(40);
font-size: px2rem(20);
color:red;
}
.img-box{
.img-item{
...
...
@@ -144,41 +115,6 @@ export default {
}
.upload-box{
position: relative;
// width:px2rem(160);
// height:px2rem(160);
// border: px2rem(4) dashed #d9d9d9;
// border-radius: 6px;
// cursor: pointer;
// position: relative;
// overflow: hidden;
// /deep/ .add-icon{
// &:before{
// content: '';
// position: absolute;
// left: 50%;
// top: 50%;
// width: px2rem(120);
// margin-left: px2rem(-60);
// margin-top: px2rem(-4);
// border-top: px2rem(8) solid #ddd;
// }
// &:after {
// content: '';
// position: absolute;
// left: 50%;
// top: 50%;
// height: px2rem(120);
// margin-left: px2rem(-8);
// margin-top: px2rem(-60);
// border-left: px2rem(8) solid #ddd;
// }
// width:px2rem(160);
// height:px2rem(160);
// }
.file-input{
// width:px2rem(160);
// height:px2rem(160);
}
}
</
style
>
web/src/views/h5/shzhida/components/XhInput.vue
View file @
62b96740
<
template
>
<div
class=
"input-item"
>
<div
class=
"label"
>
{{
item
.
label
}}
</div>
<div
class=
"required"
>
*
</div>
<div
class=
"input-box"
v-if=
"
inputLength>
0"
>
<input
placeholder=
"请输入数值
"
/>
<div
class=
"required"
v-if=
"item.required"
>
*
</div>
<div
class=
"input-box"
v-if=
"
!item.otherField || item.otherField.length
<
0
"
>
<input
class=
"input"
placeholder=
"请输入
"
/>
</div>
<div
class=
"input-box
"
v-if=
"inputLength
<1
"
>
<div
class=
"input-box
more"
v-else
>
<div
class=
"item"
>
<div
class=
"txt"
>
数值
</div>
<input
class=
"input"
placeholder=
"请输入
数值
"
/>
<input
class=
"input"
placeholder=
"请输入"
/>
</div>
<div
class=
"item"
>
<div
class=
"txt"
>
数值
</div>
<input
class=
"input"
placeholder=
"请输入
数值
"
/>
<input
class=
"input"
placeholder=
"请输入"
/>
</div>
<div
class=
"item"
>
<div
class=
"txt"
>
数值
</div>
<input
class=
"input"
placeholder=
"请输入
数值
"
/>
<input
class=
"input"
placeholder=
"请输入"
/>
</div>
</div>
...
...
@@ -59,42 +59,24 @@ export default {
<
style
lang=
"less"
scoped
>
@import '~@/assets/css/func.less';
.input-item{
display: flex;
width:100%;
padding:px2rem(20) 0;
}
.label{
font-size: px2rem(28);
line-height:px2rem(40);
}
.input-box{
flex:1;
display: flex;
justify-content: flex-end;
}
.txt,.input{
display: inline-block;
margin-right:px2rem(10) ;
line-height:px2rem(40);
font-size: px2rem(20);;
color:#999;
}
.input{
margin-right:0;
width:px2rem(100);
}
.item{
margin-right:px2rem(20);
&:last-child{
margin-right: 0;
&.more{
.input{
margin-right:0;
width:px2rem(100);
text-align: right;
}
.item{
display: flex;
margin-right:px2rem(20);
&:last-child{
margin-right: 0;
}
}
}
}
.required{
padding:0 px2rem(10);
line-height:px2rem(40);
font-size: px2rem(20);
color:red;
}
</
style
>
web/src/views/h5/shzhida/components/XhSelect.vue
View file @
62b96740
...
...
@@ -81,20 +81,9 @@ export default {
<
style
lang=
"less"
scoped
>
@import '~@/assets/css/func.less';
.input-item{
display: flex;
position: relative;
width:100%;
padding:px2rem(10) 0;
padding-right:px2rem(20)
}
.mint-cell-allow-right:after{
right:0;
}
.label{
font-size: px2rem(28);
line-height:px2rem(40);
}
.input-box{
flex:1;
display: flex;
...
...
@@ -109,20 +98,15 @@ export default {
padding:px2rem(10) px2rem(20);
}
.list-item{
// margin-right:px2rem(10) ;
padding:px2rem(10) 0;
border-top:px2rem(2) solid #fafafa;
line-height:px2rem(40);
font-size: px2rem(28);
color:#333;
// &:last-child{
// border-bottom: none;
// }
}
.select-title{
display: flex;
justify-content: space-between;
// padding:px2rem(10) px2rem(20);
.btn{
padding:px2rem(10) px2rem(20);
line-height:px2rem(40);
...
...
@@ -135,31 +119,4 @@ export default {
}
}
.txt,.input{
display: inline-block;
margin-right:px2rem(10) ;
line-height:px2rem(40);
font-size: px2rem(20);;
color:#999;
}
.input{
margin-right:0;
width:px2rem(100);
color:#333;
&.grey{
color:#999;
}
}
.item{
margin-right:px2rem(20);
&:last-child{
margin-right: 0;
}
}
.required{
padding:0 px2rem(10);
line-height:px2rem(40);
font-size: px2rem(20);
color:red;
}
</
style
>
web/src/views/h5/shzhida/components/XhServiceMore.vue
View file @
62b96740
...
...
@@ -202,15 +202,6 @@ export default {
.mint-cell-allow-right:after{
right:0;
}
.label{
font-size: px2rem(28);
line-height:px2rem(40);
}
.input-box{
flex:1;
display: flex;
justify-content: flex-end;
}
.mint-popup-bottom{
width:100%;
}
...
...
@@ -220,20 +211,15 @@ export default {
padding:px2rem(10) px2rem(20);
}
.list-item{
// margin-right:px2rem(10) ;
padding:px2rem(10) 0;
border-top:px2rem(2) solid #fafafa;
line-height:px2rem(40);
font-size: px2rem(28);
color:#333;
// &:last-child{
// border-bottom: none;
// }
}
.select-title{
display: flex;
justify-content: space-between;
// padding:px2rem(10) px2rem(20);
.btn{
padding:px2rem(10) px2rem(20);
line-height:px2rem(40);
...
...
@@ -245,32 +231,4 @@ export default {
}
}
}
.txt,.input{
display: inline-block;
margin-right:px2rem(10) ;
line-height:px2rem(40);
font-size: px2rem(20);;
color:#999;
}
.input{
margin-right:0;
width:px2rem(100);
color:#333;
&.grey{
color:#999;
}
}
.item{
margin-right:px2rem(20);
&:last-child{
margin-right: 0;
}
}
.required{
padding:0 px2rem(10);
line-height:px2rem(40);
font-size: px2rem(20);
color:red;
}
</
style
>
web/src/views/h5/shzhida/components/XhSwitch.vue
View file @
62b96740
...
...
@@ -45,11 +45,11 @@ export default {
<
style
lang=
"less"
scoped
>
@import '~@/assets/css/func.less';
.input-item{
display: flex;
width:100%;
padding:px2rem(10) 0;
}
//
.input-item{
//
display: flex;
//
width:100%;
//
padding:px2rem(10) 0;
//
}
/deep/ .mint-switch{
.mint-switch-core{
width: px2rem(79);
...
...
@@ -71,20 +71,11 @@ export default {
color:#999;
}
}
.label{
font-size: px2rem(28);
line-height:px2rem(40);
}
.input-box{
flex:1;
display: flex;
justify-content: flex-end;
}
.required{
padding:0 px2rem(10);
line-height:px2rem(40);
font-size: px2rem(20);
color:red;
}
</
style
>
web/src/views/h5/shzhida/components/XhTextarea.vue
View file @
62b96740
...
...
@@ -63,9 +63,7 @@ textarea{
line-height:px2rem(40);
}
.input-item{
display: block;
width:100%;
padding:px2rem(10) 0;
display: block!important;
}
.required{
padding:0 px2rem(10);
...
...
web/src/views/h5/shzhida/order/service.vue
View file @
62b96740
...
...
@@ -312,13 +312,35 @@ export default {
}
}
/deep/ .input-item{
padding:px2rem(15) 0;
position: relative;
display: flex;
width:100%;
padding:px2rem(18) 0;
.txt,.input{
font-size: px2rem(28);
}
.mint-cell-allow-right{
margin-left:px2rem(20) ;
}
.label{
font-size: px2rem(28);
line-height:px2rem(40);
}
.txt,.input{
width:100%;
display: inline-block;
margin-right:px2rem(10) ;
line-height:px2rem(40);
font-size: px2rem(28);
text-align: right;
color:#666;
}
.required{
padding:0 px2rem(5);
line-height:px2rem(40);
font-size: px2rem(20);
color:red;
}
}
// .mint-popup{
// width: 100%;
...
...
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