import Vue from 'vue'


import acRulePopCom from '../components/basisComponent/popCom/hdzxtrulePop.vue'
import acRulePopCom10015Fly from '../components/basisComponent/popCom/hdzxtrulePop10015Fly.vue'
import acRulePopCom10015FlyDBP from '../components/basisComponent/popCom/hdzxtrulePop10015FlyDBP.vue'
import myPrizePopCom from "../components/basisComponent/popCom/hdzxtmyPrizePop.vue"
import myPrizePopCom705 from "../components/basisComponent/popCom/hdzxtmyPrizePop705.vue"
import myPrizePopCom10015Fly from "../components/basisComponent/popCom/hdzxtmyPrizePop10015Fly.vue"
import myPrizePopCom10015FlyDBP from "../components/basisComponent/popCom/hdzxtmyPrizePop10015FlyDBP.vue"
import notimesPopCom10015Fly from "../components/basisComponent/popCom/hdzxtmyPrizePopNoTimes10015Fly.vue"
import notimesPopCom10015FlyDBP from "../components/basisComponent/popCom/hdzxtmyPrizePopNoTimes10015FlyDBP.vue"
import taskPopComNew from "../components/basisComponent/button/hdzxtdialogMore.vue"
import taskPopComNew1 from "../components/basisComponent/popCom/hdzxtTaskDialogMore.vue"
import taskPopComNew2 from "../components/basisComponent/popCom/hdzxtTaskDialogMoreNew.vue"
import followSkuPopNew from "../components/basisComponent/popCom/hdzxtfollowSkuPop.vue"
import hdzxtFollowSkuPopNew from "../components/basisComponent/popCom/hdzxtFollowSkuPopNew.vue"
import prizeResultPopCom from '../components/basisComponent/drawPrizeResult/hdzxtacquirething.vue'
import noPrizeResultPopCom from '../components/basisComponent/drawPrizeResult/hdzxtthanksjion.vue'
import prizeResultPopCom10015Fly from '../components/basisComponent/drawPrizeResult/hdzxtacquirething10015Fly.vue'
import prizeResultPopCom10015FlyDBP from '../components/basisComponent/drawPrizeResult/hdzxtacquirething10015FlyDBP.vue'
import noPrizeResultPopCom10015Fly from '../components/basisComponent/drawPrizeResult/hdzxtthanksjion10015Fly.vue'
import noPrizeResultPopCom10015FlyDBP from '../components/basisComponent/drawPrizeResult/hdzxtthanksjion10015FlyDBP.vue'
import repeatPrizeResultPopCom from '../components/basisComponent/drawPrizeResult/hdzxtrepeatacquirething.vue'
import joinVip from "../components/basisComponent/joinMemeber/AmnthresholdJoin/hdzxtJoinVip.vue"
import commonjoinVip from "../components/basisComponent/joinMemeber/hdzxtJoinVip.vue"
import sureFollowShopPop from "../components/basisComponent/joinMemeber/AmnthresholdJoin/hdzxtfollowShop.vue"
import commonsureFollowShopPop from "../components/basisComponent/joinMemeber/hdzxtfollowShop.vue"
import shopPopComNew from "../components/basisComponent/popCom/hdzxtShopPop.vue"
import fillInInfo from "../components/basisComponent/popCom/fillInInfo.vue"
import drawCardPopCom from '../components/basisComponent/popCom/hdzxtdrawCardPop.vue'
import drawCardPopCom1 from '../components/basisComponent/popCom/hdzxtdrawCardPop1.vue'
import hdzxtAddress from '../components/basisComponent/popCom/hdzxtAddressPop.vue'
import hdzxtAddress705 from '../components/basisComponent/popCom/hdzxtAddressPop70-5.vue'
import hdzxtShareTaskPop from '../components/basisComponent/popCom/hdzxtShareTask.vue'
import hdzxtMyFriendPop from '../components/basisComponent/popCom/hdzxtMyFriend.vue'
import myOrderPrizePop from "../components/basisComponent/popCom/hdzxtMyOrderPrizePop.vue"
import myOrderPrizePop705 from "../components/basisComponent/popCom/hdzxtMyOrderPrizePop705.vue"
import prizeStatusPop from "../components/basisComponent/popCom/hdzxtPrizeStatusPop.vue"
import hdzxtFailPop from "../components/basisComponent/drawPrizeResult/hdzxtFailPop.vue"
import hdzxtSuccessPop from "../components/basisComponent/drawPrizeResult/hdzxtSuccessPop.vue"
import hdzxtCouponPop from "../components/basisComponent/popCom/hdzxtCouponPop.vue"
import hdzxtCouponPopNew from "../components/basisComponent/popCom/hdzxtCouponPopNew.vue"
import hdzxtCouponFriendPop from "../components/basisComponent/popCom/hdzxtCouponFriend.vue"
import hdzxtshousuReduce from "../components/basisComponent/popCom/hdzxtshousuReduce.vue"
import hdzxtshousuLoser from "../components/basisComponent/popCom/hdzxtshouSuLoserPop.vue"

import buildingEndPop from "../components/basisComponent/popCom/distancePop.vue"
import clientLog from "../components/basisComponent/popCom/clientLog.vue"
import hdzxtMyOrder from "../components/basisComponent/popCom/hdzxtMyOrder.vue"
import hdzxtMyOrdeAnother from "../components/basisComponent/popCom/hdzxtMyOrdeAnother.vue"
import conditionPop from "../components/basisComponent/popCom/conditionPop.vue"
import conditionPop1 from "../components/basisComponent/popCom/conditionPop1.vue"
import conditionPop2 from "../components/basisComponent/popCom/conditionPop2.vue"
import conditionAnotherPop from "../components/basisComponent/popCom/conditionAnotherPop.vue"
import orderCheckPopNew from "../components/basisComponent/popCom/orderCheckPopNew.vue"
import orderVerificationPop from "../components/basisComponent/popCom/orderVerificationPop.vue"
import drawRecordPopNew from "../components/basisComponent/popCom/drawRecordPop.vue"
import drawChancePop from "../components/basisComponent/popCom/drawChancePop.vue"

import hdzxtSuccessPopNew from "../components/basisComponent/drawPrizeResult/hdzxtSuccessPopNew.vue"
import generalDialog from "../components/basisComponent/popCom/generalDialog.vue"
import orderGoodsPop from "../components/basisComponent/popCom/orderGoodsPop.vue"
import orderEndPop from "../components/basisComponent/popCom/orderEndPop.vue"

