订单,商品,代客下单,分组,分类页面调整

删除批量修改库存数量
This commit is contained in:
2024-10-16 18:10:29 +08:00
parent 2b85d19453
commit 2800569b47
24 changed files with 283 additions and 156 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view class="safe-page min-page">
<up-sticky>
<view class="bg-fff u-p-l-30 u-p-r-30 u-p-b-30">
<view class="bg-fff u-p-l-30 u-p-b-24">
<!-- <view class="myTabs ">
<myTabs :list="tabsList" @change="tabsChange"></myTabs>
</view> -->
@@ -20,7 +20,9 @@
<image src="@/static/iconImg/icon-search.svg" class="input-icon" />
</template>
</uni-easyinput>
<button type="text" @click="searchFunc">搜索</button>
<view class="u-m-l-4">
<button type="text" @click="searchFunc"><text class="color-333">搜索</text></button>
</view>
</view>
</view>
<view class="u-flex states1 u-row-between u-font-28">

View File

@@ -5,10 +5,12 @@
<uni-forms :model="category" :rules="rules" err-show-type="toast" ref="form" :border="true"
label-position="top" label-width="350">
<view class="block">
<view class="">
<view class="input-padding-b-0 ">
<uni-forms-item label="分类名称" required name="name">
<uni-easyinput paddingNone :placeholderStyle="placeholderStyle"
:inputBorder="inputBorder" v-model="category.name" placeholder="输入分类名称" />
<view class="u-m-t-16 u-m-b-24">
<uni-easyinput paddingNone :placeholderStyle="placeholderStyle"
:inputBorder="inputBorder" v-model="category.name" placeholder="输入分类名称" />
</view>
</uni-forms-item>
</view>
<template v-if="option.type=='edit'">
@@ -53,7 +55,9 @@
</uni-forms-item>
<uni-forms-item label="分组排序" required name="name">
<uni-number-box :value="category.sort" />
<view class="u-m-t-24">
<uni-number-box :value="category.sort" />
</view>
</uni-forms-item>
</view>
</uni-forms>
@@ -486,7 +490,7 @@
::v-deep .uni-forms-item__error {
display: none !important;
}
::v-deep .option .uni-forms-item {
padding: 0;
min-height: inherit;
@@ -547,13 +551,26 @@
.lh40 {
line-height: 40rpx;
}
::v-deep .uni-forms-item.is-direction-top .uni-forms-item__label{
padding: 0;
}
::v-deep .uni-forms-item{
min-height: inherit;
}
::v-deep .input-padding-b-0 .uni-forms-item--border{
padding-bottom: 0;
padding-top: 0;
}
::v-deep .uni-forms-item--border{
padding-top: 12px;
padding-bottom: 16px;
}
.box {
font-size: 28rpx;
.block {
background: #FFFFFF;
border-radius: 18rpx 18rpx 18rpx 18rpx;
border-radius: 12rpx 18rpx 0 18rpx;
padding: 12rpx 24rpx;
margin-bottom: 32rpx;
}
@@ -561,6 +578,8 @@
.save-btn-box {
position: fixed;
font-size: 16px;
font-weight: 700;
left: 30rpx;
right: 30rpx;
bottom: 60rpx;

View File

@@ -19,7 +19,7 @@
<!-- 删除弹窗 -->
<my-model desc="请确保此分类下没有任何商品确认删除?" ref="delModel" @confirm="delModelConfirm"></my-model>
<view class="fixed-b">
<my-button :height="80" shape="circle" showShadow @tap="toAddCategory">新建分组</my-button>
<my-button :height="80" shape="circle" font-weight="700" @tap="toAddCategory">新建分组</my-button>
</view>
</view>