1 line
9.4 KiB
Plaintext
1 line
9.4 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/sharingCenter/sharingCenter.vue?68cb","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/sharingCenter/sharingCenter.vue?a768","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/sharingCenter/sharingCenter.vue?d7af","uni-app:///pagesB/sharingCenter/sharingCenter.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,sH;AACAA,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;;;AAG5D;AACmL;AACnL,gBAAgB,uLAAU;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;AAA0rB,CAAgB,yqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgC9sB;AACA,MADA,kBACA;AACA;AACA,gDADA;AAEA,oDAFA,EAEA;AACA,oBAHA;AAIA,yCAJA;AAKA;AACA,+BADA;AAEA,gCAFA;AAGA,iCAHA,CALA;;AAUA,4CAVA;;AAYA,GAdA;AAeA,mBAfA,6BAeA,OAfA,EAeA;AACA;AACA;AACA,mBADA,EACA;AACA,cAFA,EAEA;AACA,yBAHA,EAGA;AACA;AACA;AACA;AACA;AACA,gBADA,EACA;AACA,mCAFA,CAEA;AAFA;AAIA;AACA;AACA,OAbA;AAcA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OArBA;;AAuBA;AACA,GAzCA;AA0CA,QA1CA,oBA0CA;AACA;AACA,GA5CA;AA6CA;AACA,WADA,qBACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,4BADA;;AAGA;AACA,KATA;AAUA,UAVA,kBAUA,KAVA,EAUA;AACA;AACA;AACA;AACA,mBADA;;AAGA;AACA;AACA;AACA;AAnBA,GA7CA,E","file":"pagesB/sharingCenter/sharingCenter.js","sourcesContent":["import 'uni-pages';\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 \"!../../../../../../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 = \"pagesB/sharingCenter/sharingCenter.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!./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 \"-!../../../../../../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!./sharingCenter.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!./sharingCenter.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 状态栏 -->\r\n\t\t<status-nav :titleVal=\"'分享中心'\" :statusTitle=\"true\"></status-nav>\r\n\t\t<!-- 自定义二级分类 -->\r\n\t\t<!-- 列表 -->\r\n\t\t<view :style=\"{paddingTop: statusHNH+'px'}\" class=\"pad-zy32\">\r\n\t\t\t<view class=\"radius20 pad20 bacf mar-s20 col3\">\r\n\t\t\t\t<view class=\"fon28 bold mar-x40\">我的分享</view>\r\n\t\t\t\t<view class=\"disja\">\r\n\t\t\t\t\t<view @tap=\"goPage(index)\" class=\"disac fc flexs width33\" v-for=\"(item,index) in dataList\" :key=\"index\">\r\n\t\t\t\t\t\t<view class=\"fon36 bold clips1\">{{item.num}}</view>\r\n\t\t\t\t\t\t<view class=\"fon26 mar-s25\">{{item.title}}</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<!-- 分享按钮 -->\r\n\t\t\t<view @tap=\"shareEv\" class=\"disjcac radius20 posir\" style=\"height: 90rpx;margin: 70rpx 80rpx;background-color: #38CE51;line-height: 90rpx;\">\r\n\t\t\t\t<view class=\"disac\"> \r\n\t\t\t\t\t<image src=\"/static/public/sharef.png\" style=\"width: 54rpx;height: 54rpx;\" mode=\"\"></image>\r\n\t\t\t\t\t<view class=\"fon40 bold colf mar-z10\">分享给好友</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- <button open-type=\"share\" class=\"posia width100\" style=\"opacity: 0;\">分享给好友</button> -->\r\n\t\t\t\t<!-- <button @tap=\"shareEv\" class=\"posia width100\" style=\"opacity: 0;\">分享给好友</button> -->\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 弹框 -->\r\n\t\t<pu-po :isShowT=\"isShowT\" :contentVal=\"'暂未开放此功能,请耐心等候'\" :isCenter=\"true\" :comfrimVal=\"'好的'\" @comfirmev=\"isShowT=false\"></pu-po>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatusHNH:uni.getStorageSync('statusHNH'),\r\n\t\t\t\tpublicColor:uni.getStorageSync('publicColor'),//主题颜色\r\n\t\t\t\tisShowT:false,\r\n\t\t\t\timgSrc:'/static/public/shareh.png',\r\n\t\t\t\tdataList:[\r\n\t\t\t\t\t{num:'0',title:'积分'},\r\n\t\t\t\t\t{num:'0',title:'分享人'},\r\n\t\t\t\t\t{num:'0',title:'分享订单'},\r\n\t\t\t\t],\r\n\t\t\t\timgSrcP:uni.getStorageSync('imgSrcP')\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShareAppMessage(options) {\r\n\t\t var ya = this;\r\n\t\t \tvar shareObj = {\r\n\t\t title: '恒美植发', // 默认是小程序的名称(可以写slogan等)\r\n\t\t path: '', // 默认是当前页面,必须是以‘/’开头的完整路径\r\n\t\t imageUrl: ya.imgSrc, //自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径,支持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 let maiOjb = {\r\n\t\t \te:4,//内容分享\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\t\tonLoad() {\r\n\t\t\tuni.getStorageSync('shareAll')!='' ? this.dataList[1].num = uni.getStorageSync('shareAll').share_users.total : this.dataList[1].num = 0\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tshareEv(){//分享事件\r\n\t\t\t\tif(this.imgSrcP==''){\r\n\t\t\t\t\tthis.$toolAll.tools.showToast('请先前往个人海报申请海报')\r\n\t\t\t\t} else {\r\n\t\t\t\t\twx.showShareImageMenu({\r\n\t\t\t\t\t path: this.imgSrcP\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tgoPage(index){\r\n\t\t\t\tlet newUrl = ''\r\n\t\t\t\tif(index==1) newUrl = '/pagesB/mysharer/mysharer'\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:newUrl\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// shareEv(){\r\n\t\t\t// \tthis.isShowT = true\r\n\t\t\t// }\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n</style>\r\n"],"sourceRoot":""} |