import auctionHistory from "../components/basisComponent/popCom/auctionHistory.vue";
import auctionGoodsHistory from "../components/basisComponent/popCom/auctionGoodsHistory.vue";
import auctionToast from "../components/basisComponent/popCom/auctionToast.vue";
import stepMyOrder from "../components/basisComponent/popCom/stepMyOrder.vue";
import orderActivityGoods from "../components/basisComponent/popCom/orderActivityGoods.vue";
import sharePopCom10101Fly from '../components/basisComponent/popCom/sharePopCom10101Fly.vue'
import pieceTogetherMemberListPop from '../components/basisComponent/popCom/pieceTogetherMemberListPop.vue'
import prizeResultPopCom70_4 from '../components/basisComponent/drawPrizeResult/hdzxtacquirething70-4.vue'
import prizeResultPopCom70_5 from '../components/basisComponent/drawPrizeResult/hdzxtacquirething70-5.vue'
import singleClaimPop from '../components/basisComponent/drawPrizeResult/singleClaimPop.vue'
import brushPopCom from '../components/basisComponent/popCom/brushPopCom.vue'
import deliverPopCom from '../components/basisComponent/popCom/deliverPopCom.vue'
import timeCyclePop from '../components/basisComponent/popCom/timeCyclePop.vue'
import sharePanel from '../components/basisComponent/popCom/sharePanel.vue'
import noticePop from '../components/basisComponent/popCom/noticePop.vue'
import commonNoticePop from '../components/basisComponent/popCom/commonNoticePop.vue'
const HdzxtAddressConstructor = Vue.extend(hdzxtAddress);
const HdzxtAddressConstructor705 = Vue.extend(hdzxtAddress705);
const AcRulePopComConstructor = Vue.extend(acRulePopCom);
const AcRulePopComConstructor10015Fly = Vue.extend(acRulePopCom10015Fly);
const AcRulePopComConstructor10015FlyDBP = Vue.extend(acRulePopCom10015FlyDBP);
const MyPrizePopComConstructor = Vue.extend(myPrizePopCom);
const MyPrizePopComConstructor705 = Vue.extend(myPrizePopCom705);
const MyPrizePopComConstructor10015Fly = Vue.extend(myPrizePopCom10015Fly);
const MyPrizePopComConstructor10015FlyDBP = Vue.extend(myPrizePopCom10015FlyDBP);
const notimesPopComConstructor10015Fly = Vue.extend(notimesPopCom10015Fly);
const notimesPopComConstructor10015FlyDBP = Vue.extend(notimesPopCom10015FlyDBP);
const TaskPopComConstructorNew = Vue.extend(taskPopComNew);
const TaskPopComConstructorNew1 = Vue.extend(taskPopComNew1);
const TaskPopComConstructorNew2 = Vue.extend(taskPopComNew2);
const followSkuPopNewComConstructor = Vue.extend(followSkuPopNew);
const hdzxtFollowSkuPopNewComConstructor = Vue.extend(hdzxtFollowSkuPopNew);

const PrizeResultPopComConstructor = Vue.extend(prizeResultPopCom);
const PrizeResultPopComConstructor10015Fly = Vue.extend(prizeResultPopCom10015Fly);
const PrizeResultPopComConstructor10015FlyDBP = Vue.extend(prizeResultPopCom10015FlyDBP);
const PrizeResultPopComConstructor70_4 = Vue.extend(prizeResultPopCom70_4);
const PrizeResultPopComConstructor70_5 = Vue.extend(prizeResultPopCom70_5);
const ShopPopComNewConstructor = Vue.extend(shopPopComNew);
const NoPrizeResultPopComConstructor = Vue.extend(noPrizeResultPopCom);
const NoPrizeResultPopComConstructor10015Fly = Vue.extend(noPrizeResultPopCom10015Fly);
const NoPrizeResultPopComConstructor10015FlyDBP = Vue.extend(noPrizeResultPopCom10015FlyDBP);
const RepeatPrizeResultPopComConstructor = Vue.extend(repeatPrizeResultPopCom);
const joinVipConstructor = Vue.extend(joinVip);
const CommonjoinVipConstructor = Vue.extend(commonjoinVip);
const DrawCardPopComConstructor = Vue.extend(drawCardPopCom);
const DrawCardPopComConstructor1 = Vue.extend(drawCardPopCom1);
const sureFollowShopPopComConstructor = Vue.extend(sureFollowShopPop);
const fillInInfoConstructor = Vue.extend(fillInInfo);
const commonsureFollowShopPopComConstructor = Vue.extend(commonsureFollowShopPop);
const hdzxtShareTaskPopConstructor = Vue.extend(hdzxtShareTaskPop);
const HdzxtMyFriendPopConstructor = Vue.extend(hdzxtMyFriendPop);
const myOrderPrizePopComConstructor = Vue.extend(myOrderPrizePop);
const myOrderPrizePopComConstructor705 = Vue.extend(myOrderPrizePop705);

const prizeStatusPopConstructor = Vue.extend(prizeStatusPop);
const HdzxtFailPopConstructor = Vue.extend(hdzxtFailPop);
const HdzxtSuccessPopConstructor = Vue.extend(hdzxtSuccessPop);
const HdzxtCouponPopConstructor = Vue.extend(hdzxtCouponPop);
const HdzxtCouponPopConstructorNew = Vue.extend(hdzxtCouponPopNew);

const HdzxtCouponFriendPopConstructor = Vue.extend(hdzxtCouponFriendPop);
const HdzxtCouponShouSuReduce = Vue.extend(hdzxtshousuReduce);
const HdzxtCouponShouSuLoser = Vue.extend(hdzxtshousuLoser);
const BuildingEndPopConstructor = Vue.extend(buildingEndPop);
const ClientLogConstructor = Vue.extend(clientLog);
const HdzxtMyOrderConstructor = Vue.extend(hdzxtMyOrder);
const HdzxtMyOrderAnotherConstructor = Vue.extend(hdzxtMyOrdeAnother);
const ConditionPopConstructor = Vue.extend(conditionPop);
const ConditionPopConstructor1 = Vue.extend(conditionPop1);
const ConditionPopConstructor2 = Vue.extend(conditionPop2);
const ConditionPopAnotherConstructor = Vue.extend(conditionAnotherPop);

const orderCheckPopNewConstructor = Vue.extend(orderCheckPopNew);
const orderVerificationConstructor = Vue.extend(orderVerificationPop);
const drawRecordPopNewConstructor = Vue.extend(drawRecordPopNew);
const drawChancePopConstructor = Vue.extend(drawChancePop);
const hdzxtSuccessPopNewConstructor = Vue.extend(hdzxtSuccessPopNew);
const generalDialogConstructor = Vue.extend(generalDialog);
const orderGoodsPopConstructor = Vue.extend(orderGoodsPop);
const orderEndPopConstructor = Vue.extend(orderEndPop);
const auctionHistoryConstructor = Vue.extend(auctionHistory);
const auctionGoodsHistoryConstructor = Vue.extend(auctionGoodsHistory);
const auctionToastConstructor = Vue.extend(auctionToast);
const stepMyOrderConstructor = Vue.extend(stepMyOrder);
const orderActivityGoodsConstructor = Vue.extend(orderActivityGoods);
const sharePopComConstructor10101Fly = Vue.extend(sharePopCom10101Fly);
const pieceTogetherMemberListPopConstructor = Vue.extend(pieceTogetherMemberListPop);
const singleClaimPopConstructor = Vue.extend(singleClaimPop);
const brushPopComConstructor = Vue.extend(brushPopCom);
const deliverPopComConstructor = Vue.extend(deliverPopCom);
const timeCyclePopComConstructor = Vue.extend(timeCyclePop);
const sharePanelPopComConstructor = Vue.extend(sharePanel);
const noticePopComConstructor = Vue.extend(noticePop);
const commonNoticePopComConstructor = Vue.extend(commonNoticePop);
// 领奖记录
let ordAwardInstance;
export const ordAwardService = {
  create(handleClose, styleData) {
    let option = {
      show: true,
      styleData
    }
    ordAwardInstance = new ordAwardConstructor({
      data: option,
      methods: {
        handleClose
      }
    });
    ordAwardInstance.$mount();
    document.body.appendChild(ordAwardInstance.$el);
  },

  close() {
    if (ordAwardInstance) {
      ordAwardInstance.show = false;
    }
  },
};

// 活动商品
let activityGoodsInstance;
export const activityGoodsService = {
  create(handleClose, styleData) {
    let option = {
      show: true,
      styleData
    }
    activityGoodsInstance = new activityGoodsConstructor({
      data: option,
      methods: {
        handleClose
      }
    });
    activityGoodsInstance.$mount();
    document.body.appendChild(activityGoodsInstance.$el);
  },

  close() {
    if (activityGoodsInstance) {
      activityGoodsInstance.show = false;
    }
  },
};

