You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
15 KiB

{"version":3,"sources":["webpack:////Users/piao/Documents/Project/yshopmall_uni/main.js","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserVip/index.vue?36dc","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserVip/index.vue?8884","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserVip/index.vue?2bbc","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserVip/index.vue?c627","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserVip/index.vue","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserVip/index.vue?fb19","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/user/UserVip/index.vue?c368"],"names":["createPage","Page","name","components","Recommend","props","data","vipList","vipRequire","vipComplete","taskCount","grade","swiperVip","speed","effect","slidesPerView","centeredSlides","coverflowEffect","rotate","stretch","depth","modifier","slideShadows","observer","observeParents","loading","growthValue","illustrate","activeIndex","watch","that","length","forEach","item","index","isClear","computed","swiper","mounted","getInfo","methods","swiperChange","e","mp","detail","current","getTask","growthTap","then","res","list","task","reachCount","err","$dialog","message","msg","id","reach_count","showGrow"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,oG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;AC1Cf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;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AAaC,OAAb,CAAqBF,GAAG,CAACG,GAAzB;AACD,OATH;;AAWD,KAtBM;AAuBPV,WAAO,EAAE,mBAAW;AAClB,UAAIhB,IAAI,GAAG,IAAX;AACA,4BAAWA,IAAI,CAACvB,OAAL,CAAauB,IAAI,CAACF,WAAlB,EAA+B6B,EAA1C,EAA8CT,IAA9C;AACE,gBAAAC,GAAG,EAAI;AACLnB,YAAI,CAACtB,UAAL,GAAkByC,GAAG,CAAC3C,IAAJ,CAAS4C,IAA3B;AACApB,YAAI,CAACrB,WAAL,GAAmBwC,GAAG,CAAC3C,IAAJ,CAAS6C,IAA5B;AACArB,YAAI,CAACpB,SAAL,GAAiBuC,GAAG,CAAC3C,IAAJ,CAASoD,WAA1B;AACD,OALH;AAME,gBAAAL,GAAG,EAAI;AACLvB,YAAI,CAACwB,OAAL,CAAaC,OAAb,CAAqBF,GAAG,CAACG,GAAzB;AACD,OARH;;AAUD,KAnCM;AAoCPG,YAAQ,EAAE,kBAAS1B,IAAT,EAAe;AACvB,UAAI,KAAKN,UAAL,IAAmBM,IAAI,CAACN,UAA5B,EAAwC,KAAKA,UAAL,GAAkBM,IAAI,CAACN,UAAvB;AACxC,WAAKD,WAAL,GAAmB,KAAnB;AACD,KAvCM,EAlEI,E;;;;;;;;;;;;ACrFf;AAAA;AAAA;AAAA;AAAksC,CAAgB,6lCAAG,EAAC,C;;;;;;;;;;;ACAttC,uC","file":"pages/user/UserVip/index.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue'\nimport Page from './pages/user/UserVip/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=03f9cc32&\"\nvar renderjs\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&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('03f9cc32')) {\n api.createRecord('03f9cc32', component.options)\n } else {\n api.reload('03f9cc32', component.options)\n }\n module.hot.accept(\"./index.vue?vue&type=template&id=03f9cc32&\", function () {\n api.rerender('03f9cc32', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"Users/piao/Documents/Project/yshopmall_uni/pages/user/UserVip/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=03f9cc32&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n// import { swiper, swiperSlide } from \"vue-awesome-swiper\";\n\nimport Recommend from \"@/components/Recommend\";\nimport { getVipInfo, getVipTask, setDetection } from \"@/api/user\";\nexport default {\n name: \"Poster\",\n components: {\n // swiper,\n // swiperSlide,\n Recommend\n },\n props: {},\n data: function() {\n return {\n vipList: [], //等级列表\n vipRequire: [], //等级要求\n vipComplete: [], //完成情况\n taskCount: 0, //任务数\n grade: 0, //当前会员等级\n swiperVip: {\n speed: 1000,\n effect: \"coverflow\",\n slidesPerView: \"auto\",\n centeredSlides: true,\n // loop: true,\n coverflowEffect: {\n rotate: 0, // 旋转的角度\n stretch: -20, // 拉伸 图片间左右的间距和密集度\n depth: 100, // 深度 切换图片间上下的间距和密集度\n modifier: 2, // 修正值 该值越大前面的效果越明显\n slideShadows: false // 页面阴影效果\n },\n observer: true,\n observeParents: true\n },\n loading: false,\n growthValue: true,\n illustrate: \"\",\n activeIndex: 0\n };\n },\n watch: {\n vipList: function() {\n let that = this;\n if (that.vipList.length > 0) {\n that.vipList.forEach(function(item, index) {\n if (item.isClear === false) {\n // that.swiper.slideTo(index);\n that.activeIndex = index;\n that.grade = item.grade;\n }\n });\n }\n }\n },\n computed: {\n swiper() {\n // return this.$refs.mySwiper.swiper;\n }\n },\n mounted: function() {\n let that = this;\n setDetection();\n that.getInfo();\n // that.swiper.on(\"slideChange\", function() {\n // that.activeIndex = that.swiper.activeIndex;\n // that.getTask();\n // });\n },\n\n methods: {\n swiperChange: function(e) {\n let that = this;\n that.activeIndex = e.mp.detail.current;\n that.getTask();\n },\n growthTap: function() {\n this.growthValue = true;\n },\n getInfo: function() {\n let that = this;\n getVipInfo().then(\n res => {\n that.vipList = res.data.list;\n that.vipRequire = res.data.task.list;\n that.vipComplete = res.data.task.task;\n that.taskCount = res.data.task.reachCount;\n },\n err => {\n that.$dialog.message(err.msg);\n }\n );\n },\n getTask: function() {\n let that = this;\n getVipTask(that.vipList[that.activeIndex].id).then(\n res => {\n that.vipRequire = res.data.list;\n that.vipComplete = res.data.task;\n that.taskCount = res.data.reach_count;\n },\n err => {\n that.$dialog.message(err.msg);\n }\n );\n },\n showGrow: function(item) {\n if (this.illustrate != item.illustrate) this.illustrate = item.illustrate;\n this.growthValue = false;\n }\n }\n};\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}