| | |
| | | <view class="container"> |
| | | <div class="avatarBox"> |
| | | <!-- @click="uploadAvatar" --> |
| | | <u-avatar :src="userInfo.avatar" size="114" mode="aspectFill" /> |
| | | <u-avatar :src="userInfo.avatar || defaultAvatar" size="114" mode="aspectFill" /> |
| | | </div> |
| | | <view class="detailBox"> |
| | | <div class="detailCon"> |
| | |
| | | </div> |
| | | </view> |
| | | <view class="btngroup"> |
| | | <u-button color="#AEAEAE" class="custom-style" shape="circle" @click="reset">重置</u-button> |
| | | <u-button color="#1D6FE9" class="custom-style" shape="circle" @click="submit">提交</u-button> |
| | | <u-button color="#AEAEAE" class="custom-style" @click="reset">重置</u-button> |
| | | <u-button color="#1D6FE9" class="custom-style" @click="submit">提交</u-button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import defaultAvatar from '/static/images/defaultAvatar.svg' |
| | | import { |
| | | getEnvObj, |
| | | getWebViewUrl |
| | |
| | | |
| | | .custom-style { |
| | | width: 276rpx; |
| | | height: 76rpx; |
| | | height: 100rpx; |
| | | font-family: "Source Han Sans CN"; |
| | | font-weight: 400; |
| | | font-size: 36rpx; |
| | | } |
| | | :deep(.u-button.data-v-461e713c){ |
| | | width: 276rpx !important; |
| | | height: 76rpx !important; |
| | | height: 100rpx !important; |
| | | } |
| | | </style> |