//下单阶梯有礼我的订单
let stepMyOrderInstance;
export const StepMyOrderPopService = {
  create(isTemplate, styleDataNew, submit) {
    console.log(styleDataNew, 'styleDataNew')
    let option = {
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    stepMyOrderInstance = new stepMyOrderConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    stepMyOrderInstance.$mount();
    document.body.appendChild(stepMyOrderInstance.$el);
  },

  close() {
    if (stepMyOrderInstance) {
      stepMyOrderInstance.show = false;
    }
  },

};


//新裂变神券插队弹框
let hdzxtCouponPopInstanceNew;
export const hdzxtCouponPopPopServiceNew = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('3333333333333333')
    let option = {
      datas: datas,
      isTemplate: isTemplate,
      styleData: styleDataNew,
      show: true
    }
    hdzxtCouponPopInstanceNew = new HdzxtCouponPopConstructorNew({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtCouponPopInstanceNew.$mount();
    document.body.appendChild(hdzxtCouponPopInstanceNew.$el);
  },

  close() {
    if (hdzxtCouponPopInstanceNew) {
      hdzxtCouponPopInstanceNew.show = false;
    }
  },

};


// 通用提示弹框
let generalDialogInstance;
export const generalDialogService = {
  create(datas, styleDataNew, submit) {
    let option = {
      datas: datas,
      styleData: styleDataNew,
      show: true
    }
    generalDialogInstance = new generalDialogConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    generalDialogInstance.$mount();
    document.body.appendChild(generalDialogInstance.$el);
  },

  close() {
    if (generalDialogInstance) {
      generalDialogInstance.show = false;
    }
  },
};

// 积分竞拍竞拍记录
let auctionHistoryInstance;
export const auctionHistoryService = {
  create(isTemplate, styleData, submit) {
    let option = {
      isTemplate: isTemplate,
      styleData: styleData,
      show: true
    }
    auctionHistoryInstance = new auctionHistoryConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    auctionHistoryInstance.$mount();
    document.body.appendChild(auctionHistoryInstance.$el);
  },

  close() {
    if (auctionHistoryInstance) {
      auctionHistoryInstance.show = false;
    }
  },
};

// 积分竞拍商品竞拍记录
let auctionGoodsHistoryInstance;
export const auctionGoodsHistoryService = {
  create(prizeId, isTemplate, styleData, submit) {
    let option = {
      prizeId,
      isTemplate: isTemplate,
      styleData: styleData,
      show: true
    }
    auctionGoodsHistoryInstance = new auctionGoodsHistoryConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    auctionGoodsHistoryInstance.$mount();
    document.body.appendChild(auctionGoodsHistoryInstance.$el);
  },

  close() {
    if (auctionGoodsHistoryInstance) {
      auctionGoodsHistoryInstance.show = false;
    }
  },
};

// 积分竞拍通用弹窗
let auctionToastInstance;
export const auctionToastService = {
  create(title, content, isTemplate, styleData, submit) {
    let option = {
      title,
      content,
      isTemplate: isTemplate,
      styleData: styleData,
      show: true
    }
    auctionToastInstance = new auctionToastConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    auctionToastInstance.$mount();
    document.body.appendChild(auctionToastInstance.$el);
  },

  close() {
    if (auctionToastInstance) {
      auctionToastInstance.show = false;
    }
  },
};

// 新裂变抽奖开团弹框
let hdzxtSuccessPopNewInstance;
export const hdzxtSuccessPopNewService = {
  create(datas, isTemplate, styleDataNew, submit) {
    let option = {
      datas: datas,
      isTemplate: isTemplate,
      styleData: styleDataNew,
      show: true
    }
    hdzxtSuccessPopNewInstance = new hdzxtSuccessPopNewConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtSuccessPopNewInstance.$mount();
    document.body.appendChild(hdzxtSuccessPopNewInstance.$el);
  },

  close() {
    if (hdzxtSuccessPopNewInstance) {
      hdzxtSuccessPopNewInstance.show = false;
    }
  },
};

// 抽奖记录弹框
let drawRecordPopNewInstance;
export const drawRecordPopNewService = {
  create(isTemplate, styleData, submit) {
    let option = {
      isTemplate: isTemplate,
      styleData: styleData,
      show: true
    }
    drawRecordPopNewInstance = new drawRecordPopNewConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    drawRecordPopNewInstance.$mount();
    document.body.appendChild(drawRecordPopNewInstance.$el);
  },

  close() {
    if (drawRecordPopNewInstance) {
      drawRecordPopNewInstance.show = false;
    }
  },
};
// 抽奖机会弹框
let drawChancePopInstance;
export const drawChancePopService = {
  create(isTemplate, styleData, submit) {
    let option = {
      isTemplate: isTemplate,
      styleData: styleData,
      show: true
    }
    drawChancePopInstance = new drawChancePopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    drawChancePopInstance.$mount();
    document.body.appendChild(drawChancePopInstance.$el);
  },

  close() {
    if (drawChancePopInstance) {
      drawChancePopInstance.show = false;
    }
  },
};
// 优惠券营销关注店铺弹窗
let orderCheckPopNewInstance;
export const OrderCheckPopNewService = {
  create(submit) {
    let option = {
      show: true
    }
    orderCheckPopNewInstance = new orderCheckPopNewConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    orderCheckPopNewInstance.$mount();
    document.body.appendChild(orderCheckPopNewInstance.$el);
  },

  close() {
    if (orderCheckPopNewInstance) {
      orderCheckPopNewInstance.show = false;
    }
  },
};

let orderVerificationInstance;
export const orderVerificationService = {
  create(submit) {
    let option = {
      show: true
    }
    orderVerificationInstance = new orderVerificationConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    orderVerificationInstance.$mount();
    document.body.appendChild(orderVerificationInstance.$el);
  },

  close() {
    if (orderVerificationInstance) {
      orderVerificationInstance.show = false;
    }
  },
};


//问卷调查获奖条件
let conditionPopInstance2;
export const conditionPopService2 = {
  create(datasAll, isTemplate, styleDataNew, isOPenShare, submit) {
    console.log(styleDataNew, 'styleDataNew')
    let option = {
      datasAll: datasAll,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      isOPenShare: isOPenShare,
      show: true
    }
    conditionPopInstance2 = new ConditionPopConstructor2({
      data: option,
      methods: {
        submit: submit
      }
    });
    conditionPopInstance2.$mount();
    document.body.appendChild(conditionPopInstance2.$el);
  },

  close() {
    if (conditionPopInstance2) {
      conditionPopInstance2.show = false;
    }
  },
};


//首购有礼查看获奖体条件
let conditionPopInstance;
export const conditionPopService = {
  create(isTemplate, styleDataNew, submit) {
    // console.log(styleDataNew,'styleDataNew')
    let option = {
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    conditionPopInstance = new ConditionPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    conditionPopInstance.$mount();
    document.body.appendChild(conditionPopInstance.$el);
  },

  close() {
    if (conditionPopInstance) {
      conditionPopInstance.show = false;
    }
  },
};

//复购有礼查看获奖体条件
let conditionPopAnotherInstance;
export const conditionPopAnotherService = {
  create(isTemplate, styleDataNew, submit) {
    // console.log(styleDataNew,'styleDataNew')
    let option = {
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    conditionPopAnotherInstance = new ConditionPopAnotherConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    conditionPopAnotherInstance.$mount();
    document.body.appendChild(conditionPopAnotherInstance.$el);
  },

  close() {
    if (conditionPopAnotherInstance) {
      conditionPopAnotherInstance.show = false;
    }
  },
};

//消费有礼查看获奖体条件
let conditionPopInstance1;
export const conditionPopService1 = {
  create(isTemplate, styleDataNew, basicData, submit) {
    // console.log(styleDataNew,'styleDataNew')
    let option = {
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      basicData: basicData,
      show: true
    }
    conditionPopInstance1 = new ConditionPopConstructor1({
      data: option,
      methods: {
        submit: submit
      }
    });
    conditionPopInstance1.$mount();
    document.body.appendChild(conditionPopInstance1.$el);
  },

  close() {
    if (conditionPopInstance1) {
      conditionPopInstance1.show = false;
    }
  },
};


//首购有礼我的订单
let hdzxtMyOrderInstance;
export const hdzxtMyOrderPopService = {
  create(isTemplate, styleDataNew, submit) {
    console.log(styleDataNew, 'styleDataNew')
    let option = {
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    hdzxtMyOrderInstance = new HdzxtMyOrderConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtMyOrderInstance.$mount();
    document.body.appendChild(hdzxtMyOrderInstance.$el);
  },

  close() {
    if (hdzxtMyOrderInstance) {
      hdzxtMyOrderInstance.show = false;
    }
  },

};

//复购有礼我的订单
let hdzxtMyOrderAnotherInstance;
export const hdzxtMyOrderAnotherPopService = {
  create(isTemplate, styleDataNew, submit) {
    console.log(styleDataNew, 'styleDataNew')
    let option = {
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    hdzxtMyOrderAnotherInstance = new HdzxtMyOrderAnotherConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtMyOrderAnotherInstance.$mount();
    document.body.appendChild(hdzxtMyOrderAnotherInstance.$el);
  },

  close() {
    if (hdzxtMyOrderAnotherInstance) {
      hdzxtMyOrderAnotherInstance.show = false;
    }
  },

};

//插队弹框
let buildingEndPopInstance;
export const buildingEndPopService = {
  create(datas, winnerData, isTemplate, styleDataNew, submit) {
    let option = {
      datas: datas,
      winnerData: winnerData,
      isTemplate: isTemplate,
      styleData: styleDataNew,
      show: true
    }
    buildingEndPopInstance = new BuildingEndPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    buildingEndPopInstance.$mount();
    document.body.appendChild(buildingEndPopInstance.$el);
  },

  close() {
    if (buildingEndPopInstance) {
      buildingEndPopInstance.show = false;
    }
  },

};

//插队弹框
let hdzxtCouponFriendPopInstance;
export const hdzxtCouponFriendPopPopService = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas,
      isTemplate: isTemplate,
      styleData: styleDataNew,
      show: true
    }
    hdzxtCouponFriendPopInstance = new HdzxtCouponFriendPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtCouponFriendPopInstance.$mount();
    document.body.appendChild(hdzxtCouponFriendPopInstance.$el);
  },

  close() {
    if (hdzxtCouponFriendPopInstance) {
      hdzxtCouponFriendPopInstance.show = false;
    }
  },

};


//插队弹框
let hdzxtCouponPopInstance;
export const hdzxtCouponPopPopService = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas,
      isTemplate: isTemplate,
      styleData: styleDataNew,
      show: true
    }
    hdzxtCouponPopInstance = new HdzxtCouponPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtCouponPopInstance.$mount();
    document.body.appendChild(hdzxtCouponPopInstance.$el);
  },

  close() {
    if (hdzxtCouponPopInstance) {
      hdzxtCouponPopInstance.show = false;
    }
  },

};


