|
|
@@ -93,6 +93,7 @@
|
|
|
@add="addEvent"
|
|
|
@addOneEvent="addCustomNumEvent"
|
|
|
@del="delEvent"
|
|
|
+ @showBigCover="showBigCover"
|
|
|
></Commondity>
|
|
|
</view>
|
|
|
<!-- <Commondity
|
|
|
@@ -152,6 +153,9 @@
|
|
|
<!--<FooterCart :price="allGoodsPrice" :count="allGoodsCount" @confirm="confirmSelectGoodsEvent" v-if="tabIndex == 0"></FooterCart>-->
|
|
|
<FooterCart :price="allGoodsPrice" :countNumber="allGoodsCount" @confirm="confirmSelectGoodsEvent" v-if="tabIndex == 0"></FooterCart>
|
|
|
<FooterCart :price="allPrice" :count="allCount" @confirm="confirmSelectEvent" v-if="tabIndex == 1"></FooterCart>
|
|
|
+
|
|
|
+ <sel-popup :show="popupShow" :info="infoData" @close="hidePopup" />
|
|
|
+
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -166,7 +170,7 @@ import FooterCart from "@/components/module/app-footer-cart";
|
|
|
import ModalModule from "@/components/plugin/modal";
|
|
|
import allMoreSelectInput from "@/components/module/allMoreSelectInput";
|
|
|
import allMoreSelectInputMins from "@/mixins/allMoreSelectInput";
|
|
|
-
|
|
|
+import SelPopup from "@/components/sel-popup.vue";
|
|
|
import { COMMODITY_TYPE } from "@/utils/declare";
|
|
|
import productMins from "@/mixins/product";
|
|
|
export default {
|
|
|
@@ -177,7 +181,7 @@ export default {
|
|
|
AppWrapperEmpty,
|
|
|
Commondity,
|
|
|
ModalModule,
|
|
|
- FooterCart,allMoreSelectInput,PxClassCommondity,GoodsCommondity
|
|
|
+ FooterCart,allMoreSelectInput,PxClassCommondity,GoodsCommondity,SelPopup
|
|
|
},
|
|
|
mixins: [productMins,allMoreSelectInputMins],
|
|
|
data() {
|
|
|
@@ -197,7 +201,9 @@ export default {
|
|
|
bigCount: 0,
|
|
|
smallCount: 0
|
|
|
},
|
|
|
- showSubmitModel: false
|
|
|
+ showSubmitModel: false,
|
|
|
+ popupShow:false,
|
|
|
+ infoData:{}
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -217,6 +223,16 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ showPopup() {
|
|
|
+ this.popupShow = true;
|
|
|
+ },
|
|
|
+ hidePopup() {
|
|
|
+ this.popupShow = false;
|
|
|
+ },
|
|
|
+ showBigCover(item){
|
|
|
+ this.popupShow=true
|
|
|
+ this.infoData = item
|
|
|
+ },
|
|
|
//自定义数量
|
|
|
customNum(info) {
|
|
|
this.isModel = true;
|