hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/pagesB/userFootprint/userFootprint.js.map

1 line
11 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["uni-app:///main.js","webpack:///A:/项目/uniapp兼微信小程序/恒美植发/pagesB/userFootprint/userFootprint.vue?32ea","webpack:///A:/项目/uniapp兼微信小程序/恒美植发/pagesB/userFootprint/userFootprint.vue?05f0","webpack:///A:/项目/uniapp兼微信小程序/恒美植发/pagesB/userFootprint/userFootprint.vue?cca9","webpack:///A:/项目/uniapp兼微信小程序/恒美植发/pagesB/userFootprint/userFootprint.vue?1bf8","uni-app:///pagesB/userFootprint/userFootprint.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,sH,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;;;AAG5D;AACoM;AACpM,gBAAgB,2MAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA+wB,CAAgB,6wBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwCnyB;AACA,MADA,kBACA;AACA;AACA,kBADA,EACA;AACA,oBAFA,EAEA;AACA,qBAHA,EAGA;AACA,iBAJA,EAIA;AACA,aALA;AAMA,cANA;AAOA,eAPA,EAOA;AACA,kBARA;;AAUA,GAZA;AAaA;AACA;AACA,eAFA,yBAEA;AACA;AACA,KAJA;AAKA,gBALA,0BAKA;AACA;AACA,KAPA,EAbA;;AAsBA,cAtBA,wBAsBA,CAtBA,EAsBA;AACA;AACA,GAxBA;AAyBA,eAzBA,2BAyBA;AACA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA,GAjCA;AAkCA,QAlCA,oBAkCA;AACA;AACA,GApCA;AAqCA,QArCA,kBAqCA,OArCA,EAqCA;AACA;AACA;AACA;AACA,GAzCA;AA0CA;AACA,YADA,oBACA,EADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KARA;AASA,YATA,sBASA;AACA;AACA;AACA;AACA;AACA,KAdA;AAeA,aAfA,uBAeA;AACA;AACA,uBADA;AAEA,uBAFA;AAGA,qCAHA,EAGA;AACA;AACA;AALA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCADA;AAEA,iCAFA;AAGA,iCAHA;AAIA,+BAJA;AAKA,mCALA;AAMA,4BANA;AAOA,iCAPA;;AASA;AACA,WAdA;AAeA;AACA,OArBA;AAsBA,KA7CA;AA8CA,WA9CA,qBA8CA;AACA;AACA,oBADA;AAEA,qBAFA;;AAIA,KAnDA,EA1CA,E","file":"pagesB/userFootprint/userFootprint.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesB/userFootprint/userFootprint.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./userFootprint.vue?vue&type=template&id=197d1c96&\"\nvar renderjs\nimport script from \"./userFootprint.vue?vue&type=script&lang=js&\"\nexport * from \"./userFootprint.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../HBuilderX.3.2.9.20210927.full/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\ncomponent.options.__file = \"pagesB/userFootprint/userFootprint.vue\"\nexport default component.exports","export * from \"-!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./userFootprint.vue?vue&type=template&id=197d1c96&\"","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 \"-!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./userFootprint.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX.3.2.9.20210927.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./userFootprint.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 状态栏 -->\r\n\t\t<status-nav :titleVal=\"'用户足迹'\" :statusTitle=\"true\"></status-nav>\r\n\t\t<!-- 自定义二级分类 -->\r\n\t\t<!-- 列表 -->\r\n\t\t<view :style=\"{paddingTop: statusHeight+'px'}\" class=\"pad-zy30\">\r\n\t\t\t<view class=\"radius20 fon28 col3 mar-sx20\">\r\n\t\t\t\t<view class=\"disac\">\r\n\t\t\t\t\t<view class=\"disjbac width100 radius10 pad-zy20 xialak bacf\">\r\n\t\t\t\t\t\t<input class=\"fon28 width100\" type=\"text\" @confirm=\"searchEv\" v-model=\"keyword\" placeholder=\"请输入姓名/电话查找\" placeholder-style=\"color: #B3B3B3;\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @tap=\"searchEv\" class=\"flexs tc mar-z30 colf radius10 customer-btn\" :style=\"{background:publicColor}\">搜索</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 列表 -->\r\n\t\t\t<view @tap=\"chooseId(item.id)\" v-if=\"item.name!=null\" class=\"bacf radius10 pad20 mar-x20 fon28\" v-for=\"(item,index) in dataList\" :key=\"index\">\r\n\t\t\t\t<view style=\"color: #B3B3B3;\" class=\"disjbac\">{{item.time}} <view style=\"color: #000000;\">{{item.mobile}}</view></view>\r\n\t\t\t\t<view class=\"mar-s20\">\r\n\t\t\t\t\t<text class=\"bold col3\">{{item.name}}</text>\r\n\t\t\t\t\t<text style=\"color: #B3B3B3;\">{{item.action}}</text>\r\n\t\t\t\t\t<text class=\"bold col3\" v-if=\"item.title!=null && item.title!=''\">【{{item.title}}】</text>\r\n\t\t\t\t\t<text style=\"color: #B3B3B3;\" v-if=\"item.zwhat!=null && item.zwhat!=''\">{{item.zwhat}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view v-if=\"dataList.length==0 && keyword!=''\" class=\"disjcac fc\" style=\"margin-top: 50%;\">\r\n\t\t\t\t<image class=\"zanw-img\" src=\"/static/public/nothing.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t<view class=\"fon24 col3\">您搜索的内容暂无结果,换个关键词试试吧</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 返回顶部 -->\r\n\t\t\t<!-- <back-top :showTop=\"showTop\" @backTop=\"backTop\"></back-top> -->\r\n\t\t</view>\r\n\t\t<!-- 底部客服 -->\r\n\t\t<public-customer :nbottom=\"100\"></public-customer>\r\n\t\t<!-- 用户信息授权,手机号授权 -->\r\n\t\t<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tdataList:[],//数据列表\r\n\t\t\t\tshowTop:false,//是否显示返回顶部的箭头\r\n\t\t\t\tcustomer_id:'',//客户ID\r\n\t\t\t\tkeyword:'',//关键词\r\n\t\t\t\tpage:1,\r\n\t\t\t\tsize:10,\r\n\t\t\t\ttotal:'',//总数\r\n\t\t\t\tisZanw:true,\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 主题颜色\r\n\t\t\tpublicColor() {\r\n\t\t\t\treturn this.$store.state.publicColor\r\n\t\t\t},\r\n\t\t\tstatusHeight() {\r\n\t\t\t\treturn this.$store.state.statusHeight\r\n\t\t\t}\r\n\t\t},\r\n\t\tonPageScroll(e) {\r\n\t\t e.scrollTop > 360 ? this.showTop = true : this.showTop = false\r\n\t\t},\r\n\t\tonReachBottom() {//触底事件\r\n\t\t\tif(this.total!=this.dataList.length){\r\n\t\t\t\tthis.page++\r\n\t\t\t\tthis.checkList()\r\n\t\t\t} else {\r\n\t\t\t\tif(this.isZanw) this.$toolAll.tools.showToast('暂无更多足迹内容')\r\n\t\t\t\tthis.isZanw = false\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.$toolAll.tools.isLogin()\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tif(uni.getStorageSync('token')!='') {\r\n\t\t\t\tthis.checkList();\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tchooseId(id){\r\n\t\t\t\tthis.backTop()\r\n\t\t\t\tthis.page = 1\r\n\t\t\t\tthis.isZanw = true\r\n\t\t\t\tthis.customer_id = id\r\n\t\t\t\tthis.keyword = ''\r\n\t\t\t\tthis.checkList()\r\n\t\t\t},\r\n\t\t\tsearchEv(){//搜索事件\r\n\t\t\t\tif(this.keyword!='') this.customer_id = ''\r\n\t\t\t\tthis.page = 1\r\n\t\t\t\tthis.isZanw = true\r\n\t\t\t\tthis.checkList()\r\n\t\t\t},\r\n\t\t\tcheckList(){//查询列表事件\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\tpage:this.page,\r\n\t\t\t\t\tsize:this.size,\r\n\t\t\t\t\tcustomer_id:this.customer_id,//客户ID\r\n\t\t\t\t\tkeyword:this.keyword,\r\n\t\t\t\t\t// user_id:uni.getStorageSync('userId')\r\n\t\t\t\t}\r\n\t\t\t\tthis.$requst.post('user/footmarks',params).then(res=>{\r\n\t\t\t\t\t// console.log('足迹列表查询:',res);\r\n\t\t\t\t\tif(this.page==1) this.dataList = []\r\n\t\t\t\t\tthis.total = res.data.total\r\n\t\t\t\t\tif(res.data.list.length!=0){\r\n\t\t\t\t\t\tres.data.list.forEach(item=>{\r\n\t\t\t\t\t\t\tlet newCate = ''\r\n\t\t\t\t\t\t\tif(item.content_id > 0) newCate = item.category\r\n\t\t\t\t\t\t\telse newCate = ''\r\n\t\t\t\t\t\t\tlet obj = {\r\n\t\t\t\t\t\t\t\tid:item.account_id,\r\n\t\t\t\t\t\t\t\tname:item.nickname,\r\n\t\t\t\t\t\t\t\taction:item.action,\r\n\t\t\t\t\t\t\t\ttitle:item.title,\r\n\t\t\t\t\t\t\t\ttime:item.created_at,\r\n\t\t\t\t\t\t\t\tzwhat:newCate,\r\n\t\t\t\t\t\t\t\tmobile:item.mobile\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.dataList.push(obj)\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tbackTop(){//回到顶部事件\r\n\t\t\t uni.pageScrollTo({\r\n\t\t\t scrollTop: 0,\r\n\t\t\t duration: 300\r\n\t\t\t });\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n</style>\r\n"],"sourceRoot":""}