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

1 line
12 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/userFootprint/userFootprint.vue?cf45","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/userFootprint/userFootprint.vue?ce90","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/userFootprint/userFootprint.vue?d488","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/userFootprint/userFootprint.vue?b837","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;AACmL;AACnL,gBAAgB,uLAAU;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;AAA0rB,CAAgB,yqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0C9sB;AACA,MADA,kBACA;AACA;AACA,gDADA;AAEA,oDAFA,EAEA;AACA,kBAHA,EAGA;AACA,oBAJA,EAIA;AACA,qBALA,EAKA;AACA,iBANA,EAMA;AACA,aAPA;AAQA,cARA;AASA,eATA,EASA;AACA,kBAVA;AAWA,mBAXA;AAYA,oBAZA;;AAcA,GAhBA;AAiBA,cAjBA,wBAiBA,CAjBA,EAiBA;AACA;AACA,GAnBA;AAoBA,eApBA,2BAoBA;AACA;AACA;AACA;AACA,KAHA,MAGA;AACA;AACA;AACA;AACA,GA5BA;AA6BA,QA7BA,oBA6BA;AACA;AACA,GA/BA;AAgCA,mBAhCA,+BAgCA;AACA;AACA,wGADA,CACA;AADA;AAGA;AACA,GArCA;AAsCA,QAtCA,kBAsCA,OAtCA,EAsCA;AACA;AACA;AACA;AACA,KAFA,MAEA;AACA;AACA;AACA;AACA,GA9CA;AA+CA;AACA,WADA,qBACA;AACA;AACA,0BADA;AAEA;AACA;AACA,0BADA;AAEA,oCAFA,EAEA;AACA,+BAHA;AAIA,4BAJA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAPA,EAOA,mBAPA;AAQA,SAjBA;;AAmBA,KArBA;AAsBA,WAtBA,mBAsBA,CAtBA,EAsBA;AACA;AACA;AACA;AACA;AACA;AACA,KA5BA;AA6BA,YA7BA,oBA6BA,EA7BA,EA6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KApCA;AAqCA,YArCA,sBAqCA;AACA;AACA;AACA;AACA;AACA,KA1CA;AA2CA,aA3CA,uBA2CA;AACA;AACA,uBADA;AAEA,uBAFA;AAGA,qCAHA,EAGA;AACA;AACA;AALA;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCADA;AAEA,mCAFA;AAGA,mCAHA;AAIA,iCAJA;AAKA,qCALA;AAMA,8BANA;AAOA,mCAPA;;AASA;AACA,aAdA;AAeA;AACA;AACA,OAvBA,EAuBA,mBAvBA;AAwBA,KA3EA;AA4EA,WA5EA,qBA4EA;AACA;AACA,oBADA;AAEA,qBAFA;;AAIA,KAjFA,EA/CA,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/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/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/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/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/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/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/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: statusHNH+'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>{{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<empower @buttonH=\"buttonH\" :vision=\"vision\" :isWhere=\"2\"></empower>\r\n\t\t<!-- 弹框 -->\r\n\t\t<auth-phone v-if=\"isShowP\"></auth-phone>\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\tstatusHNH:uni.getStorageSync('statusHNH'),\r\n\t\t\t\tpublicColor:uni.getStorageSync('publicColor'),//主题颜色\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\tvision:false,\r\n\t\t\t\tisShowP:false,\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\tonShareAppMessage() {\r\n\t\t\tvar shareObj = {\r\n\t\t\t\tpath: `/pagesB/userFootprint/userFootprint?invite_code=${uni.getStorageSync('invite_code')}`, // 默认是当前页面,必须是以‘/’开头的完整路径\r\n\t\t\t};\r\n\t\t\treturn shareObj;\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tif(uni.getStorageSync('phone_active')==0){this.vision = true;}\r\n\t\t\tif(options.invite_code!='' && options.invite_code!=undefined){\r\n\t\t\t\tthis.loginEv(options.invite_code);\r\n\t\t\t} else if(options.source_code!='' && options.source_code!=undefined){\r\n\t\t\t\tthis.loginEv('',options.source_code,options.channel);\r\n\t\t\t} \r\n\t\t\tthis.checkList()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tloginEv(invite_code='',source='',channel=''){\r\n\t\t\t\tuni.login({\r\n\t\t\t\t\tprovider: 'weixin',\r\n\t\t\t\t\tsuccess: (res)=> {\r\n\t\t\t\t\t\tvar params = {\r\n\t\t\t\t\t\t\tcode:res.code,\r\n\t\t\t\t\t\t\tinvite_code:invite_code,//用户邀请码\r\n\t\t\t\t\t\t\tsource_code:source,\r\n\t\t\t\t\t\t\tchannel:channel\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.$requst.post('user/login',params).then(res => {\r\n\t\t\t\t\t\t\tif(res.data.token!=''){\r\n\t\t\t\t\t\t\t\tif(res.data.is_active==0) {\r\n\t\t\t\t\t\t\t\t\tthis.haveImg = false;\r\n\t\t\t\t\t\t\t\t\tthis.vision = true;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},error => {})\r\n\t\t\t\t\t},\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tbuttonH(e){//授权成功\r\n\t\t\t\tthis.haveImg = e\r\n\t\t\t\tif(e) {\r\n\t\t\t\t\tthis.vision = false\r\n\t\t\t\t\tthis.isShowP = true\r\n\t\t\t\t} \r\n\t\t\t},\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(res.code==0){\r\n\t\t\t\t\t\tif(this.page==1) this.dataList = []\r\n\t\t\t\t\t\tthis.total = res.data.total\r\n\t\t\t\t\t\tif(res.data.list.length!=0){\r\n\t\t\t\t\t\t\tres.data.list.forEach(item=>{\r\n\t\t\t\t\t\t\t\tlet newCate = ''\r\n\t\t\t\t\t\t\t\tif(item.content_id > 0) newCate = item.category\r\n\t\t\t\t\t\t\t\telse newCate = ''\r\n\t\t\t\t\t\t\t\tlet obj = {\r\n\t\t\t\t\t\t\t\t\tid:item.account_id,\r\n\t\t\t\t\t\t\t\t\tname:item.nickname,\r\n\t\t\t\t\t\t\t\t\taction:item.action,\r\n\t\t\t\t\t\t\t\t\ttitle:item.title,\r\n\t\t\t\t\t\t\t\t\ttime:item.created_at,\r\n\t\t\t\t\t\t\t\t\tzwhat:newCate,\r\n\t\t\t\t\t\t\t\t\tmobile:item.mobile\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.dataList.push(obj)\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t},error=>{})\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":""}