// 引入
import calendar from './components/logicalComponent/calendar/calendar.vue';
import calendar3 from './components/logicalComponent/calendar/calendar3.vue';
import basicMain from './components/logicalComponent/basicCom/basicMain.vue';

import basicMainVersion2 from './components/logicalComponent/basicCom/basicMainVersion2.vue';
import rotaryTable from './components/logicalComponent/luckyDraw/rotaryTable.vue';

import winnersRecord from './components/logicalComponent/winnersRecord/winnersRecord.vue';
import winnersRecord1 from './components/logicalComponent/winnersRecord/winnersRecord1.vue';
import signPrize from './components/basisComponent/signPrize/signPrize.vue';
import signPrizeBigWinner from './components/basisComponent/signPrize/signPrizeBigWinner.vue';
import signPrize2 from './components/basisComponent/signPrize/signPrize2.vue';
import setShare from './components/logicalComponent/share/setShare.vue';
import strategy from './components/logicalComponent/strategy/strategy.vue';
import prizePreview from './components/logicalComponent/continueSign/prizePreview.vue';
import goToShop from './components/logicalComponent/goToShop/goToShop.vue';
import bargainGood from './components/logicalComponent/bargainMain/bargainGood.vue';
import bargainGoodNew from './components/logicalComponent/bargainMain/bargainGoodNew.vue'
import bargainShare from './components/logicalComponent/share/bargainShare.vue';
import helpBargain from './components/logicalComponent/helpBargain/helpBargain.vue';
import rule from './components/basisComponent/rule/rule.vue';
import mainKv from './components/basisComponent/bigWinner/mainKv.vue';
import bargainKeGood from './components/logicalComponent/bargainke/bargainKeGood.vue';
import lotteryDrawMachine from './components/basisComponent/lotteryDrawMachine/lotteryDrawMachine.vue';
import moveOpportunity from './components/basisComponent/moveOpportunity/moveOpportunity.vue';
import testimonial from './components/basisComponent/prizeShow/testimonial.vue';
import testimonialUp from './components/basisComponent/prizeShow/testimonialUp'
import bigWinnerPrizeShow from './components/basisComponent/prizeShow/bigWinnerPrizeShow.vue';
import exposure from './components/logicalComponent/recommend/exposure.vue';
import exposure3 from './components/logicalComponent/recommend/exposure3.vue';
import exposureBigWinner from './components/logicalComponent/recommend/exposureBigWinner.vue';
import countdown from './components/basisComponent/countdown/countdown.vue';

