feat: ai店铺订单按钮展示
This commit is contained in:
+13
-2
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
@@ -211,11 +211,11 @@
|
||||
|
||||
onLoad(async (options) => {
|
||||
// 解析参数
|
||||
if (!options.orderId || !options.itemId) {
|
||||
if (!options.id || !options.id) {
|
||||
sheep.$helper.toast(`缺少订单信息,请检查`);
|
||||
return;
|
||||
}
|
||||
state.orderId = options.orderId;
|
||||
state.orderId = options.id;
|
||||
state.itemId = parseInt(options.itemId);
|
||||
|
||||
// 读取订单信息
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<su-fixed bottom placeholder bg="bg24" v-if="state.orderInfo.status != 30">
|
||||
<su-fixed bottom placeholder bg="bg24">
|
||||
<view class="orderBan flex-column ju-center">
|
||||
<card_orderBan :data="state.orderInfo" @downData="getOrderDetail" type="2"></card_orderBan>
|
||||
</view>
|
||||
@@ -94,7 +94,7 @@
|
||||
<script setup>
|
||||
import sheep from '@/sheep';
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||
import { reactive, ref } from 'vue';
|
||||
import { computed, reactive, ref } from 'vue';
|
||||
import {
|
||||
fen2yuan,
|
||||
handleOrderButtons,
|
||||
@@ -115,6 +115,7 @@
|
||||
source: '',
|
||||
});
|
||||
|
||||
|
||||
// ========== 门店自提(核销) ==========
|
||||
const systemStore = ref({}); // 门店信息
|
||||
|
||||
@@ -465,7 +466,7 @@
|
||||
}
|
||||
|
||||
.orderBan {
|
||||
height: 140rpx;
|
||||
height: 100rpx;
|
||||
width: 100%;
|
||||
padding: 0 24rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user