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 | 35 | <u-form-item labelWidth="80px" label="用户账号" prop="username" borderBottom> |
36 | 36 | <u--input disabled placeholder="请输入用户账号 " v-model="myInfoModel.username" border="none"></u--input> |
37 | 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 | 41 | <u-form-item labelWidth="80px" label="邮箱地址" prop="email" borderBottom> |
39 | 42 | <u--input placeholder="请输入邮箱地址" v-model="myInfoModel.email" border="none"></u--input> |
40 | 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 | 44 | </u--form> |
48 | 45 | </view> |
49 | 46 | <view class="basic-bottom u-flex"> |
... | ... | @@ -403,4 +400,10 @@ |
403 | 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 | 409 | </style> | ... | ... |