import orderGoToshop from './components/basisComponent/orderPrize/orderGoToshop.vue';
import acivityPrize from './components/basisComponent/orderPrize/acivityPrize.vue';
import exposureGoods from './components/logicalComponent/orderGoods/exposureGoods.vue';
import addShop from './components/logicalComponent/addShop/addShop.vue';
import followShop from './components/logicalComponent/followShop/followShop.vue';
import rotaryTable1 from './components/logicalComponent/luckyDraw/rotaryTable1.vue';
import rotaryTable2 from './components/logicalComponent/luckyDraw/rotaryTable2.vue';
import buttomBtn from './components/logicalComponent/buttomBtn/buttomBtn.vue';
import luckDrawPop from './components/basisComponent/popCom/luckDrawPop.vue';
import everyDayPresent from './components/logicalComponent/everyDayPresent/everyDayPresent.vue';
import integralSize from './components/logicalComponent/integralSize/integralSize.vue';
import jiugongge from './components/logicalComponent/luckyDraw/jiugongge.vue';
import drawRolled from './components/basisComponent/popCom/drawRolled.vue';
import bargainmember from './components/basisComponent/joinMemeber/bargainmember.vue';
import pointsPk from './components/logicalComponent/pointsPk/pointsPk.vue';
import loveToken from './components/logicalComponent/loveToken/loveToken.vue';
import moveOpportunity2 from './components/basisComponent/moveOpportunity/moveOpportunity2.vue';
// import moveOpportunityAndStartGame from './components/basisComponent/moveOpportunity/moveOpportunityAndStartGame.vue';
import scratch from './components/basisComponent/scratch/scratch.vue';
import dice from './components/logicalComponent/dice/dice.vue';
import coupons from './components/logicalComponent/coupons/coupons.vue';
import know from './components/logicalComponent/know/know.vue';
import sharingCourtesy from './components/logicalComponent/sharingCourtesy/sharingCourtesy.vue';
import titleName from './components/basisComponent/titleName/titleName.vue';
import shareButton from './components/logicalComponent/shareButton/shareButton.vue';
import invite from './components/logicalComponent/invite/invite.vue';
import cheakSignIn from './components/basisComponent/cheakSignIn/cheakSignIn.vue';
import signPresent from './components/basisComponent/signPresent/signPresent.vue';
import fudaiPrize from './components/logicalComponent/prize/fudaiPrize/fudaiPrize.vue';
import bargainShareServion2 from './components/logicalComponent/share/bargainShareServion2.vue';
import helpFriend from './components/logicalComponent/helpBargain/helpFriend.vue';
import zdyExposure from './components/logicalComponent/recommend/zdyExposure.vue';
import followProduct from './components/logicalComponent/addShop/followProductNew.vue';
import fissionCouponList from './components/logicalComponent/fissionCoupon/fissionCouponList.vue';
import cardPrize from './components/basisComponent/cardPrize/cardPrize.vue';
import exposureGoods1 from './components/logicalComponent/orderGoods/exposureGoods1.vue';
import friendsHelp from './components/basisComponent/friendsHelp/friendsHelp.vue';
import shakyPrerent from './components/basisComponent/shakyPrerent/shakyPrerent.vue';
import evaluationList from './components/basisComponent/evaluationList/evaluationList.vue';
import organizeCom from './components/logicalComponent/organizeCom/organizeCom.vue';
import broadcast from './components/basisComponent/broadcast/broadcast.vue';
import voteSelect from './components/basisComponent/voteSelect/voteSelect.vue';
import freeBargain from './components/basisComponent/freeBargain/freeBargain.vue';
import activityStartTime from './components/logicalComponent/activityStartTime/activityStartTime.vue';
import cartStepContainer from './components/logicalComponent/cartStepContainer/cartStepContainer.vue';
import cartGoodContainer from './components/logicalComponent/cartGoodsContainer/cartGoodContainer.vue';

