Blame view
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
17.5 KB
c41ff77d3 首页页面搭建 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
{"version":3,"sources":["webpack:///C:/Users/Administrator/Desktop/gulu-vue/main.js","webpack:///C:/Users/Administrator/Desktop/gulu-vue/pages/index/index.vue?d486","webpack:///C:/Users/Administrator/Desktop/gulu-vue/pages/index/index.vue?527c","webpack:///C:/Users/Administrator/Desktop/gulu-vue/pages/index/index.vue?fc76","webpack:///C:/Users/Administrator/Desktop/gulu-vue/pages/index/index.vue?bfc3","webpack:///C:/Users/Administrator/Desktop/gulu-vue/pages/index/index.vue","webpack:///C:/Users/Administrator/Desktop/gulu-vue/pages/index/index.vue?67e0","webpack:///C:/Users/Administrator/Desktop/gulu-vue/pages/index/index.vue?54bc"],"names":["createPage","Page","components","uniDrawer","HMfilterDropdown","data","screenItems","current","text","hasIcon","showRight","indexArr","valueArr","goodsList","goods_id","img","name","price","slogan","loadingText","filterDropdownValue","filterData","filters","outData","value","JSON","stringify","onLoad","setTimeout","methods","showDrawer","e","$refs","open","closeDrawer","close","change","type","onClickItem","dropDown","console","log","confirm","index","submenu","onNavigationBarButtonTap","onReachBottom","len","length","end_goods_id","i","p","push"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,4F;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA,WAAW,mMAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA;AAAA;AAAA;AAAA;AAA+lB,CAAgB,ynBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6DlnB,oF,syBAAoC;eACrB;AACdC,YAAU,EAAE;AACXC,aAAS,EAATA,SADW;AAEF,wBAAmBC,gBAFjB,EADE;;AAKdC,MALc,kBAKP;AACN,WAAO;AACNC,iBAAW,EAAE;AACZ,QAACC,OAAO,EAAC,CAAT,EAAWC,IAAI,EAAC,IAAhB,EAAqBC,OAAO,EAAC,KAA7B,EADY;AAEZ,QAACF,OAAO,EAAC,CAAT,EAAWC,IAAI,EAAC,IAAhB,EAAqBC,OAAO,EAAC,KAA7B,EAFY;AAGZ,QAACF,OAAO,EAAC,CAAT,EAAWC,IAAI,EAAC,IAAhB,EAAqBC,OAAO,EAAC,IAA7B,EA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jB;AACA,aAAO,KAAP;AACA,KAHD,MAGK;AACJ,WAAKA,WAAL,GAAiB,SAAjB;AACA;AACD,QAAI8B,YAAY,GAAG,KAAKpC,SAAL,CAAekC,GAAG,GAAC,CAAnB,EAAsBjC,QAAzC;AACA,SAAI,IAAIoC,CAAC,GAAC,CAAV,EAAYA,CAAC,IAAE,EAAf,EAAkBA,CAAC,EAAnB,EAAsB;AACrB,UAAIpC,QAAQ,GAAGmC,YAAY,GAACC,CAA5B;AACA,UAAIC,CAAC,GAAG,EAAErC,QAAQ,EAAEA,QAAZ,EAAsBC,GAAG,EAAE,yBAAuBD,QAAQ,GAAC,EAAT,IAAa,CAAb,GAAe,EAAf,GAAkBA,QAAQ,GAAC,EAAlD,IAAsD,MAAjF,EAAyFE,IAAI,EAAE,MAA/F,EAAuGC,KAAK,EAAE,MAA9G,EAAsHC,MAAM,EAAC,SAA7H,EAAR;AACA,WAAKL,SAAL,CAAeuC,IAAf,CAAoBD,CAApB;AACA;AACD,GA9Ga,E;;;;;;;;;;;;AC9DhB;AAAA;AAAA;AAAA;AAAimC,CAAgB,2kCAAG,EAAC,C;;;;;;;;;;;ACArnC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat'; import Vue from 'vue' import Page from './pages/index/index.vue' createPage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=74c52b3e&\" var renderjs import script from \"./index.vue?vue&type=script&lang=js&\" export * from \"./index.vue?vue&type=script&lang=js&\" import style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\" /* normalize component */ import normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\" var component = normalizer( script, render, staticRenderFns, false, null, null, null, false, components, renderjs ) component.options.__file = \"C:/Users/Administrator/Desktop/gulu-vue/pages/index/index.vue\" export default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=74c52b3e&\"","var components = { \"uni-drawer\": function() { return import( /* webpackChunkName: \"components/uni-drawer/uni-drawer\" */ \"@/components/uni-drawer/uni-drawer.vue\" ) } } var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h } var recyclableRender = false var staticRenderFns = [] render._withStripped = true export { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","// // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // \timport uniDrawer from \"@/components/uni-drawer/uni-drawer.vue\"; \timport HMfilterDropdown from \"../../components/HM-filterDropdown/HM-filterDropdown.vue\"; \timport data from '@/common/data.js';//筛选菜单数据 \texport default { \t\tcomponents: { \t\t\tuniDrawer, 'HMfilterDropdown':HMfilterDropdown \t\t\t}, \t\tdata() { \t\t\treturn { \t\t\t\tscreenItems: [ \t\t\t\t\t{current:0,text:'全部',hasIcon:false}, \t\t\t\t\t{current:1,text:'销量',hasIcon:false}, \t\t\t\t\t{current:2,text:'价格',hasIcon:true}, \t\t\t\t\t{current:3,text:'折扣',hasIcon:false}, \t\t\t\t\t{current:4,text:'筛选',hasIcon:true}, \t\t\t\t\t], \t\t\t\tcurrent: 0, \t\t\t\tshowRight: false, \t\t\t\tindexArr:'', \t\t\t\tvalueArr:'', \t\t\t\t//商品数据 \t\t\t\tgoodsList:[ \t\t\t\t\t{ goods_id: 0, img: '/static/img/goods/p1.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 1, img: '/static/img/goods/p2.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 2, img: '/static/img/goods/p3.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 3, img: '/static/img/goods/p4.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 4, img: '/static/img/goods/p5.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 5, img: '/static/img/goods/p6.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 6, img: '/static/img/goods/p7.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 7, img: '/static/img/goods/p8.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 8, img: '/static/img/goods/p9.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }, \t\t\t\t\t{ goods_id: 9, img: '/static/img/goods/p10.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' } \t\t\t\t], \t\t\t\tloadingText:\"正在加载...\", \t\t\t\tfilterDropdownValue:[], \t\t\t\tfilterData:[] \t\t\t} \t\t}, \t\tfilters: { \t\t outData(value) { \t\t return JSON.stringify(value); \t\t } \t\t}, \t\tonLoad: function () { \t\t\t//定时器模拟ajax异步请求数据 \t\t\tsetTimeout(()=>{ \t\t\t\t//传入defaultSelected的结构不能错,错了就报错运行异常。 不选中的项目传入null \t\t\t\tthis.filterDropdownValue = [ \t\t\t\t\t[1,1,0],\t\t\t\t//第0个菜单选中 一级菜单的第1项,二级菜单的第1项,三级菜单的第3项 \t\t\t\t\t[null,null],\t\t\t//第1个菜单选中 都不选中 \t\t\t\t\t[1],\t\t\t\t\t//第2个菜单选中 一级菜单的第1项 \t\t\t\t\t[[0],[1,2,7],[1,0]],\t//筛选菜单选中 第一个筛选的第0项,第二个筛选的第1,2,7项,第三个筛选的第1,0项 \t\t\t\t\t[[0],[1],[1]],\t\t\t//单选菜单选中 第一个筛选的第0项,第二个筛选的第1项,第三个筛选的第1项 \t\t\t\t]; \t\t\t\tthis.filterData = data; \t\t\t},100); \t\t\t//模拟ajax请求子菜单数据。 \t\t\t// setTimeout(()=>{ \t\t\t\t//this.filterData[1].submenu[0].submenu = [{\"name\": \"附近\",\"value\": \"附近\"},{\"name\": \"1km\",\"value\": \"1km\"},{\"name\": \"2km\",\"value\": \"2km\"},{\"name\": \"3km\",\"value\": \"3km\"},{\"name\": \"4km\",\"value\": \"4km\"},{\"name\": \"5km\",\"value\": \"5km\"}]; \t\t\t// },5000) \t\t}, \t\tmethods: { \t\t\tshowDrawer(e) { \t\t\t\tthis.$refs[e].open() \t\t\t}, \t\t\tcloseDrawer(e) { \t\t\t\tthis.$refs[e].close() \t\t\t}, \t\t\tchange(e, type) { \t\t\t\tthis[type] = e \t\t\t}, \t\t\tonClickItem(e) { \t\t\t\tif (this.current !== e) { \t\t\t\t\tthis.current = e; \t\t\t\t} \t\t\t}, \t\t\tdropDown(){ \t\t\t\tconsole.log('下拉') \t\t\t}, \t\t\t//接收菜单结果 \t\t\tconfirm(e){ \t\t\t\tthis.indexArr = e.index; \t\t\t\tthis.valueArr = e.value; \t\t\t\treturn; \t\t\t\tconsole.log('修改菜单'); \t\t\t\tthis.filterData[4].submenu[1] = { \t\t\t\t\t\t\"name\": \"项目2\", \t\t\t\t\t\t\"submenu\": [ \t\t\t\t\t\t\t \t\t\t\t\t\t] \t\t\t\t\t} \t\t\t} \t\t}, \t\tonNavigationBarButtonTap(e) { \t\t\tthis.showRight = !this.showRight \t\t}, \t\t//上拉加载, \t\tonReachBottom(){ \t\t\tconsole.log('到底加载') \t\t\tlet len = this.goodsList.length; \t\t\tif(len>=30){ \t\t\t\tthis.loadingText=\"~~到底了~~\"; \t\t\t\treturn false; \t\t\t}else{ \t\t\t\tthis.loadingText=\"正在加载...\"; \t\t\t} \t\t\tlet end_goods_id = this.goodsList[len-1].goods_id; \t\t\tfor(let i=1;i<=10;i++){ \t\t\t\tlet goods_id = end_goods_id+i; \t\t\t\tlet p = { goods_id: goods_id, img: '/static/img/goods/p'+(goods_id%10==0?10:goods_id%10)+'.jpg', name: '商品名称', price: '¥168', slogan:'1235人付款' }; \t\t\t\tthis.goodsList.push(p); \t\t\t} \t\t}, \t} ","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin if(module.hot) { // 1588081369894 var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false}); module.hot.dispose(cssReload); module.hot.accept(undefined, cssReload); } "],"sourceRoot":""} |