1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"version":3,"sources":["webpack:///D:/chenq/chen/hengmei/hengmei/components/foot-tab.vue?cb6b","webpack:///D:/chenq/chen/hengmei/hengmei/components/foot-tab.vue?848f","webpack:///D:/chenq/chen/hengmei/hengmei/components/foot-tab.vue?7764","webpack:///D:/chenq/chen/hengmei/hengmei/components/foot-tab.vue?4b31","uni-app:///components/foot-tab.vue","webpack:///D:/chenq/chen/hengmei/hengmei/components/foot-tab.vue?2481","webpack:///D:/chenq/chen/hengmei/hengmei/components/foot-tab.vue?2b9c"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACa;;;AAGpE;AACgL;AAChL,gBAAgB,uLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;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;AAAsqB,CAAgB,oqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsC1rB;AACA;AACA,oBADA,EADA;;AAIA,iBAJA;AAKA;AACA;AACA,kBADA;AAEA,gBAFA,EADA;;AAKA;AACA,iBADA;AAEA;AACA;AACA;AACA,OALA,EALA;;AAYA;AACA,iBADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OA1BA,EAZA,EALA;;;AA8CA,MA9CA,kBA8CA;AACA;AACA,mBADA;AAEA,oBAFA;AAGA,iBAHA;AAIA,oBAJA;;AAMA,GArDA;AAsDA,SAtDA,qBAsDA;AACA;AACA,GAxDA;AAyDA;AACA,YADA,oBACA,CADA,EACA;AACA;AACA,KAHA;AAIA,cAJA,sBAIA,KAJA,EAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CADA,CACA;AACA;AACA;AACA;AACA,oBADA,EACA;AACA,uCAFA,CAEA;AAFA;AAIA;AACA,aATA,MASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAFA,MAEA;AACA;AACA,gBAlCA;;AAoCA,KA1CA;AA2CA,aA3CA,uBA2CA;AACA;AACA,KA7CA,EAzDA,E;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAm9B,CAAgB,66BAAG,EAAC,C;;;;;;;;;;;ACAv+B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/foot-tab.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./foot-tab.vue?vue&type=template&id=40d782f1&\"\nvar renderjs\nimport script from \"./foot-tab.vue?vue&type=script&lang=js&\"\nexport * from \"./foot-tab.vue?vue&type=script&lang=js&\"\nimport style0 from \"./foot-tab.vue?vue&type=style&index=0&lang=css&\"\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/foot-tab.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!./foot-tab.vue?vue&type=template&id=40d782f1&\"","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!./foot-tab.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!./foot-tab.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n\t\t<!-- 方案一 -->\r\n <!-- <view class=\"foot-box\">\r\n <view @tap=\"choosefoot(index)\" v-for=\"(item,index) in tabArr\" :key=\"index\" style=\"display: flex;justify-content: center;flex-direction: column;align-items: center;\">\r\n\t\t\t\t<image class=\"moImg\" v-if=\"newcurrent==index\" :src=\"item.selectedIconPath\"></image>\r\n\t\t\t\t<image class=\"moImg\" v-else :src=\"item.iconPath\"></image>\r\n <view :class=\"newcurrent==index?'footactive':'footmo'\" style=\"margin-top: 8rpx;\">{{item.text}}</view>\r\n </view>\r\n </view> -->\r\n\t\t\r\n\t\t<!-- 方案二 -->\r\n\t\t<view class=\"foot-boxtwo\">\r\n\t\t\t<!-- 图片列表 -->\r\n\t\t\t<view class=\"item-box\">\r\n\t\t\t\t<view v-for=\"(itemi,index) in imgList\" :key=\"index\" @tap=\"choosefoot(index)\" :class=\"index==2 ? 'centerBox':''\">\r\n\t\t\t\t\t<view class=\"posir\" :class=\"index==2 ? 'centerBox-item':''\">\r\n\t\t\t\t\t\t<image :class=\"index==2 ? 'centerImg':'moImg'\" v-if=\"newcurrent==index\" :src=\"itemi.selectedIconPath\"></image>\r\n\t\t\t\t\t\t<image :class=\"index==2 ? 'centerImg':'moImg'\" v-else :src=\"itemi.iconPath\"></image>\r\n\t\t\t\t\t\t<button v-if=\"index==2 && isKef\" class=\"fon24 posia\" style=\"opacity: 0;top: 0;left: 0;right: 0;bottom: 0;\" open-type=\"contact\">客服</button>\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<!-- 标题列表 -->\r\n\t\t\t<view class=\"item-box\">\r\n\t\t\t\t<view @tap=\"choosefoot(index)\" :class=\"newcurrent==index ? 'footactive':'footmo'\"\r\n\t\t\t\t v-for=\"(itemt,index) in titleList\" :key=\"index\">{{itemt}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 弹框 -->\r\n\t\t<pu-po :isShowT=\"isShowT\" :comfrimVal=\"'好的'\" :contentVal=\"'暂未开放此功能,请耐心等候'\" \r\n\t\t:isCenter=\"true\" @comfirmev=\"comfirmev\"></pu-po>\r\n\t\t<!-- 弹框授权 -->\r\n\t\t<empower :vision=\"vision\" @cancleEv=\"cancleEv\"></empower>\r\n </view>\r\n</template>\r\n<script>\r\n\timport empower from '@/components/empower.vue';\r\n export default {\r\n\t\tcomponents:{\r\n\t\t\tempower\r\n\t\t},\r\n name:'footTab',\r\n\t\tprops:{\r\n\t\t\tnewcurrent:{\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:0\r\n\t\t\t},\r\n\t\t\ttitleList:{\r\n\t\t\t\ttype:Array,\r\n\t\t\t\tdefault:function(){\r\n\t\t\t\t\treturn uni.getStorageSync('footTitle')\r\n\t\t\t\t\t// return ['首页','分类','客服','商城','我的']\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\timgList:{\r\n\t\t\t\ttype:Array,\r\n\t\t\t\tdefault:function(){\r\n\t\t\t\t\treturn uni.getStorageSync('imgList')\r\n\t\t\t\t\t// return [\r\n\t\t\t\t\t// \t{\r\n\t\t\t\t\t// \t\ticonPath: '/static/tabbar/homem.png',//默认icon\r\n\t\t\t\t\t// \t\tselectedIconPath: '/static/tabbar/homeAc.png',//选中icon\r\n\t\t\t\t\t// \t},\r\n\t\t\t\t\t// \t{\r\n\t\t\t\t\t// \t\ticonPath: '/static/tabbar/catem.png',//默认icon\r\n\t\t\t\t\t// \t\tselectedIconPath: '/static/tabbar/cates.png',//选中icon\r\n\t\t\t\t\t// \t},\r\n\t\t\t\t\t// \t{\r\n\t\t\t\t\t// \t\ticonPath: '/static/tabbar/customerm.png',//默认icon\r\n\t\t\t\t\t// \t\tselectedIconPath: '/static/tabbar/customerm.png',//选中icon\r\n\t\t\t\t\t// \t},\r\n\t\t\t\t\t// \t{\r\n\t\t\t\t\t// \t\ticonPath: '/static/tabbar/shopm.png',//默认icon\r\n\t\t\t\t\t// \t\tselectedIconPath: '/static/tabbar/shopa.png',//选中icon\r\n\t\t\t\t\t// \t},\r\n\t\t\t\t\t// \t{\r\n\t\t\t\t\t// \t\ticonPath: '/static/tabbar/mym.png',//默认icon\r\n\t\t\t\t\t// \t\tselectedIconPath: '/static/tabbar/mya.png',//选中icon\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},\r\n data() {\r\n return {\r\n\t\t\t\tvision:false,\r\n\t\t\t\tisShowT:false,\r\n\t\t\t\tisKef:true,\r\n\t\t\t\tjieDuan:false\r\n };\r\n },\r\n\t\tmounted() {\r\n\t\t\tif(uni.getStorageSync('is_active')==0) this.isKef = false\r\n\t\t},\r\n methods:{\r\n\t\t\tcancleEv(e){\r\n\t\t\t\tif(e==0) this.vision = false\r\n\t\t\t},\r\n choosefoot(index){\r\n // this.current = index\r\n\t\t\t\tswitch (index){\r\n\t\t\t\t\tcase 0:\r\n\t\t\t\t\t// console.log(this.imgList[index].selectedIcoPath);\r\n\t\t\t\t\tuni.reLaunch({url:'/pages/tabbar/pagehome/pagehome'})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 1:\r\n\t\t\t\t\tuni.navigateTo({url:'/pages/tabbar/cate/cate'})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 2:\r\n\t\t\t\t\tif(!this.jieDuan){\r\n\t\t\t\t\t\tlet isAuth = this.$toolAll.tools.returnAuth()\r\n\t\t\t\t\t\tif(!isAuth){\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.closeTimer()//清空埋点倒计时\r\n\t\t\t\t\t\t\t// uni.navigateTo({url:'/pages/tabbar/pagehome/pagehome'})\r\n\t\t\t\t\t\t\tthis.$requst.post('user/record',{type:'other',action:'ask',id:0}).then(res=>{},error=>{})\r\n\t\t\t\t\t\t\tlet maiOjb = {\r\n\t\t\t\t\t\t\t\te:5,//内容咨询\r\n\t\t\t\t\t\t\t\tt:new Date().getTime()//当前时间戳\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.maiDian(maiOjb)\r\n\t\t\t\t\t\t} else this.jieDuan = true\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 3:\r\n\t\t\t\t\tthis.isShowT = true\r\n\t\t\t\t\t// uni.navigateTo({url:'/pages/tabbar/shop/shop'})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 4:\r\n\t\t\t\t\tif(!this.jieDuan){\r\n\t\t\t\t\t\tlet isAuth = this.$toolAll.tools.returnAuth()\r\n\t\t\t\t\t\tif(!isAuth){\r\n\t\t\t\t\t\t\tuni.reLaunch({url:'/pages/tabbar/my/my'})\r\n\t\t\t\t\t\t} else this.jieDuan = true\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n },\r\n\t\t\tcomfirmev(){\r\n\t\t\t\tthis.isShowT = false\r\n\t\t\t}\r\n }\r\n }\r\n</script>\r\n\r\n<style>\r\n\t/* 方案一 */\r\n\t/* .foot-box{\r\n\t\theight: 140rpx;\r\n\t\tfont-size: 24rpx;\r\n\t\tborder-top: 1rpx solid #FFFFFF;\r\n\t\tbackground-color: #FFFFFF;\r\n position: fixed;bottom: 0;left: 0;right: 0;\r\n\t\tdisplay: flex;justify-content: space-around;align-items: center;\r\n\t}*/\r\n\t\r\n\t/* 方案二 */\r\n\t.foot-boxtwo{\r\n\t\theight: 140rpx;\r\n\t\tfont-size: 24rpx;\r\n\t\tborder-top: 1rpx solid #FFFFFF;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tposition: fixed;bottom: 0;left: 0;right: 0;z-index: 2;\r\n\t\tdisplay: flex;flex-direction: column;justify-content: center;\r\n\t}\r\n\t.item-box{display: flex;justify-content: space-around;align-items: center;}\r\n\t.item-box>view{width: 25%;text-align: center;}\r\n\t.centerBox{display: flex;justify-content: center;align-items: center;}\r\n\t/* .centerBox-item{width: 124rpx;height: 124rpx;background-color: rgba(244, 244, 244, 1);margin-top: -100rpx;border-radius: 100%;display: flex;justify-content: center;align-items: center;} */\r\n\t.centerBox-item{width: 124rpx;height: 124rpx;margin-top: -100rpx;border-radius: 100%;display: flex;justify-content: center;align-items: center;}\r\n\t.centerImg{width: 112rpx;height: 112rpx;}\r\n\t\r\n\t/* 公共 */\r\n\t.moImg{width: 64rpx;height: 64rpx;}\r\n\t.footactive{color: #000000;}\r\n\t.footmo{color: #999999;}\r\n</style>\r\n","import mod from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../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!./foot-tab.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../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!./foot-tab.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1629939553673\n var cssReload = require(\"D:/HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |