| | |
| | | // 从本地存储加载记住的密码 |
| | | onMounted(() => { |
| | | const savedUserInfo = uni.getStorageSync("rememberedUser"); |
| | | console.log("记住密码", savedUserInfo); |
| | | if (savedUserInfo) { |
| | | loginForm.value.username = savedUserInfo.username; |
| | | loginForm.value.password = savedUserInfo.password; |
| | |
| | | background: #1d6fe9; |
| | | color: white; |
| | | width: 670rpx; |
| | | height: 100rpx; |
| | | height: 76rpx; |
| | | border-radius: 8rpx 8rpx 8rpx 8rpx; |
| | | margin-top: 184rpx; |
| | | font-size: 36rpx; |
| | | font-size: 28rpx; |
| | | font-weight: 400; |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |
| | | &::after { |
| | |
| | | } |
| | | |
| | | .searchBar { |
| | | padding: 20rpx; |
| | | padding: 20rpx 20rpx 0 20rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | height: 108rpx; |
| | |
| | | } |
| | | |
| | | .contactList { |
| | | margin: 0 24rpx; |
| | | margin: 0 20rpx 20rpx 20rpx; |
| | | background: #fff; |
| | | border-radius: 12rpx; |
| | | overflow-y: auto; |
| | |
| | | .contactItem { |
| | | display: flex; |
| | | align-items: center; |
| | | padding: 0 24rpx; |
| | | padding: 0 20rpx; |
| | | |
| | | } |
| | | |
| | |
| | | <!-- 自定义导航栏 --> |
| | | <u-navbar title="工单详情" :is-back="true" back-text="" :back-icon-size="40" @left-click="onBackClick"> |
| | | <template #right> |
| | | <div class="share-btn" @click="onShareClick"><img src="@/static/images/work/share.svg" alt=""></div> |
| | | <div class="share-btn" @click="onShareClick"></div> |
| | | </template> |
| | | </u-navbar> |
| | | <div class="detailTop"> |
| | |
| | | padding-top: 88rpx; |
| | | // 分享按钮样式 |
| | | .share-btn { |
| | | img { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | } |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | background-image: url('/static/images/work/share.svg'); |
| | | background-size: contain; |
| | | background-repeat: no-repeat; |
| | | background-position: center; |
| | | } |
| | | .detailTop { |
| | | .image-container { |