| | |
| | | placeholder="请输入" |
| | | ></u-input> |
| | | </u-form-item> |
| | | <u-button class="submit-button-wrapper" color="#1D6FE9" size="large" @click="submitForm"> |
| | | 注册 |
| | | </u-button> |
| | | <!-- 飞行器型号 --> |
| | | <u-picker |
| | | :show="showType" |
| | | :columns="[typeList]" |
| | | keyName="label" |
| | | @confirm="onPickerConfirmType" |
| | | @cancel="showType = false" |
| | | /> |
| | | <!-- 飞行器厂商 --> |
| | | <u-picker |
| | | :show="showManufacturer" |
| | | :columns="[manufacturerList]" |
| | | keyName="label" |
| | | @confirm="onPickerConfirmManufacturer" |
| | | @cancel="showManufacturer = false" |
| | | /> |
| | | <u-picker |
| | | :show="showIsModified" |
| | | :columns="[actionsModified]" |
| | | keyName="label" |
| | | @confirm="onPickerConfirm" |
| | | @cancel="showIsModified = false" |
| | | /> |
| | | <u-picker |
| | | :show="showHasInsurance" |
| | | :columns="[actionsHasInsurance]" |
| | | keyName="label" |
| | | @confirm="onPickerConfirmHasInsurance" |
| | | @cancel="showHasInsurance = false" |
| | | /> |
| | | <u-datetime-picker |
| | | :show="showPurchaseDate" |
| | | v-model="birthdayValue" |
| | | mode="date" |
| | | @confirm="onPurchaseDate" |
| | | @cancel="showPurchaseDate = false" |
| | | /> |
| | | <!-- 所属区域 --> |
| | | <u-cascader |
| | | show="show" |
| | | v-model="value" |
| | | :data="areaData" |
| | | ></u-cascader> |
| | | <!-- 飞行器型号 --> |
| | | <u-picker |
| | | :show="showType" |
| | | :columns="[typeList]" |
| | | keyName="label" |
| | | @confirm="onPickerConfirmType" |
| | | @cancel="showType = false" |
| | | /> |
| | | <!-- 飞行器厂商 --> |
| | | <u-picker |
| | | :show="showManufacturer" |
| | | :columns="[manufacturerList]" |
| | | keyName="label" |
| | | @confirm="onPickerConfirmManufacturer" |
| | | @cancel="showManufacturer = false" |
| | | /> |
| | | <u-picker |
| | | :show="showIsModified" |
| | | :columns="[actionsModified]" |
| | | keyName="label" |
| | | @confirm="onPickerConfirm" |
| | | @cancel="showIsModified = false" |
| | | /> |
| | | <u-picker |
| | | :show="showHasInsurance" |
| | | :columns="[actionsHasInsurance]" |
| | | keyName="label" |
| | | @confirm="onPickerConfirmHasInsurance" |
| | | @cancel="showHasInsurance = false" |
| | | /> |
| | | <u-datetime-picker |
| | | :show="showPurchaseDate" |
| | | v-model="birthdayValue" |
| | | mode="date" |
| | | @confirm="onPurchaseDate" |
| | | @cancel="showPurchaseDate = false" |
| | | /> |
| | | <!-- 所属区域 --> |
| | | <u-cascader |
| | | show="show" |
| | | v-model="value" |
| | | :data="areaData" |
| | | ></u-cascader> |
| | | </u-form> |
| | | <u-button @click="submitForm" color="#1D6FE9">提交</u-button> |
| | | <!-- <u-button class="submit-button-wrapper" color="#1D6FE9" size="large" @click="submitForm"> |
| | | 注册 |
| | | </u-button> --> |
| | | </view> |
| | | </template> |
| | | <script setup> |
| | |
| | | padding: 24rpx; |
| | | } |
| | | |
| | | .submit-button-wrapper { |
| | | :deep(.u-button) { |
| | | width: 80%; |
| | | padding: 28rpx; |
| | | border-radius: 8rpx 8rpx 8rpx 8rpx; |
| | | margin-bottom: 20rpx; |
| | | } |
| | | |
| | | :deep(.u-form-item) { |