import simple from './components/logicalComponent/simple/simple.vue';
import topic from './components/logicalComponent/topic/topic.vue';
import underway from './components/logicalComponent/underway/underway.vue';
import distancePop from './components/basisComponent/popCom/distancePop.vue';
import nYuanTrial from './components/basisComponent/bargainTeam/nYuanTrial.vue';
import goToShop1 from './components/basisComponent/orderPrize/goToShop1.vue';
import commodityListDialog1 from './components/basisComponent/commodityListDialog/commodityListDialog1.vue';
import fissionPrizeList1 from './components/basisComponent/prizeShow/fissionPrizeList1.vue';
import organizePrizeNumber from './components/logicalComponent/organizePrizeNumber/organizePrizeNumber.vue';
import organizeDivideEqually from './components/logicalComponent/organizeDivideEqually/organizeDivideEqually.vue';
import signPrize5 from './components/basisComponent/signPrize/signPrize5.vue';
import fansFollowShop from './components/basisComponent/orderPrize/fansFollowShop.vue';
import fansDrawRolled from './components/basisComponent/popCom/fansDrawRolled.vue';
import fansPrize from './components/basisComponent/fansPrizeCom/fansPrize.vue';
import fansTask from './components/basisComponent/fansPrizeCom/fansTask.vue';
import cartMyFriend from './components/logicalComponent/activityStartTime/cartMyFriend.vue';
import hbFriendsHelp from './components/basisComponent/friendsHelp/hbFriendsHelp.vue';
import signPrize4 from './components/basisComponent/signPrize/signPrize4.vue';
import hbPrize from './components/basisComponent/friendsHelp/hbPrize.vue';
import bargainTeam from './components/basisComponent/bargainTeam/bargainTeam.vue';
import bargainTeamFriends from './components/basisComponent/bargainTeam/bargainTeamFriends.vue';
import organizeSignPrize from './components/basisComponent/organizeSignPrize/organizeSignPrize.vue';
//c-terminal-zheng-add
import countdownFixed from './components/basisComponent/countdown/countdownFixed.vue';
// import basicMainNew from './components/logicalComponent/basicCom/hdzxtbasicMain.vue';
import basicMainNew from './components/logicalComponent/basicCom/hdzxtbasicMain1.vue';
import rotaryTablePop from './components/logicalComponent/luckyDraw/hdzxtRotaryTableNew.vue';
import drawArea from './components/logicalComponent/luckyDraw/rotaryTablePop.vue'
import shopName from "./components/basisComponent/shopName/shopName.vue";
import sigPrizeNew from "./components/basisComponent/signPrize/hdzxtsigPrize1.vue";
import winnersRecordNew from './components/logicalComponent/winnersRecord/winnersRecordNew.vue';
import hdzxtDrawPrize from './components/logicalComponent/continueSign/hdzxtDrawPrize.vue';
import niudanji from './components/logicalComponent/luckyDraw/niudanji.vue';
import exposureNew from './components/logicalComponent/recommend/exposureNew.vue';
import integralGuessSize from './components/logicalComponent/integralGuessSize/integralGuessSize.vue'
import countdownOver from './components/basisComponent/countdown/countdownOver.vue';
import sharedCollection from './components/basisComponent/sharedCollection/sharedCollection.vue';
import addShopNew from './components/logicalComponent/addShop/addShopNew.vue';
import goToShopNew from './components/logicalComponent/goToShop/goToShopNew.vue';
import doubleBottomBtn from './components/logicalComponent/bottomBtn/doubleBottomBtn.vue';
import calendarNew from './components/logicalComponent/calendar/calendarNew.vue';
import prizeKnown from './components/logicalComponent/continueSign/prizeKnown.vue';
import addShopBtn from './components/basisComponent/button/addShopBtn.vue';
//拉人砍价
import countdowNew from './components/basisComponent/countdown/countdowNew.vue';
import bargainTeamNew from './components/basisComponent/bargainTeam/bargainTeamNew.vue'
//评价有礼
import scratchableLatex from './components/logicalComponent/luckyDraw/scratchableLatex.vue'
import friendsHelpNew from './components/basisComponent/friendsHelp/friendsHelpNew.vue';
// 购物车锦鲤
import goToShopBtn from './components/logicalComponent/goToShopBtn/goToShopBtn.vue';
import activityStartTimeNew from './components/logicalComponent/activityStartTime/activityStartTimeNew.vue';
import cartGoodContainerNew from './components/logicalComponent/cartGoodsContainer/cartGoodContainerNew.vue';
import shareQuertionBtn from './components/logicalComponent/shareQuertionBtn/shareQuertionBtn.vue';
import moveOpportunityNew from './components/basisComponent/moveOpportunity/moveOpportunityNew.vue';
import moveOpportunityNew1 from './components/basisComponent/moveOpportunity/moveOpportunityNew1.vue';
import shareButtonNew from './components/logicalComponent/shareButton/shareButtonNew.vue';

//邀请关注店铺有礼
import followShopShare from './components/logicalComponent/share/followShopShare.vue';
import prizePreviewNew from './components/logicalComponent/continueSign/prizePreviewNew.vue';
import strategyNew from './components/logicalComponent/strategy/strategyNew.vue';
//累计签到抽奖
import calendarNewLeiji from './components/logicalComponent/calendar/calendarNewLeiji.vue'
//积分抽奖
import integralRotary from './components/logicalComponent/luckyDraw/integralRotary.vue';

// 邀请入会有礼
import setShareNew from './components/logicalComponent/share/setShareNew.vue';
// 完善信息有礼
import completeInfoGift from './components/logicalComponent/completeInfoGift/index.vue';
// 问卷有礼
import surveyPrize from './components/logicalComponent/continueSign/surveyPrize.vue'
import questionShare from './components/logicalComponent/share/questionShare.vue';
import countdownPrize from './components/basisComponent/countdown/countdownPrize.vue';

//合成大赢家
import hcHdzxtStartGame from './components/basisComponent/game/hdzxtStartGame.vue'
import hdzxtRotaryTablePop from './components/logicalComponent/luckyDraw/hdzxtRotaryTablePop.vue'
import winnersRecordRanking from './components/logicalComponent/winnersRecord/winnersRecordRanking.vue'
import pointsPkNew from './components/logicalComponent/pointsPk/pointsPkNew.vue'
// 邀请入会-排行榜
import swiperPrize70 from './components/logicalComponent/continueSign/swiperPrize70.vue'
import swiperPrizeRanking from './components/logicalComponent/continueSign/swiperPrizeRanking.vue'
import setShareNewRanking from './components/logicalComponent/share/setShareNewRanking.vue'
// 积分竞拍
import auctionGoods from './components/logicalComponent/auction/auctionGoods.vue'
import auctionRank from './components/logicalComponent/auction/auctionRank.vue'
// 盖楼有礼
import swiperPrize from './components/logicalComponent/continueSign/swiperPrize.vue'
//下单冲榜
import orderCourtesy from './components/logicalComponent/continueSign/orderCourtesy.vue'
import swiperPrizeRanking88 from './components/logicalComponent/continueSign/swiperPrizeRanking88.vue'
import winnersRecordRankingOrderCourtesy from './components/logicalComponent/winnersRecord/winnersRecordRankingOrderCourtesy.vue'
import sharedCollectionDz0610 from './components/basisComponent/sharedCollection/sharedCollectionDz0610.vue'
//投票有礼
import voteSelectNew from './components/basisComponent/voteSelect/voteSelectNew'
import rankings from './components/logicalComponent/rankings/rankings.vue'
import guessingAverage from './components/logicalComponent/guessingAverage/index.vue'

