文件
yjyf/yjyf-app/components/user/UserMineView.vue
MiAn b71980dd6b feat: 新增账号安全模块及资质校验功能
- 新增账号安全页面及支付密码验证组件
- 新增用户类型选择流程及商家资质管理
- 新增订单资质校验逻辑,师傅需满足订单证书要求
- 新增企业资质认证相关数据库表及接口
- 优化用户列表展示,区分个人与商家用户类型
2026-11-21 15:37:01 +08:00

898 行
23 KiB
Vue

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

<template>
<view class="user-mine-view">
<!-- 统一固定吸顶导航栏(与其他页面 100% 统一,固定在手机顶部不随滚动划出) -->
<YjyfNavBar theme="orange" title="个人中心" :fixed="true" :placeholder="true" />
<YjyfRefreshScroll
class="mine-scroll"
theme="orange"
:nav-offset="navHeight"
:refresh-task="load"
>
<!-- 头部个人名片与资产核心区 -->
<view class="profile-hero" :style="{ backgroundPosition: '0 -' + navHeight + 'px' }">
<view class="hero-body">
<!-- 用户基本信息(点击进入「账号信息」页) -->
<view class="user-card clickable-hover" @tap="go('/pages/mine/account')">
<view class="avatar-wrap">
<image v-if="user && user.avatar" class="avatar-img" :src="user.avatar" mode="aspectFill" />
<image v-else class="avatar-ph-img" src="/static/icons/user-avatar.svg" mode="aspectFit" />
</view>
<view class="user-info">
<view class="name-line">
<text class="user-name">{{ user ? user.nickname : '未登录' }}</text>
<view class="role-badge" :class="{ 'is-pro': isMasterVerified }">
<text class="role-badge-txt">{{ roleText }}</text>
</view>
</view>
<text class="user-mobile" v-if="showSubMobile">{{ mobileText }}</text>
<text class="user-subtag" v-if="master && master.score">服务评分 {{ master.score }} 分</text>
</view>
<view class="hero-action">
<text class="hero-action-txt">账号设置</text>
<image class="hero-arrow-ico" src="/static/icons/arrow-right-white.svg" mode="aspectFit" />
</view>
</view>
<!-- 核心资产卡片(仅聚焦余额与优惠券,无冗余项) -->
<view class="assets-card">
<view class="asset-item clickable-hover" @tap="go('/pages/user/wallet')">
<view class="asset-val-box">
<text class="asset-symbol">¥</text>
<text class="asset-number">{{ user ? Number(user.balance).toFixed(2) : '0.00' }}</text>
</view>
<text class="asset-title">账户余额</text>
</view>
<view class="asset-line"></view>
<view class="asset-item clickable-hover" @tap="go('/pages/coupon/coupon?tab=mine')">
<view class="asset-val-box">
<text class="asset-number">{{ coupon }}</text>
<text class="asset-unit">张</text>
</view>
<text class="asset-title">优惠券</text>
</view>
</view>
</view>
</view>
<!-- 页面内容主体区 -->
<view class="content-body">
<!-- 我的订单状态快捷卡 -->
<view class="order-panel">
<view class="order-panel-hd">
<text class="order-panel-title">我的订单</text>
<view class="order-panel-more clickable-hover" @tap="goOrders('all')">
<text class="order-more-txt">全部订单</text>
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
<view class="order-grid">
<view
class="order-grid-item clickable-hover"
v-for="st in orderNavItems"
:key="st.key"
@tap="goOrders(st.key)"
>
<view class="order-ico-box">
<image class="order-ico" :src="st.icon" mode="aspectFit" />
<view class="order-badge" v-if="st.count > 0">
<text class="order-badge-txt">{{ st.count > 99 ? '99+' : st.count }}</text>
</view>
</view>
<text class="order-grid-txt">{{ st.name }}</text>
</view>
</view>
</view>
<!-- 师傅工作台专区:针对已提交或已认证师傅 -->
<view class="role-workbench-section" v-if="master">
<view class="workbench-card master-card">
<view class="wb-left">
<image class="wb-icon" src="/static/icons/join-master.svg" mode="aspectFit" />
<view class="wb-texts">
<text class="wb-title">{{ masterCard.title }}</text>
<text class="wb-desc">{{ masterCard.desc }}</text>
</view>
</view>
<view class="wb-btn clickable-hover" @tap="masterCard.action">
{{ masterCard.btn }}
</view>
</view>
</view>
<!-- 核心功能菜单 -->
<view class="card-panel">
<view class="menu-group">
<view class="menu-item clickable-hover" @tap="go('/pages/mine/security')">
<view class="menu-item-l"><image class="menu-ico" src="/static/icons/menu-account-security.svg" mode="aspectFit" /><text class="menu-txt">账号安全</text></view>
<view class="menu-item-r"><image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" /></view>
</view>
<view class="menu-item clickable-hover" @tap="go('/pages/coupon/coupon?tab=center')">
<view class="menu-item-l">
<image class="menu-ico" src="/static/icons/menu-coupon.svg" mode="aspectFit" />
<text class="menu-txt">领券中心</text>
</view>
<view class="menu-item-r">
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
<view class="menu-item clickable-hover" @tap="go('/pages/order/goods-gallery?scene=mine')">
<view class="menu-item-l">
<image class="menu-ico" src="/static/icons/menu-gallery.svg" mode="aspectFit" />
<text class="menu-txt">商品图库</text>
</view>
<view class="menu-item-r">
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
<view class="menu-item clickable-hover" @tap="go('/pages/address/list')">
<view class="menu-item-l">
<image class="menu-ico" src="/static/icons/menu-address.svg" mode="aspectFit" />
<text class="menu-txt">地址管理</text>
</view>
<view class="menu-item-r">
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
<view class="menu-item clickable-hover" @tap="go('/pages/merchant/invoice')">
<view class="menu-item-l">
<image class="menu-ico" src="/static/icons/menu-invoice.svg" mode="aspectFit" />
<text class="menu-txt">发票服务</text>
</view>
<view class="menu-item-r">
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
<view class="menu-item clickable-hover" @tap="go('/pages/mine/aftersale')">
<view class="menu-item-l">
<image class="menu-ico" src="/static/icons/menu-aftersale.svg" mode="aspectFit" />
<text class="menu-txt">售后记录</text>
</view>
<view class="menu-item-r">
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
<view class="menu-item clickable-hover" @tap="callService">
<view class="menu-item-l">
<image class="menu-ico" src="/static/icons/menu-service.svg" mode="aspectFit" />
<text class="menu-txt">联系客服</text>
</view>
<view class="menu-item-r">
<text class="menu-extra" v-if="servicePhone">{{ servicePhone }}</text>
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
<view class="menu-item clickable-hover" @tap="openAgreementPicker">
<view class="menu-item-l">
<image class="menu-ico" src="/static/icons/menu-agreement.svg" mode="aspectFit" />
<text class="menu-txt">协议与规则</text>
</view>
<view class="menu-item-r">
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
</view>
</view>
<!-- 师傅招募通道(仅对未申请成为师傅的用户展示,单行轻量引导) -->
<view class="workbench-card recruit-card clickable-hover" v-if="!master" @tap="masterCard.action">
<view class="wb-left">
<image class="wb-icon" src="/static/icons/join-master.svg" mode="aspectFit" />
<view class="wb-texts">
<text class="wb-title">师傅招募</text>
<text class="wb-desc">实名与技能认证,海量同城订单随时接</text>
</view>
</view>
<view class="recruit-tag">
<text class="recruit-tag-txt">成为师傅</text>
<image class="arrow-ico" src="/static/icons/arrow-right-orange.svg" mode="aspectFit" />
</view>
</view>
<!-- 账号安全操作 -->
<view class="logout-action clickable-hover" @tap="logout">
<text class="logout-txt">退出登录</text>
</view>
</view>
</YjyfRefreshScroll>
<YjyfServicePopup :visible="servicePopupVisible" @update:visible="servicePopupVisible = $event" />
</view>
</template>
<script setup>
import { ref, computed, onMounted } from 'vue';
import YjyfNavBar from '@/components/YjyfNavBar.vue';
import YjyfRefreshScroll from '@/components/YjyfRefreshScroll.vue';
import YjyfServicePopup from '@/components/YjyfServicePopup.vue';
import api from '@/utils/api.js';
import { isLogin, toLogin, setUser, clearAuth } from '@/utils/request.js';
import { getRole, setRole } from '@/utils/role.js';
import { getNavBarMetrics } from '@/utils/system.js';
const emit = defineEmits(['go-orders']);
const navHeight = ref(getNavBarMetrics().totalNavHeight);
const user = ref(null);
const master = ref(null);
const coupon = ref(0);
const orderCounts = ref({
pending_pay: 0,
pending_accept: 0,
serving: 0,
pending_verify: 0
});
const currentRole = ref('user');
const servicePhone = ref('');
const orderNavItems = computed(() => {
const c = orderCounts.value || {};
return [
{ key: 'pending_pay', name: '待付款', icon: '/static/icons/order-pay.svg', count: Number(c.pending_pay) || 0 },
{ key: 'pending_accept', name: '待接单', icon: '/static/icons/order-wait.svg', count: Number(c.pending_accept) || 0 },
{ key: 'serving', name: '待服务', icon: '/static/icons/order-active.svg', count: Number(c.serving) || 0 },
{ key: 'pending_verify', name: '待验收', icon: '/static/icons/order-verify.svg', count: Number(c.pending_verify) || 0 }
];
});
const mobileText = computed(() => {
if (!user.value || !user.value.mobile) return '';
const m = String(user.value.mobile);
if (m.length >= 11) {
return m.slice(0, 3) + '****' + m.slice(7);
}
return m;
});
const showSubMobile = computed(() => {
if (!mobileText.value || !user.value) return false;
const nick = String(user.value.nickname || '').trim();
const raw = String(user.value.mobile || '').trim();
return nick !== raw && nick !== mobileText.value;
});
const isMasterVerified = computed(() => {
return !!(master.value && master.value.verify_status === 'pass');
});
const roleText = computed(() => user.value && user.value.user_type === 'merchant' ? '商家用户' : '个人用户');
const masterCard = computed(() => {
const m = master.value;
if (!m) {
return { title: '成为优匠优服师傅', desc: '实名认证 + 技能认证,接单赚收入', btn: '立即入驻', action: () => go('/pages/master/apply') };
}
if (m.verify_status === 'pending') {
return { title: '师傅资质审核中', desc: '审核通过后可开启听单并接单', btn: '进入师傅端', action: switchToMaster };
}
if (m.verify_status === 'reject') {
return { title: '师傅资质未通过', desc: m.audit_msg || '请补充资料后重新提交', btn: '进入师傅端', action: switchToMaster };
}
return { title: '师傅工作台', desc: '已通过认证,进入工作台开始接单', btn: '切换师傅端', action: switchToMaster };
});
function go(url) {
uni.navigateTo({ url });
}
function goOrders(statusKey = 'all') {
emit('go-orders', statusKey);
}
function showBalanceTip() {
const bal = user.value ? Number(user.value.balance).toFixed(2) : '0.00';
uni.showModal({
title: '账户余额',
content: `当前可用余额:¥${bal}`,
showCancel: false,
confirmColor: '#F0710D'
});
}
const servicePopupVisible = ref(false);
function callService() {
servicePopupVisible.value = true;
}
function openAgreementPicker() {
const items = [
{ label: '用户服务协议', type: 'user_service' },
{ label: '隐私保护指引', type: 'privacy' }
];
if (master.value) {
items.push({ label: '师傅入驻与履约服务协议', type: 'master' });
}
uni.showActionSheet({
itemList: items.map(i => i.label),
success: (res) => {
const picked = items[res.tapIndex];
if (!picked) return;
uni.navigateTo({
url: `/pages/agreement/detail?type=${encodeURIComponent(picked.type)}&title=${encodeURIComponent(picked.label)}`
});
}
});
}
async function load() {
currentRole.value = getRole();
if (!isLogin()) {
toLogin();
return;
}
try {
const res = await api.profile();
user.value = res;
master.value = res.master;
coupon.value = Number(res.coupon_count) || 0;
if (res.order_counts) {
orderCounts.value = {
pending_pay: Number(res.order_counts.pending_pay) || 0,
pending_accept: Number(res.order_counts.pending_accept) || 0,
serving: Number(res.order_counts.serving) || 0,
pending_verify: Number(res.order_counts.pending_verify) || 0
};
}
setUser(res);
api.home({ silent: true }).then((h) => {
if (h && h.service_phone) servicePhone.value = h.service_phone;
}).catch(() => {});
} catch (e) {
console.error('加载个人信息失败', e);
}
}
const switchingRole = ref(false);
async function switchToMaster() {
if (switchingRole.value) return;
switchingRole.value = true;
try {
const res = await api.switchRole({ role: 'master' });
setRole('master');
currentRole.value = 'master';
uni.showToast({ title: '已切换为师傅身份' });
setTimeout(() => {
switchingRole.value = false;
uni.reLaunch({ url: (res && res.redirect) ? res.redirect : '/pages/master/workbench' });
}, 500);
} catch (e) {
switchingRole.value = false;
}
}
function logout() {
uni.showModal({
title: '提示',
content: '确认退出当前登录账号?',
confirmColor: '#F0710D',
success: (r) => {
if (!r.confirm) return;
clearAuth();
uni.reLaunch({ url: '/pages/login/login' });
}
});
}
onMounted(() => {
navHeight.value = getNavBarMetrics().totalNavHeight;
load();
});
defineExpose({
load
});
</script>
<style scoped>
.user-mine-view {
height: calc(100vh - 112rpx - constant(safe-area-inset-bottom));
height: calc(100vh - 112rpx - env(safe-area-inset-bottom));
display: flex;
flex-direction: column;
overflow: hidden;
width: 100%;
background: #F5F6F8;
box-sizing: border-box;
}
.mine-scroll {
flex: 1;
height: 0;
width: 100%;
}
/* ---------- 头部个人主页英雄区 (Zone 1: 一体化沉浸) ---------- */
.profile-hero {
position: relative;
overflow: hidden;
background-color: #F0710D;
background-image: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
background-size: 100% 600rpx;
background-position: 0 0;
background-repeat: no-repeat;
padding-bottom: 36rpx;
border-bottom-left-radius: 36rpx;
border-bottom-right-radius: 36rpx;
}
.hero-body {
position: relative;
z-index: 2;
padding: 16rpx 32rpx 0;
}
.user-card {
position: relative;
display: flex;
align-items: center;
z-index: 2;
}
.hero-action {
margin-left: auto;
display: inline-flex;
align-items: center;
flex-shrink: 0;
}
.hero-action-txt {
font-size: 24rpx;
color: rgba(255, 255, 255, 0.92);
margin-right: 4rpx;
}
.hero-arrow-ico {
width: 28rpx;
height: 28rpx;
opacity: 0.9;
}
.avatar-wrap {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
background: #FFFFFF;
box-shadow: 0 8rpx 20rpx rgba(0, 0, 0, 0.12);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
flex-shrink: 0;
border: 4rpx solid rgba(255, 255, 255, 0.85);
}
.avatar-img {
width: 100%;
height: 100%;
}
.avatar-ph-img {
width: 100%;
height: 100%;
}
.user-info {
flex: 1;
min-width: 0;
margin-left: 24rpx;
display: flex;
flex-direction: column;
}
.name-line {
display: flex;
align-items: center;
}
.user-name {
font-size: 36rpx;
font-weight: 700;
color: #FFFFFF;
line-height: 1.25;
max-width: 320rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.role-badge {
margin-left: 14rpx;
height: 40rpx;
padding: 0 16rpx;
border-radius: 20rpx;
background: rgba(255, 255, 255, 0.22);
backdrop-filter: blur(4px);
border: 1rpx solid rgba(255, 255, 255, 0.35);
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.role-badge.is-pro {
background: #FFF4E5;
border-color: #FFA940;
}
.role-badge-txt {
font-size: 22rpx;
font-weight: 600;
color: #FFFFFF;
line-height: 1;
}
.role-badge.is-pro .role-badge-txt {
color: #D45B00;
}
.user-mobile {
margin-top: 8rpx;
font-size: 24rpx;
color: rgba(255, 255, 255, 0.88);
}
.user-subtag {
margin-top: 6rpx;
font-size: 22rpx;
color: #FFF2D6;
font-weight: 500;
}
/* ---------- 资产双卡片展示行 ---------- */
.assets-card {
position: relative;
z-index: 2;
display: flex;
align-items: center;
margin-top: 28rpx;
padding: 24rpx 20rpx 8rpx;
border-top: 1rpx solid rgba(255, 255, 255, 0.22);
}
.asset-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.asset-val-box {
display: flex;
align-items: baseline;
}
.asset-symbol {
font-size: 24rpx;
font-weight: 600;
color: #FFFFFF;
margin-right: 4rpx;
}
.asset-unit {
margin-left: 4rpx;
font-size: 22rpx;
font-weight: normal;
color: rgba(255, 255, 255, 0.9);
}
.asset-number {
font-size: 40rpx;
font-weight: 700;
color: #FFFFFF;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.asset-title {
margin-top: 6rpx;
font-size: 22rpx;
color: rgba(255, 255, 255, 0.9);
}
.asset-line {
width: 1rpx;
height: 48rpx;
background: rgba(255, 255, 255, 0.28);
}
/* ---------- 主体内容区 ---------- */
.content-body {
padding: 24rpx 24rpx 120rpx;
}
/* ---------- 身份工作台专区 (Zone 2) ---------- */
.role-workbench-section {
display: flex;
flex-direction: column;
gap: 20rpx;
margin-bottom: 24rpx;
}
.workbench-card {
display: flex;
align-items: center;
justify-content: space-between;
padding: 24rpx 24rpx;
border-radius: 20rpx;
background: #FFFFFF;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04);
border-left: 8rpx solid #F0710D;
}
.wb-left {
display: flex;
align-items: center;
flex: 1;
min-width: 0;
margin-right: 16rpx;
}
.wb-icon {
width: 48rpx;
height: 48rpx;
flex-shrink: 0;
margin-right: 20rpx;
}
.wb-texts {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
}
.wb-title {
font-size: 28rpx;
font-weight: 700;
color: #1D2129;
}
.wb-desc {
margin-top: 4rpx;
font-size: 22rpx;
color: #86909C;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.wb-btn {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 28rpx;
height: 60rpx;
line-height: 1;
border-radius: 30rpx;
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
color: #FFFFFF;
font-size: 24rpx;
font-weight: 600;
box-shadow: 0 4rpx 12rpx rgba(240, 113, 13, 0.25);
}
/* ---------- 通用卡片容器 ---------- */
.card-panel {
background: #FFFFFF;
border-radius: 20rpx;
padding: 8rpx 24rpx;
margin-bottom: 24rpx;
box-shadow: 0 6rpx 20rpx rgba(240, 113, 13, 0.06);
}
.arrow-ico {
width: 28rpx;
height: 28rpx;
opacity: 0.7;
}
/* ---------- 常用服务菜单 (Zone 3) ---------- */
.menu-group {
display: flex;
flex-direction: column;
}
.menu-item {
display: flex;
align-items: center;
justify-content: space-between;
height: 96rpx;
border-bottom: 1rpx solid #F5F6F8;
}
.menu-btn {
width: 100%;
padding: 0;
background: transparent;
line-height: normal;
border: none;
border-radius: 0;
text-align: left;
font-size: inherit;
color: inherit;
box-sizing: border-box;
}
.menu-btn::after {
border: none;
}
.menu-item:last-child {
border-bottom: none;
}
.menu-item-l {
display: flex;
align-items: center;
}
.menu-ico {
width: 40rpx;
height: 40rpx;
margin-right: 20rpx;
}
.menu-txt {
font-size: 28rpx;
color: #1D2129;
font-weight: 500;
}
.menu-item-r {
display: flex;
align-items: center;
}
.menu-extra {
font-size: 24rpx;
color: #86909C;
margin-right: 8rpx;
}
/* ---------- 师傅招募引导卡 (Zone 4) ---------- */
.recruit-card {
margin-bottom: 24rpx;
border-left-color: #FFA93F;
}
.recruit-tag {
flex-shrink: 0;
display: inline-flex;
align-items: center;
padding: 0 22rpx;
height: 56rpx;
border-radius: 28rpx;
background: #FFF7F0;
}
.recruit-tag-txt {
font-size: 24rpx;
font-weight: 600;
color: #F0710D;
margin-right: 4rpx;
}
/* ---------- 退出登录 (Zone 5) ---------- */
.logout-action {
margin: 32rpx 0 20rpx;
height: 88rpx;
background: #FFFFFF;
border-radius: 44rpx;
display: flex;
align-items: center;
justify-content: center;
border: 1rpx solid #E5E6EB;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.02);
}
.logout-txt {
font-size: 28rpx;
color: #86909C;
font-weight: 500;
}
/* ---------- 我的订单快捷卡片 ---------- */
.order-panel {
background: #FFFFFF;
border-radius: 20rpx;
padding: 24rpx 24rpx 28rpx;
margin-bottom: 24rpx;
box-shadow: 0 6rpx 20rpx rgba(240, 113, 13, 0.06);
}
.order-panel-hd {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 20rpx;
margin-bottom: 20rpx;
border-bottom: 1rpx solid #F0F0F2;
}
.order-panel-title {
font-size: 30rpx;
font-weight: 700;
color: #1F1F1F;
}
.order-panel-more {
display: inline-flex;
align-items: center;
}
.order-more-txt {
font-size: 24rpx;
color: #888888;
margin-right: 4rpx;
}
.order-grid {
display: flex;
align-items: center;
justify-content: space-between;
}
.order-grid-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.order-ico-box {
position: relative;
width: 56rpx;
height: 56rpx;
display: flex;
align-items: center;
justify-content: center;
}
.order-ico {
width: 52rpx;
height: 52rpx;
}
.order-badge {
position: absolute;
top: -10rpx;
right: -18rpx;
min-width: 34rpx;
height: 34rpx;
padding: 0 8rpx;
border-radius: 17rpx;
background: #E8331B;
border: 2rpx solid #FFFFFF;
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}
.order-badge-txt {
font-size: 22rpx;
font-weight: 700;
color: #FFFFFF;
line-height: 1;
}
.order-grid-txt {
margin-top: 12rpx;
font-size: 24rpx;
color: #444444;
font-weight: 500;
}
/* ---------- 点击反馈与无障碍 ---------- */
.clickable-hover {
transition: opacity 0.15s ease, transform 0.15s ease;
}
.clickable-hover:active {
opacity: 0.75;
transform: scale(0.98);
}
</style>