shish 1 год назад
Родитель
Сommit
ea7bdcf7c4
1 измененных файлов с 7 добавлено и 5 удалено
  1. 7 5
      ghsApp/src/pagesPurchase/add.vue

+ 7 - 5
ghsApp/src/pagesPurchase/add.vue

@@ -17,6 +17,8 @@
 			</view>
 		</view>
 
+		<button class="admin-button-com middle blue" @click="confirmSaveItem" style="position: absolute;top:120upx;right:24upx;z-index:99999;">选好了</button>
+
 		<view class="scroll-middle_bx">
 			<scroll-view scroll-y scroll-with-animation class="tab-view">
 				<div v-for="(item, index) in globalClassData" :key="index" class="tab-bar-item" :class="[globalClassIndex == index ? 'active' : '']" :data-current="index" @tap.stop="globalSwitchClass(index,item)">
@@ -46,6 +48,8 @@
 			</scroll-view>
 		</view>
 
+		<footercart :price="cgAllPriceFun" :count="allCount" @confirm="confirmSaveItem"></footercart>
+
 		<modal-module :show="isAddModel" @cancel="addItemModelHidden" @click="confirmAddItemModel" :title="customData.name" color="#333" :size="32" padding="30rpx 30rpx" :button="showButton" >
 			<template slot="customContent">
 				<view class="select-view">
@@ -68,8 +72,6 @@
 			</template>
 		</modal-module>
 
-		<footer-cart :price="cgAllPriceFun" :count="allCount" @confirm="confirmSaveItem"></footer-cart>
-
 		<uni-popup ref="globalClassImgRef" background-color="#fff" type="center" :animation="false" class="class-popup-style">
 			<view style="display:flex;padding:20upx;height:auto;justify-content: space-between;align-items:center;flex-wrap:wrap;max-height:100vh;overflow:auto;">
 
@@ -91,20 +93,20 @@ import AppTabs from "@/components/plugin/tabs";
 import AppWrapperEmpty from "@/components/app-wrapper-empty";
 import CommodityPurchase from "./components/CommodityPurchase";
 import ModalModule from "@/components/plugin/modal";
-import FooterCart from "@/components/module/app-footer-cart";
+import footercart from "@/components/module/app-footer-cart";
 import productMins from "@/mixins/product2";
 import { mapGetters } from "vuex";
 import { delStatusUpdate } from '@/api/product';
 import { getShopInfoApi } from "@/api/common";
 export default {
-	name: "purchase",
+	name: "add",
 	components: {
 		AppTabs,
 		AppSearchModule,
 		AppWrapperEmpty,
 		CommodityPurchase,
 		ModalModule,
-		FooterCart
+		footercart
 	},
 	mixins: [productMins],
 	data() {