| | |
| | | </view> |
| | | <view class="right"> |
| | | <view class="input-box"> |
| | | <My-input style="width: 80%;margin: 32rpx 10% 32rpx 10%;" /> |
| | | <My-input style="width: 80%;margin: 32rpx 10% 8rpx 10%;" /> |
| | | <My-input class="my-input" titleIcon="person" title="账号" placeholder="请输入账号" inputType="text" optIcon="bottom" /> |
| | | <My-input class="my-input" titleIcon="locked" title="密码" placeholder="请输入密码" inputType="password" optIcon="eye" optIconShow/> |
| | | <view class="rember-password"> |
| | | <view class="text">记住密码</view> |
| | | <switch :checked='remberPassword' color="#FFCC33" style="zoom:.5" @change="remberChange"/> |
| | |
| | | data() { |
| | | return { |
| | | version: '', |
| | | |
| | | remberPassword: true |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | // #endif |
| | | }, |
| | | methods: { |
| | | |
| | | remberChange() { |
| | | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | <style lang="scss" scoped> |
| | | .setting { |
| | | position: absolute; |
| | | top: 16rpx; |
| | |
| | | } |
| | | .input-box { |
| | | width: 100%; |
| | | // background-color: #888; |
| | | } |
| | | .my-input { |
| | | width: 80%; |
| | | margin: 32rpx 10% 32rpx 10%; |
| | | } |
| | | .rember-password { |
| | | width: 78%; |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | .text { |
| | | font-size: 12px; |
| | | color: #606266; |
| | | line-height: 1; |
| | | } |
| | | } |