const components = [
    mainKv,
    calendar,
    basicMain,
    rotaryTable,
    winnersRecord,
    winnersRecord1,
    signPrize,
    signPrizeBigWinner,
    signPrize2,
    setShare,
    strategy,
    prizePreview,
    goToShop,
    bargainGood,
    bargainGoodNew,
    bargainShare,
    helpBargain,
    bigWinnerPrizeShow,
    rule,
    basicMainVersion2,
    bargainKeGood,
    lotteryDrawMachine,
    moveOpportunity,
    testimonial,
    exposure,
    exposure3,
    exposureBigWinner,
    countdown,
    orderGoToshop,
    acivityPrize,
    exposureGoods,
    addShop,
    followShop,
    rotaryTable1,
    buttomBtn,
    luckDrawPop,
    everyDayPresent,
    integralSize,
    jiugongge,
    rotaryTable2,
    calendar3,
    drawRolled,
    bargainmember,
    pointsPk,
    loveToken,
    moveOpportunity2,
    // moveOpportunityAndStartGame,
    scratch,
    dice,
    coupons,
    know,
    sharingCourtesy,
    titleName,
    shareButton,
    invite,
    cheakSignIn,
    signPresent,
    fudaiPrize,
    bargainShareServion2,
    helpFriend,
    zdyExposure,
    followProduct,
    fissionCouponList,
    niudanji,
    cardPrize,
    exposureGoods1,
    friendsHelp,
    shakyPrerent,
    evaluationList,
    organizeCom,
    broadcast,
    voteSelect,
    freeBargain,
    activityStartTime,
    cartStepContainer,
    cartGoodContainer,
    simple,
    topic,
    underway,
    distancePop,
    nYuanTrial,
    goToShop1,
    commodityListDialog1,
    fissionPrizeList1,
    organizePrizeNumber,
    organizeDivideEqually,
    signPrize5,
    fansFollowShop,
    fansDrawRolled,
    fansPrize,
    fansTask,
    cartMyFriend,
    hbFriendsHelp,
    signPrize4,
    hbPrize,
    bargainTeam,
    bargainTeamFriends,
    organizeSignPrize,
    //c-terminal-zheng-add
    countdownFixed,
    basicMainNew,
    rotaryTablePop,
    // basicMainNew1,
    shopName,
    sigPrizeNew,
    winnersRecordNew,
    hdzxtDrawPrize,
    exposureNew,
    integralGuessSize,
    countdownOver,
    sharedCollection,
    addShopNew,
    //让福袋飞
    goToShopNew,
    doubleBottomBtn,
    calendarNew,
    prizeKnown,
    addShopBtn,
    //拉人砍价
    countdowNew,
    bargainTeamNew,
    //评价有礼
    scratchableLatex,
    friendsHelpNew,
    // 购物车锦鲤
    goToShopBtn,
    activityStartTimeNew,
    cartGoodContainerNew,
    shareQuertionBtn,
    moveOpportunityNew,
    moveOpportunityNew1,
    shareButtonNew,
    //邀请关注店铺有礼
    followShopShare,
    prizePreviewNew,
    strategyNew,
    drawArea,
    calendarNewLeiji,
    setShareNew,
    //积分抽奖
    integralRotary,
    testimonialUp,
    completeInfoGift,
    surveyPrize,
    pointsPkNew,
    questionShare,
    countdownPrize,
    //合成大赢家
    hcHdzxtStartGame,
    hdzxtRotaryTablePop,
    // 邀请入会-排行榜
    swiperPrize70,
    swiperPrizeRanking,
    winnersRecordRanking,
    setShareNewRanking,
    swiperPrize,
    orderCourtesy,
    swiperPrizeRanking88,
    winnersRecordRankingOrderCourtesy,
    voteSelectNew,
    sharedCollectionDz0610,
    rankings,
    guessingAverage
]


