|
@@ -3,7 +3,7 @@
|
|
<view class="content">
|
|
<view class="content">
|
|
<view class="popup-content">
|
|
<view class="popup-content">
|
|
<uni-forms ref="baseForm" :modelValue="formData">
|
|
<uni-forms ref="baseForm" :modelValue="formData">
|
|
- <uni-forms-item label="分类">
|
|
|
|
|
|
+ <uni-forms-item label="分类" class="formItem">
|
|
<ld-select
|
|
<ld-select
|
|
:list="typeList"
|
|
:list="typeList"
|
|
placeholder="请选择分类"
|
|
placeholder="请选择分类"
|
|
@@ -14,7 +14,11 @@
|
|
@change="onChangeType"
|
|
@change="onChangeType"
|
|
/>
|
|
/>
|
|
</uni-forms-item>
|
|
</uni-forms-item>
|
|
- <uni-forms-item v-show="currentType.type == 0" label="项目">
|
|
|
|
|
|
+ <uni-forms-item
|
|
|
|
+ v-show="currentType.type == 0"
|
|
|
|
+ label="项目"
|
|
|
|
+ class="formItem"
|
|
|
|
+ >
|
|
<comboxSearch
|
|
<comboxSearch
|
|
emptyTips="无匹配项"
|
|
emptyTips="无匹配项"
|
|
placeholder="请选择项目"
|
|
placeholder="请选择项目"
|
|
@@ -34,7 +38,7 @@
|
|
@change="onChangeProject"
|
|
@change="onChangeProject"
|
|
/> -->
|
|
/> -->
|
|
</uni-forms-item>
|
|
</uni-forms-item>
|
|
- <uni-forms-item label="子类">
|
|
|
|
|
|
+ <uni-forms-item label="子类" class="formItem">
|
|
<ld-select
|
|
<ld-select
|
|
:list="subTypeList"
|
|
:list="subTypeList"
|
|
placeholder="请选择子类"
|
|
placeholder="请选择子类"
|
|
@@ -46,7 +50,7 @@
|
|
@change="onChangeSubType"
|
|
@change="onChangeSubType"
|
|
/>
|
|
/>
|
|
</uni-forms-item>
|
|
</uni-forms-item>
|
|
- <uni-forms-item label="日期">
|
|
|
|
|
|
+ <uni-forms-item label="日期" class="formItem">
|
|
<view class="date">{{ this.day }}</view>
|
|
<view class="date">{{ this.day }}</view>
|
|
</uni-forms-item>
|
|
</uni-forms-item>
|
|
</uni-forms>
|
|
</uni-forms>
|
|
@@ -203,9 +207,10 @@ export default {
|
|
}
|
|
}
|
|
.date {
|
|
.date {
|
|
line-height: 70rpx;
|
|
line-height: 70rpx;
|
|
|
|
+ padding: 0 20rpx;
|
|
}
|
|
}
|
|
.popup-content {
|
|
.popup-content {
|
|
- padding: 40rpx;
|
|
|
|
|
|
+ padding: 0 40rpx;
|
|
}
|
|
}
|
|
.group {
|
|
.group {
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -218,15 +223,38 @@ export default {
|
|
border-radius: 0;
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.formItem {
|
|
|
|
+ border-bottom: 1rpx solid #eee;
|
|
|
|
+}
|
|
|
|
+::v-deep {
|
|
|
|
+ .uni-forms-item__inner {
|
|
|
|
+ padding: 20rpx 0;
|
|
|
|
+ }
|
|
|
|
+ .uni-combox {
|
|
|
|
+ border: 0;
|
|
|
|
+ }
|
|
|
|
+ .uni-combox__input-box {
|
|
|
|
+ padding: 10rpx 20rpx;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+// .select {
|
|
|
|
+// width: 100%;
|
|
|
|
+// margin-bottom: 25rpx;
|
|
|
|
+// background: #fff;
|
|
|
|
+// height: 70rpx;
|
|
|
|
+// color: #777777;
|
|
|
|
+// padding-left: 20rpx;
|
|
|
|
+// font-size: 24rpx;
|
|
|
|
+// border-radius: 0px;
|
|
|
|
+// border-bottom: 1px solid #333;
|
|
|
|
+// }
|
|
|
|
+
|
|
.select {
|
|
.select {
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+ align-items: center;
|
|
width: 100%;
|
|
width: 100%;
|
|
- margin-bottom: 25rpx;
|
|
|
|
- background: #fff;
|
|
|
|
- height: 70rpx;
|
|
|
|
- color: #777777;
|
|
|
|
- padding-left: 20rpx;
|
|
|
|
- font-size: 24rpx;
|
|
|
|
- border-radius: 0px;
|
|
|
|
- border-bottom: 1px solid #333;
|
|
|
|
|
|
+ height: 72rpx;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|