1 line
9.7 KiB
Plaintext
1 line
9.7 KiB
Plaintext
{"version":3,"sources":[null,"webpack:///D:/chenq/chen/uniapp(兼小程序)/hengmei/components/bottomkf.vue?9abf","webpack:///D:/chenq/chen/uniapp(兼小程序)/hengmei/components/bottomkf.vue?3e82","webpack:///D:/chenq/chen/uniapp(兼小程序)/hengmei/components/bottomkf.vue?f9c4","uni-app:///components/bottomkf.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;;;AAGvD;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;;;;;;;;;;;;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;AAAsqB,CAAgB,oqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0B1rB;AACA;AACA,oBADA,EADA;;AAIA;AACA;AACA,mBADA;AAEA,mBAFA,EADA;;AAKA;AACA,kBADA;AAEA,iBAFA,EALA;;AASA;AACA,kBADA;AAEA,iBAFA,EATA,EAJA;;;AAkBA,MAlBA,kBAkBA;AACA;AACA,oDADA,EACA;AACA,mBAFA;;AAIA,GAvBA;AAwBA,mBAxBA,6BAwBA,OAxBA,EAwBA;AACA;AACA,qCAFA,CAEA;AACA;AACA;AACA,mBADA,EACA;AACA,6GAFA,EAEA;AACA,kBAHA,EAGA;AACA;AACA;AACA;AACA;AACA;AACA,gBADA,EACA;AACA,oCAFA;AAGA,mCAHA,CAGA;AAHA;AAKA;AACA;AACA,OAfA;AAgBA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OAvBA;;AAyBA;AACA,GAtDA;AAuDA;AACA,WADA,mBACA,CADA,EACA;AACA;AACA;AACA,KAJA;AAKA,YALA,oBAKA,CALA,EAKA;AACA;AACA,KAPA;AAQA,YARA,sBAQA;AACA;AACA,8CADA;;AAGA,KAZA;AAaA,SAbA,mBAaA;AACA;AACA;AACA,OAFA,MAEA;AACA,yCADA,CACA;AACA;AACA;AACA,cADA,EACA;AACA,iCAFA,CAEA;AAFA;AAIA;AACA;AACA,KAzBA;AA0BA,WA1BA,qBA0BA;AACA;;AAEA,KA7BA,EAvDA,E","file":"components/bottomkf.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./bottomkf.vue?vue&type=template&id=4e8aea01&\"\nvar renderjs\nimport script from \"./bottomkf.vue?vue&type=script&lang=js&\"\nexport * from \"./bottomkf.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/bottomkf.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!./bottomkf.vue?vue&type=template&id=4e8aea01&\"","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!./bottomkf.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!./bottomkf.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view style=\"height: 98rpx;\" class=\"posixzy disjbac bacf pad-zy32\">\r\n\t\t\t<view class=\"posir\">\r\n\t\t\t\t<image @tap=\"backHome\" class=\"posia\" src=\"/static/public/back-home.png\" style=\"width: 155rpx;height: 155rpx;top: -98rpx;\" mode=\"aspectFill\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"disac fon26 colf\">\r\n\t\t\t\t<view @tap=\"lianK\" class=\"disac posir\" :style=\"{background:publicColor}\" style=\"height: 70rpx;width: 220rpx;border-top-left-radius: 51rpx;border-bottom-left-radius: 51rpx;\">\r\n\t\t\t\t\t<image src=\"/static/public/bottom-customer.png\" class=\"mar-zy20\" style=\"width: 47rpx;height: 47rpx;\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t<view>联系客服</view>\r\n\t\t\t\t\t<button v-if=\"haveimg\" class=\"fon24 posia\" style=\"opacity: 0;top: 0;left: 0;right: 0;bottom: 0;\" open-type=\"contact\">客服</button>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view @tap=\"shareEv\" class=\"disac posir\" style=\"height: 70rpx;width: 220rpx;background-color: #38CE51;border-top-right-radius: 51rpx;border-bottom-right-radius: 51rpx;\">\r\n\t\t\t\t\t<image src=\"../static/public/bottom-shear.png\" style=\"width: 47rpx;height: 47rpx;margin-left: 15rpx;margin-right: 8rpx;\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t<view>分享给好友</view>\r\n\t\t\t\t\t<button v-if=\"haveimg\" class=\"posia\" open-type=\"share\" style=\"top: 0;right: 0;left: 0;bottom: 0;opacity: 0;\">分享</button>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 弹框授权 -->\r\n\t\t<empower @buttonH=\"buttonH\" :vision=\"vision\" :isWhere=\"2\" @cancleEv=\"cancleEv\"></empower>\r\n\t</view>\r\n</template>\n\n<script>\r\n\timport empower from '@/components/empower.vue';\n export default {\r\n\t\tcomponents:{\r\n\t\t\tempower\r\n\t\t},\r\n\t\tprops:{\r\n\t\t\thaveimg:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:true\r\n\t\t\t},\r\n\t\t\tconid:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:''\r\n\t\t\t},\r\n\t\t\tcateid:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:''\r\n\t\t\t}\r\n\t\t},\n data() {\n return {\r\n publicColor:uni.getStorageSync('publicColor'),//主题颜色\r\n\t\t\t\tvision:false\r\n };\n },\r\n\t\tonShareAppMessage(options) {\r\n\t\t\tconsole.log(this.conid);\r\n\t\t\tthis.$toolAll.tools.closeTimer()//清空埋点倒计时\r\n\t\t var ya = this;\r\n\t\t \tvar shareObj = {\r\n\t\t title: '恒美植发', // 默认是小程序的名称(可以写slogan等)\r\n\t\t path: `/pagesB/problemDetail/problemDetail?id=${this.conid}&category_id=${this.cateid}`, // 默认是当前页面,必须是以‘/’开头的完整路径\r\n\t\t imageUrl: '', //自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径,支持PNG及JPG,不传入 imageUrl 则使用默认截图。显示图片长宽比是 5:4\r\n\t\t success: function(res){\r\n\t\t // 转发成功之后的回调\r\n\t\t if(res.errMsg == 'shareAppMessage:ok'){\r\n\t\t\t\t\t\tthis.$requst.post('user/record',{type:'content',action:'share',id:this.conid}).then(res=>{},error=>{})\r\n\t\t let maiOjb = {\r\n\t\t \te:4,//内容分享\r\n\t\t \tc:this.detailObj.id*1,\r\n\t\t \tt:new Date().getTime()//当前时间戳\r\n\t\t }\r\n\t\t this.$toolAll.tools.maiDian(maiOjb)\r\n\t\t }\r\n\t\t },\r\n\t\t fail: function(res){\r\n\t\t // 转发失败之后的回调\r\n\t\t if(res.errMsg == 'shareAppMessage:fail cancel'){\r\n\t\t // 用户取消转发\r\n\t\t }else if(res.errMsg == 'shareAppMessage:fail'){\r\n\t\t // 转发失败,其中 detail message 为详细失败信息\r\n\t\t }\r\n\t\t }\r\n\t\t };\r\n\t\t return shareObj;\r\n\t\t},\r\n methods:{\r\n\t\t\tbuttonH(e){\r\n\t\t\t\tthis.haveImg = e\r\n\t\t\t\tconsole.log('eee',e);\r\n\t\t\t},\r\n\t\t\tcancleEv(e){\r\n\t\t\t\tif(e==0) this.vision = false\r\n\t\t\t},\r\n\t\t\tbackHome(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/tabbar/pagehome/pagehome'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tlianK(){\r\n\t\t\t\tif(uni.getStorageSync('headImg')=='') {\r\n\t\t\t\t\tthis.vision = true\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.$toolAll.tools.closeTimer()//清空埋点倒计时\r\n\t\t\t\t\tthis.$requst.post('user/record',{type:'other',action:'ask',id:0}).then(res=>{},error=>{})\r\n\t\t\t\t\tlet maiOjb = {\r\n\t\t\t\t\t\te:5,//内容咨询\r\n\t\t\t\t\t\tt:new Date().getTime()//当前时间戳\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$toolAll.tools.maiDian(maiOjb)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tshareEv(){\r\n\t\t\t\tif(uni.getStorageSync('headImg')=='') this.vision = true\r\n\t\t\t\t\r\n\t\t\t},\r\n }\n }\n</script>\n\n<style>\n\n</style>\n"],"sourceRoot":""} |