const install = function (Vue, opts = {}) {
    components.map(component => {
        Vue.component(component.name, component);
    })
}

/* 支持使用标签的方式引入 */
if (typeof window !== 'undefined' && window.Vue) {
    install.use(window.Vue);
}
// 暴露
export default {
    mainKv,
    install,
    calendar,
    basicMain,
    rotaryTable,
    winnersRecord,
    winnersRecord1,
    signPrize,
    signPrizeBigWinner,
    signPrize2,
    setShare,
    strategy,
    prizePreview,
    goToShop,
    bigWinnerPrizeShow,
    bargainGood,
    bargainGoodNew,
    bargainShare,
    helpBargain,
    rule,
    bargainKeGood,
    basicMainVersion2,
    lotteryDrawMachine,
    moveOpportunity,
    // moveOpportunityAndStartGame,
    testimonial,
    exposure,
    exposure3,
    exposureBigWinner,
    countdown,
    orderGoToshop,
    acivityPrize,
    exposureGoods,
    addShop,
    followShop,
    rotaryTable1,
    buttomBtn,
    luckDrawPop,
    everyDayPresent,
    integralSize,
    jiugongge,
    rotaryTable2,
    calendar3,
    drawRolled,
    bargainmember,
    pointsPk,
    loveToken,
    moveOpportunity2,
    scratch,
    dice,
    coupons,
    know,
    sharingCourtesy,
    titleName,
    shareButton,
    invite,
    cheakSignIn,
    signPresent,
    fudaiPrize,
    bargainShareServion2,
    helpFriend,
    zdyExposure,
    followProduct,
    fissionCouponList,
    niudanji,
    cardPrize,
    exposureGoods1,
    friendsHelp,
    shakyPrerent,
    evaluationList,
    organizeCom,
    broadcast,
    voteSelect,
    freeBargain,
    activityStartTime,
    cartStepContainer,
    cartGoodContainer,
    simple,
    topic,
    underway,
    distancePop,
    nYuanTrial,
    goToShop1,
    commodityListDialog1,
    fissionPrizeList1,
    organizePrizeNumber,
    organizeDivideEqually,
    signPrize5,
    fansFollowShop,
    fansDrawRolled,
    fansPrize,
    fansTask,
    cartMyFriend,
    hbFriendsHelp,
    signPrize4,
    hbPrize,
    bargainTeam,
    bargainTeamFriends,
    organizeSignPrize,
    //c-terminal-zheng-add
    countdownFixed,
    basicMainNew,
    rotaryTablePop,
    // basicMainNew1,
    shopName,
    sigPrizeNew,
    winnersRecordNew,
    hdzxtDrawPrize,
    exposureNew,
    countdownOver,
    sharedCollection,
    addShopNew,
    //让福袋飞
    goToShopNew,
    doubleBottomBtn,
    calendarNew,
    prizeKnown,
    addShopBtn,
    //让福袋飞
    goToShopNew,
    //拉人砍价
    countdowNew,
    bargainTeamNew,
    //评价有礼
    scratchableLatex,
    friendsHelpNew,
    // 购物车锦鲤
    goToShopBtn,
    activityStartTimeNew,
    cartGoodContainerNew,
    shareQuertionBtn,
    moveOpportunityNew,
    moveOpportunityNew1,
    shareButtonNew,
    //邀请关注店铺有礼
    followShopShare,
    prizePreviewNew,
    strategyNew,
    drawArea,
    calendarNewLeiji,
    setShareNew,
    //积分抽奖
    integralRotary,
    testimonialUp,
    completeInfoGift,
    surveyPrize,
    pointsPkNew,
    questionShare,
    countdownPrize,
    //合成大赢家
    hcHdzxtStartGame,
    hdzxtRotaryTablePop,
    // 邀请入会-排行榜
    swiperPrize70,
    swiperPrizeRanking,
    winnersRecordRanking,
    setShareNewRanking,
    auctionGoods,
    auctionRank,
    swiperPrize,
    orderCourtesy,
    swiperPrizeRanking88,
    winnersRecordRankingOrderCourtesy,
    voteSelectNew,
    sharedCollectionDz0610,
    rankings,
    guessingAverage
};
