hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/pagesB/personalPoster/personalPoster.js.map

1 line
8.6 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/personalPoster/personalPoster.vue?9f6c","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/personalPoster/personalPoster.vue?d774","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/personalPoster/personalPoster.vue?e84c","webpack:///D:/chenq/chen/hengmei/hengmei/pagesB/personalPoster/personalPoster.vue?fe0f","uni-app:///pagesB/personalPoster/personalPoster.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,yH;AACAA,UAAU,CAACC,uBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAA2H;AAC3H;AACkE;AACL;;;AAG7D;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,yFAAM;AACR,EAAE,kGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6FAAU;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;AAA2rB,CAAgB,0qBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgC/sB,uE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,0CADA,EAEA,8CAFA,EAEA;AACA,mBAHA,EAIA,qCAJA,EAKA,aALA,EAMA,cANA,GAQA,CAVA,EAWA,MAXA,oBAWA,CACA,8BACA,CAbA,EAcA,MAdA,oBAcA,mBACA;AACA,gDAFA,CAEA;AACA,4BACA,wBACA,qBACA,CAFA,EAEA,GAFA,EAGA,CACA,CAtBA,EAuBA,WACA,OADA,qBACA,CACA,wBACA,iBADA,IAGA,oJACA,eACA,IADA,EACA;AACA,+BAFA,CAEA;AAFA,QAIA,oCACA,CAXA,EAYA,SAZA,uBAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAJA,EAIA,KAJA,CAIA,mBAJA;AAKA;AACA,OAZA,EAYA,mBAZA;AAaA,KA5BA;AA6BA,YA7BA,sBA6BA;AACA;AACA,KA/BA,EAvBA,E","file":"pagesB/personalPoster/personalPoster.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pagesB/personalPoster/personalPoster.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./personalPoster.vue?vue&type=template&id=bb8ea2e8&\"\nvar renderjs\nimport script from \"./personalPoster.vue?vue&type=script&lang=js&\"\nexport * from \"./personalPoster.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/personalPoster/personalPoster.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!./personalPoster.vue?vue&type=template&id=bb8ea2e8&\"","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!./personalPoster.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!./personalPoster.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-zy36 pad-x20\">\r\n\t\t\t<view v-show=\"imgSrc!=''\">\r\n\t\t\t\t<view class=\"mar-s20\">\r\n\t\t\t\t\t<image class=\"width100 radius20\" :src=\"imgSrc\" mode=\"widthFix\" lazy-load></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 分享按钮 -->\r\n\t\t\t\t<view v-if=\"showBtn\" @tap=\"shareEv\" class=\"disjcac radius20 posir\" style=\"height: 90rpx;margin: 20rpx 80rpx 0 80rpx;background-color: #38CE51;line-height: 90rpx;\">\r\n\t\t\t\t\t<view class=\"disac\"> \r\n\t\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\t<view class=\"fon40 bold colf mar-z10\">分享给好友</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<view v-show=\"imgSrc==''\" class=\"disjcac fc\" style=\"margin-top: 50%;\">\r\n\t\t\t\t<image class=\"zanw-img mar-x50\" src=\"/static/public/zanwn.png\" mode=\"aspectFill\"></image>\r\n\t\t\t\t<view class=\"fon24 col3 mar-s50\" style=\"margin-top: 30%;\">暂无内容</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 弹框 -->\r\n\t\t<pu-po :isShowT=\"imgSrc==''\" :contentVal=\"'立即生成创意海报'\" :clearVal=\"'暂不生成'\" :comfrimVal=\"'立即生成'\" @comfirmev=\"comfirmev\" @cancleev=\"cancleev\"></pu-po>\r\n\t\t<!-- 底部客服 -->\r\n\t\t<public-customer :nbottom=\"100\"></public-customer>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {base64ToPath} from '@/jsFile/base64-src.js';\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:true,\r\n\t\t\t\timgSrc:uni.getStorageSync('imgSrcP'),\r\n\t\t\t\tisHaib:false,\r\n\t\t\t\tshowBtn:false\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.$toolAll.tools.isLogin()\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\t//如果还没有生成海报\r\n\t\t\tthis.imgSrc = uni.getStorageSync('imgSrcP')//弹框关闭\r\n\t\t\tif(this.imgSrc!='') {\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tthis.showBtn = true\r\n\t\t\t\t},500)\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tshareEv(){\r\n\t\t\t\twx.showShareImageMenu({\r\n\t\t\t\t path: this.imgSrc\r\n\t\t\t\t})\r\n\t\t\t\tthis.$requst.post('user/record',{type:'other',action:'share',id:''}).then(res=>{console.log('分享成功:',res);},error=>{})\r\n\t\t\t\tlet maiOjb = {\r\n\t\t\t\t\te:4,//内容分享\r\n\t\t\t\t\tt:new Date().getTime()//当前时间戳\r\n\t\t\t\t}\r\n\t\t\t\tthis.$toolAll.tools.maiDian(maiOjb)\r\n\t\t\t},\r\n\t\t\tcomfirmev(){//立即生成事件\r\n\t\t\t\tthis.$toolAll.tools.showToast('生成中...')\r\n\t\t\t\tthis.isShowT = false\r\n\t\t\t\tthis.$requst.get('user/personal-poster').then(res=>{\r\n\t\t\t\t\t// console.log('生成个人海报成功:',res);\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tthis.imgSrc = res.data.poster\r\n\t\t\t\t\t\tuni.hideToast()\r\n\t\t\t\t\t\tthis.$toolAll.tools.showToast('生成海报成功')\r\n\t\t\t\t\t\tbase64ToPath(this.imgSrc).then(path => {\r\n\t\t\t\t\t\t\tthis.imgSrc = path\r\n\t\t\t\t\t\t\tthis.showBtn = true\r\n\t\t\t\t\t\t\tuni.setStorageSync('imgSrcP',path)\r\n\t\t\t\t\t\t}).catch(error => {})\r\n\t\t\t\t\t}\r\n\t\t\t\t},error=>{})\r\n\t\t\t},\r\n\t\t\tcancleev(){//暂不生成事件\r\n\t\t\t\tuni.navigateBack({delta:1})\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":""}