|
@@ -1,203 +1,217 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="page">
|
|
|
|
|
- <view class="upContent">
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="city-info">
|
|
|
|
|
- <view class="city-text-box">
|
|
|
|
|
- <text>
|
|
|
|
|
- 当前城市:{{ cityInfo }}
|
|
|
|
|
- </text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <u-icon name="notification" :size="24" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <!-- 用户卡片 -->
|
|
|
|
|
- <view class="user-card ">
|
|
|
|
|
- <image class="user-bg wh" src="@/static/imagesInfo/bg-icon.png" mode="scaleToFill">
|
|
|
|
|
|
|
+ <scroll-view style="flex:1">
|
|
|
|
|
+
|
|
|
|
|
+ <view class="page">
|
|
|
|
|
+ <image class="upContent" src="@/static/imagesInfo/bg-color.png" mode="aspectFill">
|
|
|
</image>
|
|
</image>
|
|
|
- <view class="user-info">
|
|
|
|
|
- <view class="user-left">
|
|
|
|
|
- <view class="user-info">
|
|
|
|
|
- <text class="user-name">
|
|
|
|
|
- 刘大锤
|
|
|
|
|
- </text>
|
|
|
|
|
- <view class="tags">
|
|
|
|
|
- <text class="tag-new">
|
|
|
|
|
- 新人实习
|
|
|
|
|
|
|
+ <view class="city-info">
|
|
|
|
|
+ <view class="city-text-box">
|
|
|
|
|
+ <text>
|
|
|
|
|
+ 当前城市:{{ cityInfo }}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <u-icon name="notification" :size="24" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <!-- 用户卡片 -->
|
|
|
|
|
+ <view class="user-card ">
|
|
|
|
|
+ <image class="user-bg" src="@/static/imagesInfo/bg-icon.png" mode="scaleToFill">
|
|
|
|
|
+ </image>
|
|
|
|
|
+ <view class="user-info" style="padding: 20rpx;">
|
|
|
|
|
+ <view class="user-left">
|
|
|
|
|
+ <view class="user-info">
|
|
|
|
|
+ <text class="user-name">
|
|
|
|
|
+ 刘大锤
|
|
|
</text>
|
|
</text>
|
|
|
|
|
+ <view class="tags">
|
|
|
|
|
+ <text class="tag-new">
|
|
|
|
|
+ 新人实习
|
|
|
|
|
+ </text>
|
|
|
|
|
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <u-icon name="edit" :size="18" />
|
|
|
|
|
+ <text class="tag">
|
|
|
|
|
+ 编辑
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="user-info">
|
|
|
|
|
+ <u-icon name="customer-interests" :size="18" />
|
|
|
|
|
+ <text class="user-role">
|
|
|
|
|
+ 小丁理疗师
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <u-icon name="store" :size="18" />
|
|
|
|
|
+ <text class="user-shop">
|
|
|
|
|
+ 佳人有约
|
|
|
|
|
+ </text>
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="online-switch">
|
|
|
|
|
+ <u-switch :checked="isOnline" @change="toggleOnline" />
|
|
|
</view>
|
|
</view>
|
|
|
- <u-icon name="edit" :size="18" />
|
|
|
|
|
- <text class="tag">
|
|
|
|
|
- 编辑
|
|
|
|
|
- </text>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="user-info">
|
|
|
|
|
- <u-icon name="customer-interests" :size="18" />
|
|
|
|
|
- <text class="user-role">
|
|
|
|
|
- 小丁理疗师
|
|
|
|
|
|
|
+ <view class="user-right">
|
|
|
|
|
+ <text class="text-time-box">
|
|
|
|
|
+ 入驻时间
|
|
|
</text>
|
|
</text>
|
|
|
- <u-icon name="store" :size="18" />
|
|
|
|
|
- <text class="user-shop">
|
|
|
|
|
- 佳人有约
|
|
|
|
|
|
|
+ <text class="text-time-box" style="margin-top: 5rpx;">2026.03.01{{
|
|
|
|
|
+ coachInfo?.created_at.split(' ')[0] }}
|
|
|
</text>
|
|
</text>
|
|
|
-
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="online-switch">
|
|
|
|
|
- <u-switch :checked="isOnline" @change="toggleOnline" />
|
|
|
|
|
|
|
+ <image v-if="coachInfo!=null && coachInfo.avatar_url!=null" @click.stop="jumpMasterInfo"
|
|
|
|
|
+ :src="coachInfo!.avatar_url!.url"
|
|
|
|
|
+ style="width: 138rpx;height:138rpx;border-radius: 69rpx;margin-top: 15rpx;"
|
|
|
|
|
+ mode="aspectFit">
|
|
|
|
|
+ </image>
|
|
|
|
|
+ <image v-else src="/static/testInfo/boy-nickname.png"
|
|
|
|
|
+ style="width: 138rpx;height:138rpx;border-radius: 69rpx;margin-top: 15rpx;"
|
|
|
|
|
+ mode="aspectFit">
|
|
|
|
|
+ </image>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="user-right">
|
|
|
|
|
|
|
|
|
|
- <text class="text-time-box">
|
|
|
|
|
- 入驻时间
|
|
|
|
|
|
|
+ <view class="location-bar user-info">
|
|
|
|
|
+ <u-icon name="navigation" :size="18" />
|
|
|
|
|
+ <text class="location-text">
|
|
|
|
|
+ 当前定位:烟台市楚凤一街1号楚凤花园
|
|
|
</text>
|
|
</text>
|
|
|
- <text class="text-time-box" style="margin-top: 5rpx;">{{
|
|
|
|
|
- coachInfo?.created_at.split(' ')[0] }}
|
|
|
|
|
|
|
+ <text class="location-btn">
|
|
|
|
|
+ 手动更新
|
|
|
</text>
|
|
</text>
|
|
|
- <image v-if="coachInfo?.avatar_url" @click.stop="jumpMasterInfo"
|
|
|
|
|
- :src="coachInfo?.avatar_url?.url"
|
|
|
|
|
- style="width: 138rpx;height:138rpx;border-radius: 50%;margin-top: 15rpx;" mode="aspectFit">
|
|
|
|
|
- </image>
|
|
|
|
|
- <image v-else src="/static/testInfo/boy-nickname.png"
|
|
|
|
|
- style="width: 138rpx;height:138rpx;border-radius: 50%;margin-top: 15rpx;" mode="aspectFit">
|
|
|
|
|
- </image>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
|
- <view class="location-bar user-info">
|
|
|
|
|
- <u-icon name="navigation" :size="18" />
|
|
|
|
|
- <text class="location-text">
|
|
|
|
|
- 当前定位:烟台市楚凤一街1号楚凤花园
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="location-btn">
|
|
|
|
|
- 手动更新
|
|
|
|
|
- </text>
|
|
|
|
|
-
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <!-- 本月数据 -->
|
|
|
|
|
- <view class="stats-row">
|
|
|
|
|
- <view class="stat-item">
|
|
|
|
|
- <text class="stat-label">
|
|
|
|
|
- 本月收益(元)
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="stat-value">
|
|
|
|
|
- 2234.88
|
|
|
|
|
- </text>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="stat-divider">
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="stat-item">
|
|
|
|
|
- <text class="stat-label">
|
|
|
|
|
- 本月接单量(单)
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="stat-value">
|
|
|
|
|
- 2234.88
|
|
|
|
|
- </text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="stat-divider">
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="stat-item">
|
|
|
|
|
- <text class="stat-label">
|
|
|
|
|
- 本月退单率
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="stat-value">
|
|
|
|
|
- 30%
|
|
|
|
|
- </text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
- <!-- 功能按钮 -->
|
|
|
|
|
- <view class="func-grid">
|
|
|
|
|
- <view class="func-item" v-for="(item, i) in funcList" :key="i">
|
|
|
|
|
- <view @click.stop="jumpSetProject">
|
|
|
|
|
- <image style="width: 92rpx;height: 92rpx;" :src="item.iconUrl"
|
|
|
|
|
- mode="aspectFit">
|
|
|
|
|
- </image>
|
|
|
|
|
- <text class="func-label">
|
|
|
|
|
- {{ item.label }}
|
|
|
|
|
|
|
+ <!-- 本月数据 -->
|
|
|
|
|
+ <view class="stats-row">
|
|
|
|
|
+ <view class="stat-item">
|
|
|
|
|
+ <text class="stat-label">
|
|
|
|
|
+ 本月收益(元)
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="stat-value">
|
|
|
|
|
+ 2234.88
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
- <!-- 数据统计 -->
|
|
|
|
|
- <view class="data-section">
|
|
|
|
|
- <view class="section-header">
|
|
|
|
|
- <text class="section-title">
|
|
|
|
|
- 数据统计
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="section-more">
|
|
|
|
|
- 查看全部 >
|
|
|
|
|
|
|
+ <view class="stat-divider">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="stat-item">
|
|
|
|
|
+ <text class="stat-label">
|
|
|
|
|
+ 本月接单量(单)
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="stat-value">
|
|
|
|
|
+ 2234.88
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="data-grid">
|
|
|
|
|
- <view class="data-item" v-for="(item, i) in dataStats" :key="i">
|
|
|
|
|
- <text class="data-value">
|
|
|
|
|
- {{ item.value }}
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="data-label">
|
|
|
|
|
|
|
+ <view class="stat-divider">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="stat-item">
|
|
|
|
|
+ <text class="stat-label">
|
|
|
|
|
+ 本月退单率
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="stat-value">
|
|
|
|
|
+ 30%
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 功能按钮 -->
|
|
|
|
|
+ <view class="func-grid">
|
|
|
|
|
+ <view class="func-item" v-for="(item, i) in funcList" :key="i">
|
|
|
|
|
+ <view @click.stop="jumpSetProject">
|
|
|
|
|
+ <image style="width: 92rpx;height: 92rpx;" :src="item.iconUrl" mode="aspectFit">
|
|
|
|
|
+ </image>
|
|
|
|
|
+ <text class="func-label">
|
|
|
{{ item.label }}
|
|
{{ item.label }}
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <!-- 客户评价 -->
|
|
|
|
|
- <view class="eval-section">
|
|
|
|
|
|
|
+ <!-- 数据统计 -->
|
|
|
|
|
+ <view class="data-section">
|
|
|
<view class="section-header">
|
|
<view class="section-header">
|
|
|
<text class="section-title">
|
|
<text class="section-title">
|
|
|
- 客户评价
|
|
|
|
|
|
|
+ 数据统计
|
|
|
</text>
|
|
</text>
|
|
|
<text class="section-more">
|
|
<text class="section-more">
|
|
|
查看全部 >
|
|
查看全部 >
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="eval-tags">
|
|
|
|
|
- <text class="eval-tag" v-for="(tag, i) in evalTags" :key="i">
|
|
|
|
|
- {{ tag.text }} {{ tag.count ? tag.count : '' }}
|
|
|
|
|
- </text>
|
|
|
|
|
|
|
+ <view class="data-grid">
|
|
|
|
|
+ <view class="data-item" v-for="(item, i) in dataStats" :key="i">
|
|
|
|
|
+ <text class="data-value">
|
|
|
|
|
+ {{ item.value }}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="data-label">
|
|
|
|
|
+ {{ item.label }}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="eval-item">
|
|
|
|
|
- <image class="eval-avatar" src="/static/testInfo/boy-nickname.png" mode="aspectFill" />
|
|
|
|
|
- <view class="eval-content">
|
|
|
|
|
- <view class="eval-top">
|
|
|
|
|
- <text class="eval-name">
|
|
|
|
|
- 匿名评价
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="eval-date">
|
|
|
|
|
- 2025-04-24
|
|
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 客户评价 -->
|
|
|
|
|
+ <view class="eval-section">
|
|
|
|
|
+ <view class="section-header">
|
|
|
|
|
+ <text class="section-title">
|
|
|
|
|
+ 客户评价
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="section-more">
|
|
|
|
|
+ 查看全部 >
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="eval-tags">
|
|
|
|
|
+ <text class="eval-tag" v-for="(tag, i) in evalTags" :key="i">
|
|
|
|
|
+ {{ tag.text }} {{ tag.count > 0 ? tag.count : '' }}
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="eval-stars">
|
|
|
|
|
- <text>
|
|
|
|
|
- ⭐⭐⭐⭐☆
|
|
|
|
|
- </text>
|
|
|
|
|
- <view class="stat-divider">
|
|
|
|
|
|
|
+ <view class="eval-item">
|
|
|
|
|
+ <image class="eval-avatar" src="/static/testInfo/boy-nickname.png" mode="aspectFill" />
|
|
|
|
|
+ <view class="eval-content">
|
|
|
|
|
+ <view class="eval-top">
|
|
|
|
|
+ <text class="eval-name">
|
|
|
|
|
+ 匿名评价
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="eval-date">
|
|
|
|
|
+ 2025-04-24
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="eval-stars">
|
|
|
|
|
+ <text>
|
|
|
|
|
+ ⭐⭐⭐⭐☆
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <view class="stat-divider">
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <text class="eval-service">
|
|
|
|
|
+ 泰式松骨
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <text class="eval-comment">
|
|
|
|
|
+ 服务到位
|
|
|
|
|
+ </text>
|
|
|
</view>
|
|
</view>
|
|
|
- <text class="eval-service">
|
|
|
|
|
- 泰式松骨
|
|
|
|
|
- </text>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- <text class="eval-comment">
|
|
|
|
|
- 服务到位
|
|
|
|
|
- </text>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <!-- 做一个悬浮球 -->
|
|
|
|
|
+ <u-floating @dblclick="callPolice" />
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- <!-- 做一个悬浮球 -->
|
|
|
|
|
- <u-floating @dblclick="callPolice" />
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ </scroll-view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
-<script setup lang="ts">
|
|
|
|
|
|
|
+<script setup lang="uts">
|
|
|
import { ref, computed } from 'vue';
|
|
import { ref, computed } from 'vue';
|
|
|
import { colors } from '@/common/theme';
|
|
import { colors } from '@/common/theme';
|
|
|
|
|
+
|
|
|
// 状态
|
|
// 状态
|
|
|
const isOnline = ref(true);
|
|
const isOnline = ref(true);
|
|
|
|
|
+ const cityInfo = ref('')
|
|
|
|
|
+ // 头像url类型
|
|
|
|
|
+ type AvatarUrl = {
|
|
|
|
|
+ url : string
|
|
|
|
|
+ }
|
|
|
|
|
+ // 技师信息(空对象,字段可为null)
|
|
|
|
|
+ type CoachInfo = {
|
|
|
|
|
+ created_at : string | null
|
|
|
|
|
+ avatar_url : AvatarUrl | null
|
|
|
|
|
+ }
|
|
|
|
|
+ const coachInfo = ref<CoachInfo | null>(null);
|
|
|
|
|
|
|
|
// 切换上线状态
|
|
// 切换上线状态
|
|
|
const toggleOnline = () => {
|
|
const toggleOnline = () => {
|
|
@@ -214,10 +228,21 @@
|
|
|
{ iconUrl: '/static/imagesInfo/gengxin-wz.png', label: '位置更新' }
|
|
{ iconUrl: '/static/imagesInfo/gengxin-wz.png', label: '位置更新' }
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
|
|
+ // 跳转到技师详情
|
|
|
|
|
+ const jumpMasterInfo = () => {
|
|
|
|
|
+ console.log('jumpMasterInfo invoked');
|
|
|
|
|
+ // 在这里可以执行导航或其他逻辑
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
// 功能按钮点击处理
|
|
// 功能按钮点击处理
|
|
|
const jumpSetProject = () => {
|
|
const jumpSetProject = () => {
|
|
|
console.log('jumpSetProject invoked');
|
|
console.log('jumpSetProject invoked');
|
|
|
// 在这里可以执行导航或其他逻辑
|
|
// 在这里可以执行导航或其他逻辑
|
|
|
|
|
+ //在起始页面跳转到test.vue页面并传递参数
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: 'setOrderTime?id=1&name=uniapp'
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
// 悬浮球双击处理
|
|
// 悬浮球双击处理
|
|
@@ -235,31 +260,33 @@
|
|
|
{ value: '19%', label: '退单率' }
|
|
{ value: '19%', label: '退单率' }
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
- // 评价标签
|
|
|
|
|
- const evalTags = [
|
|
|
|
|
- { text: '不良引导' },
|
|
|
|
|
- { text: '手法不好', count: 101 },
|
|
|
|
|
- { text: '性格温柔', count: 198 },
|
|
|
|
|
- { text: '服务到位', count: 10 }
|
|
|
|
|
|
|
+ // 评价标签数据
|
|
|
|
|
+ // 使用类型别名避免 UTS 对内联对象字面量的限制
|
|
|
|
|
+ type EvalTag = { text : string; count : number };
|
|
|
|
|
+ const evalTags : EvalTag[] = [
|
|
|
|
|
+ { text: '不良引导', count: 0 },
|
|
|
|
|
+ { text: '手法不好', count: 101 },
|
|
|
|
|
+ { text: '性格温柔', count: 198 },
|
|
|
|
|
+ { text: '服务到位', count: 10 }
|
|
|
];
|
|
];
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
<style>
|
|
|
.page {
|
|
.page {
|
|
|
- min-height: 100vh;
|
|
|
|
|
- background-color: $uni-bg-color-grey;
|
|
|
|
|
|
|
+ /* width: 100%;
|
|
|
|
|
+ commented out because percentage unsupported
|
|
|
|
|
+ */
|
|
|
padding: 24rpx;
|
|
padding: 24rpx;
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.upContent {
|
|
.upContent {
|
|
|
- height: 50%;
|
|
|
|
|
- background-image: linear-gradient(180deg, #FFDA59 0%, rgba(255, 255, 255, 0) 100%);
|
|
|
|
|
- background-repeat: no-repeat;
|
|
|
|
|
- background-size: cover;
|
|
|
|
|
|
|
+ height: 900rpx;
|
|
|
|
|
+ width: 750rpx;
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
top: 0;
|
|
top: 0;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+ z-index: -1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.city-info {
|
|
.city-info {
|
|
@@ -270,24 +297,23 @@
|
|
|
/* 用户卡片 */
|
|
/* 用户卡片 */
|
|
|
.user-card {
|
|
.user-card {
|
|
|
border-radius: 16rpx;
|
|
border-radius: 16rpx;
|
|
|
- padding: 20rpx;
|
|
|
|
|
- /* 如需更明显的分层可加阴影 */
|
|
|
|
|
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
|
|
|
|
|
- height: auto;
|
|
|
|
|
- position: relative;
|
|
|
|
|
- z-index: ;
|
|
|
|
|
- margin-top: 16rpx;
|
|
|
|
|
|
|
+ /* padding: 20rpx; */
|
|
|
|
|
+ /* margin-top: 16rpx; */
|
|
|
margin-bottom: 32rpx;
|
|
margin-bottom: 32rpx;
|
|
|
|
|
+ box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.user-bg {
|
|
.user-bg {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top: 0;
|
|
|
|
|
|
|
+ /* top: 0;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
- width: 100%;
|
|
|
|
|
- /* object-fit: cover; */
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ */
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ width: 702rpx
|
|
|
|
|
|
|
|
|
|
+ }
|
|
|
.user-info {
|
|
.user-info {
|
|
|
/* display: flex; */
|
|
/* display: flex; */
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
@@ -312,12 +338,10 @@
|
|
|
/* 绿色透明度渐变 */
|
|
/* 绿色透明度渐变 */
|
|
|
background: linear-gradient(180deg, rgba(207, 221, 62, 0.69) 0%, rgba(162, 184, 29, 1) 100%);
|
|
background: linear-gradient(180deg, rgba(207, 221, 62, 0.69) 0%, rgba(162, 184, 29, 1) 100%);
|
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
|
- width: 160rpx;
|
|
|
|
|
- line-height: 40rpx;
|
|
|
|
|
border-radius: 24rpx;
|
|
border-radius: 24rpx;
|
|
|
- text-align: center;
|
|
|
|
|
- margin: 0 20rpx;
|
|
|
|
|
|
|
+ margin: 0 16rpx;
|
|
|
font-size: 28rpx;
|
|
font-size: 28rpx;
|
|
|
|
|
+ padding:6rpx 12rpx ;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.tag-edit {
|
|
.tag-edit {
|
|
@@ -332,8 +356,6 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.online-switch {
|
|
.online-switch {
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
margin-top: 24rpx;
|
|
margin-top: 24rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -344,16 +366,9 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.user-right {
|
|
.user-right {
|
|
|
- display: flex;
|
|
|
|
|
- /* flex-direction: column; */
|
|
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- /* position: absolute; */
|
|
|
|
|
width: 180rpx;
|
|
width: 180rpx;
|
|
|
height: 245rpx;
|
|
height: 245rpx;
|
|
|
- /* top: 0;
|
|
|
|
|
- right: 20rpx;
|
|
|
|
|
- */
|
|
|
|
|
- /* text-align: center; */
|
|
|
|
|
z-index: 1;
|
|
z-index: 1;
|
|
|
margin-right: 14rpx;
|
|
margin-right: 14rpx;
|
|
|
}
|
|
}
|
|
@@ -379,7 +394,8 @@
|
|
|
.avatar {
|
|
.avatar {
|
|
|
width: 120rpx;
|
|
width: 120rpx;
|
|
|
height: 120rpx;
|
|
height: 120rpx;
|
|
|
- border-radius: 50%;
|
|
|
|
|
|
|
+ border-radius: 60rpx;
|
|
|
|
|
+ /* half of width/height */
|
|
|
border: 4rpx solid #FFFFFF;
|
|
border: 4rpx solid #FFFFFF;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -387,7 +403,7 @@
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
background-image: linear-gradient(to right, #FFF9E1 0%, #FFF1BF 100%);
|
|
background-image: linear-gradient(to right, #FFF9E1 0%, #FFF1BF 100%);
|
|
|
- padding: 10rpx;
|
|
|
|
|
|
|
+ padding: 10rpx 20rpx;
|
|
|
border-radius: 18rpx;
|
|
border-radius: 18rpx;
|
|
|
margin-top: 30rpx;
|
|
margin-top: 30rpx;
|
|
|
font-size: 24rpx;
|
|
font-size: 24rpx;
|
|
@@ -417,7 +433,7 @@
|
|
|
.stats-row {
|
|
.stats-row {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+ /* width: 100%; removed percentage, flex children will stretch */
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
background-color: #FFFFFF;
|
|
background-color: #FFFFFF;
|
|
|
margin-bottom: 32rpx;
|
|
margin-bottom: 32rpx;
|
|
@@ -434,7 +450,7 @@
|
|
|
.stat-label {
|
|
.stat-label {
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
|
color: #999999;
|
|
color: #999999;
|
|
|
- display: block;
|
|
|
|
|
|
|
+ /* display: block not supported; default inline behavior is fine */
|
|
|
margin-bottom: 24rpx;
|
|
margin-bottom: 24rpx;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
@@ -495,7 +511,7 @@
|
|
|
|
|
|
|
|
.section-title {
|
|
.section-title {
|
|
|
font-size: 32rpx;
|
|
font-size: 32rpx;
|
|
|
- font-weight: 500;
|
|
|
|
|
|
|
+ font-weight: 400;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -518,7 +534,7 @@
|
|
|
font-size: 36rpx;
|
|
font-size: 36rpx;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
- display: block;
|
|
|
|
|
|
|
+ /* display property not needed */
|
|
|
margin-bottom: 8rpx;
|
|
margin-bottom: 8rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -540,7 +556,7 @@
|
|
|
display: flex;
|
|
display: flex;
|
|
|
/* flex-wrap: wrap; */
|
|
/* flex-wrap: wrap; */
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
|
- gap: 16rpx;
|
|
|
|
|
|
|
+ /* gap: 16rpx; */
|
|
|
margin-bottom: 32rpx;
|
|
margin-bottom: 32rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -554,14 +570,14 @@
|
|
|
|
|
|
|
|
.eval-item {
|
|
.eval-item {
|
|
|
/* display: flex; */
|
|
/* display: flex; */
|
|
|
- gap: 24rpx;
|
|
|
|
|
|
|
+ /* gap: 24rpx; */
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.eval-avatar {
|
|
.eval-avatar {
|
|
|
width: 80rpx;
|
|
width: 80rpx;
|
|
|
height: 80rpx;
|
|
height: 80rpx;
|
|
|
- border-radius: 50%;
|
|
|
|
|
|
|
+ border-radius: 40rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.eval-content {
|
|
.eval-content {
|
|
@@ -577,7 +593,7 @@
|
|
|
|
|
|
|
|
.eval-name {
|
|
.eval-name {
|
|
|
/* font-size: 28rpx; */
|
|
/* font-size: 28rpx; */
|
|
|
- font-weight: 500;
|
|
|
|
|
|
|
+ font-weight: 400;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -604,4 +620,4 @@
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|