1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/sharingCenter/sharingCenter.vue?9e1b","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/sharingCenter/sharingCenter.vue?532c","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/sharingCenter/sharingCenter.vue?f2f3","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/pagesB/sharingCenter/sharingCenter.vue?8fb5","uni-app:///pagesB/sharingCenter/sharingCenter.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;AACmN;AACnN,gBAAgB,iNAAU;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;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACbA;AAAA;AAAA;AAAA;AAA01B,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsC92B;AACA,MADA,kBACA;AACA;AACA,oBADA;AAEA,yCAFA;AAGA;AACA,+BADA;AAEA,gCAFA;AAGA,iCAHA,CAHA;;AAQA,4CARA;AASA,qBATA;;AAWA,GAbA;AAcA;AACA;AACA,aAFA,uBAEA;AACA;AACA,KAJA;AAKA;AACA,WANA,qBAMA;AACA;AACA,KARA;AASA,gBATA,0BASA;AACA;AACA,KAXA,EAdA;;AA2BA,mBA3BA,6BA2BA,OA3BA,EA2BA;AACA;AACA;AACA,mBADA,EACA;AACA,wGAFA,EAEA;AACA,yBAHA,EAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAVA;AAWA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OAlBA;;AAoBA;AACA,GAlDA;AAmDA,QAnDA,oBAmDA;AACA;AACA,GArDA;AAsDA,QAtDA,kBAsDA,OAtDA,EAsDA;AACA;AACA,GAxDA;AAyDA;AACA,WADA,qBACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA,8BADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aARA;AASA;AACA;AACA;AACA,aAZA;;AAcA,SAhBA,MAgBA;AACA;AACA,KAxBA;AAyBA,UAzBA,kBAyBA,KAzBA,EAyBA;AACA;AACA;AACA;AACA,mBADA;;AAGA,KA/BA,EAzDA,E","file":"pagesB/sharingCenter/sharingCenter.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesB/sharingCenter/sharingCenter.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./sharingCenter.vue?vue&type=template&id=3a902ae0&\"\nvar renderjs\nimport script from \"./sharingCenter.vue?vue&type=script&lang=js&\"\nexport * from \"./sharingCenter.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/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/sharingCenter/sharingCenter.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./sharingCenter.vue?vue&type=template&id=3a902ae0&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.isShowT = false\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./sharingCenter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./sharingCenter.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t<!-- 状态栏 -->\n\t\t<status-nav :titleVal=\"'分享中心'\" :statusTitle=\"true\"></status-nav>\n\t\t<!-- 自定义二级分类 -->\n\t\t<!-- 列表 -->\n\t\t<view :style=\"{paddingTop: statusHeight+'px'}\" class=\"pad-zy32\">\n\t\t\t<view class=\"radius20 pad20 bacf mar-s20 col3\">\n\t\t\t\t<view class=\"fon28 bold mar-x40 pad-z10\">我的分享</view>\n\t\t\t\t<view class=\"disja\">\n\t\t\t\t\t<view @tap=\"goPage(index)\" class=\"disac fc flexs width33\" v-for=\"(item,index) in dataList\" :key=\"index\">\n\t\t\t\t\t\t<view class=\"fon36 bold clips1\">{{item.num}}</view>\n\t\t\t\t\t\t<view class=\"fon26 mar-s25\">{{item.title}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<!-- 分享按钮 -->\n\t\t\t<view @tap=\"shareEv\" class=\"disjcac radius20 posir\" style=\"height: 90rpx;margin: 70rpx 80rpx;background-color: #38CE51;line-height: 90rpx;\">\n\t\t\t\t<view class=\"disac\"> \n\t\t\t\t\t<image src=\"/static/public/sharef.png\" style=\"width: 54rpx;height: 54rpx;\" mode=\"\"></image>\n\t\t\t\t\t<view class=\"fon40 bold colf mar-z10\">分享给好友</view>\n\t\t\t\t</view>\n\t\t\t\t<!-- <button open-type=\"share\" class=\"posia width100\" style=\"opacity: 0;\">分享给好友</button> -->\n\t\t\t\t<!-- <button @tap=\"shareEv\" class=\"posia width100\" style=\"opacity: 0;\">分享给好友</button> -->\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 弹框 -->\n\t\t<pu-po :isShowT=\"isShowT\" :contentVal=\"'暂未开放此功能,请耐心等候'\" :isCenter=\"true\" :comfrimVal=\"'好的'\" @comfirmev=\"isShowT=false\"></pu-po>\n\t\t<!-- 底部客服 -->\n\t\t<!-- <public-customer :nbottom=\"100\"></public-customer> -->\n\t\t<!-- 用户信息授权,手机号授权 -->\n\t\t<auth-userInfo-mobileInfo></auth-userInfo-mobileInfo>\n\t\t<!-- 底部tab -->\n\t\t<foot-tab :titleList=\"titleList\" :imgList=\"imgList\" :newcurrent='-1'></foot-tab>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tisShowT:false,\n\t\t\t\timgSrc:'/static/public/shareh.png',\n\t\t\t\tdataList:[\n\t\t\t\t\t{num:'0',title:'积分'},\n\t\t\t\t\t{num:'0',title:'分享人'},\n\t\t\t\t\t{num:'0',title:'分享订单'},\n\t\t\t\t],\n\t\t\t\timgSrcP:uni.getStorageSync('imgSrcP'),\n\t\t\t\tshareFlag:true\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 底部标题\n\t\t\ttitleList() {\n\t\t\t\treturn this.$store.state.titleList \n\t\t\t},\n\t\t\t// 底部图标\n\t\t\timgList() {\n\t\t\t\treturn this.$store.state.imgList\n\t\t\t},\n\t\t\tstatusHeight() {\n\t\t\t\treturn this.$store.state.statusHeight\n\t\t\t}\n\t\t},\n\t\tonShareAppMessage(options) {\n\t\t var ya = this;\n\t\t \tvar shareObj = {\n\t\t title: '恒美植发', // 默认是小程序的名称(可以写slogan等)\n\t\t path: `/pagesB/sharingCenter/sharingCenter?invite_code=${uni.getStorageSync('invite_code')}`, // 默认是当前页面,必须是以‘/’开头的完整路径\n\t\t imageUrl: ya.imgSrc, //自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径,支持PNG及JPG,不传入 imageUrl 则使用默认截图。显示图片长宽比是 5:4\n\t\t success: function(res){\n\t\t // 转发成功之后的回调\n\t\t if(res.errMsg == 'shareAppMessage:ok'){\n\t\t\t\t\t\t// 调用tools.js中的种植埋点事件\n\t\t\t\t\t\tthis.$toolAll.tools.plantPoint(4);\n\t\t }\n\t\t },\n\t\t fail: function(res){\n\t\t // 转发失败之后的回调\n\t\t if(res.errMsg == 'shareAppMessage:fail cancel'){\n\t\t // 用户取消转发\n\t\t }else if(res.errMsg == 'shareAppMessage:fail'){\n\t\t // 转发失败,其中 detail message 为详细失败信息\n\t\t }\n\t\t }\n\t\t };\n\t\t return shareObj;\n\t\t},\n\t\tonShow() {\n\t\t\tthis.$toolAll.tools.isLogin();\n\t\t},\n\t\tonLoad(options) {\n\t\t\tuni.getStorageSync('shareAll')!='' ? this.dataList[1].num = uni.getStorageSync('shareAll').share_users.total : this.dataList[1].num = 0\n\t\t},\n\t\tmethods: {\n\t\t\tshareEv(){//分享事件\n\t\t\t\tif(this.imgSrcP==''){\n\t\t\t\t\tthis.$toolAll.tools.showToast('请先前往个人海报申请海报')\n\t\t\t\t} else {\n\t\t\t\t\tthis.$toolAll.tools.showToast('正在调起分享...','none',200000);\n\t\t\t\t\tif(this.shareFlag){\n\t\t\t\t\t\tthis.shareFlag = false;\n\t\t\t\t\t\twx.showShareImageMenu({\n\t\t\t\t\t\t path: this.imgSrcP,\n\t\t\t\t\t\t\tsuccess:(res=>{\n\t\t\t\t\t\t\t\tuni.hideToast();\n\t\t\t\t\t\t\t\tthis.shareFlag = true;\n\t\t\t\t\t\t\t\tthis.$requst.post('user/record',{type:'other',action:'share',id:''}).then(res=>{console.log('分享成功:',res);},error=>{})\n\t\t\t\t\t\t\t\t// 调用tools.js中的种植埋点事件\n\t\t\t\t\t\t\t\tthis.$toolAll.tools.plantPoint(4);\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tfail:(err=>{\n\t\t\t\t\t\t\t\tuni.hideToast();\n\t\t\t\t\t\t\t\tthis.shareFlag = true;\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t} else {this.$toolAll.tools.showToast('请勿重复点击');}\n\t\t\t\t}\n\t\t\t},\n\t\t\tgoPage(index){\n\t\t\t\tlet newUrl = ''\n\t\t\t\tif(index==1) newUrl = '/pagesB/mysharer/mysharer'\n\t\t\t\tuni.navigateTo({\n\t\t\t\t\turl:newUrl\n\t\t\t\t})\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""} |