1 line
8.6 KiB
Plaintext
1 line
8.6 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/about/about.vue?be1a","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/about/about.vue?6ee1","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/about/about.vue?0be8","webpack:///D:/鲁班家具小程序/luban-mall/pagesB/about/about.vue?b715","uni-app:///pagesB/about/about.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,8F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;;;AAGpD;AACoL;AACpL,gBAAgB,2LAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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;AAAurB,CAAgB,qrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuB3sB;AACA,gD,uUAAA;eACA;AACA;AACA,wBADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,8FADA;AAEA,sBAFA;AAGA,0BAHA;AAIA,iBAJA;AAKA;AACA,iBADA;AAEA,kBAFA;AAGA,wBAHA;AAIA,4BAJA;AAKA,gDALA,GALA;;AAYA,mBAZA;AAaA,yBAbA,CAaA;AAbA;AAeA,GApBA;AAqBA,QArBA,kBAqBA,EArBA,EAqBA;AACA;AACA;AACA;AACA,GAzBA;AA0BA,QA1BA,oBA0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA;AAMA,KAPA,MAOA;AACA;AACA;AACA;AACA,GAtCA;AAuCA;AACA,mBAxCA,+BAwCA;AACA;AACA;AACA,gBADA;;AAGA,GA7CA;AA8CA;AACA,iBA/CA,2BA+CA,GA/CA,EA+CA;AACA;AACA;AACA,gBADA;;AAGA,GApDA;AAqDA;AACA;AACA,gBAFA,0BAEA;AACA;AACA,oBADA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAPA,MAOA;AACA;AACA;AACA;AACA,OAZA;AAaA,KAnBA;;AAqBA;AACA,WAtBA,qBAsBA;AACA;AACA,KAxBA,EArDA,E","file":"pagesB/about/about.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesB/about/about.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./about.vue?vue&type=template&id=022a7c08&\"\nvar renderjs\nimport script from \"./about.vue?vue&type=script&lang=js&\"\nexport * from \"./about.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX-app开发版/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/about/about.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./about.vue?vue&type=template&id=022a7c08&\"","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-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./about.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./about.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\r\n\t\t<status-nav :ifReturn=\"true\" navBarTitle=\"关于我们\" :marginBottom=\"0\"></status-nav>\r\n\t\t<view class=\"about-bg\" :style=\"{'min-height':aboutHeight}\">\r\n\t\t\t<!-- 地图 -->\r\n\t\t\t<view class=\"about-map\">\r\n\t\t\t\t<map style=\"width: 100%; height: 390rpx;\" :latitude=\"latitude\" :longitude=\"longitude\" :markers=\"markers\"></map>\r\n\t\t\t</view>\r\n\t\t\t<!-- 导航 -->\r\n\t\t\t<view class=\"navigation-btn\" @tap=\"goThere\">导航到我们</view>\r\n\t\t\t<!-- 内容 -->\r\n\t\t\t<view class=\"about\">\r\n\t\t\t\t<view class=\"about-title\">关于我们</view>\r\n\t\t\t\t<view class=\"about-txt\">\r\n\t\t\t\t\t<rich-text :nodes=\"aboutData\"></rich-text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\n</template>\n\n<script>\r\n\timport statusNav from '@/components/status-navs/status-nav';\r\n\timport {getCartNum,userInfoEv} from '@/jsFile/public-api.js';\r\n\timport {mapState} from 'vuex'//引入mapState\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\tstatusNav\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\taboutHeight: `calc(100vh - ${uni.getSystemInfoSync().statusBarHeight + 50}px)`,\r\n\t\t\t\tlatitude: 39.909,\r\n\t\t\t\tlongitude: 116.39742,\r\n\t\t\t\taddress:'',\r\n\t\t\t\tmarkers: [{\r\n\t\t\t\t\twidth : 30,\r\n\t\t\t\t\theight: 32,\r\n\t\t\t\t\tlatitude: 39.909,\r\n\t\t\t\t\tlongitude: 116.39742,\r\n\t\t\t\t\ticonPath: '/static/public/icon-addr.png'\r\n\t\t\t\t}],\n\t\t\t\taboutData:'',\r\n\t\t\t\tcacheBusinessId:-1, //商户id\n\t\t\t}\n\t\t},\r\n\t\tonLoad(op) {\r\n\t\t\tif(op.business_id){\r\n\t\t\t\tthis.cacheBusinessId = op.business_id;\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tif(this.cacheBusinessId !== -1){\r\n\t\t\t\tthis.$requst.post('/api/index/change-business',{business_id:this.cacheBusinessId}).then(res=>{\r\n\t\t\t\t\tif(res.code == 0){\r\n\t\t\t\t\t\tthis.getAboutData();\r\n\t\t\t\t\t\tuserInfoEv();\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}else{\r\n\t\t\t\tthis.getAboutData();\r\n\t\t\t\tuserInfoEv();\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 分享到微信\r\n\t\tonShareAppMessage() {\r\n\t\t\tlet path = uni.getStorageSync('page-path-options')+'?business_id='+uni.getStorageSync('business_id');\r\n\t\t\treturn {\r\n\t\t\t\tpath:path\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 分享到朋友圈\r\n\t\tonShareTimeline(res){\r\n\t\t\tlet path = uni.getStorageSync('page-path-options')+'?business_id='+uni.getStorageSync('business_id');\r\n\t\t\treturn {\r\n\t\t\t\tpath:path\r\n\t\t\t}\r\n\t\t},\n\t\tmethods: {\r\n\t\t\t// 查询关于我们\n\t\t\tgetAboutData(){\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '加载中'\r\n\t\t\t\t});\r\n\t\t\t\tthis.$requst.get('/api/index/about').then(res=>{\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tthis.aboutData = this.$toolAll.tools.escape2Html(res.data.content);\r\n\t\t\t\t\t\tthis.latitude = res.data.lat;\r\n\t\t\t\t\t\tthis.longitude = res.data.lon;\r\n\t\t\t\t\t\tthis.address = res.data.address;\r\n\t\t\t\t\t\tthis.markers[0].latitude = res.data.lat;\r\n\t\t\t\t\t\tthis.markers[0].longitude = res.data.lon;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$toolAll.tools.showToast(res.msg);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t// 导航\r\n\t\t\tgoThere() {\r\n\t\t\t\tthis.$toolAll.tools.goThere(this.lat,this.lng,this.address);\r\n\t\t\t}\r\n\t\t}\n\t}\n</script>\n\n<style>\n\n</style>"],"sourceRoot":""} |