//发券成功
let hdzxtSuccessPopInstance;
export const hdzxtSuccessPopService = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas,
      isTemplate: isTemplate,
      styleData: styleDataNew,
      show: true
    }
    hdzxtSuccessPopInstance = new HdzxtSuccessPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtSuccessPopInstance.$mount();
    document.body.appendChild(hdzxtSuccessPopInstance.$el);
  },

  close() {
    if (hdzxtSuccessPopInstance) {
      hdzxtSuccessPopInstance.show = false;
    }
  },

};


//参团失败
let hdzxtFailPopInstance;
export const hdzxtFailPopService = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas,
      isTemplate: isTemplate,
      styleData: styleDataNew,
      show: true
    }
    hdzxtFailPopInstance = new HdzxtFailPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtFailPopInstance.$mount();
    document.body.appendChild(hdzxtFailPopInstance.$el);
  },

  close() {
    if (hdzxtFailPopInstance) {
      hdzxtFailPopInstance.show = false;
    }
  },

};


//活动规则
let acRulePopComInstance;
export const AcRulePopComService = {
  create(datas, isTemplate, templateData, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas.datas,
      templateData: templateData,
      keyData: datas.keyData,
      styleData: datas.styleData,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    acRulePopComInstance = new AcRulePopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    acRulePopComInstance.$mount();
    document.body.appendChild(acRulePopComInstance.$el);
  },

  close() {
    if (acRulePopComInstance) {
      acRulePopComInstance.show = false;
    }
  },

};
//活动规则
let acRulePopComInstance10015Fly;
export const AcRulePopComService10015Fly = {
  create(datas, isTemplate, templateData, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas.datas,
      templateData: templateData,
      keyData: datas.keyData,
      styleData: datas.styleData,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    acRulePopComInstance10015Fly = new AcRulePopComConstructor10015Fly({
      data: option,
      methods: {
        submit: submit
      }
    });
    acRulePopComInstance10015Fly.$mount();
    document.body.appendChild(acRulePopComInstance10015Fly.$el);
  },

  close() {
    if (acRulePopComInstance10015Fly) {
      acRulePopComInstance10015Fly.show = false;
    }
  },

};
//活动规则
let acRulePopComInstance10015FlyDBP;
export const AcRulePopComService10015FlyDBP = {
  create(datas, isTemplate, templateData, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas.datas,
      templateData: templateData,
      keyData: datas.keyData,
      styleData: datas.styleData,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    acRulePopComInstance10015FlyDBP = new AcRulePopComConstructor10015FlyDBP({
      data: option,
      methods: {
        submit: submit
      }
    });
    acRulePopComInstance10015FlyDBP.$mount();
    document.body.appendChild(acRulePopComInstance10015FlyDBP.$el);
  },
  close() {
    if (acRulePopComInstance10015FlyDBP) {
      acRulePopComInstance10015FlyDBP.show = false;
    }
  },

};


//我的奖品
let myPrizePopComInstance;
export const MyPrizePopComService = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas.datas,
      keyData: datas.keyData,
      styleData: datas.styleData,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    myPrizePopComInstance = new MyPrizePopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    myPrizePopComInstance.$mount();
    document.body.appendChild(myPrizePopComInstance.$el);
  },

  close() {
    console.log(myPrizePopComInstance + "myPrizePopComInstance")
    if (myPrizePopComInstance) {
      myPrizePopComInstance.show = false;
    }
  },

};
//我的奖品
let myPrizePopComInstance705;
export const MyPrizePopComService705 = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas.datas,
      keyData: datas.keyData,
      styleData: datas.styleData,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    myPrizePopComInstance705 = new MyPrizePopComConstructor705({
      data: option,
      methods: {
        submit: submit
      }
    });
    myPrizePopComInstance705.$mount();
    document.body.appendChild(myPrizePopComInstance705.$el);
  },

  close() {
    console.log(myPrizePopComInstance705 + "myPrizePopComInstance705")
    if (myPrizePopComInstance705) {
      myPrizePopComInstance705.show = false;
    }
  },

};
//dialogMoreNew
let taskPopComInstanceNew;
export const TaskPopComServiceNew = {
  create(pcontent, isTemplate, showShare, showFoll, showBuy, restDrawCount, pointFoll, pointShare, pointBuy, task,
    styleData, datas, submit) {
    let option = {
      pcontent: pcontent,
      isTemplate: isTemplate,
      showShare: showShare,
      showFoll: showFoll,
      showBuy: showBuy,
      restDrawCount: restDrawCount,
      pointFoll: pointFoll,
      pointShare: pointShare,
      pointBuy: pointBuy,
      task: task,
      styleData: styleData,
      datas: datas,
      show: true
    }
    taskPopComInstanceNew = new TaskPopComConstructorNew({
      data: option,
      methods: {
        submit: submit
      }
    });
    taskPopComInstanceNew.$mount();
    document.body.appendChild(taskPopComInstanceNew.$el);
  },

  close() {
    if (taskPopComInstanceNew) {
      taskPopComInstanceNew.show = false;
    }
  },

};

