feat: ai店铺订单按钮展示

This commit is contained in:
2026-06-08 10:29:25 +08:00
parent 2449d67e53
commit eba95941e2
6 changed files with 203 additions and 39 deletions
+13 -2
View File
@@ -22,7 +22,7 @@
<view class="search-wrap flex-center" v-if="index === 0">
<view class="search-input flex1 flex-center">
<uni-icons class="m-r-16" type="search" color="#9AA7C7" size="18" />
<image class="search-icon-grey m-r-16" src="/static/icon/search.svg" mode="aspectFit" />
<uni-easyinput
class="flex1"
v-model="searchText"
@@ -36,7 +36,7 @@
/>
</view>
<view class="search-btn flex-center" @click="search">
<uni-icons type="search" color="#FFFFFF" size="18" />
<image class="search-icon-white" src="/static/icon/search.svg" mode="aspectFit" />
</view>
</view>
<view class="notice-card" v-if="mesArr.length && index === 0">
@@ -444,6 +444,17 @@
background: linear-gradient(to bottom right, #2c8cfa 0%, #3d5efb 100%);
}
.search-icon-grey {
width: 36rpx;
height: 36rpx;
}
.search-icon-white {
width: 36rpx;
height: 36rpx;
filter: brightness(0) invert(1);
}
.notice-card {
margin-top: 18rpx;
padding: 20rpx 40rpx;
+22 -13
View File
@@ -13,16 +13,24 @@
<view class="floating-search-wrap">
<view class="floating-search" @click="goSearch">
<view class="floating-search-left">
<image class="floating-search-icon_333" src="/static/icon/search1.png" mode="scaleToFill" />
<image
class="floating-search-icon_333"
src="/static/icon/search1.png"
mode="scaleToFill"
/>
<view class="floating-search-placeholder">搜索想要的商品</view>
</view>
<view class="floating-search-btn">
<image class="floating-search-icon_fff" src="/static/icon/search1.png" mode="scaleToFill" />
<image
class="floating-search-icon_fff"
src="/static/icon/search1.png"
mode="scaleToFill"
/>
</view>
</view>
</view>
<view class="pages">
<!-- <s-custom-navbarIndex /> -->
<!-- <s-custom-navbarIndex /> -->
<s-banner
v-if="template?.components[0]?.property.items?.length"
:data="template.components[0].property"
@@ -41,6 +49,7 @@
<view class="size26 f500">{{ v.title }}</view>
</view>
</view> -->
<!-- 暂时废弃 -->
<view class="activeList flex-row wrap ju-between" v-if="activeList?.length">
<view
class="activeItem"
@@ -349,18 +358,18 @@
}
.pagesIndex {
position: relative;
padding-top: 480rpx;
padding-top: 480rpx;
// background: linear-gradient(135deg, #2c8cfa 0%, #3d5efb 100%);
background-image: url("../../static/index/index_bg.jpeg");
background-image: url('../../static/index/index_bg.jpeg');
background-size: 100% auto;
background-repeat: no-repeat;
background-position: center -20rpx;
.pageContent{
border-radius: 20rpx 20rpx 0 0;
position: relative;
padding-top: 50rpx;
background: #fff;
}
.pageContent {
border-radius: 20rpx 20rpx 0 0;
position: relative;
padding-top: 50rpx;
background: #fff;
}
}
.index-header {
@@ -451,7 +460,7 @@
width: 64rpx;
height: 64rpx;
border-radius: 64rpx;
padding: 0 20rpx;
padding: 0 20rpx;
background: linear-gradient(135deg, var(--primary-grad-start) 0%, var(--primary-grad-end) 100%);
display: flex;
align-items: center;
@@ -463,7 +472,7 @@
height: 42rpx;
filter: brightness(0) invert(1);
}
.floating-search-icon_333 {
.floating-search-icon_333 {
width: 32rpx;
height: 32rpx;
}