|
@@ -76,9 +76,9 @@ import {
|
|
|
getVolunteerAccount
|
|
|
} from '@/api/volunteer.js'
|
|
|
import {
|
|
|
- onLoad,
|
|
|
- onShow
|
|
|
- } from '@dcloudio/uni-app';
|
|
|
+ onLoad,
|
|
|
+ onShow
|
|
|
+} from '@dcloudio/uni-app';
|
|
|
import store from "@/store"
|
|
|
const userType = uni.getStorageSync('userType') //读取本地存储
|
|
|
|
|
@@ -250,9 +250,9 @@ const geUserInfo = () => {
|
|
|
}
|
|
|
|
|
|
onShow(() => {
|
|
|
- geUserInfo();
|
|
|
+ geUserInfo();
|
|
|
|
|
|
- })
|
|
|
+})
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
@@ -291,65 +291,66 @@ onShow(() => {
|
|
|
background: rgba(255, 255, 255, 1);
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
- .user-name-box {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- padding: 12px 12px 0;
|
|
|
+ .user-name-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 12px 12px 0;
|
|
|
|
|
|
- .user-avatar {}
|
|
|
+ .user-avatar {}
|
|
|
|
|
|
- .user-name {
|
|
|
- font-size: 18px;
|
|
|
- font-weight: 700;
|
|
|
- line-height: 21.09px;
|
|
|
- color: rgba(51, 51, 51, 1);
|
|
|
- margin-left: 12px;
|
|
|
- }
|
|
|
+ .user-name {
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 700;
|
|
|
+ line-height: 21.09px;
|
|
|
+ color: rgba(51, 51, 51, 1);
|
|
|
+ margin-left: 12px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .service-img {
|
|
|
- width: 60rpx;
|
|
|
- height: 60rpx;
|
|
|
- margin-bottom: 10rpx;
|
|
|
- }
|
|
|
+ .service-img {
|
|
|
+ width: 60rpx;
|
|
|
+ height: 60rpx;
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+ }
|
|
|
|
|
|
- .service-list {
|
|
|
- padding-bottom: 12px;
|
|
|
- }
|
|
|
+ .service-list {
|
|
|
+ padding-bottom: 12px;
|
|
|
+ }
|
|
|
|
|
|
- .grid-text {
|
|
|
- font-size: 14px;
|
|
|
- color: #909399;
|
|
|
- padding: 10rpx 0 20rpx 0rpx;
|
|
|
- /* #ifndef APP-PLUS */
|
|
|
- box-sizing: border-box;
|
|
|
- /* #endif */
|
|
|
- }
|
|
|
+ .grid-text {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #909399;
|
|
|
+ padding: 10rpx 0 20rpx 0rpx;
|
|
|
+ /* #ifndef APP-PLUS */
|
|
|
+ box-sizing: border-box;
|
|
|
+ /* #endif */
|
|
|
+ }
|
|
|
|
|
|
|
|
|
- .grid-box {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- flex-direction: column;
|
|
|
- position: relative;
|
|
|
+ .grid-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ flex-direction: column;
|
|
|
+ position: relative;
|
|
|
|
|
|
- .item-badge {
|
|
|
- position: absolute;
|
|
|
- }
|
|
|
+ .item-badge {
|
|
|
+ position: absolute;
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .price-box {
|
|
|
- display: flex;
|
|
|
- align-content: center;
|
|
|
- justify-content: space-between;
|
|
|
- // padding: 12px;
|
|
|
+ .price-box {
|
|
|
+ display: flex;
|
|
|
+ align-content: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ // padding: 12px;
|
|
|
+
|
|
|
+ .price-item {
|
|
|
+ width: 50%;
|
|
|
+ padding: 12px;
|
|
|
|
|
|
- .price-item {
|
|
|
- width: 50%;
|
|
|
- padding: 12px;
|
|
|
.user-name-box {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
@@ -509,41 +510,38 @@ onShow(() => {
|
|
|
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ }
|
|
|
|
|
|
.rate-box {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
|
|
|
- .rate-left {
|
|
|
- font-size: 14px;
|
|
|
- font-weight: 500;
|
|
|
- letter-spacing: 0px;
|
|
|
- line-height: 20.27px;
|
|
|
- color: rgba(0, 0, 0, 1);
|
|
|
+ .rate-left {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 500;
|
|
|
+ letter-spacing: 0px;
|
|
|
+ line-height: 20.27px;
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: left;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: left;
|
|
|
|
|
|
- flex: 1;
|
|
|
- }
|
|
|
+ flex: 1;
|
|
|
+ }
|
|
|
|
|
|
- .rate-rigth {
|
|
|
- font-size: 14px;
|
|
|
- font-weight: 500;
|
|
|
- letter-spacing: 0px;
|
|
|
- line-height: 20.27px;
|
|
|
- color: rgba(0, 0, 0, 1);
|
|
|
+ .rate-rigth {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 500;
|
|
|
+ letter-spacing: 0px;
|
|
|
+ line-height: 20.27px;
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
|
|
|
- .rate-count {
|
|
|
- color: rgba(237, 123, 47, 1);
|
|
|
- }
|
|
|
+ .rate-count {
|
|
|
+ color: rgba(237, 123, 47, 1);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
</style>
|