let taskPopComInstanceNew1;
export const TaskPopComServiceNew1 = {
  create(isTemplate, showShare, showFoll, showBuy, restDrawCount, pointFoll, pointShare, pointBuy, task, styleData,
    datas, submit) {
    let option = {
      isTemplate: isTemplate,
      showShare: showShare,
      showFoll: showFoll,
      showBuy: showBuy,
      restDrawCount: restDrawCount,
      pointFoll: pointFoll,
      pointShare: pointShare,
      pointBuy: pointBuy,
      task: task,
      styleData: styleData,
      datas: datas,
      show: true
    }
    taskPopComInstanceNew1 = new TaskPopComConstructorNew1({
      data: option,
      methods: {
        submit: submit
      }
    });
    taskPopComInstanceNew1.$mount();
    document.body.appendChild(taskPopComInstanceNew1.$el);
  },

  close() {
    if (taskPopComInstanceNew1) {
      taskPopComInstanceNew1.show = false;
    }
  },

};


let followSkuPopNewComInstance;
export const FollowSkuPopNewComService = {
  create(data, restDrawCount, styleData, submit) {
    let option = {
      data: data,
      restDrawCount: restDrawCount,
      styleData: styleData,
      show: true
    }
    followSkuPopNewComInstance = new followSkuPopNewComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    followSkuPopNewComInstance.$mount();
    document.body.appendChild(followSkuPopNewComInstance.$el);
  },

  close() {
    if (followSkuPopNewComInstance) {
      followSkuPopNewComInstance.show = false;
    }
  },

};

//中奖弹框
let prizeResultPopComInstance;
export const PrizeResultPopComService = {
  create(prizeResultData, initDatas, styleData, submit) {
    let option = {
      prizeResultData: prizeResultData,
      initDatas: initDatas,
      styleData: styleData,
      show: true
    }
    prizeResultPopComInstance = new PrizeResultPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });

    prizeResultPopComInstance.$mount();
    document.body.appendChild(prizeResultPopComInstance.$el);
  },

  close() {
    if (prizeResultPopComInstance) {
      prizeResultPopComInstance.show = false;
    }
  },

};

//未中奖弹框
let noPrizeResultPopComInstance;
export const NoPrizeResultPopComService = {
  create(styleData, submit) {
    let option = {
      styleData: styleData,
      show: true
    }
    noPrizeResultPopComInstance = new NoPrizeResultPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    noPrizeResultPopComInstance.$mount();
    document.body.appendChild(noPrizeResultPopComInstance.$el);
  },

  close() {
    if (noPrizeResultPopComInstance) {
      noPrizeResultPopComInstance.show = false;
    }
  },

};
//去购买
let shopPopComNewInstance;
export const ShopPopComNewService = {
  create(data, restDrawCount, styleData, submit) {
    let option = {
      data: data,
      restDrawCount: restDrawCount,
      styleData: styleData,
      show: true
    }
    shopPopComNewInstance = new ShopPopComNewConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    shopPopComNewInstance.$mount();
    document.body.appendChild(shopPopComNewInstance.$el);
  },

  close() {
    if (shopPopComNewInstance) {
      shopPopComNewInstance.show = false;
    }
  },

};
//门槛弹窗
let joinVipInstance
export const AmnjoinVipService = {
  create(datas, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas
    }
    joinVipInstance = new joinVipConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    joinVipInstance.$mount();
    document.body.appendChild(joinVipInstance.$el);
  },

  close() {
    if (joinVipInstance) {
      joinVipInstance.show = false;
    }
  },
}

let commonjoinVipInstance
export const CommonjoinVipService = {
  create(datas, join, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas,
      join: join
    }
    commonjoinVipInstance = new CommonjoinVipConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    commonjoinVipInstance.$mount();
    document.body.appendChild(commonjoinVipInstance.$el);
  },

  close() {
    if (commonjoinVipInstance) {
      commonjoinVipInstance.show = false;
    }
  },
}


let sureFollowShopPopCom;
export const AmnsureFollowShopPopComService = {

  create(datas, submit) {
    let option = {
      datas: datas,
      show: true
    }
    sureFollowShopPopCom = new sureFollowShopPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    sureFollowShopPopCom.$mount();
    document.body.appendChild(sureFollowShopPopCom.$el);
  },

  close() {
    if (sureFollowShopPopCom) {
      sureFollowShopPopCom.show = false;
    }
  },

};
// 填写信息 fillInInfoConstructor
let fillInInformation;
export const fillInInformationData = {
  create(data, styleData, submit) {
    let option = {
      data: data,
      styleData: styleData,
      show: true
    }
    fillInInformation = new fillInInfoConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    fillInInformation.$mount();
    document.body.appendChild(fillInInformation.$el);
  },

  close() {
    if (fillInInformation) {
      fillInInformation.show = false;
    }
  },

};

let commonFollowShopPopCom;
export const CommonsureFollowShopPopComService = {

  create(datas, follow, submit) {
    let option = {
      datas: datas,
      follow: follow,
      show: true
    }
    commonFollowShopPopCom = new commonsureFollowShopPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    commonFollowShopPopCom.$mount();
    document.body.appendChild(commonFollowShopPopCom.$el);
  },

  close() {
    if (commonFollowShopPopCom) {
      commonFollowShopPopCom.show = false;
    }
  },

};
//集卡有礼卡片弹窗
let drawCardPopComInstance;
export const DrawCardPopComService = {
  create(cardName, cardUrl, drawCardCount, styleData, submit) {
    let option = {
      cardName: cardName,
      cardUrl: cardUrl,
      drawCardCount: drawCardCount,
      styleData: styleData,
      show: true
    }
    drawCardPopComInstance = new DrawCardPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    drawCardPopComInstance.$mount();
    document.body.appendChild(drawCardPopComInstance.$el);
  },

  close() {
    if (drawCardPopComInstance) {
      drawCardPopComInstance.show = false;
    }
  },

};

//集卡有礼卡片弹窗
let drawCardPopComInstance1;
export const DrawCardPopComService1 = {
  create(drawCardCount, styleData, submit) {
    let option = {
      drawCardCount: drawCardCount,
      styleData: styleData,
      show: true
    }
    drawCardPopComInstance1 = new DrawCardPopComConstructor1({
      data: option,
      methods: {
        submit: submit
      }
    });
    drawCardPopComInstance1.$mount();
    document.body.appendChild(drawCardPopComInstance1.$el);
  },

  close() {
    if (drawCardPopComInstance1) {
      drawCardPopComInstance1.show = false;
    }
  },

};

