hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/components/pupo.js.map

1 line
11 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/chenq/chen/hengmei/hengmei/components/pupo.vue?2ca9","webpack:///D:/chenq/chen/hengmei/hengmei/components/pupo.vue?3efb","webpack:///D:/chenq/chen/hengmei/hengmei/components/pupo.vue?4936","webpack:///D:/chenq/chen/hengmei/hengmei/components/pupo.vue?99e2","uni-app:///components/pupo.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiH;AACjH;AACwD;AACL;;;AAGnD;AACgL;AAChL,gBAAgB,uLAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,+EAAM;AACR,EAAE,wFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mFAAU;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;AAAkqB,CAAgB,gqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyCtrB;AACA,cADA;AAEA;AACA;AACA,mBADA;AAEA,oBAFA,EADA;;AAKA;AACA,mBADA;AAEA,oBAFA,EALA;;AASA;AACA,kBADA;AAEA,0BAFA,EATA;;AAaA;AACA,kBADA;AAEA,mBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,mBAFA,EAjBA;;AAqBA;AACA,mBADA;AAEA,oBAFA,EArBA;;AAyBA;AACA,iBADA;AAEA;AACA;AACA,OAJA,EAzBA;;AA+BA;AACA,mBADA;AAEA,oBAFA,EA/BA,EAFA;;;AAsCA,MAtCA,kBAsCA;AACA;AACA,oDADA;AAEA,oBAFA;AAGA,gBAHA;AAIA,gBAJA;AAKA,gBALA;AAMA,mBANA;AAOA,kBAPA;;AASA,GAhDA;AAiDA;AACA;AACA,aAFA,uBAEA;AACA;AACA,KAJA;AAKA,YALA,sBAKA;AACA;AACA;AACA;AACA,KATA;AAUA,YAVA,sBAUA;AACA;AACA;AACA;AACA,KAdA;AAeA,aAfA,qBAeA,KAfA,EAeA;AACA;AACA;AACA,KAlBA;AAmBA,WAnBA,qBAmBA;AACA;AACA,KArBA;AAsBA;AACA,gBAvBA,wBAuBA,KAvBA,EAuBA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA,KA1CA;AA2CA;AACA,UA5CA,oBA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAJA;AAKA;AACA,OAPA,MAOA;AACA;AACA;AACA;AACA;AACA,KA5DA,EAjDA,E","file":"components/pupo.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./pupo.vue?vue&type=template&id=34fe2b02&\"\nvar renderjs\nimport script from \"./pupo.vue?vue&type=script&lang=js&\"\nexport * from \"./pupo.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 = \"components/pupo.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!./pupo.vue?vue&type=template&id=34fe2b02&\"","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!./pupo.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!./pupo.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view v-if=\"isShowT\" class=\"disjcac posAll\" @tap=\"closeXial\">\r\n\t\t<view class=\"bacf radius20 width100 tank-box\">\r\n\t\t\t<view v-if=\"isXiala\" class=\"pad-x20\">\r\n\t\t\t\t<view class=\"mar-s30 mar-x40 tc\">请选择客服</view>\r\n\t\t\t\t<view @tap.stop=\"openXia\" class=\"disjbac radius10 pad-zy20 mar-zy20 xialak mar-x50 posir\">\r\n\t\t\t\t\t<view class=\"col3\" v-if=\"!isTag\">{{category[current].title}}</view>\r\n\t\t\t\t\t<view class=\"col3 disac width100\" v-if=\"isTag\"><input class=\"width100 mar-y20\" disabled v-model=\"tagStr\"></view>\r\n\t\t\t\t\t<image :class=\"isZhuan?'zhuan':'nozhuan'\" src=\"/static/public/sanj.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t<!-- 下拉列表 -->\r\n\t\t\t\t\t<view v-if=\"isZhuan\" class=\"posia bacf radius10 xial-box\">\r\n\t\t\t\t\t\t<!-- 普通下拉 -->\r\n\t\t\t\t\t\t<view class=\"pad-zy20 xial-item-box\" v-if=\"!isTag\">\r\n\t\t\t\t\t\t\t<view @tap.stop=\"chooseXia(index)\":class=\"current==index?'pcol':''\" v-for=\"(item,index) in category\" :key=\"index\">{{item.title}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<!-- 标签下拉 -->\r\n\t\t\t\t\t\t<view class=\"pad-zy20 xial-item-box\" v-if=\"isTag\">\r\n\t\t\t\t\t\t\t<!-- <view class=\"disac\" @tap.stop=\"quanEv\" :class=\"isAll?'pcol':''\">\r\n\t\t\t\t\t\t\t\t<checkbox style=\"width: 60rpx;height: 60rpx;display: inherit;\" color=\"#3875F6\" :checked=\"isAll\" />\r\n\t\t\t\t\t\t\t\t全选\r\n\t\t\t\t\t\t\t</view> -->\r\n\t\t\t\t\t\t\t<view @tap.stop=\"chooseXiaTag(index)\" class=\"disac\" :class=\"item.checked?'pcol':''\" v-for=\"(item,index) in category\" :key=\"index\">\r\n\t\t\t\t\t\t\t\t<view v-if=\"\" class=\"disac\">\r\n\t\t\t\t\t\t\t\t\t<checkbox style=\"width: 60rpx;height: 60rpx;display: inherit;\" color=\"#3875F6\" :data-id=\"item.id\" :checked=\"item.checked\" />\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t{{item.title}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view v-else class=\"tc tank-box-itemone\">{{contentVal}}</view>\r\n\t\t\t<view :class=\"isCenter?'disjcac':'disjb'\" class=\"fon28 colf pad-x30 pad-zy30 tc\">\r\n\t\t\t\t<view @tap=\"cancleEv\" v-if=\"!isCenter\" class=\"pad-sx20 radius10 tank-btn\" style=\"background-color: rgba(230, 230, 230,1);color: #000000;\">{{clearVal}}</view>\r\n\t\t\t\t<view @tap=\"comfirEv\" :style=\"{background:publicColor}\" class=\"pad-sx20 radius10 tank-btn\">{{comfrimVal}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname:\"pupo\",\r\n\t\tprops:{\r\n\t\t\tisShowT:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t},\r\n\t\t\tisCenter:{//按钮是否居中,或只显示蓝色按钮\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t},\r\n\t\t\tcontentVal:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'是否清除历史搜索?'\r\n\t\t\t},\r\n\t\t\tclearVal:{//取消文本\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'取消'\r\n\t\t\t},\r\n\t\t\tcomfrimVal:{//确认文本\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'确认'\r\n\t\t\t},\r\n\t\t\tisXiala:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t},\r\n\t\t\tcategory:{\r\n\t\t\t\ttype:Array,\r\n\t\t\t\tdefault:function(){\r\n\t\t\t\t\treturn ['许嵩']\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tisTag:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tpublicColor:uni.getStorageSync('publicColor'),\r\n\t\t\t\tisZhuan:false,\r\n\t\t\t\tcurrent:0,\r\n\t\t\t\ttagIds:[],\r\n\t\t\t\ttagVal:[],\r\n\t\t\t\ttagStr:'请选择',\r\n\t\t\t\tisAll:false\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t// 关闭下拉\r\n\t\t\tcloseXial(){\r\n\t\t\t\tthis.isZhuan = false;\r\n\t\t\t},\r\n\t\t\tcomfirEv(){//确认事件\r\n\t\t\t\tthis.isZhuan = false\r\n\t\t\t\tthis.current = 0\r\n\t\t\t\tthis.$emit('comfirmev')\r\n\t\t\t},\r\n\t\t\tcancleEv(){//取消事件\r\n\t\t\t\tthis.isZhuan = false\r\n\t\t\t\tthis.current = 0\r\n\t\t\t\tthis.$emit('cancleev')\r\n\t\t\t},\r\n\t\t\tchooseXia(index){\r\n\t\t\t\tthis.current = index\r\n\t\t\t\tthis.$emit('chooseXiaT',this.category[index])\r\n\t\t\t},\r\n\t\t\topenXia(){\r\n\t\t\t\tthis.isZhuan = !this.isZhuan\r\n\t\t\t},\r\n\t\t\t// 标签单选\r\n\t\t\tchooseXiaTag(index){\r\n\t\t\t\tlet isexistence = this.tagIds.indexOf(this.category[index].id);\r\n\t\t\t\tthis.category[index].checked = !this.category[index].checked;\r\n\t\t\t\tif(isexistence!=-1){\r\n\t\t\t\t\tthis.tagIds.splice(isexistence,1);\r\n\t\t\t\t\tthis.tagVal.splice(isexistence,1)\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.tagIds.push(this.category[index].id)\r\n\t\t\t\t\tthis.tagVal.push(this.category[index].title)\r\n\t\t\t\t}\r\n\t\t\t\tthis.tagStr = this.tagVal.join(',')\r\n\t\t\t\t// 单选时,控制全选按钮是否选中\r\n\t\t\t\tif(this.tagIds.length==this.category.length){\r\n\t\t\t\t\tthis.isAll = true;\r\n\t\t\t\t} else this.isAll = false;\r\n\t\t\t\tif(!this.tagIds.length) {\r\n\t\t\t\t\tthis.tagStr = '请选择'\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('chooseXiaT',{arr:this.category,id:this.tagIds.join(',')})\r\n\t\t\t},\r\n\t\t\t// 标签全选\r\n\t\t\tquanEv(){\r\n\t\t\t\tthis.isAll = !this.isAll;\r\n\t\t\t\tthis.tagIds = [];\r\n\t\t\t\tthis.tagVal = [];\r\n\t\t\t\tif(this.isAll){\r\n\t\t\t\t\tthis.category.forEach(item=>{\r\n\t\t\t\t\t\titem.checked = true;\r\n\t\t\t\t\t\tthis.tagIds.push(item.id)\r\n\t\t\t\t\t\tthis.tagVal.push(item.title)\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.tagStr = this.tagVal.join(',')\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.category.forEach(item=>{item.checked = false;})\r\n\t\t\t\t\tthis.tagStr = '请选择'\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('chooseXiaT',{arr:this.category,id:this.tagIds.join(',')})\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n"],"sourceRoot":""}