Commit 8b2d116c864b811cbbcd129b0f43189b7281cdb5
Merge branch 'fix/set-time' into 'main_dev'
fix: 小程序个人中心里面,有效期不可进行选择和设置,只允许显示 See merge request yunteng/thingskit-app!156
Showing
1 changed file
with
9 additions
and
6 deletions
@@ -35,15 +35,12 @@ | @@ -35,15 +35,12 @@ | ||
35 | <u-form-item labelWidth="80px" label="用户账号" prop="username" borderBottom> | 35 | <u-form-item labelWidth="80px" label="用户账号" prop="username" borderBottom> |
36 | <u--input disabled placeholder="请输入用户账号 " v-model="myInfoModel.username" border="none"></u--input> | 36 | <u--input disabled placeholder="请输入用户账号 " v-model="myInfoModel.username" border="none"></u--input> |
37 | </u-form-item> | 37 | </u-form-item> |
38 | + <u-form-item labelWidth="80px" label="有效期" prop="accountExpireTime" borderBottom> | ||
39 | + <u--input disabled v-model="myInfoModel.accountExpireTime" border="none"></u--input> | ||
40 | + </u-form-item> | ||
38 | <u-form-item labelWidth="80px" label="邮箱地址" prop="email" borderBottom> | 41 | <u-form-item labelWidth="80px" label="邮箱地址" prop="email" borderBottom> |
39 | <u--input placeholder="请输入邮箱地址" v-model="myInfoModel.email" border="none"></u--input> | 42 | <u--input placeholder="请输入邮箱地址" v-model="myInfoModel.email" border="none"></u--input> |
40 | </u-form-item> | 43 | </u-form-item> |
41 | - <u-form-item @click="hideKeyboard" labelWidth="80px" label="有效期" prop="accountExpireTime"> | ||
42 | - <u--input v-model="myInfoModel.accountExpireTime" placeholder="请选择有效期" border="none"></u--input> | ||
43 | - <u-datetime-picker :formatter="formatter" :show="showDate" :value="datetime" mode="dateTime" | ||
44 | - closeOnClickOverlay @confirm="dateConfirm" @cancel="dateClose" @close="dateClose"> | ||
45 | - </u-datetime-picker> | ||
46 | - </u-form-item> | ||
47 | </u--form> | 44 | </u--form> |
48 | </view> | 45 | </view> |
49 | <view class="basic-bottom u-flex"> | 46 | <view class="basic-bottom u-flex"> |
@@ -403,4 +400,10 @@ | @@ -403,4 +400,10 @@ | ||
403 | width: 663rpx !important; | 400 | width: 663rpx !important; |
404 | } | 401 | } |
405 | } | 402 | } |
403 | + /deep/ .u-form-item:nth-child(4) { | ||
404 | + .u-form-item__body { | ||
405 | + background: #f5f7fa !important; | ||
406 | + width: 663rpx !important; | ||
407 | + } | ||
408 | + } | ||
406 | </style> | 409 | </style> |