//地址
let addressPopComInstance;
export const AddressPopComService = {
  // styleData zhumingyang 传参多了一个 以前得度用不了了 ，暂时恢复为原来传参方式，需要修改新建页面
  create(datas, styleData, submit) {
    let option = {
      datas: datas,
      styleData: styleData,
      show: true,
    }
    addressPopComInstance = new HdzxtAddressConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    addressPopComInstance.$mount();
    document.body.appendChild(addressPopComInstance.$el);
  },

  close() {
    if (addressPopComInstance) {
      addressPopComInstance.show = false;
    }
  },

};
//地址
let addressPopComInstance705;
export const AddressPopComService705 = {
  // styleData zhumingyang 传参多了一个 以前得度用不了了 ，暂时恢复为原来传参方式，需要修改新建页面
  create(datas, styleData, submit) {
    let option = {
      datas: datas,
      styleData: styleData,
      show: true,
    }
    addressPopComInstance705 = new HdzxtAddressConstructor705({
      data: option,
      methods: {
        submit: submit
      }
    });
    addressPopComInstance705.$mount();
    document.body.appendChild(addressPopComInstance705.$el);
  },

  close() {
    if (addressPopComInstance705) {
      addressPopComInstance705.show = false;
    }
  },

};
let hdzxtFollowSkuPopNewComInstance;
export const HdzxtFollowSkuPopNewComService = {
  create(data, restDrawCount, styleData, datas, submit) {
    let option = {
      data: data,
      restDrawCount: restDrawCount,
      styleData: styleData,
      datas: datas,
      show: true
    }
    hdzxtFollowSkuPopNewComInstance = new hdzxtFollowSkuPopNewComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtFollowSkuPopNewComInstance.$mount();
    document.body.appendChild(hdzxtFollowSkuPopNewComInstance.$el);
  },

  close() {
    if (hdzxtFollowSkuPopNewComInstance) {
      hdzxtFollowSkuPopNewComInstance.show = false;
    }
  },

};

//活动规则
let hdzxtShareTaskPopInstance;
export const HdzxtShareTaskService = {
  create(isTemplate, title, data, restDrawCount, styleData, submit) {
    // console.log('333333333333333')
    let option = {
      isTemplate: isTemplate,
      title: title,
      data: data,
      restDrawCount: restDrawCount,
      styleData: styleData,
      show: true
    }
    hdzxtShareTaskPopInstance = new hdzxtShareTaskPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtShareTaskPopInstance.$mount();
    document.body.appendChild(hdzxtShareTaskPopInstance.$el);
  },

  close() {
    if (hdzxtShareTaskPopInstance) {
      hdzxtShareTaskPopInstance.show = false;
    }
  },

};

let taskPopComInstanceNew2;
export const TaskPopComServiceNew2 = {
  create(isTemplate, showShare, showFoll, showBuy, restDrawCount, pointFoll, pointShare, pointBuy, task, styleData,
    datas, submit) {
    let option = {
      isTemplate: isTemplate,
      showShare: showShare,
      showFoll: showFoll,
      showBuy: showBuy,
      restDrawCount: restDrawCount,
      pointFoll: pointFoll,
      pointShare: pointShare,
      pointBuy: pointBuy,
      task: task,
      styleData: styleData,
      datas: datas,
      show: true
    }
    taskPopComInstanceNew2 = new TaskPopComConstructorNew2({
      data: option,
      methods: {
        submit: submit
      }
    });
    taskPopComInstanceNew2.$mount();
    document.body.appendChild(taskPopComInstanceNew2.$el);
  },

  close() {
    if (taskPopComInstanceNew2) {
      taskPopComInstanceNew2.show = false;
    }
  },

};

let hdzxtMyFriendPopComInstanceNew2;
export const HdzxtMyFriendPopComServiceNew2 = {
  create(styleData, defaultDatas, submit) {
    let option = {
      styleData: styleData,
      defaultDatas: defaultDatas,
      show: true
    }
    hdzxtMyFriendPopComInstanceNew2 = new HdzxtMyFriendPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    hdzxtMyFriendPopComInstanceNew2.$mount();
    document.body.appendChild(hdzxtMyFriendPopComInstanceNew2.$el);
  },

  close() {
    if (hdzxtMyFriendPopComInstanceNew2) {
      hdzxtMyFriendPopComInstanceNew2.show = false;
    }
  },

};

//下单有礼我的奖品
let myOrderPrizePopComInstance;
export const MyOrderPrizePopComService = {
  create(datas, isTemplate, styleData, submit) {
    let option = {
      datas: datas.datas,
      keyData: datas.keyData,
      styleData: styleData,
      isTemplate: isTemplate,
      show: true
    }
    myOrderPrizePopComInstance = new myOrderPrizePopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    myOrderPrizePopComInstance.$mount();
    document.body.appendChild(myOrderPrizePopComInstance.$el);
  },

  close() {
    if (myOrderPrizePopComInstance) {
      myOrderPrizePopComInstance.show = false;
    }
  },

};
//下单有礼我的奖品
let myOrderPrizePopComInstance705;
export const MyOrderPrizePopComService705 = {
  create(datas, isTemplate, styleData, submit) {
    let option = {
      datas: datas.datas,
      keyData: datas.keyData,
      styleData: styleData,
      isTemplate: isTemplate,
      show: true
    }
    myOrderPrizePopComInstance705 = new myOrderPrizePopComConstructor705({
      data: option,
      methods: {
        submit: submit
      }
    });
    myOrderPrizePopComInstance705.$mount();
    document.body.appendChild(myOrderPrizePopComInstance705.$el);
  },

  close() {
    if (myOrderPrizePopComInstance705) {
      myOrderPrizePopComInstance705.show = false;
    }
  },

};
//奖品状态弹框
let prizeStatusPopComInstance;
export const PrizeStatusPopComService = {
  create(prizeData, isTemplate, styleData, submit) {
    let option = {
      prizeData: prizeData,
      styleData: styleData,
      isTemplate: isTemplate,
      show: true
    }
    prizeStatusPopComInstance = new prizeStatusPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    prizeStatusPopComInstance.$mount();
    document.body.appendChild(prizeStatusPopComInstance.$el);
  },

  close() {
    if (prizeStatusPopComInstance) {
      prizeStatusPopComInstance.show = false;
    }
  },

};

let shouSuReducePopComInstance;
export const shouSuReducePopComService = {
  create(isTemplate, initDatas, styleData, submit) {
    let option = {
      isTemplate: isTemplate,
      initDatas: initDatas,
      styleData: styleData,
      show: true
    }
    shouSuReducePopComInstance = new HdzxtCouponShouSuReduce({
      data: option,
      methods: {
        submit: submit
      }
    });
    shouSuReducePopComInstance.$mount();
    document.body.appendChild(shouSuReducePopComInstance.$el);
  },

  close() {
    if (shouSuReducePopComInstance) {
      shouSuReducePopComInstance.show = false;
    }
  },

};


let shouSuLoserPopComInstance;
export const shouSuLoserPopComService = {
  create(isTemplate, challengeTime, initDatas, styleData, submit) {
    let option = {
      isTemplate: isTemplate,
      challengeTime: challengeTime,
      initDatas: initDatas,
      styleData: styleData,
      show: true
    }
    shouSuLoserPopComInstance = new HdzxtCouponShouSuLoser({
      data: option,
      methods: {
        submit: submit
      }
    });
    shouSuLoserPopComInstance.$mount();
    document.body.appendChild(shouSuLoserPopComInstance.$el);
  },

  close() {
    if (shouSuLoserPopComInstance) {
      shouSuLoserPopComInstance.show = false;
    }
  },

};
let ClientLogComInstance;
export const ClientLogComService = {
  create(styleData, initDatas, submit) {
    let option = {
      styleData: styleData,
      initDatas: initDatas,

      show: true
    }
    ClientLogComInstance = new ClientLogConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    ClientLogComInstance.$mount();
    document.body.appendChild(ClientLogComInstance.$el);
  },

  close() {
    if (ClientLogComInstance) {
      ClientLogComInstance.show = false;
    }
  },

}

