feat: 新增电话拨打功能及相关配置,完善农产品分类与地区数据
- 新增商家/信息详情页电话拨打接口,支持每日额度限制与拨打日志记录 - 新增平台免责声明内容及协议接口,完善用户服务协议相关配置 - 新增农产品分类图标与上市角标展示,优化分类管理界面样式 - 新增全国行政区划工具类与城市选择组件,重构地区数据结构 - 新增SSH自检与部署脚本,完善项目部署流程
这个提交包含在:
@@ -0,0 +1,266 @@
|
||||
<template>
|
||||
<view v-if="show" class="call-modal__mask" @click="handleClose" @touchmove.stop.prevent>
|
||||
<view class="call-modal" @click.stop>
|
||||
<!-- 头部标题 -->
|
||||
<view class="call-modal__header">
|
||||
<text class="call-modal__title">温馨提示</text>
|
||||
<text class="call-modal__close" @click="handleClose">✕</text>
|
||||
</view>
|
||||
|
||||
<!-- 联系人与脱敏号码 -->
|
||||
<view class="call-modal__target">
|
||||
<view class="call-modal__phone-row">
|
||||
<image class="fc-icon fc-icon--md" :src="iconUrl('phone-orange')" mode="aspectFit" />
|
||||
<text class="call-modal__phone">{{ dialDisplay || '暂无联系电话' }}</text>
|
||||
</view>
|
||||
<text class="call-modal__quota">
|
||||
{{ quotaText }}
|
||||
</text>
|
||||
</view>
|
||||
|
||||
<!-- 风险提示 -->
|
||||
<view class="call-modal__warn">
|
||||
<image class="fc-icon fc-icon--sm" :src="iconUrl('info')" mode="aspectFit" />
|
||||
<text class="call-modal__warn-text">请自行鉴别农产品信息真伪,在未核实清楚前不要提前给对方转账,慎防诈骗!</text>
|
||||
</view>
|
||||
|
||||
<!-- 免责声明勾选 -->
|
||||
<view class="call-modal__agree" @click="agree = !agree">
|
||||
<view class="call-modal__checkbox" :class="{ 'call-modal__checkbox--on': agree }">
|
||||
<text v-if="agree" class="call-modal__checkbox-tick">✓</text>
|
||||
</view>
|
||||
<text class="call-modal__agree-text">我已阅读并同意</text>
|
||||
<text class="call-modal__agree-link" @click.stop="goDisclaimer">《平台免责声明》</text>
|
||||
</view>
|
||||
|
||||
<!-- 主拨打按钮 -->
|
||||
<view
|
||||
class="call-modal__btn"
|
||||
:class="{ 'call-modal__btn--disabled': loading }"
|
||||
@click="handleDial"
|
||||
>
|
||||
<image class="fc-icon fc-icon--sm" :src="iconUrl('phone')" mode="aspectFit" />
|
||||
<text>{{ loading ? '连接中…' : '立即拨打' }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
/**
|
||||
* 免责声明拨打确认弹窗(信息详情页 / 商家详情页通用)
|
||||
* 流程:展示脱敏号码 → 勾选免责声明 → 确认后由父级调用
|
||||
* POST /post/:id/dial 或 POST /merchant/:id/dial 扣减当日拨打额度并调起系统拨号
|
||||
*/
|
||||
import { iconUrl } from '@/common/store/ui.js'
|
||||
|
||||
export default {
|
||||
name: 'FcCallModal',
|
||||
props: {
|
||||
/** 弹窗显隐 */
|
||||
show: { type: Boolean, default: false },
|
||||
/** 拨打展示文案(联系人姓氏 + 脱敏手机号,如:夏178****8426) */
|
||||
dialDisplay: { type: String, default: '' },
|
||||
/** 今日拨打总额度(0 代表不限次数) */
|
||||
quotaTotal: { type: Number, default: 0 },
|
||||
/** 今日剩余额度 */
|
||||
quotaLeft: { type: Number, default: 0 },
|
||||
/** 是否不限次数 */
|
||||
unlimited: { type: Boolean, default: false },
|
||||
/** 请求中状态(防止重复提交) */
|
||||
loading: { type: Boolean, default: false },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
agree: false,
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
/** 每次打开弹窗重置勾选态,确保用户逐次确认免责声明 */
|
||||
show(val) {
|
||||
if (val) this.agree = false
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
quotaText() {
|
||||
if (this.unlimited || this.quotaTotal === 0) return 'VIP尊享 · 不限拨打次数'
|
||||
const left = Math.max(0, Number(this.quotaLeft) || 0)
|
||||
return `今日剩余 ${left} 次拨打机会`
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
iconUrl,
|
||||
/**
|
||||
* 关闭弹窗
|
||||
*/
|
||||
handleClose() {
|
||||
this.$emit('close')
|
||||
},
|
||||
/**
|
||||
* 点击拨打:先校验免责声明勾选,再交由父级执行拨打接口
|
||||
*/
|
||||
handleDial() {
|
||||
if (this.loading) return
|
||||
if (!this.agree) {
|
||||
uni.showToast({ title: '请先勾选同意平台免责声明', icon: 'none' })
|
||||
return
|
||||
}
|
||||
this.$emit('confirm')
|
||||
},
|
||||
/**
|
||||
* 查看平台免责声明详情
|
||||
*/
|
||||
goDisclaimer() {
|
||||
uni.navigateTo({ url: '/pages/auth/agreement?type=disclaimer' })
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.call-modal__mask {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: rgba(15, 23, 42, 0.55);
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 60rpx;
|
||||
}
|
||||
|
||||
.call-modal {
|
||||
width: 100%;
|
||||
max-width: 620rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 28rpx;
|
||||
padding: 36rpx 32rpx calc(32rpx);
|
||||
box-shadow: 0 20rpx 60rpx rgba(4, 48, 30, 0.18);
|
||||
}
|
||||
|
||||
.call-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.call-modal__title {
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
color: #1e293b;
|
||||
}
|
||||
.call-modal__close {
|
||||
font-size: 30rpx;
|
||||
color: #94a3b8;
|
||||
padding: 6rpx 10rpx;
|
||||
}
|
||||
|
||||
.call-modal__target {
|
||||
margin-top: 28rpx;
|
||||
background: linear-gradient(180deg, #d6f7e5, #f2fef7);
|
||||
border-radius: 20rpx;
|
||||
padding: 28rpx 24rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.call-modal__phone-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
}
|
||||
.call-modal__phone {
|
||||
font-size: 42rpx;
|
||||
font-weight: 800;
|
||||
color: #00a854;
|
||||
letter-spacing: 2rpx;
|
||||
}
|
||||
.call-modal__quota {
|
||||
margin-top: 12rpx;
|
||||
font-size: 22rpx;
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.call-modal__warn {
|
||||
margin-top: 24rpx;
|
||||
background: #fef7ec;
|
||||
border: 1rpx solid #fde68a;
|
||||
border-radius: 16rpx;
|
||||
padding: 20rpx 22rpx;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10rpx;
|
||||
}
|
||||
.call-modal__warn-text {
|
||||
flex: 1;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.6;
|
||||
color: #92400e;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.call-modal__agree {
|
||||
margin-top: 26rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10rpx;
|
||||
}
|
||||
.call-modal__checkbox {
|
||||
width: 34rpx;
|
||||
height: 34rpx;
|
||||
border-radius: 10rpx;
|
||||
border: 2rpx solid #cbd5e1;
|
||||
background: #ffffff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
transition: all 0.15s ease;
|
||||
|
||||
&--on {
|
||||
background: #00d26a;
|
||||
border-color: #00d26a;
|
||||
}
|
||||
}
|
||||
.call-modal__checkbox-tick {
|
||||
font-size: 22rpx;
|
||||
color: #ffffff;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
.call-modal__agree-text {
|
||||
font-size: 24rpx;
|
||||
color: #334155;
|
||||
}
|
||||
.call-modal__agree-link {
|
||||
font-size: 24rpx;
|
||||
color: #00a854;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.call-modal__btn {
|
||||
margin-top: 30rpx;
|
||||
height: 92rpx;
|
||||
border-radius: 46rpx;
|
||||
background: linear-gradient(135deg, #00d26a, #00e070);
|
||||
color: #ffffff;
|
||||
font-size: 30rpx;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10rpx;
|
||||
box-shadow: 0 8rpx 24rpx rgba(0, 210, 106, 0.35);
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
&--disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,265 @@
|
||||
<template>
|
||||
<view v-if="visible" class="fc-cp" @click="$emit('close')" @touchmove.stop.prevent>
|
||||
<view class="fc-cp__sheet" @click.stop>
|
||||
<view class="fc-cp__handle"></view>
|
||||
<slot name="header"></slot>
|
||||
|
||||
<!-- 全国省 / 市 两列联动直选面板(筛选只到市级,轻氧浅绿风格) -->
|
||||
<view class="fc-cp__cascade">
|
||||
<view class="fc-cp__cascade-head">
|
||||
<text class="fc-cp__cascade-label fc-cp__cascade-label--prov">省份 / 全国</text>
|
||||
<text class="fc-cp__cascade-label fc-cp__cascade-label--city">城市</text>
|
||||
</view>
|
||||
<view class="fc-cp__cascade-body">
|
||||
<!-- 第一列:全国 + 省份 -->
|
||||
<scroll-view class="fc-cp__col fc-cp__col--prov" scroll-y :show-scrollbar="false">
|
||||
<view
|
||||
class="fc-cp__item"
|
||||
:class="{ 'fc-cp__item--active': activeProvince === '' }"
|
||||
@click="onPickProvince('')"
|
||||
>
|
||||
<text class="fc-cp__text">全国</text>
|
||||
<text v-if="activeProvince === ''" class="fc-cp__check">✓</text>
|
||||
</view>
|
||||
<view
|
||||
v-for="p in tree"
|
||||
:key="p.name"
|
||||
class="fc-cp__item"
|
||||
:class="{ 'fc-cp__item--active': activeProvince === p.name }"
|
||||
@click="onPickProvince(p.name)"
|
||||
>
|
||||
<text class="fc-cp__text fc-ellipsis">{{ p.name }}</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<!-- 第二列:全部(全省) + 地级市/州 -->
|
||||
<scroll-view class="fc-cp__col fc-cp__col--city" scroll-y :show-scrollbar="false">
|
||||
<view
|
||||
class="fc-cp__item"
|
||||
:class="{ 'fc-cp__item--active': activeCity === '' }"
|
||||
@click="onPickCity('')"
|
||||
>
|
||||
<text class="fc-cp__text">全部</text>
|
||||
<text v-if="activeCity === ''" class="fc-cp__check">✓</text>
|
||||
</view>
|
||||
<view
|
||||
v-for="c in cities"
|
||||
:key="c.name"
|
||||
class="fc-cp__item"
|
||||
:class="{ 'fc-cp__item--active': activeCity === c.name }"
|
||||
@click="onPickCity(c.name)"
|
||||
>
|
||||
<text class="fc-cp__text fc-ellipsis">{{ c.name }}</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { groupAreaTree } from '@/common/utils/area.js'
|
||||
|
||||
/**
|
||||
* 城市选择底部抽屉(省 / 全国 → 市 两列级联,筛选只到市级)
|
||||
*
|
||||
* 数据源为平铺的 /home/areas 列表,组件内部按 省 > 市 分组;
|
||||
* 点选「全国」或「全部(全省)」或具体城市时立即向上抛出 select 事件,
|
||||
* payload 统一为 { province, city },空串表示全国 / 全省。
|
||||
* header 插槽可用于放置标题、当前定位卡片等自定义内容。
|
||||
*/
|
||||
export default {
|
||||
name: 'FcCityPicker',
|
||||
props: {
|
||||
// 是否显示抽屉
|
||||
visible: { type: Boolean, default: false },
|
||||
// 平铺服务区域:[{ id, province, city, district }]
|
||||
areas: { type: Array, default: () => [] },
|
||||
// 回显:当前选中省份(空串 = 全国)
|
||||
province: { type: String, default: '' },
|
||||
// 回显:当前选中城市(空串 = 全省/全国)
|
||||
city: { type: String, default: '' },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeProvince: '',
|
||||
activeCity: '',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
/** 平铺列表 → 省市级联树 */
|
||||
tree() {
|
||||
return groupAreaTree(this.areas || [])
|
||||
},
|
||||
/** 当前选中省份下的城市列表 */
|
||||
cities() {
|
||||
if (!this.activeProvince) return []
|
||||
const prov = this.tree.find((p) => p.name === this.activeProvince)
|
||||
return (prov && prov.cities) || []
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
visible: {
|
||||
handler(open) {
|
||||
if (!open) return
|
||||
// 打开时按当前选中值回显;缺省定位到第一个省份的首个城市
|
||||
this.activeProvince = this.province || ''
|
||||
this.activeCity = this.city || ''
|
||||
if (!this.activeProvince && this.tree.length) {
|
||||
this.activeProvince = this.tree[0].name
|
||||
}
|
||||
if (this.activeProvince && !this.activeCity) {
|
||||
const prov = this.tree.find((p) => p.name === this.activeProvince)
|
||||
this.activeCity = prov && prov.cities && prov.cities[0] ? prov.cities[0].name : ''
|
||||
}
|
||||
},
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击第一列(全国或省份)
|
||||
* @param {string} provName 省份名称(空串代表全国)
|
||||
*/
|
||||
onPickProvince(provName) {
|
||||
this.activeProvince = provName || ''
|
||||
if (!provName) {
|
||||
// 全国:直接应用
|
||||
this.$emit('select', { province: '', city: '' })
|
||||
return
|
||||
}
|
||||
const prov = this.tree.find((p) => p.name === provName)
|
||||
this.activeCity = prov && prov.cities && prov.cities[0] ? prov.cities[0].name : ''
|
||||
},
|
||||
/**
|
||||
* 点击第二列(全部 = 全省,具体城市 = 全市)
|
||||
* @param {string} cityName 城市名称(空串代表全省全部)
|
||||
*/
|
||||
onPickCity(cityName) {
|
||||
this.activeCity = cityName || ''
|
||||
this.$emit('select', { province: this.activeProvince, city: cityName || '' })
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.fc-cp {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
backdrop-filter: blur(4px);
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
animation: fcCpFade 0.22s ease-out;
|
||||
}
|
||||
.fc-cp__sheet {
|
||||
background: #ffffff;
|
||||
border-radius: 36rpx 36rpx 0 0;
|
||||
padding: 20rpx 32rpx calc(48rpx + env(safe-area-inset-bottom));
|
||||
animation: fcCpUp 0.26s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
box-shadow: 0 -8rpx 36rpx rgba(4, 48, 30, 0.12);
|
||||
}
|
||||
.fc-cp__handle {
|
||||
width: 72rpx;
|
||||
height: 8rpx;
|
||||
background: #dcece3;
|
||||
border-radius: 999rpx;
|
||||
margin: 0 auto 24rpx;
|
||||
}
|
||||
|
||||
/* 全国省/市 两列级联面板(薄荷容器 + 白色圆角列卡 + 柔绿选中态) */
|
||||
.fc-cp__cascade {
|
||||
background: #f2fef7;
|
||||
border-radius: 24rpx;
|
||||
padding: 24rpx 20rpx 20rpx;
|
||||
}
|
||||
.fc-cp__cascade-head {
|
||||
display: flex;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
.fc-cp__cascade-label {
|
||||
font-size: 22rpx;
|
||||
font-weight: 600;
|
||||
color: $fc-text-muted;
|
||||
padding-left: 24rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
&--prov {
|
||||
width: 40%;
|
||||
}
|
||||
&--city {
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
.fc-cp__cascade-body {
|
||||
display: flex;
|
||||
height: 560rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 20rpx;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4rpx 16rpx rgba(4, 48, 30, 0.05);
|
||||
}
|
||||
.fc-cp__col {
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
&--prov {
|
||||
width: 40%;
|
||||
background: #f7fcf9;
|
||||
border-right: 1rpx solid #eef6f1;
|
||||
}
|
||||
&--city {
|
||||
width: 60%;
|
||||
background: #ffffff;
|
||||
}
|
||||
}
|
||||
.fc-cp__item {
|
||||
min-height: 80rpx;
|
||||
margin: 6rpx 12rpx;
|
||||
padding: 10rpx 18rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
border-radius: 14rpx;
|
||||
transition: background-color 0.15s ease;
|
||||
|
||||
&--active {
|
||||
background: linear-gradient(90deg, rgba(0, 210, 106, 0.14), rgba(0, 224, 112, 0.07));
|
||||
|
||||
.fc-cp__text {
|
||||
color: #04874a;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
}
|
||||
.fc-cp__text {
|
||||
font-size: 26rpx;
|
||||
color: $fc-text-regular;
|
||||
flex: 1;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.fc-cp__check {
|
||||
font-size: 26rpx;
|
||||
color: #00c566;
|
||||
font-weight: 700;
|
||||
margin-left: 8rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 动效 */
|
||||
@keyframes fcCpFade {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
@keyframes fcCpUp {
|
||||
from { transform: translateY(100%); }
|
||||
to { transform: translateY(0); }
|
||||
}
|
||||
</style>
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view v-if="show" class="payswd" @touchmove.stop.prevent>
|
||||
<view class="payswd__mask" @click="cancel" />
|
||||
<view class="payswd__mask" @click="cancel" @touchmove.stop.prevent />
|
||||
<view class="payswd__panel">
|
||||
<view class="payswd__head">
|
||||
<text class="payswd__title">{{ title }}</text>
|
||||
|
||||
@@ -17,13 +17,15 @@
|
||||
<!-- 内容主体 -->
|
||||
<view class="fc-post-card__body">
|
||||
<view class="fc-post-card__title fc-ellipsis-2">{{ post.title }}</view>
|
||||
<view v-if="post.isTop || post.categoryName || (post.tags && post.tags.length)" class="fc-post-card__tags">
|
||||
<view v-if="post.isTop || post.categoryName || (post.tags && post.tags.length) || harvestBadge" class="fc-post-card__tags">
|
||||
<text v-if="post.isTop" class="fc-tag fc-post-card__tag fc-post-card__tag--top">置顶</text>
|
||||
<!-- 分类标签:列表卡片固定展示,图标 + 分类名 -->
|
||||
<view v-if="post.categoryName" class="fc-tag fc-post-card__tag fc-post-card__tag--cat">
|
||||
<image class="fc-post-card__tag-icon" :src="categoryIconUrl(post.categoryId)" mode="aspectFit" />
|
||||
<text>{{ post.categoryName }}</text>
|
||||
</view>
|
||||
<!-- 农产品上市时间角标(阳光金,传递新鲜度与采购紧迫感) -->
|
||||
<text v-if="harvestBadge" class="fc-tag fc-post-card__tag fc-post-card__tag--harvest">{{ harvestBadge }}</text>
|
||||
<text v-for="t in (post.tags || []).slice(0, 2)" :key="t" class="fc-tag fc-post-card__tag">{{ t }}</text>
|
||||
</view>
|
||||
<view class="fc-post-card__meta">
|
||||
@@ -40,7 +42,8 @@
|
||||
<text class="fc-post-card__amount">{{ post.price }}</text>
|
||||
<text class="fc-post-card__unit">{{ post.priceUnit || '元' }}</text>
|
||||
</template>
|
||||
<text v-else class="fc-post-card__neg">面议</text>
|
||||
<!-- 无数值价格时展示用户自定义文本(如:面议 / 价格私聊),与发布页自由输入口径一致 -->
|
||||
<text v-else class="fc-post-card__neg">{{ post.priceUnit || '面议' }}</text>
|
||||
</view>
|
||||
<view class="fc-post-card__stats">
|
||||
<view class="fc-post-card__stat">
|
||||
@@ -78,6 +81,14 @@ export default {
|
||||
distanceText() {
|
||||
return this.post.distance == null ? '' : formatKm(this.post.distance)
|
||||
},
|
||||
/**
|
||||
* 农产品上市角标:解析采摘/上市日期(YYYY-MM-DD)提取月份,如「10月上市」
|
||||
* 非标准日期格式(用户自定义文本)不展示角标,避免卡片排版溢出
|
||||
*/
|
||||
harvestBadge() {
|
||||
const m = /^(\d{4})-(\d{1,2})(-\d{1,2})?$/.exec(String(this.post.harvestTime || '').trim())
|
||||
return m ? `${parseInt(m[2], 10)}月上市` : ''
|
||||
},
|
||||
/**
|
||||
* 帖子封面图:优先使用实际上传封面或第一张实拍图,无图时回退为空由图标微卡片兜底
|
||||
*/
|
||||
@@ -223,6 +234,14 @@ export default {
|
||||
padding: 2rpx 10rpx;
|
||||
box-shadow: 0 2rpx 8rpx rgba(0, 210, 106, 0.35);
|
||||
}
|
||||
/* 上市时间角标:阳光金浅底(价值/新鲜度信号),与全局价格色一致 */
|
||||
.fc-post-card__tag--harvest {
|
||||
background: #fdf3e0;
|
||||
color: #b47411;
|
||||
font-weight: 600;
|
||||
border-radius: 6rpx;
|
||||
padding: 2rpx 10rpx;
|
||||
}
|
||||
.fc-post-card__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
在新工单中引用
屏蔽一个用户