123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <template>
- <view class="box">
- <view class="from">
- <u-form :model="form" ref="uForm">
- <u-form-item>
- <view class="from_item">
- <text><text style="color: red;">*</text>请选择发票抬头:</text>
- <view style="display: flex;" @click="toheaderPage">
- <u-input v-model="form.InvoiceHeader" class="input" placeholder="请选择" disabled />
- <u-icon name="arrow-right" style="margin-left: 10px;"></u-icon>
- </view>
- </view>
- </u-form-item>
- <u-form-item>
- <view class="from_item">
- <text><text style="color: red;">*</text>车辆所有人证件号后6位:</text>
- <view style="display: flex;">
- <u-input v-model="form.InvoiceHeader" class="input" />
- </view>
- </view>
- </u-form-item>
- </u-form>
- </view>
-
- <button class="submit">提交</button>
- </view>
-
- </template>
-
- <script setup lang="ts">
- import {
- reactive
- } from "vue";
-
- import {navTo} from "@/utils/utils"
-
- const form = reactive({
- 'InvoiceHeader': '',
- 'cardid': '111'
- })
-
- const toheaderPage=()=>{
- console.log(1);
- navTo('/subpackage/orders/invoiceApply/invoice-header')
- }
- </script>
-
-
- <style>
- page {
- width: 100%;
- height: 100%;
- }
- </style>
-
- <style lang="scss" scoped>
- .box {
- width: 100%;
- height: 100%;
- background-color: #FFF;
- border-top: 1rpx solid #DFDFDF;
- padding: 0 30rpx;
-
- .from {
- background-color: #fff;
- // margin-top: 20rpx;
-
- ::v-deep .u-form-item {
- padding: 0;
- line-height: normal;
-
- .u-form-item__message {
- margin-bottom: 12rpx
- }
- }
-
- .from_item {
- display: flex;
- flex-wrap: nowrap;
- justify-content: space-between;
- // padding: 0 30rpx;
- // border-bottom: #DCDCDC 1px solid;
- align-items: center;
- height: 80rpx;
-
- text {
- font-size: 30rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- }
-
- ::v-deep .input {
- text-align: right;
- flex: 1;
- background: transparent;
- input {
- text-align: right;
- }
- }
- }
-
- .from_item1 {
- display: flex;
- flex-wrap: nowrap;
- flex-direction: column;
- justify-content: space-between;
- padding: 30rpx;
- border-bottom: #DCDCDC 1px solid;
-
- input {
- text-align: right;
- }
-
- .textarea {
- background-color: #F1F1F1;
- width: 100%;
- border-radius: 20rpx;
- margin-top: 10rpx;
- text-indent: 1rem;
- height: 180rpx;
- padding: 20rpx;
- box-sizing: border-box;
- }
- }
- }
-
- .submit {
- width: 670rpx;
- height: 80rpx;
- background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
- border-radius: 40rpx;
- font-size: 32rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 80rpx;
- position: fixed;
- left: 50%;
- transform: translate(-50%);
- bottom: 100rpx;
- }
- }
- </style>
|