//下单冲榜-参与活动商品
let orderGoodsPopInstance;
export const orderGoodsPopService = {
  create(isTemplate, styleDataNew, submit) {
    console.log(styleDataNew, 'styleDataNew')
    let option = {
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    orderGoodsPopInstance = new orderGoodsPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    orderGoodsPopInstance.$mount();
    document.body.appendChild(orderGoodsPopInstance.$el);
  },

  close() {
    if (orderGoodsPopInstance) {
      orderGoodsPopInstance.show = false;
    }
  },

};


//下单冲榜-统计已截止
let orderEndPopInstance;
export const orderEndPopService = {
  create(isTemplate, styleDataNew, submit) {
    console.log(styleDataNew, 'styleDataNew')
    let option = {
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    orderEndPopInstance = new orderEndPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    orderEndPopInstance.$mount();
    document.body.appendChild(orderEndPopInstance.$el);
  },

  close() {
    if (orderEndPopInstance) {
      orderEndPopInstance.show = false;
    }
  },

};
//复购有礼中奖弹框
let repeatPrizeResultPopComInstance;
export const RepeatPrizeResultPopComService = {
  create(prizeResultData, initDatas, styleData, submit) {
    let option = {
      prizeResultData: prizeResultData,
      initDatas: initDatas,
      styleData: styleData,
      show: true
    }
    repeatPrizeResultPopComInstance = new RepeatPrizeResultPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });

    repeatPrizeResultPopComInstance.$mount();
    document.body.appendChild(repeatPrizeResultPopComInstance.$el);
  },

  close() {
    if (repeatPrizeResultPopComInstance) {
      repeatPrizeResultPopComInstance.show = false;
    }
  },

};
// 下单类活动商品
let orderActivityGoodsInstance;
export const orderActivityGoodsService = {
  create(assignGoodsType, styleData,submit) {
    let option = {
      assignGoodsType:assignGoodsType,
      show: true,
      styleData
    }
    orderActivityGoodsInstance = new orderActivityGoodsConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    orderActivityGoodsInstance.$mount();
    document.body.appendChild(orderActivityGoodsInstance.$el);
  },

  close() {
    if (orderActivityGoodsInstance) {
      orderActivityGoodsInstance.show = false;
    }
  },
}
//中奖弹框
let prizeResultPopComInstance10015Fly;
export const PrizeResultPopComService10015Fly = {
  create(prizeResultData, initDatas, styleData, submit) {
    let option = {
      prizeResultData: prizeResultData,
      initDatas: initDatas,
      styleData: styleData,
      show: true
    }
    prizeResultPopComInstance10015Fly = new PrizeResultPopComConstructor10015Fly({
      data: option,
      methods: {
        submit: submit
      }
    });

    prizeResultPopComInstance10015Fly.$mount();
    document.body.appendChild(prizeResultPopComInstance10015Fly.$el);
  },

  close() {
    if (prizeResultPopComInstance10015Fly) {
      prizeResultPopComInstance10015Fly.show = false;
    }
  },

};
//中奖弹框
let prizeResultPopComInstance10015FlyDBP;
export const PrizeResultPopComService10015FlyDBP = {
  create(prizeResultData, initDatas, styleData, submit) {
    let option = {
      prizeResultData: prizeResultData,
      initDatas: initDatas,
      styleData: styleData,
      show: true
    }
    prizeResultPopComInstance10015FlyDBP = new PrizeResultPopComConstructor10015FlyDBP({
      data: option,
      methods: {
        submit: submit
      }
    });

    prizeResultPopComInstance10015FlyDBP.$mount();
    document.body.appendChild(prizeResultPopComInstance10015FlyDBP.$el);
  },

  close() {
    if (prizeResultPopComInstance10015FlyDBP) {
      prizeResultPopComInstance10015FlyDBP.show = false;
    }
  },

};
//未中奖弹框
let noPrizeResultPopComInstance10015Fly;
export const NoPrizeResultPopComService10015Fly = {
  create(styleData, submit) {
    let option = {
      styleData: styleData,
      show: true
    }
    noPrizeResultPopComInstance10015Fly = new NoPrizeResultPopComConstructor10015Fly({
      data: option,
      methods: {
        submit: submit
      }
    });
    noPrizeResultPopComInstance10015Fly.$mount();
    document.body.appendChild(noPrizeResultPopComInstance10015Fly.$el);
  },

  close() {
    if (noPrizeResultPopComInstance10015Fly) {
      noPrizeResultPopComInstance10015Fly.show = false;
    }
  },

};
//未中奖弹框
let noPrizeResultPopComInstance10015FlyDBP;
export const NoPrizeResultPopComService10015FlyDBP = {
  create(styleData, submit) {
    let option = {
      styleData: styleData,
      show: true
    }
    noPrizeResultPopComInstance10015FlyDBP = new NoPrizeResultPopComConstructor10015FlyDBP({
      data: option,
      methods: {
        submit: submit
      }
    });
    noPrizeResultPopComInstance10015FlyDBP.$mount();
    document.body.appendChild(noPrizeResultPopComInstance10015FlyDBP.$el);
  },

  close() {
    if (noPrizeResultPopComInstance10015FlyDBP) {
      noPrizeResultPopComInstance10015FlyDBP.show = false;
    }
  },

};
//我的奖品
let myPrizePopComInstance10015Fly;
export const MyPrizePopComService10015Fly = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas.datas,
      keyData: datas.keyData,
      styleData: datas.styleData,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    myPrizePopComInstance10015Fly = new MyPrizePopComConstructor10015Fly({
      data: option,
      methods: {
        submit: submit
      }
    });
    myPrizePopComInstance10015Fly.$mount();
    document.body.appendChild(myPrizePopComInstance10015Fly.$el);
  },

  close() {
    console.log(myPrizePopComInstance10015Fly + "myPrizePopComInstance")
    if (myPrizePopComInstance10015Fly) {
      myPrizePopComInstance10015Fly.show = false;
    }
  },

};
//我的奖品
let myPrizePopComInstance10015FlyDBP;
export const MyPrizePopComService10015FlyDBP = {
  create(datas, isTemplate, styleDataNew, submit) {
    // console.log('333333333333333')
    let option = {
      datas: datas.datas,
      keyData: datas.keyData,
      styleData: datas.styleData,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    myPrizePopComInstance10015FlyDBP = new MyPrizePopComConstructor10015FlyDBP({
      data: option,
      methods: {
        submit: submit
      }
    });
    myPrizePopComInstance10015FlyDBP.$mount();
    document.body.appendChild(myPrizePopComInstance10015FlyDBP.$el);
  },

  close() {
    console.log(myPrizePopComInstance10015FlyDBP + "myPrizePopComInstance")
    if (myPrizePopComInstance10015FlyDBP) {
      myPrizePopComInstance10015FlyDBP.show = false;
    }
  },

};
//不符合抽奖条件机会
let notimesPopComInstance10015Fly;
export const notimesPopComService10015Fly = {
  create(styleData, submit) {
    // console.log('333333333333333')
    let option = {
      styleData: styleData,
      show: true
    }
    notimesPopComInstance10015Fly = new notimesPopComConstructor10015Fly({
      data: option,
      methods: {
        submit: submit
      }
    });
    notimesPopComInstance10015Fly.$mount();
    document.body.appendChild(notimesPopComInstance10015Fly.$el);
  },

  close() {
    console.log(notimesPopComInstance10015Fly + "myPrizePopComInstance")
    if (notimesPopComInstance10015Fly) {
      notimesPopComInstance10015Fly.show = false;
    }
  },

};
//不符合抽奖条件机会
let notimesPopComInstance10015FlyDBP;
export const notimesPopComService10015FlyDBP = {
  create(styleData, submit) {
    // console.log('333333333333333')
    let option = {
      styleData: styleData,
      show: true
    }
    notimesPopComInstance10015FlyDBP = new notimesPopComConstructor10015FlyDBP({
      data: option,
      methods: {
        submit: submit
      }
    });
    notimesPopComInstance10015FlyDBP.$mount();
    document.body.appendChild(notimesPopComInstance10015FlyDBP.$el);
  },

  close() {
    console.log(notimesPopComInstance10015FlyDBP + "myPrizePopComInstance")
    if (notimesPopComInstance10015FlyDBP) {
      notimesPopComInstance10015FlyDBP.show = false;
    }
  },

};
//邀请好友享团购分享后进入弹窗
let sharePopComInstance10101Fly;
export const sharePopComService10101Fly = {
  create(styleData, submit) {
    // console.log('333333333333333')
    let option = {
      styleData: styleData,
      show: true
    }
    sharePopComInstance10101Fly = new sharePopComConstructor10101Fly({
      data: option,
      methods: {
        submit: submit
      }
    });
    sharePopComInstance10101Fly.$mount();
    document.body.appendChild(sharePopComInstance10101Fly.$el);
  },

  close() {
    console.log(sharePopComInstance10101Fly + "myPrizePopComInstance")
    if (sharePopComInstance10101Fly) {
      sharePopComInstance10101Fly.show = false;
    }
  },

};

//下邀请好友享团购成员列表
let pieceTogetherMemberListPopInstance;
export const pieceTogetherMemberListPopService = {
  create(memberList, isTemplate, submit) {
    console.log(memberList, 'stymemberListleDataNew')
    let option = {
      memberList: memberList,
      isTemplate: isTemplate,
      show: true
    }
    pieceTogetherMemberListPopInstance = new pieceTogetherMemberListPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    pieceTogetherMemberListPopInstance.$mount();
    document.body.appendChild(pieceTogetherMemberListPopInstance.$el);
  },

  close() {
    if (pieceTogetherMemberListPopInstance) {
      pieceTogetherMemberListPopInstance.show = false;
    }
  },

};
//邀请入会有礼70-4定制中奖弹框
let prizeResultPopComInstance70_4;
export const PrizeResultPopComService70_4 = {
  create(prizeResultData, initDatas, styleData, submit) {
    let option = {
      prizeResultData: prizeResultData,
      initDatas: initDatas,
      styleData: styleData,
      show: true
    }
    prizeResultPopComInstance70_4 = new PrizeResultPopComConstructor70_4({
      data: option,
      methods: {
        submit: submit
      }
    });

    prizeResultPopComInstance70_4.$mount();
    document.body.appendChild(prizeResultPopComInstance70_4.$el);
  },

  close() {
    if (prizeResultPopComInstance70_4) {
      prizeResultPopComInstance70_4.show = false;
    }
  },

};
//邀请入会有礼70-5定制中奖弹框
let prizeResultPopComInstance70_5;
export const PrizeResultPopComService70_5 = {
  create(prizeResultData, initDatas, styleData, submit) {
    let option = {
      prizeResultData: prizeResultData,
      initDatas: initDatas,
      styleData: styleData,
      show: true
    }
    prizeResultPopComInstance70_5 = new PrizeResultPopComConstructor70_5({
      data: option,
      methods: {
        submit: submit
      }
    });

    prizeResultPopComInstance70_5.$mount();
    document.body.appendChild(prizeResultPopComInstance70_5.$el);
  },

  close() {
    if (prizeResultPopComInstance70_5) {
      prizeResultPopComInstance70_5.show = false;
    }
  },

};

//邀请入会有礼单次领取弹窗
let singleClaimPopComInstance;
export const singleClaimPopComService = {
  create(styleData, submit) {
    let option = {
      styleData: styleData,
      show: true
    }
    singleClaimPopComInstance = new singleClaimPopConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });

    singleClaimPopComInstance.$mount();
    document.body.appendChild(singleClaimPopComInstance.$el);
  },

  close() {
    if (singleClaimPopComInstance) {
      singleClaimPopComInstance.show = false;
    }
  },

};
//防刷校验弹窗
let brushPopComInstance;
export const brushResultPopComService = {
  create(styleData, submit) {
    let option = {
      styleData: styleData,
      show: true
    }
    brushPopComInstance = new brushPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    brushPopComInstance.$mount();
    document.body.appendChild(brushPopComInstance.$el);
  },

  close() {
    if (brushPopComInstance) {
      brushPopComInstance.show = false;
    }
  },

};
//发货订单号弹窗
let deliverPopComInstance;
export const deliverResultPopComService = {
  create(data, submit) {
    let option = {
      data: data,
      show: true
    }
    deliverPopComInstance = new deliverPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    deliverPopComInstance.$mount();
    document.body.appendChild(deliverPopComInstance.$el);
  },

  close() {
    if (deliverPopComInstance) {
      deliverPopComInstance.show = false;
    }
  },

};

