feat(home): 移除首页「到象柚商城开店 / 一键开店」入口
- 删除模板中的商城卡片(图标 + 文案 + 一键开店按钮) - 删除 onMall 事件处理与相关样式(.mall / .mall-ic / .mi-body / .mi-handle / .mall-l / .mall-title / .mall-sub / .mall-btn) - 首页结构改为:教程 → 大促 Banner → 平台实力 → 页脚 slogan 校验:22 个 .vue 编译通过、无残留引用
这个提交包含在:
@@ -155,19 +155,6 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 商城开店 -->
|
||||
<view class="mall" @tap="onMall">
|
||||
<view class="mall-ic">
|
||||
<view class="mi-body"></view>
|
||||
<view class="mi-handle"></view>
|
||||
</view>
|
||||
<view class="mall-l">
|
||||
<text class="mall-title">到象柚商城开店</text>
|
||||
<text class="mall-sub">460万+ 全国师傅 · 一键接单</text>
|
||||
</view>
|
||||
<view class="mall-btn">一键开店</view>
|
||||
</view>
|
||||
|
||||
<view class="foot-tip">优匠优服 · 让手艺人有活干,让家有温度</view>
|
||||
</view>
|
||||
|
||||
@@ -288,7 +275,6 @@
|
||||
const onLearn = () => toast('教程模块开发中')
|
||||
const onBanner = () => uni.navigateTo({ url: '/pages/service/list?cat_id=1&cat_name=' + encodeURIComponent('家具') })
|
||||
const onCloseBanner = () => toast('已关闭')
|
||||
const onMall = () => toast('商城模块开发中')
|
||||
const onOrder = () => {
|
||||
if (!needLogin()) return
|
||||
uni.showToast({ title: '请先选择服务类目', icon: 'none' })
|
||||
@@ -1009,75 +995,6 @@
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* ---------- 商城开店 ---------- */
|
||||
.mall {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 24rpx;
|
||||
padding: 26rpx 24rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 20rpx;
|
||||
box-shadow: 0 6rpx 20rpx rgba(240, 129, 31, 0.07);
|
||||
}
|
||||
.mall-ic {
|
||||
position: relative;
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
border-radius: 20rpx;
|
||||
background: linear-gradient(135deg, #FFF0DE 0%, #FFDDB8 100%);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.mi-body {
|
||||
position: absolute;
|
||||
left: 16rpx;
|
||||
top: 24rpx;
|
||||
width: 40rpx;
|
||||
height: 30rpx;
|
||||
border: 3rpx solid #E88A2C;
|
||||
border-radius: 4rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mi-handle {
|
||||
position: absolute;
|
||||
left: 26rpx;
|
||||
top: 15rpx;
|
||||
width: 20rpx;
|
||||
height: 12rpx;
|
||||
border: 3rpx solid #E88A2C;
|
||||
border-bottom: none;
|
||||
border-radius: 10rpx 10rpx 0 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mall-l {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin-left: 18rpx;
|
||||
}
|
||||
.mall-title {
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
color: #1F1F1F;
|
||||
}
|
||||
.mall-sub {
|
||||
margin-top: 4rpx;
|
||||
font-size: 22rpx;
|
||||
color: #9A9A9A;
|
||||
}
|
||||
.mall-btn {
|
||||
height: 60rpx;
|
||||
padding: 0 28rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 30rpx;
|
||||
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
|
||||
color: #ffffff;
|
||||
font-size: 24rpx;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
box-shadow: 0 6rpx 14rpx rgba(240, 113, 13, 0.28);
|
||||
}
|
||||
.foot-tip {
|
||||
padding: 36rpx 0 10rpx;
|
||||
text-align: center;
|
||||
|
||||
在新工单中引用
屏蔽一个用户