1 |
- "use strict";var e=require("../../common/vendor.js");const o={components:{CustomCamera:()=>"../../components/CustomCamera/WeChat/index.js"},data:()=>({coverImageType:"side"}),onLoad(e){this.coverImageType=e.coverImageType},onShareAppMessage:e=>({title:"AI舌诊"}),onShareTimeline:e=>({title:"AI舌诊"}),methods:{back(){e.index.switchTab({url:"/pages/index/index"})},takePhoto(){var o=e.index.getStorageSync("tongueUrl");console.log(o),e.index.navigateTo({url:"/pages_user/tongue/photoPreview?url="+o})},getImage(o){var a=e.index.getStorageSync("tongueUrl");console.log(a),e.index.navigateTo({url:"/pages_user/tongue/photoPreview?url="+a})}}};if(!Array){e.resolveComponent("CustomCamera")()}var a=e._export_sfc(o,[["render",function(o,a,t,r,n,s){return{a:e.sr("CustomCamera","68a551f3-0"),b:e.o(s.takePhoto),c:e.o(s.getImage)}}]]);o.__runtimeHooks=6,wx.createPage(a);
|