chunk-53e61f92.d3b7dd4a.js.map 73 KB

1
  1. {"version":3,"sources":["webpack:///./src/components/addPresentButton.vue?daf9","webpack:///src/components/addPresentButton.vue","webpack:///./src/components/addPresentButton.vue?d232","webpack:///./src/components/addPresentButton.vue?29a1","webpack:///./src/views/index.vue?0298","webpack:///./node_modules/vant/es/notice-bar/index.js","webpack:///./node_modules/vant/es/swipe-item/index.js","webpack:///./node_modules/vant/es/swipe/index.js","webpack:///./src/components/IndexPresent.vue?50d3","webpack:///src/components/IndexPresent.vue","webpack:///./src/components/IndexPresent.vue?448c","webpack:///./src/components/IndexPresent.vue?fad9","webpack:///./src/components/guide.vue?dbb1","webpack:///src/components/guide.vue","webpack:///./src/components/guide.vue?1180","webpack:///./src/components/guide.vue?3190","webpack:///src/views/index.vue","webpack:///./src/views/index.vue?bddf","webpack:///./src/views/index.vue?25f9","webpack:///./src/components/guide.vue?f198","webpack:///./src/views/index.vue?9a05","webpack:///./src/components/IndexPresent.vue?779f","webpack:///./src/components/addPresentButton.vue?a950"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","src","on","click","toAddPresent","_e","can_add","staticRenderFns","addPresentButtonvue_type_script_lang_js_","name","props","type","Boolean","default","disabled","methods","toast","loading","mask","message","duration","$router","push","components_addPresentButtonvue_type_script_lang_js_","component","Object","componentNormalizer","options","__file","__webpack_exports__","hasPresent","staticStyle","z-index","margin","autoplay","initial-swipe","_l","image","index","key","directives","rawName","value","expression","width","text","left-icon","justify","align","_v","round","size","toDraw","background-color","present","id","tag","present-img","imgUrl","present-name","present-desc","desc","publish-time","time","status","to-detail","$event","toDetail","_m","pic","Desc","_s","dec_words","text-align","margin-left","font-size","margin-bottom","margin-top","es_notice_bar","create","showNoticeBar","class","b","withicon","mode","style","barStyle","$emit","leftIcon","ref","animationClass","van-ellipsis","scrollable","contentStyle","animationend","onAnimationEnd","webkitAnimationEnd","_t","iconName","onClickIcon","String","color","background","delay","Number","speed","data","wrapWidth","firstRound","offsetWidth","computed","paddingLeft","animationDelay","animationDuration","watch","handler","_this","$nextTick","_this$$refs","$refs","wrap","content","getBoundingClientRect","immediate","_this2","es_swipe_item","offset","_this$$parent","$parent","vertical","computedWidth","computedHeight","height","transform","beforeCreate","swipes","destroyed","splice","indexOf","es_swipe","trackStyle","touchstart","onTouchStart","touchmove","onTouchMove","touchend","onTouchEnd","touchcancel","transitionend","activeIndicator","showIndicators","count","active","indicatorStyle","mixins","touch","initialSwipe","indicatorColor","loop","touchable","deltaX","deltaY","swiping","mounted","initialize","$isServer","utils_event","window","onResize","clear","_autoplay","autoPlay","length","delta","trackSize","isCorrectDirection","expect","direction","_ref","mainAxis","crossAxis","transitionDuration","backgroundColor","clearTimeout","timer","$el","rect","forEach","swipe","event","touchStart","correctPosition","touchMove","preventDefault","stopPropagation","move","Math","min","max","offsetY","offsetX","_move","atFirst","atLast","outOfBounds","swipeTo","setTimeout","resetTouchStatus","IndexPresentvue_type_template_id_eac93592_scoped_true_render","thumb","presentImg","position","top","slot","presentName","presentDesc","bottom","publishTime","statusColor","statusString","IndexPresentvue_type_template_id_eac93592_scoped_true_staticRenderFns","IndexPresentvue_type_script_lang_js_","components","_components","defineProperty","card","es_tag","components_IndexPresentvue_type_script_lang_js_","IndexPresent","guidevue_type_template_id_7af3f817_scoped_true_render","seen","guidevue_type_template_id_7af3f817_scoped_true_staticRenderFns","guidevue_type_script_lang_js_","AddPresentButton","addPresentButton","components_guidevue_type_script_lang_js_","guide_component","guide","viewsvue_type_script_lang_js_","viewsvue_type_script_lang_js_components","Guide","es_button","row","col","images","button_active","presents","dec_icons","userStatus","i","dialog","confirm","confirmButtonText","cancelButtonText","then","catch","path","query","presentId","alert","title","created","localStorage","getItem","userid","presentList","b_a","h_p","that","basic_service","get_data","res","ret","undefined","model","list","identity","userReviewStatus","response","gift","temp","goodid","img","description","substring","desc_long","createTime","sort","gender","goodFirstKind","tags","goodSecondKind","fail","removeItem","e","console","warn","document","getElementsByName","src_viewsvue_type_script_lang_js_","views_component","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_guide_vue_vue_type_style_index_0_id_7af3f817_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_guide_vue_vue_type_style_index_0_id_7af3f817_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4ceff251_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4ceff251_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_IndexPresent_vue_vue_type_style_index_0_id_eac93592_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_IndexPresent_vue_vue_type_style_index_0_id_eac93592_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_addPresentButton_vue_vue_type_style_index_0_id_3b2d8fb3_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_addPresentButton_vue_vue_type_style_index_0_id_3b2d8fb3_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default"],"mappings":"2IAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAA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9B,aAAA+B,WAAA,mBAEA,MAAAC,GACAC,QAAAC,KAAAF,GACAhC,aAAA+B,WAAA,mBACQrR,EAAA,KAARoR,KAAA,iBAAAE,KAEA,IAKA5S,KAAA4P,SAAAmB,OApEA/Q,KAAA2B,QAAAC,KAAA,UAsEA6I,QAAA,WACAsI,SAAAC,kBAAA,iBAAAvS,UCrQ+UwS,EAAA,ECQ3UC,aAAYnR,OAAAC,EAAA,KAAAD,CACdkR,EACAnT,EACAe,GACF,EACA,KACA,WACA,OAIAqS,EAASjR,QAAAC,OAAA,YACMC,EAAA,WAAA+Q,wECpBf,IAAAC,EAAAC,EAAA,QAAAC,EAAAD,EAAAE,EAAAH,GAAieE,EAAG,qCCApe,IAAAE,EAAAH,EAAA,QAAAI,EAAAJ,EAAAE,EAAAC,GAAieC,EAAG,8GCApe,IAAAC,EAAAL,EAAA,QAAAM,EAAAN,EAAAE,EAAAG,GAAweC,EAAG,4DCA3e,IAAAC,EAAAP,EAAA,QAAAQ,EAAAR,EAAAE,EAAAK,GAA4eC,EAAG","file":"js/chunk-53e61f92.d3b7dd4a.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"button_container\"},[(_vm.can_add)?_c('img',{staticClass:\"add_button s\",attrs:{\"src\":\"http://pjczv6ygf.bkt.clouddn.com/add-present-button/add_button_active.png\"},on:{\"click\":_vm.toAddPresent}}):_vm._e(),(!_vm.can_add)?_c('img',{staticClass:\"add_button\",attrs:{\"src\":\"http://pjczv6ygf.bkt.clouddn.com/add-present-button/add_button_inactive.png\"}}):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"button_container\">\r\n <img src=\"http://pjczv6ygf.bkt.clouddn.com/add-present-button/add_button_active.png\"\r\n class=\"add_button s\"\r\n v-if=\"can_add\" @click=\"toAddPresent\"\r\n />\r\n\r\n <img src=\"http://pjczv6ygf.bkt.clouddn.com/add-present-button/add_button_inactive.png\"\r\n class=\"add_button\"\r\n v-if=\"!can_add\"\r\n />\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import {Toast} from 'vant';\r\n export default {\r\n name: \"add-present-button\",\r\n props: {\r\n can_add: {\r\n type: Boolean,\r\n default: true\r\n },\r\n disabled: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n methods: {\r\n toAddPresent() {\r\n Toast.loading({\r\n mask: true,\r\n message: '加载中...',\r\n duration: 500\r\n });\r\n if (this.disabled) this.$router.push('verify');\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n .add_button {\r\n width: 50px;\r\n height: 50px;\r\n pointer-events: auto;\r\n }\r\n .button_container {\r\n position: fixed;\r\n bottom: 20px;\r\n z-index: 2;\r\n width: 100%;\r\n pointer-events: none;\r\n }\r\n\r\n .s {\r\n border-radius: 50%;\r\n background: white;\r\n box-shadow: inset -1px 1px 4px 2px #fd6740, inset 1px -1px 4px 2px #ffffff;\r\n -webkit-transition: all 1s;\r\n -moz-transition: all 1s;\r\n transition: all 1s;\r\n }\r\n\r\n .s:nth-child(n):hover {\r\n -webkit-animation: bs2 linear 1s 1s infinite, bs2-in 1s;\r\n -moz-animation: bs2 linear 1s 1s infinite, bs2-in 1s;\r\n animation: bs2 linear 1s 1s infinite, bs2-in 1s;\r\n }\r\n\r\n .s:nth-child(1) {\r\n width: 50px;\r\n height: 50px;\r\n margin-top: -10px;\r\n -webkit-animation: bs linear 2s 0.5s infinite;\r\n -moz-animation: bs linear 2s 0.5s infinite;\r\n animation: bs linear 2s 0.5s infinite;\r\n }\r\n\r\n .s:nth-child(2) {\r\n width: 65px;\r\n height: 65px;\r\n margin-top: -15px;\r\n -webkit-animation: bs linear 2s 0.7s infinite;\r\n -moz-animation: bs linear 2s 0.7s infinite;\r\n animation: bs linear 2s 0.7s infinite;\r\n }\r\n\r\n .s:nth-child(3) {\r\n width: 80px;\r\n height: 80px;\r\n margin-top: -20px;\r\n -webkit-animation: bs linear 2s 0.9s infinite;\r\n -moz-animation: bs linear 2s 0.9s infinite;\r\n animation: bs linear 2s 0.9s infinite;\r\n }\r\n\r\n .s:nth-child(4) {\r\n width: 95px;\r\n height: 95px;\r\n margin-top: -25px;\r\n -webkit-animation: bs linear 2s 1.1s infinite;\r\n -moz-animation: bs linear 2s 1.1s infinite;\r\n animation: bs linear 2s 1.1s infinite;\r\n }\r\n\r\n .s:nth-child(5) {\r\n width: 105px;\r\n height: 105px;\r\n margin-top: -30px;\r\n -webkit-animation: bs linear 2s 1.3s infinite;\r\n -moz-animation: bs linear 2s 1.3s infinite;\r\n animation: bs linear 2s 1.3s infinite;\r\n }\r\n\r\n .s:nth-child(6) {\r\n width: 120px;\r\n height: 120px;\r\n margin-top: -35px;\r\n -webkit-animation: bs linear 2s 1.5s infinite;\r\n -moz-animation: bs linear 2s 1.5s infinite;\r\n animation: bs linear 2s 1.5s infinite;\r\n }\r\n\r\n .s:nth-child(7) {\r\n width: 105px;\r\n height: 105px;\r\n margin-top: -30px;\r\n -webkit-animation: bs linear 2s 1.7s infinite;\r\n -moz-animation: bs linear 2s 1.7s infinite;\r\n animation: bs linear 2s 1.7s infinite;\r\n }\r\n\r\n .s:nth-child(8) {\r\n width: 95px;\r\n height: 95px;\r\n margin-top: -25px;\r\n -webkit-animation: bs linear 2s 1.9s infinite;\r\n -moz-animation: bs linear 2s 1.9s infinite;\r\n animation: bs linear 2s 1.9s infinite;\r\n }\r\n\r\n .s:nth-child(9) {\r\n width: 80px;\r\n height: 80px;\r\n margin-top: -20px;\r\n -webkit-animation: bs linear 2s 2.1s infinite;\r\n -moz-animation: bs linear 2s 2.1s infinite;\r\n animation: bs linear 2s 2.1s infinite;\r\n }\r\n\r\n .s:nth-child(10) {\r\n width: 65px;\r\n height: 65px;\r\n margin-top: -15px;\r\n -webkit-animation: bs linear 2s 2.3s infinite;\r\n -moz-animation: bs linear 2s 2.3s infinite;\r\n animation: bs linear 2s 2.3s infinite;\r\n }\r\n\r\n .s:nth-child(11) {\r\n width: 50px;\r\n height: 50px;\r\n margin-top: -10px;\r\n -webkit-animation: bs linear 2s 2.5s infinite;\r\n -moz-animation: bs linear 2s 2.5s infinite;\r\n animation: bs linear 2s 2.5s infinite;\r\n }\r\n\r\n @-webkit-keyframes bs {\r\n 0% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 0px 0 #fd6740;\r\n }\r\n\r\n 50% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 20px 0 #fdbd24;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 0px 0 #fffa27;\r\n }\r\n }\r\n\r\n @-moz-keyframes bs {\r\n 0% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 0px 0 #fd6740;\r\n }\r\n\r\n 50% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 20px 0 #fdbd24;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 0px 0 #fffa27;\r\n }\r\n }\r\n\r\n @-o-keyframes bs {\r\n 0% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 0px 0 #fd6740;\r\n }\r\n\r\n 50% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 20px 0 #fdbd24;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 0px 0 #fffa27;\r\n }\r\n }\r\n\r\n @keyframes bs {\r\n 0% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 0px 0 #fffa27;\r\n }\r\n\r\n 50% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 20px 0 #fd6740;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 0px 0 #fdbd24;\r\n }\r\n }\r\n\r\n @-webkit-keyframes bs2-in {\r\n 0% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 10px 0 #bbff33;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n }\r\n\r\n @-moz-keyframes bs2-in {\r\n 0% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 10px 0 #bbff33;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n }\r\n\r\n @-o-keyframes bs2-in {\r\n 0% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 10px 0 #bbff33;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n }\r\n\r\n @keyframes bs2-in {\r\n 0% {\r\n box-shadow: inset -1px 1px 3px 2px #444444, inset 1px -1px 3px 2px #222222, 0 0 10px 0 #bbff33;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n }\r\n\r\n @-webkit-keyframes bs2 {\r\n 0% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n\r\n 50% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 10px 0 #ffbb33;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n }\r\n\r\n @-moz-keyframes bs2 {\r\n 0% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n\r\n 50% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 10px 0 #ffbb33;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n }\r\n\r\n @-o-keyframes bs2 {\r\n 0% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n\r\n 50% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 10px 0 #ffbb33;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n }\r\n\r\n @keyframes bs2 {\r\n 0% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n\r\n 50% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 10px 0 #ffbb33;\r\n }\r\n\r\n 100% {\r\n box-shadow: inset -1px 1px 5px 2px #444444, inset 1px -1px 5px 2px #222222, 0 0 0px 0 #ff3333;\r\n }\r\n }\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./addPresentButton.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./addPresentButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./addPresentButton.vue?vue&type=template&id=3b2d8fb3&scoped=true&\"\nimport script from \"./addPresentButton.vue?vue&type=script&lang=js&\"\nexport * from \"./addPresentButton.vue?vue&type=script&lang=js&\"\nimport style0 from \"./addPresentButton.vue?vue&type=style&index=0&id=3b2d8fb3&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3b2d8fb3\",\n null\n \n)\n\ncomponent.options.__file = \"addPresentButton.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.hasPresent === false)?_c('guide',{staticStyle:{\"z-index\":\"99\"}}):_vm._e(),_c('van-swipe',{staticStyle:{\"margin\":\"10px 10px\"},attrs:{\"autoplay\":3000,\"initial-swipe\":1}},_vm._l((_vm.images),function(image,index){return _c('van-swipe-item',{key:index},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(image),expression:\"image\"}],staticStyle:{\"width\":\"100%\"}})])})),_c('van-notice-bar',{attrs:{\"text\":\"上传礼物已经截止了哦,请点击礼物查看配对结果\",\"left-icon\":\"//img.yzcdn.cn/vant/volume.png\"}}),_c('van-row',{staticStyle:{\"margin\":\"0 10px 0 15px\"},attrs:{\"type\":\"flex\",\"justify\":\"space-between\",\"align\":\"center\"}},[_c('van-col',[_c('p',[_c('strong',[_vm._v(\"我的礼物\")])])]),_c('van-col',[_c('van-button',{attrs:{\"round\":\"\",\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":_vm.toDraw}},[_vm._v(\"参加抽奖\")])],1)],1),_c('ul',{staticStyle:{\"background-color\":\"#fff6e3\"}},_vm._l((_vm.presents),function(present,index){return _c(\"index-present\",{key:present.id,tag:\"li\",attrs:{\"present-img\":present.imgUrl,\"present-name\":present.name,\"present-desc\":present.desc,\"publish-time\":present.time,\"status\":present.status},on:{\"to-detail\":function($event){_vm.toDetail(index)}}})})),_c('div',{staticStyle:{\"margin\":\"20px 10px 0\"}},[_vm._m(0),_vm._l((_vm.dec_icons),function(pic,index){return _c('div',{key:index,staticClass:\"dec\",on:{\"click\":function($event){_vm.Desc(index)}}},[_c('img',{attrs:{\"src\":pic}}),_c('p',[_vm._v(_vm._s(_vm.dec_words[index]))])])})],2),_vm._m(1),_c('add-present-button',{attrs:{\"can_add\":false}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{\"text-align\":\"left\",\"margin-left\":\"5px\"}},[_c('strong',[_vm._v(\"简单四步,轻松互赠圣诞礼物\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"margin\":\"20px 10px 80px\",\"font-size\":\"15px\"}},[_c('p',{staticStyle:{\"margin-bottom\":\"0\"}},[_vm._v(\"Tips:\")]),_c('p',{staticStyle:{\"margin-top\":\"5px\"}},[_vm._v(\"我们十分重视您的礼物\"),_c('br'),_vm._v(\" 如果使用中遇到疑惑 \"),_c('br'),_vm._v(\" 欢迎您随时微信联系 177-8875-2557 \")])])}]\n\nexport { render, staticRenderFns }","import create from '../utils/create';\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showNoticeBar,\n expression: \"showNoticeBar\"\n }],\n class: _vm.b({\n withicon: _vm.mode\n }),\n style: _vm.barStyle,\n on: {\n \"click\": function click($event) {\n _vm.$emit('click');\n }\n }\n }, [_vm.leftIcon ? _c('div', {\n class: _vm.b('left-icon')\n }, [_c('img', {\n attrs: {\n \"src\": _vm.leftIcon\n }\n })]) : _vm._e(), _c('div', {\n ref: \"wrap\",\n class: _vm.b('wrap')\n }, [_c('div', {\n ref: \"content\",\n class: [_vm.b('content'), _vm.animationClass, {\n 'van-ellipsis': !_vm.scrollable\n }],\n style: _vm.contentStyle,\n on: {\n \"animationend\": _vm.onAnimationEnd,\n \"webkitAnimationEnd\": _vm.onAnimationEnd\n }\n }, [_vm._t(\"default\", [_vm._v(_vm._s(_vm.text))])], 2)]), _vm.iconName ? _c('icon', {\n class: _vm.b('right-icon'),\n attrs: {\n \"name\": _vm.iconName\n },\n on: {\n \"click\": _vm.onClickIcon\n }\n }) : _vm._e()], 1);\n },\n name: 'notice-bar',\n props: {\n text: String,\n mode: String,\n color: String,\n leftIcon: String,\n background: String,\n delay: {\n type: [String, Number],\n default: 1\n },\n scrollable: {\n type: Boolean,\n default: true\n },\n speed: {\n type: Number,\n default: 50\n }\n },\n data: function data() {\n return {\n wrapWidth: 0,\n firstRound: true,\n duration: 0,\n offsetWidth: 0,\n showNoticeBar: true,\n animationClass: ''\n };\n },\n computed: {\n iconName: function iconName() {\n return this.mode === 'closeable' ? 'close' : this.mode === 'link' ? 'arrow' : '';\n },\n barStyle: function barStyle() {\n return {\n color: this.color,\n background: this.background\n };\n },\n contentStyle: function contentStyle() {\n return {\n paddingLeft: this.firstRound ? 0 : this.wrapWidth + 'px',\n animationDelay: (this.firstRound ? this.delay : 0) + 's',\n animationDuration: this.duration + 's'\n };\n }\n },\n watch: {\n text: {\n handler: function handler() {\n var _this = this;\n\n this.$nextTick(function () {\n var _this$$refs = _this.$refs,\n wrap = _this$$refs.wrap,\n content = _this$$refs.content;\n\n if (!wrap || !content) {\n return;\n }\n\n var wrapWidth = wrap.getBoundingClientRect().width;\n var offsetWidth = content.getBoundingClientRect().width;\n\n if (_this.scrollable && offsetWidth > wrapWidth) {\n _this.wrapWidth = wrapWidth;\n _this.offsetWidth = offsetWidth;\n _this.duration = offsetWidth / _this.speed;\n _this.animationClass = _this.b('play');\n }\n });\n },\n immediate: true\n }\n },\n methods: {\n onClickIcon: function onClickIcon() {\n this.showNoticeBar = this.mode !== 'closeable';\n },\n onAnimationEnd: function onAnimationEnd() {\n var _this2 = this;\n\n this.firstRound = false;\n this.$nextTick(function () {\n _this2.duration = (_this2.offsetWidth + _this2.wrapWidth) / _this2.speed;\n _this2.animationClass = _this2.b('play--infinite');\n });\n }\n }\n});","import create from '../utils/create';\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n class: _vm.b(),\n style: _vm.style\n }, [_vm._t(\"default\")], 2);\n },\n name: 'swipe-item',\n data: function data() {\n return {\n offset: 0\n };\n },\n computed: {\n style: function style() {\n var _this$$parent = this.$parent,\n vertical = _this$$parent.vertical,\n computedWidth = _this$$parent.computedWidth,\n computedHeight = _this$$parent.computedHeight;\n return {\n width: computedWidth + 'px',\n height: vertical ? computedHeight + 'px' : '100%',\n transform: \"translate\" + (vertical ? 'Y' : 'X') + \"(\" + this.offset + \"px)\"\n };\n }\n },\n beforeCreate: function beforeCreate() {\n this.$parent.swipes.push(this);\n },\n destroyed: function destroyed() {\n this.$parent.swipes.splice(this.$parent.swipes.indexOf(this), 1);\n }\n});","import create from '../utils/create';\nimport Touch from '../mixins/touch';\nimport { on, off } from '../utils/event';\nexport default create({\n render: function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n class: _vm.b()\n }, [_c('div', {\n class: _vm.b('track'),\n style: _vm.trackStyle,\n on: {\n \"touchstart\": _vm.onTouchStart,\n \"touchmove\": _vm.onTouchMove,\n \"touchend\": _vm.onTouchEnd,\n \"touchcancel\": _vm.onTouchEnd,\n \"transitionend\": function transitionend($event) {\n _vm.$emit('change', _vm.activeIndicator);\n }\n }\n }, [_vm._t(\"default\")], 2), _vm._t(\"indicator\", [_vm.showIndicators && _vm.count > 1 ? _c('div', {\n class: _vm.b('indicators', {\n vertical: _vm.vertical\n })\n }, _vm._l(_vm.count, function (index) {\n return _c('i', {\n class: _vm.b('indicator', {\n active: index - 1 === _vm.activeIndicator\n }),\n style: _vm.indicatorStyle\n });\n })) : _vm._e()])], 2);\n },\n name: 'swipe',\n mixins: [Touch],\n props: {\n width: Number,\n height: Number,\n autoplay: Number,\n vertical: Boolean,\n initialSwipe: Number,\n indicatorColor: String,\n loop: {\n type: Boolean,\n default: true\n },\n touchable: {\n type: Boolean,\n default: true\n },\n showIndicators: {\n type: Boolean,\n default: true\n },\n duration: {\n type: Number,\n default: 500\n }\n },\n data: function data() {\n return {\n computedWidth: 0,\n computedHeight: 0,\n offset: 0,\n active: 0,\n deltaX: 0,\n deltaY: 0,\n swipes: [],\n swiping: false\n };\n },\n mounted: function mounted() {\n this.initialize();\n\n if (!this.$isServer) {\n on(window, 'resize', this.onResize, true);\n }\n },\n destroyed: function destroyed() {\n this.clear();\n\n if (!this.$isServer) {\n off(window, 'resize', this.onResize, true);\n }\n },\n watch: {\n swipes: function swipes() {\n this.initialize();\n },\n initialSwipe: function initialSwipe() {\n this.initialize();\n },\n autoplay: function autoplay(_autoplay) {\n if (!_autoplay) {\n this.clear();\n } else {\n this.autoPlay();\n }\n }\n },\n computed: {\n count: function count() {\n return this.swipes.length;\n },\n delta: function delta() {\n return this.vertical ? this.deltaY : this.deltaX;\n },\n size: function size() {\n return this[this.vertical ? 'computedHeight' : 'computedWidth'];\n },\n trackSize: function trackSize() {\n return this.count * this.size;\n },\n activeIndicator: function activeIndicator() {\n return (this.active + this.count) % this.count;\n },\n isCorrectDirection: function isCorrectDirection() {\n var expect = this.vertical ? 'vertical' : 'horizontal';\n return this.direction === expect;\n },\n trackStyle: function trackStyle() {\n var _ref;\n\n var mainAxis = this.vertical ? 'height' : 'width';\n var crossAxis = this.vertical ? 'width' : 'height';\n return _ref = {}, _ref[mainAxis] = this.trackSize + \"px\", _ref[crossAxis] = this[crossAxis] ? this[crossAxis] + \"px\" : '', _ref.transitionDuration = (this.swiping ? 0 : this.duration) + \"ms\", _ref.transform = \"translate\" + (this.vertical ? 'Y' : 'X') + \"(\" + this.offset + \"px)\", _ref;\n },\n indicatorStyle: function indicatorStyle() {\n return {\n backgroundColor: this.indicatorColor\n };\n }\n },\n methods: {\n // initialize swipe position\n initialize: function initialize(active) {\n if (active === void 0) {\n active = this.initialSwipe;\n }\n\n clearTimeout(this.timer);\n\n if (this.$el) {\n var rect = this.$el.getBoundingClientRect();\n this.computedWidth = this.width || rect.width;\n this.computedHeight = this.height || rect.height;\n }\n\n this.swiping = true;\n this.active = active;\n this.offset = this.count > 1 ? -this.size * this.active : 0;\n this.swipes.forEach(function (swipe) {\n swipe.offset = 0;\n });\n this.autoPlay();\n },\n onResize: function onResize() {\n this.initialize(this.activeIndicator);\n },\n onTouchStart: function onTouchStart(event) {\n if (!this.touchable) return;\n this.clear();\n this.swiping = true;\n this.touchStart(event);\n this.correctPosition();\n },\n onTouchMove: function onTouchMove(event) {\n if (!this.touchable || !this.swiping) return;\n this.touchMove(event);\n\n if (this.isCorrectDirection) {\n event.preventDefault();\n event.stopPropagation();\n this.move(0, Math.min(Math.max(this.delta, -this.size), this.size));\n }\n },\n onTouchEnd: function onTouchEnd() {\n if (!this.touchable || !this.swiping) return;\n\n if (this.delta && this.isCorrectDirection) {\n var offset = this.vertical ? this.offsetY : this.offsetX;\n this.move(offset > 0 ? this.delta > 0 ? -1 : 1 : 0);\n }\n\n this.swiping = false;\n this.autoPlay();\n },\n move: function move(_move, offset) {\n if (_move === void 0) {\n _move = 0;\n }\n\n if (offset === void 0) {\n offset = 0;\n }\n\n var delta = this.delta,\n active = this.active,\n count = this.count,\n swipes = this.swipes,\n trackSize = this.trackSize;\n var atFirst = active === 0;\n var atLast = active === count - 1;\n var outOfBounds = !this.loop && (atFirst && (offset > 0 || _move < 0) || atLast && (offset < 0 || _move > 0));\n\n if (outOfBounds || count <= 1) {\n return;\n }\n\n swipes[0].offset = atLast && (delta < 0 || _move > 0) ? trackSize : 0;\n swipes[count - 1].offset = atFirst && (delta > 0 || _move < 0) ? -trackSize : 0;\n\n if (_move && active + _move >= -1 && active + _move <= count) {\n this.active += _move;\n }\n\n this.offset = offset - this.active * this.size;\n },\n swipeTo: function swipeTo(index) {\n var _this = this;\n\n this.swiping = true;\n this.correctPosition();\n setTimeout(function () {\n _this.swiping = false;\n\n _this.move(index % _this.count - _this.active);\n }, 30);\n },\n correctPosition: function correctPosition() {\n if (this.active <= -1) {\n this.move(this.count);\n }\n\n if (this.active >= this.count) {\n this.move(-this.count);\n }\n },\n clear: function clear() {\n clearTimeout(this.timer);\n },\n autoPlay: function autoPlay() {\n var _this2 = this;\n\n var autoplay = this.autoplay;\n\n if (autoplay && this.count > 1) {\n this.clear();\n this.timer = setTimeout(function () {\n _this2.swiping = true;\n\n _this2.resetTouchStatus();\n\n _this2.correctPosition();\n\n setTimeout(function () {\n _this2.swiping = false;\n\n _this2.move(1);\n\n _this2.autoPlay();\n }, 30);\n }, autoplay);\n }\n }\n }\n});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{\"click\":_vm.toDetail}},[_c('van-card',{attrs:{\"thumb\":_vm.presentImg}},[_c('div',{staticStyle:{\"position\":\"absolute\",\"text-align\":\"left\",\"top\":\"0\"},attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('p',{staticStyle:{\"margin\":\"10px 0 0\"}},[_c('strong',[_vm._v(_vm._s(_vm.presentName))])]),_c('p',{staticStyle:{\"margin-top\":\"5px\"}},[_vm._v(_vm._s(_vm.presentDesc))])]),_c('div',{staticStyle:{\"position\":\"absolute\",\"bottom\":\"0\",\"text-align\":\"left\"},attrs:{\"slot\":\"tags\"},slot:\"tags\"},[_c('p',[_vm._v(_vm._s(_vm.publishTime))])]),_c('div',{staticStyle:{\"width\":\"100%\"},attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('van-tag',{staticClass:\"present_tag\",attrs:{\"color\":_vm.statusColor[_vm.status]}},[_vm._v(_vm._s(_vm.statusString[_vm.status]))])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div v-on:click=\"toDetail\">\r\n <van-card\r\n :thumb=\"presentImg\"\r\n >\r\n <div slot=\"title\" style=\"position: absolute; text-align: left; top: 0;\">\r\n <p style=\"margin: 10px 0 0\"><strong>{{presentName}}</strong></p>\r\n <p style=\"margin-top: 5px\">{{presentDesc}}</p>\r\n </div>\r\n <div slot=\"tags\" style=\"position: absolute; bottom: 0; text-align: left\">\r\n <p>{{publishTime}}</p>\r\n </div>\r\n <div slot=\"footer\" style=\"width: 100%\">\r\n <van-tag class=\"present_tag\" :color=\"statusColor[status]\">{{statusString[status]}}</van-tag>\r\n </div>\r\n </van-card>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import { Card, Tag } from 'vant';\r\n export default {\r\n name: \"IndexPresent\",\r\n components: {\r\n [Card.name]: Card, [Tag.name]: Tag,\r\n },\r\n data() {\r\n return {\r\n statusString: ['审核中', '匹配中', '匹配成功', '交换成功', '审核失败'],\r\n statusColor: ['#fd6740', '#00ff00', '#00bfff', '#00fa9a', '#ff0000']\r\n }\r\n },\r\n props: {\r\n presentImg: {\r\n type: String,\r\n default: \"http://pjczv6ygf.bkt.clouddn.com/image_load_fail.jpg\"\r\n },\r\n presentName: {\r\n type: String,\r\n default: '礼物名称'\r\n },\r\n presentDesc: {\r\n type: String,\r\n default: '礼物描述'\r\n },\r\n publishTime: {\r\n type: String,\r\n default: '1970-01-01'\r\n },\r\n status: {\r\n type: Number,\r\n default: 0\r\n }\r\n },\r\n methods: {\r\n toDetail() {\r\n this.$emit('to-detail')\r\n }\r\n }\r\n }\r\n\r\n</script>\r\n\r\n<style scoped>\r\n div {\r\n background-color: #fff6e3;\r\n }\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IndexPresent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IndexPresent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IndexPresent.vue?vue&type=template&id=eac93592&scoped=true&\"\nimport script from \"./IndexPresent.vue?vue&type=script&lang=js&\"\nexport * from \"./IndexPresent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./IndexPresent.vue?vue&type=style&index=0&id=eac93592&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eac93592\",\n null\n \n)\n\ncomponent.options.__file = \"IndexPresent.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.seen)?_c('div',{staticClass:\"guide_background\",on:{\"click\":function($event){_vm.seen=false}}},[_vm._m(0),_c('add-present-button',{attrs:{\"can_add\":true,\"disabled\":false}})],1):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tips\"},[_c('p',[_vm._v(\"点击这里\"),_c('br'),_vm._v(\"发布礼物\")]),_c('img',{attrs:{\"src\":\"http://pjczv6ygf.bkt.clouddn.com/arrow.png\"}})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"guide_background\" v-if=\"seen\" @click=\"seen=false\">\r\n <div class=\"tips\">\r\n <p>点击这里<br/>发布礼物</p>\r\n <img src=\"http://pjczv6ygf.bkt.clouddn.com/arrow.png\"/>\r\n </div>\r\n <add-present-button :can_add=\"true\" :disabled=\"false\"/>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import AddPresentButton from \"./addPresentButton\";\r\n\r\n export default {\r\n name: \"guide\",\r\n components: {AddPresentButton},\r\n data() {\r\n return {\r\n seen: true\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n .guide_background {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n background-color: #313131;\r\n opacity: 0.5;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n\r\n .tips {\r\n color: white;\r\n position: fixed;\r\n bottom: 11%;\r\n width: 100%;\r\n }\r\n\r\n .tips p {\r\n margin-left: 80px;\r\n margin-bottom: 0;\r\n }\r\n\r\n .tips img {\r\n margin-left: 80px;\r\n width: 20px;\r\n height: 20px;\r\n margin-top: 3px;\r\n }\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./guide.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./guide.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./guide.vue?vue&type=template&id=7af3f817&scoped=true&\"\nimport script from \"./guide.vue?vue&type=script&lang=js&\"\nexport * from \"./guide.vue?vue&type=script&lang=js&\"\nimport style0 from \"./guide.vue?vue&type=style&index=0&id=7af3f817&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7af3f817\",\n null\n \n)\n\ncomponent.options.__file = \"guide.vue\"\nexport default component.exports","<template>\r\n <div>\r\n <guide style=\"z-index: 99\" v-if=\"hasPresent === false\"/>\r\n <van-swipe :autoplay=\"3000\" style=\"margin: 10px 10px;\" :initial-swipe=\"1\">\r\n <van-swipe-item v-for=\"(image, index) in images\" :key=\"index\">\r\n <img v-lazy=\"image\" style=\"width: 100%\"/>\r\n </van-swipe-item>\r\n </van-swipe>\r\n <van-notice-bar\r\n text=\"上传礼物已经截止了哦,请点击礼物查看配对结果\"\r\n left-icon=\"//img.yzcdn.cn/vant/volume.png\"\r\n />\r\n\r\n <van-row type=\"flex\" justify=\"space-between\" align=\"center\" style=\"margin: 0 10px 0 15px\">\r\n <van-col>\r\n <p><strong>我的礼物</strong></p>\r\n </van-col>\r\n <van-col>\r\n <van-button round type=\"primary\" size=\"small\" @click=\"toDraw\">参加抽奖</van-button>\r\n </van-col>\r\n </van-row>\r\n\r\n <ul style=\"background-color: #fff6e3\">\r\n <li\r\n is=\"index-present\"\r\n v-for=\"(present, index) in presents\"\r\n :key=\"present.id\"\r\n :present-img=\"present.imgUrl\"\r\n :present-name=\"present.name\"\r\n :present-desc=\"present.desc\"\r\n :publish-time=\"present.time\"\r\n :status=\"present.status\"\r\n @to-detail=\"toDetail(index)\"\r\n ></li>\r\n </ul>\r\n <div style=\"margin: 20px 10px 0;\">\r\n <p style=\"text-align: left; margin-left: 5px\"><strong>简单四步,轻松互赠圣诞礼物</strong></p>\r\n <div\r\n class=\"dec\"\r\n v-for=\"(pic, index) in dec_icons\"\r\n :key=\"index\"\r\n @click=\"Desc(index)\"\r\n >\r\n <img :src=\"pic\"/>\r\n <p>{{dec_words[index]}}</p>\r\n </div>\r\n </div>\r\n <div style=\"margin: 20px 10px 80px; font-size: 15px\">\r\n <p style=\"margin-bottom: 0\">Tips:</p>\r\n <p style=\"margin-top: 5px\">我们十分重视您的礼物<br/> 如果使用中遇到疑惑 <br/> 欢迎您随时微信联系 177-8875-2557 </p>\r\n </div>\r\n <!--<add-present-button :can_add=\"button_active\"/>-->\r\n <add-present-button :can_add=\"false\"/>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import IndexPresent from \"../components/IndexPresent\";\r\n import {\r\n Button, Row, Col,\r\n Swipe, SwipeItem,\r\n NoticeBar, Toast, Dialog\r\n } from \"vant\";\r\n import AddPresentButton from \"../components/addPresentButton\";\r\n import {BasicFunction} from '../connector/basic-service';\r\n import Guide from \"../components/guide\";\r\n\r\n export default {\r\n name: \"index\",\r\n components: {\r\n Guide,\r\n AddPresentButton,\r\n IndexPresent,\r\n [Button.name]: Button,\r\n [Row.name]: Row, [Col.name]: Col,\r\n [Swipe.name]: Swipe, [SwipeItem.name]: SwipeItem,\r\n [NoticeBar.name]: NoticeBar\r\n },\r\n data() {\r\n return {\r\n images: [\r\n \"http://pjczv6ygf.bkt.clouddn.com/banner/banner1.jpg\",\r\n \"http://pjczv6ygf.bkt.clouddn.com/banner/banner2.jpg\",\r\n \"http://pjczv6ygf.bkt.clouddn.com/banner/banner3.jpg\"\r\n ],\r\n active: 0,\r\n button_active: false,\r\n presents: {},\r\n hasPresent: true,\r\n dec_icons: [\r\n \"http://pjczv6ygf.bkt.clouddn.com/dec-icon/1.png\",\r\n \"http://pjczv6ygf.bkt.clouddn.com/dec-icon/2.png\",\r\n \"http://pjczv6ygf.bkt.clouddn.com/dec-icon/3.png\",\r\n \"http://pjczv6ygf.bkt.clouddn.com/dec-icon/4.png\",\r\n ],\r\n dec_words: [\r\n '填写资料',\r\n '上传礼物',\r\n '获得匹配',\r\n '线下交换'\r\n ],\r\n userStatus: 100\r\n }\r\n },\r\n methods: {\r\n toDraw() {\r\n Toast.loading({\r\n mask: true,\r\n message: '加载中...',\r\n duration: 1000\r\n });\r\n this.$router.push('draw')\r\n },\r\n toDetail(i) {\r\n if (this.userStatus === 500) {\r\n Dialog.confirm({\r\n message: '您的校卡审核未通过!请前往【我的】页面重新上传校卡,否则将不会为您审核礼物哦',\r\n confirmButtonText: '查看校卡信息',\r\n cancelButtonText: '查看礼物'\r\n }).then(() => {\r\n Toast.loading({\r\n mask: true,\r\n message: '加载中...',\r\n duration: 500\r\n });\r\n this.$router.push('me');\r\n }).catch(() => {\r\n Toast.loading({\r\n mask: true,\r\n message: '加载中...',\r\n duration: 1000\r\n });\r\n let present = this.presents[i];\r\n this.$router.push({\r\n path: 'giftDetail', query: {presentId: present.id}\r\n });\r\n });\r\n } else {\r\n Toast.loading({\r\n mask: true,\r\n message: '加载中...',\r\n duration: 1000\r\n });\r\n let present = this.presents[i];\r\n this.$router.push({\r\n path: 'giftDetail', query: {presentId: present.id}\r\n });\r\n }\r\n },\r\n Desc(i) {\r\n switch (i) {\r\n case 0:\r\n Toast.loading({\r\n mask: true,\r\n message: '加载中...',\r\n duration: 500\r\n });\r\n this.$router.push('me');\r\n break;\r\n case 1:\r\n Toast.loading({\r\n mask: true,\r\n message: '加载中...',\r\n duration: 500\r\n });\r\n if (this.button_active) this.$router.push('verify');\r\n else Dialog.alert({\r\n message: '只能上传一个礼物哦'\r\n }).then(() => {\r\n });\r\n break;\r\n case 2:\r\n Dialog.alert({\r\n title: '获得匹配',\r\n message: '获得匹配后,请返回此页面,点击礼物查看匹配'\r\n }).then(() => {\r\n });\r\n break;\r\n case 3:\r\n Dialog.alert({\r\n title: '线下交换',\r\n message: '请联系匹配到的同学进行线下交换,我们将提供该同学的微信号'\r\n }).then(() => {\r\n });\r\n }\r\n }\r\n },\r\n created: function () {\r\n // return get_present_data()\r\n if (localStorage.getItem('frontend-userid') === null) {\r\n this.$router.push('login');\r\n return;\r\n }\r\n let userid = localStorage.getItem('frontend-userid');\r\n // console.log(userid);\r\n\r\n let presentList = [];\r\n let b_a = true;\r\n let h_p = false;\r\n let that = this;\r\n\r\n // let list = methods.get_present_list(userid);\r\n // console.log('presents: ');\r\n // console.log(list);\r\n\r\n BasicFunction.get_data(\"smartIdentity/list?userId=\" + userid, function (res) {\r\n // if(res.model === undefined || res.model.length === 0) {\r\n // Toast.fail('无法获取用户信息,请退出重试');\r\n // return;\r\n // }\r\n try {\r\n if (res.ret === '10000' && res.model != undefined && res.model.list != undefined && res.model.list.length > 0) {\r\n let identity = res.model.list[0];\r\n that.userStatus = identity.userReviewStatus;\r\n BasicFunction.get_data(\"smartGoods/list?isDel=0&ownerId=\" + userid, function (response) {\r\n // console.log(\"------ Data Rcvd in Index --------\");\r\n // console.log(response);\r\n if (response.ret === \"10000\") {\r\n let list = response.model.list;\r\n if (list.length !== 0) h_p = true;\r\n that.hasPresent = h_p;\r\n list.forEach(gift => {\r\n let temp = {};\r\n temp.id = gift.goodid;\r\n temp.imgUrl = 'http://gift.fogice.com' + gift.img;\r\n temp.name = gift.name;\r\n if (gift.description.length > 45) {\r\n temp.desc = gift.description.substring(0, 30);\r\n temp.desc += \"...\"\r\n }\r\n else temp.desc = gift.description;\r\n temp.desc_long = gift.description;\r\n temp.time = gift.createTime.substring(0, 9);\r\n temp.status = gift.sort;\r\n if (gift.sort !== 4) b_a = false; // 限制上传1个礼物\r\n temp.gender = gift.goodFirstKind;\r\n temp.tags = gift.goodSecondKind;\r\n presentList.push(temp);\r\n });\r\n that.button_active = b_a;\r\n } else {\r\n Toast.fail('获取礼物列表失败');\r\n }\r\n }, {});\r\n } else {\r\n Toast.fail('获取信息失败');\r\n localStorage.removeItem('frontend-userid')\r\n }\r\n } catch (e) {\r\n console.warn(e);\r\n localStorage.removeItem('frontend-userid');\r\n Toast.fail('无法获取用户信息,请退出重试' + e);\r\n }\r\n }, {});\r\n\r\n\r\n // console.log(\"presents:\");\r\n // console.log(presentList);\r\n this.presents = presentList;\r\n },\r\n mounted: function () {\r\n document.getElementsByName(\"index_icon\")[0].click(); // 保证导航栏正确\r\n }\r\n }\r\n\r\n</script>\r\n\r\n<style scoped>\r\n .dec {\r\n float: left;\r\n width: 25%;\r\n margin-bottom: 10px;\r\n }\r\n\r\n .dec img {\r\n width: 50%;\r\n background-color: white;\r\n border-radius: 50%;\r\n padding: 5px;\r\n margin-bottom: 0;\r\n }\r\n\r\n .dec p {\r\n font-size: 80%;\r\n margin-top: 2px;\r\n color: #9e9e9e;\r\n }\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=4ceff251&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=4ceff251&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4ceff251\",\n null\n \n)\n\ncomponent.options.__file = \"index.vue\"\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./guide.vue?vue&type=style&index=0&id=7af3f817&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./guide.vue?vue&type=style&index=0&id=7af3f817&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=4ceff251&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=4ceff251&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IndexPresent.vue?vue&type=style&index=0&id=eac93592&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IndexPresent.vue?vue&type=style&index=0&id=eac93592&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./addPresentButton.vue?vue&type=style&index=0&id=3b2d8fb3&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./addPresentButton.vue?vue&type=style&index=0&id=3b2d8fb3&scoped=true&lang=css&\""],"sourceRoot":""}