梁航:表单与个人样式,表单验证测试

This commit is contained in:
hot777zz
2023-11-13 23:43:03 +08:00
parent 4c9e08509d
commit 13d7ba738b
11 changed files with 113 additions and 40 deletions

View File

@@ -6,10 +6,16 @@
</u-form-item>
<u-form-item label="区域" label-position="top" border-bottom="true" label-width="100%" right-icon="arrow-right">
<text @click="show1 = true" class="checktext">请选择所属区域</text>
<view class="arrow-icon">
<u-icon name="arrow-right" size="30px"></u-icon>
</view>
<u-picker mode="region" :show="show1" :closeOnClickOverlay="true" @close="show1 = false"></u-picker>
</u-form-item>
<u-form-item label="业态" label-position="top" border-bottom="true" label-width="100%">
<text @click="show3 = true" class="checktext">请选择行业业态</text>
<view class="arrow-icon">
<u-icon name="arrow-right" size="30px"></u-icon>
</view>
<u-picker mode="region" :show="show3" :closeOnClickOverlay="true" @close="show3 = false"></u-picker>
</u-form-item>
<u-form-item label="面积" label-position="top" border-bottom="true" label-width="100%">
@@ -118,6 +124,8 @@
justify-content: space-between;
}
.arrow-icon{
float: right;
position: absolute;
right: 10rpx;
transform: translateY(-20rpx);
}
</style>