新增限时折扣并增加头部底部按钮公共组件
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<HeaderCard :options="{ name: '限时折扣', intro: '批量设置商品折扣', icon: 'xszk' }" @load="headLoad" />
|
||||
<my-header-card :options="{ name: '限时折扣', intro: '批量设置商品折扣', icon: 'xszk' }"></my-header-card>
|
||||
<view class="list">
|
||||
<view class="item" v-for="item in tableData.list" :key="item.id">
|
||||
<view class="head">
|
||||
@@ -32,7 +32,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<u-loadmore :status="tableData.status"></u-loadmore>
|
||||
<FooterBtn />
|
||||
<my-footer-btn @confirm="go.to('PAGES_LIMIT_DISCOUNT_ADD')"></my-footer-btn>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -42,12 +42,7 @@ import { onLoad, onReachBottom } from '@dcloudio/uni-app';
|
||||
import HeaderCard from '../components/HeaderCard.vue';
|
||||
import FooterBtn from '../components/FooterBtn.vue';
|
||||
import { limitTimeDiscountPage } from '@/http/api/market/index.js';
|
||||
|
||||
// 标题的高度
|
||||
const headHeight = ref(0);
|
||||
function headLoad(e) {
|
||||
headHeight.value = e.height;
|
||||
}
|
||||
import go from '@/commons/utils/go.js';
|
||||
|
||||
// 删除限时折扣
|
||||
function delHandle(item) {
|
||||
|
||||
Reference in New Issue
Block a user