//我的抽奖码
let timeCyclePopComInstance;
export const timeCyclePopComService = {
  create(datas, isTemplate, templateData, styleDataNew, submit) {
    let option = {
      datas: datas.datas,
      templateData: templateData,
      keyData: datas.keyData,
      styleData: datas.styleData,
      isTemplate: isTemplate,
      styleDataNew: styleDataNew,
      show: true
    }
    timeCyclePopComInstance = new timeCyclePopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    timeCyclePopComInstance.$mount();
    document.body.appendChild(timeCyclePopComInstance.$el);
  },

  close() {
    if (timeCyclePopComInstance) {
      timeCyclePopComInstance.show = false;
    }
  },

};

//我的抽奖码
let sharePanelPopComInstance;
export const sharePanelPopComService = {
  create(datas, submit) {
    let option = {
      datas: datas.datas,
      show: true
    }
    sharePanelPopComInstance = new sharePanelPopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    sharePanelPopComInstance.$mount();
    document.body.appendChild(sharePanelPopComInstance.$el);
  },

  close() {
    if (sharePanelPopComInstance) {
      sharePanelPopComInstance.show = false;
    }
  },

};

// 提示信息
let noticePopInstance;
export const noticePopComService = {
  create(data, submit) {
    let option = {
      data: data,
      show: true
    }
    noticePopInstance = new noticePopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    noticePopInstance.$mount();
    document.body.appendChild(noticePopInstance.$el);
  },

  close() {
    if (noticePopInstance) {
      noticePopInstance.show = false;
    }
  },
};
let commonNoticePopInstance;
export const commonNoticePopComService = {
  create(data,styleData, submit) {
    let option = {
      data: data,
      styleData: styleData,
      show: true
    }
    commonNoticePopInstance = new commonNoticePopComConstructor({
      data: option,
      methods: {
        submit: submit
      }
    });
    commonNoticePopInstance.$mount();
    document.body.appendChild(commonNoticePopInstance.$el);
  },

  close() {
    if (commonNoticePopInstance) {
      commonNoticePopInstance.show = false;
    }
  },
};