Kaynağa Gözat

修改

master
JinxChen 3 hafta önce
ebeveyn
işleme
09df743217
23 değiştirilmiş dosya ile 44 ekleme ve 32 silme
  1. +2
    -1
      pages/details/index.vue
  2. +3
    -3
      pages/details/records.vue
  3. +3
    -3
      pages/details/result.vue
  4. +6
    -3
      pages/index/index.vue
  5. +1
    -1
      pages/skin-assessment/croppedImage.vue
  6. +1
    -1
      pages/skin-assessment/photoProcess.vue
  7. +1
    -0
      pages/skin-assessment/photograph.vue
  8. +2
    -1
      pages/user/info.vue
  9. +11
    -5
      store/modules/user.js
  10. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  11. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/details/index.js.map
  12. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  13. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/skin-assessment/croppedImage.js.map
  14. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/skin-assessment/photoProcess.js.map
  15. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/skin-assessment/photograph.js.map
  16. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/info.js.map
  17. +1
    -1
      unpackage/dist/dev/mp-weixin/common/vendor.js
  18. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/details/index.js
  19. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  20. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/skin-assessment/croppedImage.js
  21. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/skin-assessment/photoProcess.js
  22. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/skin-assessment/photograph.js
  23. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/user/info.js

+ 2
- 1
pages/details/index.vue Dosyayı Görüntüle

@@ -158,11 +158,12 @@ export default {
time: that.$util.formateDate('HH:MM', now),
day: that.$util.getDayName(),
year: that.$util.formateDate('yyyy', now),
imageSrc: that.$store.getters.resultPath,
imageSrc: that.$store.state.user.resultPath,
evaluation: '无明显伤口'
}
]
that.$store.commit('setResultList', mockList);
that.$store.commit('saveAll');
// 跳转详情
uni.reLaunch({ url: '/pages/details/result' })
}, 1500)


+ 3
- 3
pages/details/records.vue Dosyayı Görüntüle

@@ -99,10 +99,10 @@ export default {
return this.$themeColor
},
avatarSrc() {
return this.$store.getters.userInfo.avatarSrc || require('../../static/tabbar/user_default.png')
return this.$store.state.user.userInfo.avatarSrc || require('../../static/tabbar/user_default.png')
},
userInfo() {
return this.$store.getters.userInfo
return this.$store.state.user.userInfo
},
now() {
return this.$util.formateDate('yyy-mm-dd', new Date())
@@ -119,7 +119,7 @@ export default {
})
setTimeout(() => {
uni.showToast({ title: '加载成功', icon: 'success' });
this.evaluations = this.$store.getters.resultList || []
this.evaluations = this.$store.state.user.resultList || []
}, 1500);

},


+ 3
- 3
pages/details/result.vue Dosyayı Görüntüle

@@ -128,17 +128,17 @@ export default {
return this.$themeDeepColor
},
userInfo() {
return this.$store.getters.userInfo
return this.$store.state.user.userInfo
},
now() {
return this.$util.formateDate('yyy-mm-dd', new Date())
},
resultPath() {
return this.$store.getters.resultPath
return this.$store.state.user.resultPath
}
},
onLoad() {
console.log("this.$store.getters.resultPath", this.$store.getters.resultPath);
},
methods: {
calculateAge(date) {


+ 6
- 3
pages/index/index.vue Dosyayı Görüntüle

@@ -47,7 +47,8 @@ export default {
onShow() {
},
onLoad() {
this.checked = [this.$store.getters.agreementState];
this.checked = [this.$store.state.user.agreementState];
console.log("todo",this.$store.state.user);
},
methods: {
onUserAgreement() {
@@ -78,7 +79,7 @@ export default {
icon: 'none'
});
}
if (!this.$store.getters.userInfo) {
if (!this.$store.state.user.userInfo) {
return uni.showModal({
title: '提示',
content: '您未创建用户,是否前往创建用户?',
@@ -96,11 +97,13 @@ export default {
})
},
onChange(n) {
if(n) {
if(n.length > 0) {
this.checked = n[0];
this.$store.commit('setAgreementState', n[0]);
this.$store.commit('saveAll');
} else {
this.$store.commit('setAgreementState', '');
this.$store.commit('saveAll');
}
},


+ 1
- 1
pages/skin-assessment/croppedImage.vue Dosyayı Görüntüle

@@ -35,7 +35,7 @@ export default {
},
computed: {
imageUrl() {
return this.$store.getters.photoPath || 'https://telpo-healthy.oss-cn-hangzhou.aliyuncs.com/healthy/knowledge/202503/91948f89ac494805a85b6605449c0366.png'
return this.$store.state.user.photoPath
}
},
onLoad() {


+ 1
- 1
pages/skin-assessment/photoProcess.vue Dosyayı Görüntüle

@@ -23,7 +23,7 @@
},
computed: {
detectFaceImg() {
return this.$store.getters.photoPath
return this.$store.state.user.photoPath
}
},
methods: {


+ 1
- 0
pages/skin-assessment/photograph.vue Dosyayı Görüntüle

@@ -61,6 +61,7 @@
let imgUrl = image.data.fileUrl;
console.log("imgUrl", imgUrl);
this.$store.commit('setPhotoPath', imgUrl);
this.$store.commit('saveAll');
if(image) {
// 跳转页面
uni.redirectTo({


+ 2
- 1
pages/user/info.vue Dosyayı Görüntüle

@@ -112,7 +112,7 @@ export default {
return '#333'
},
avatarSrc() {
return this.$store.getters.userInfo.avatarSrc || require('../../static/tabbar/user_default.png')
return this.$store.state.user.userInfo.avatarSrc || require('../../static/tabbar/user_default.png')
},
minDate() {
const now = new Date();
@@ -151,6 +151,7 @@ export default {
setTimeout(() => {
// 缓存到本地
that.$store.commit('SET_USERINFO',that.form);
that.$store.commit('saveAll');
uni.showToast({
title: "创建成功",
icon: 'success'


+ 11
- 5
store/modules/user.js Dosyayı Görüntüle

@@ -33,22 +33,28 @@ const user = {
state.userId = userId
},
SET_USERINFO: (state, userInfo) => {
state.userInfo = userInfo
state.userInfo = userInfo;
},
SET_TEST_TEXT: (state, testText) => {
state.testText = testText
},
setPhotoPath: (state, photoPath) => {
state.photoPath = photoPath
state.photoPath = photoPath;
},
setResultList: (state, resultList) => {
state.resultList = resultList
state.resultList = resultList;
},
setResultPath: (state, resultPath) => {
state.resultPath = resultPath
state.resultPath = resultPath;
},
setAgreementState: (state, agreementState) => {
state.agreementState = agreementState
state.agreementState = agreementState;
},
saveAll(state) {
uni.setStorageSync(
`Default_Vuex_Storage`,
JSON.stringify(state)
)
},


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/details/index.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/skin-assessment/croppedImage.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/skin-assessment/photoProcess.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/skin-assessment/photograph.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/info.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/mp-weixin/common/vendor.js
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/details/index.js Dosyayı Görüntüle

@@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/details/index"],{190:function(t,e,n){"use strict";(function(t,e){var i=n(4);n(26);i(n(25));var r=i(n(191));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n(1)["default"],n(2)["createPage"])},191:function(t,e,n){"use strict";n.r(e);var i=n(192),r=n(194);for(var s in r)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(s);n(196);var o,u=n(32),a=Object(u["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,"54d3589c",null,!1,i["components"],o);a.options.__file="pages/details/index.vue",e["default"]=a.exports},192:function(t,e,n){"use strict";n.r(e);var i=n(193);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},193:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return r})),n.d(e,"staticRenderFns",(function(){return o})),n.d(e,"recyclableRender",(function(){return s})),n.d(e,"components",(function(){return i}));try{i={"u-Image":function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u--image/u--image")]).then(n.bind(null,322))},uButton:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-button/u-button")]).then(n.bind(null,255))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var t=this,e=t.$createElement;t._self._c},s=!1,o=[];r._withStripped=!0},194:function(t,e,n){"use strict";n.r(e);var i=n(195),r=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=r.a},195:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{currentStep:0,steps:[{name:"步骤1"},{name:"步骤2"}],parts:["面部","颈部","胸部","背部","四肢","腹部","手部","足部","其它"],categories:["烧伤","割伤","烫伤","手术后(含剖腹产)"],formData:{part:"",category:"",feel:""},aiRootPath:n(483),selectCurrent:null,details:{total:3,list:[{data:["面部","颈部","胸部","背部","四肢","腹部","手部和足部","其它"],stepIndex:0,question:"伤口受伤的部位是?",answer:"",answerIndex:null},{data:["烧伤","割伤","烫伤","手术后(含剖腹产)","跌碰撞伤","青春痘","宠物抓伤","其他"],stepIndex:1,question:"伤口受伤的类别是?",answer:"",answerIndex:null},{data:["红肿程度","痕痒程度","其他"],stepIndex:2,question:"伤口受伤的感受是?",answer:"",answerIndex:null}]},questionList:[]}},computed:{themeColor:function(){return this.$themeColor},bgthemeColor:function(){return"#000"}},onLoad:function(){this.questionList=this.details.list[this.currentStep].data},methods:{onClick:function(t,e){console.log("item",t,e),this.details.list[this.currentStep].answer=t,this.details.list[this.currentStep].answerIndex=e},handleNext:function(){if(0===this.currentStep){if(!this.details.list[this.currentStep].answer)return t.showToast({title:"请选择伤口部位",icon:"none"});this.currentStep++,this.questionList=this.details.list[this.currentStep].data}else if(1===this.currentStep){if(!this.details.list[this.currentStep].answer)return t.showToast({title:"请选择伤口类别",icon:"none"});this.currentStep++,this.questionList=this.details.list[this.currentStep].data}else if(2===this.currentStep){if(!this.details.list[this.currentStep].answer)return t.showToast({title:"请选择伤口感受",icon:"none"});this.onSubmit()}},handlePre:function(){this.currentStep--,this.questionList=this.details.list[this.currentStep].data},onSubmit:function(){var e=this;t.showLoading({title:"提交中",mask:!0}),setTimeout((function(){t.showToast({title:"提交成功",icon:"success"}),console.log("提交数据:",e.formData);var n=new Date,i=[{date:e.$util.formateDate("mm-dd",n),time:e.$util.formateDate("HH:MM",n),day:e.$util.getDayName(),year:e.$util.formateDate("yyyy",n),imageSrc:e.$store.getters.resultPath,evaluation:"无明显伤口"}];e.$store.commit("setResultList",i),t.reLaunch({url:"/pages/details/result"})}),1500)}}};e.default=i}).call(this,n(2)["default"])},196:function(t,e,n){"use strict";n.r(e);var i=n(197),r=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=r.a},197:function(t,e,n){}},[[190,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/details/index"],{190:function(t,e,n){"use strict";(function(t,e){var i=n(4);n(26);i(n(25));var r=i(n(191));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n(1)["default"],n(2)["createPage"])},191:function(t,e,n){"use strict";n.r(e);var i=n(192),r=n(194);for(var s in r)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(s);n(196);var o,a=n(32),u=Object(a["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,"54d3589c",null,!1,i["components"],o);u.options.__file="pages/details/index.vue",e["default"]=u.exports},192:function(t,e,n){"use strict";n.r(e);var i=n(193);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},193:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return r})),n.d(e,"staticRenderFns",(function(){return o})),n.d(e,"recyclableRender",(function(){return s})),n.d(e,"components",(function(){return i}));try{i={"u-Image":function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u--image/u--image")]).then(n.bind(null,322))},uButton:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-button/u-button")]).then(n.bind(null,255))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var t=this,e=t.$createElement;t._self._c},s=!1,o=[];r._withStripped=!0},194:function(t,e,n){"use strict";n.r(e);var i=n(195),r=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=r.a},195:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{currentStep:0,steps:[{name:"步骤1"},{name:"步骤2"}],parts:["面部","颈部","胸部","背部","四肢","腹部","手部","足部","其它"],categories:["烧伤","割伤","烫伤","手术后(含剖腹产)"],formData:{part:"",category:"",feel:""},aiRootPath:n(483),selectCurrent:null,details:{total:3,list:[{data:["面部","颈部","胸部","背部","四肢","腹部","手部和足部","其它"],stepIndex:0,question:"伤口受伤的部位是?",answer:"",answerIndex:null},{data:["烧伤","割伤","烫伤","手术后(含剖腹产)","跌碰撞伤","青春痘","宠物抓伤","其他"],stepIndex:1,question:"伤口受伤的类别是?",answer:"",answerIndex:null},{data:["红肿程度","痕痒程度","其他"],stepIndex:2,question:"伤口受伤的感受是?",answer:"",answerIndex:null}]},questionList:[]}},computed:{themeColor:function(){return this.$themeColor},bgthemeColor:function(){return"#000"}},onLoad:function(){this.questionList=this.details.list[this.currentStep].data},methods:{onClick:function(t,e){console.log("item",t,e),this.details.list[this.currentStep].answer=t,this.details.list[this.currentStep].answerIndex=e},handleNext:function(){if(0===this.currentStep){if(!this.details.list[this.currentStep].answer)return t.showToast({title:"请选择伤口部位",icon:"none"});this.currentStep++,this.questionList=this.details.list[this.currentStep].data}else if(1===this.currentStep){if(!this.details.list[this.currentStep].answer)return t.showToast({title:"请选择伤口类别",icon:"none"});this.currentStep++,this.questionList=this.details.list[this.currentStep].data}else if(2===this.currentStep){if(!this.details.list[this.currentStep].answer)return t.showToast({title:"请选择伤口感受",icon:"none"});this.onSubmit()}},handlePre:function(){this.currentStep--,this.questionList=this.details.list[this.currentStep].data},onSubmit:function(){var e=this;t.showLoading({title:"提交中",mask:!0}),setTimeout((function(){t.showToast({title:"提交成功",icon:"success"}),console.log("提交数据:",e.formData);var n=new Date,i=[{date:e.$util.formateDate("mm-dd",n),time:e.$util.formateDate("HH:MM",n),day:e.$util.getDayName(),year:e.$util.formateDate("yyyy",n),imageSrc:e.$store.state.user.resultPath,evaluation:"无明显伤口"}];e.$store.commit("setResultList",i),e.$store.commit("saveAll"),t.reLaunch({url:"/pages/details/result"})}),1500)}}};e.default=i}).call(this,n(2)["default"])},196:function(t,e,n){"use strict";n.r(e);var i=n(197),r=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=r.a},197:function(t,e,n){}},[[190,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/details/index.js.map

+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/index/index.js Dosyayı Görüntüle

@@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{174:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(175));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},175:function(e,n,t){"use strict";t.r(n);var o=t(176),r=t(178);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);t(180);var u,i=t(32),s=Object(i["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],u);s.options.__file="pages/index/index.vue",n["default"]=s.exports},176:function(e,n,t){"use strict";t.r(n);var o=t(177);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},177:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return o}));try{o={uButton:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-button/u-button")]).then(t.bind(null,255))},uCheckboxGroup:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(t.bind(null,265))},uCheckbox:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-checkbox/u-checkbox")]).then(t.bind(null,273))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,n=e.$createElement;e._self._c},c=!1,u=[];r._withStripped=!0},178:function(e,n,t){"use strict";t.r(n);var o=t(179),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},179:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{checked:[],title:""}},computed:{src:function(){return this.$urls.loginBanner},bgthemeColor:function(){return this.checked,"#000"},themeColor:function(){return this.$themeColor}},onShow:function(){},onLoad:function(){this.checked=[this.$store.getters.agreementState]},methods:{onUserAgreement:function(){e.canIUse("openPrivacyContract")?e.openPrivacyContract({success:function(e){console.log("打开隐私协议成功",e)},fail:function(e){console.error("打开隐私协议失败",e)}}):(e.showToast({title:"当前微信版本不支持隐私协议功能",icon:"none"}),console.error("当前微信版本不支持隐私协议功能"))},onAgreeChange:function(){},openPrivacyPolicy:function(){},onSubmit:function(){return this.checked[0]?this.$store.getters.userInfo?void e.navigateTo({url:"/pages/skin-assessment/photograph"}):e.showModal({title:"提示",content:"您未创建用户,是否前往创建用户?",success:function(n){n.confirm&&e.reLaunch({url:"/pages/user/info"})}}):e.showToast({title:"请勾选用户服务协议",icon:"none"})},onChange:function(e){e?(this.checked=e[0],this.$store.commit("setAgreementState",e[0])):this.$store.commit("setAgreementState","")},getphonenumber:function(e){console.log("快速登录",e),e.detail.errno?this.$u.toast("快速登录失败:"+e.detail.errMsg):console.log(e.detail.code)}}};n.default=t}).call(this,t(2)["default"])},180:function(e,n,t){"use strict";t.r(n);var o=t(181),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},181:function(e,n,t){}},[[174,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{174:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(175));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},175:function(e,n,t){"use strict";t.r(n);var o=t(176),r=t(178);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);t(180);var u,i=t(32),s=Object(i["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],u);s.options.__file="pages/index/index.vue",n["default"]=s.exports},176:function(e,n,t){"use strict";t.r(n);var o=t(177);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},177:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return o}));try{o={uButton:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-button/u-button")]).then(t.bind(null,255))},uCheckboxGroup:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(t.bind(null,265))},uCheckbox:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-checkbox/u-checkbox")]).then(t.bind(null,273))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,n=e.$createElement;e._self._c},c=!1,u=[];r._withStripped=!0},178:function(e,n,t){"use strict";t.r(n);var o=t(179),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},179:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{checked:[],title:""}},computed:{src:function(){return this.$urls.loginBanner},bgthemeColor:function(){return this.checked,"#000"},themeColor:function(){return this.$themeColor}},onShow:function(){},onLoad:function(){this.checked=[this.$store.state.user.agreementState],console.log("todo",this.$store.state.user)},methods:{onUserAgreement:function(){e.canIUse("openPrivacyContract")?e.openPrivacyContract({success:function(e){console.log("打开隐私协议成功",e)},fail:function(e){console.error("打开隐私协议失败",e)}}):(e.showToast({title:"当前微信版本不支持隐私协议功能",icon:"none"}),console.error("当前微信版本不支持隐私协议功能"))},onAgreeChange:function(){},openPrivacyPolicy:function(){},onSubmit:function(){return this.checked[0]?this.$store.state.user.userInfo?void e.navigateTo({url:"/pages/skin-assessment/photograph"}):e.showModal({title:"提示",content:"您未创建用户,是否前往创建用户?",success:function(n){n.confirm&&e.reLaunch({url:"/pages/user/info"})}}):e.showToast({title:"请勾选用户服务协议",icon:"none"})},onChange:function(e){e.length>0?(this.checked=e[0],this.$store.commit("setAgreementState",e[0]),this.$store.commit("saveAll")):(this.$store.commit("setAgreementState",""),this.$store.commit("saveAll"))},getphonenumber:function(e){console.log("快速登录",e),e.detail.errno?this.$u.toast("快速登录失败:"+e.detail.errMsg):console.log(e.detail.code)}}};n.default=t}).call(this,t(2)["default"])},180:function(e,n,t){"use strict";t.r(n);var o=t(181),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},181:function(e,n,t){}},[[174,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map

+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/skin-assessment/croppedImage.js Dosyayı Görüntüle

@@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/skin-assessment/croppedImage"],{214:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(215));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},215:function(e,n,t){"use strict";t.r(n);var o=t(216),r=t(218);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);t(220);var a,i=t(32),s=Object(i["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"23853472",null,!1,o["components"],a);s.options.__file="pages/skin-assessment/croppedImage.vue",n["default"]=s.exports},216:function(e,n,t){"use strict";t.r(n);var o=t(217);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},217:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},c=!1,a=[];r._withStripped=!0},218:function(e,n,t){"use strict";t.r(n);var o=t(219),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},219:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){Promise.all([t.e("common/vendor"),t.e("components/xiaogang-crop/index")]).then(function(){return resolve(t(353))}.bind(null,t)).catch(t.oe)},r=function(){Promise.all([t.e("common/vendor"),t.e("components/yq-avatar/yq-avatar")]).then(function(){return resolve(t(360))}.bind(null,t)).catch(t.oe)},c={data:function(){return{webUrl:"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxab7b8b9509e1d137&redirect_uri=https://id.ssjlai.com/telpoaiopsweb?appid=wxab7b8b9509e1d137&response_type=code&scope=snsapi_base&state=STATE&connect_redirect=1#wechat_redirect",uurls:["../../static/logo.png","../../static/logo.png"],cropImgPath:"",isShow:!1}},computed:{imageUrl:function(){return this.$store.getters.photoPath||"https://telpo-healthy.oss-cn-hangzhou.aliyuncs.com/healthy/knowledge/202503/91948f89ac494805a85b6605449c0366.png"}},onLoad:function(){this.isShow=!0},methods:{onMessage:function(e){console.log("收到消息",e.detail.data)},cropCompleted:function(e){console.log("e",e.tempFilePath),this.cropImgPath=e.tempFilePath},cropCancel:function(){},myUpload:function(e){this.$set(this.urls,e.index,e.path)},showCrop:function(){this.isShow=!0}},components:{avatar:r,imageCropping:o}};n.default=c},220:function(e,n,t){"use strict";t.r(n);var o=t(221),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},221:function(e,n,t){}},[[214,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/skin-assessment/croppedImage"],{214:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(215));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},215:function(e,n,t){"use strict";t.r(n);var o=t(216),r=t(218);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);t(220);var i,a=t(32),s=Object(a["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"23853472",null,!1,o["components"],i);s.options.__file="pages/skin-assessment/croppedImage.vue",n["default"]=s.exports},216:function(e,n,t){"use strict";t.r(n);var o=t(217);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},217:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return o}));var r=function(){var e=this,n=e.$createElement;e._self._c},c=!1,i=[];r._withStripped=!0},218:function(e,n,t){"use strict";t.r(n);var o=t(219),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},219:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){Promise.all([t.e("common/vendor"),t.e("components/xiaogang-crop/index")]).then(function(){return resolve(t(353))}.bind(null,t)).catch(t.oe)},r=function(){Promise.all([t.e("common/vendor"),t.e("components/yq-avatar/yq-avatar")]).then(function(){return resolve(t(360))}.bind(null,t)).catch(t.oe)},c={data:function(){return{webUrl:"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxab7b8b9509e1d137&redirect_uri=https://id.ssjlai.com/telpoaiopsweb?appid=wxab7b8b9509e1d137&response_type=code&scope=snsapi_base&state=STATE&connect_redirect=1#wechat_redirect",uurls:["../../static/logo.png","../../static/logo.png"],cropImgPath:"",isShow:!1}},computed:{imageUrl:function(){return this.$store.state.user.photoPath}},onLoad:function(){this.isShow=!0},methods:{onMessage:function(e){console.log("收到消息",e.detail.data)},cropCompleted:function(e){console.log("e",e.tempFilePath),this.cropImgPath=e.tempFilePath},cropCancel:function(){},myUpload:function(e){this.$set(this.urls,e.index,e.path)},showCrop:function(){this.isShow=!0}},components:{avatar:r,imageCropping:o}};n.default=c},220:function(e,n,t){"use strict";t.r(n);var o=t(221),r=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=r.a},221:function(e,n,t){}},[[214,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/skin-assessment/croppedImage.js.map

+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/skin-assessment/photoProcess.js Dosyayı Görüntüle

@@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/skin-assessment/photoProcess"],{230:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(231));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},231:function(e,n,t){"use strict";t.r(n);var r=t(232),o=t(234);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);t(236);var i,u=t(32),a=Object(u["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],i);a.options.__file="pages/skin-assessment/photoProcess.vue",n["default"]=a.exports},232:function(e,n,t){"use strict";t.r(n);var r=t(233);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},233:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return r}));var o=function(){var e=this,n=e.$createElement;e._self._c},c=!1,i=[];o._withStripped=!0},234:function(e,n,t){"use strict";t.r(n);var r=t(235),o=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);n["default"]=o.a},235:function(e,n,t){"use strict";(function(e){var r=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(t(56)),c=r(t(58)),i={data:function(){return{paddTopHeight:"",imgSize:null,props:{}}},computed:{detectFaceImg:function(){return this.$store.getters.photoPath}},methods:{onNavBack:function(){e.redirectTo({url:"/pages/index/index"})},onSubmit:function(){return(0,c.default)(o.default.mark((function n(){return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.redirectTo({url:"/pages/details/index"});case 1:case"end":return n.stop()}}),n)})))()},onPhotoReSet:function(){this.onNavBack()},getImgSize:function(){var n=this;if(n.detectFaceImg){var t=e.getFileSystemManager();t.stat({path:n.detectFaceImg,success:function(e){console.log("文件大小:",e.stats.size);var t=(e.stats.size/1048576).toFixed(2);n.imgSize=t,console.log("文件大小:",t,"MB")},fail:function(e){console.error("获取文件状态失败:",e)}})}}},onLoad:function(){}};n.default=i}).call(this,t(2)["default"])},236:function(e,n,t){"use strict";t.r(n);var r=t(237),o=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);n["default"]=o.a},237:function(e,n,t){}},[[230,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/skin-assessment/photoProcess"],{230:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(231));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},231:function(e,n,t){"use strict";t.r(n);var r=t(232),o=t(234);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);t(236);var u,i=t(32),a=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);a.options.__file="pages/skin-assessment/photoProcess.vue",n["default"]=a.exports},232:function(e,n,t){"use strict";t.r(n);var r=t(233);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},233:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return r}));var o=function(){var e=this,n=e.$createElement;e._self._c},c=!1,u=[];o._withStripped=!0},234:function(e,n,t){"use strict";t.r(n);var r=t(235),o=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);n["default"]=o.a},235:function(e,n,t){"use strict";(function(e){var r=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(t(56)),c=r(t(58)),u={data:function(){return{paddTopHeight:"",imgSize:null,props:{}}},computed:{detectFaceImg:function(){return this.$store.state.user.photoPath}},methods:{onNavBack:function(){e.redirectTo({url:"/pages/index/index"})},onSubmit:function(){return(0,c.default)(o.default.mark((function n(){return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.redirectTo({url:"/pages/details/index"});case 1:case"end":return n.stop()}}),n)})))()},onPhotoReSet:function(){this.onNavBack()},getImgSize:function(){var n=this;if(n.detectFaceImg){var t=e.getFileSystemManager();t.stat({path:n.detectFaceImg,success:function(e){console.log("文件大小:",e.stats.size);var t=(e.stats.size/1048576).toFixed(2);n.imgSize=t,console.log("文件大小:",t,"MB")},fail:function(e){console.error("获取文件状态失败:",e)}})}}},onLoad:function(){}};n.default=u}).call(this,t(2)["default"])},236:function(e,n,t){"use strict";t.r(n);var r=t(237),o=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);n["default"]=o.a},237:function(e,n,t){}},[[230,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/skin-assessment/photoProcess.js.map

+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/skin-assessment/photograph.js Dosyayı Görüntüle

@@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/skin-assessment/photograph"],{222:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(223));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},223:function(e,n,t){"use strict";t.r(n);var o=t(224),r=t(226);for(var a in r)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(a);t(228);var c,s=t(32),i=Object(s["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"55840b9c",null,!1,o["components"],c);i.options.__file="pages/skin-assessment/photograph.vue",n["default"]=i.exports},224:function(e,n,t){"use strict";t.r(n);var o=t(225);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},225:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return c})),t.d(n,"recyclableRender",(function(){return a})),t.d(n,"components",(function(){return o}));try{o={faceBioAssay:function(){return t.e("components/face-bio-assay/face-bio-assay").then(t.bind(null,367))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,n=e.$createElement;e._self._c},a=!1,c=[];r._withStripped=!0},226:function(e,n,t){"use strict";t.r(n);var o=t(227),r=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},227:function(e,n,t){"use strict";(function(e){var o=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t(56)),a=o(t(58)),c=function(){t.e("components/face-bio-assay/face-bio-assay").then(function(){return resolve(t(367))}.bind(null,t)).catch(t.oe)},s={components:{faceBioAssay:c},data:function(){return{paddTopHeight:"",props:{}}},onLoad:function(e){this.$refs.faceDetect.initData()},methods:{onNavBack:function(){console.log("点击了返回"),this.$u.route({type:"redirectTo",url:"/pages/index/index"})},detectFailed:function(n){n?e.showToast({title:"您未授权摄像头权限",icon:"none"}):e.showToast({title:"摄像头加载失败~,请重试~",icon:"none"})},photoChange:function(n){var t=this;return(0,a.default)(r.default.mark((function o(){var a,c;return r.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,t.$api.upload(t.$util.tempUrlToUpload(n,"".concat(t.$util.formateDate("yyyy-mm-dd-HH:MM:SS"),"_sign.png")));case 2:a=o.sent,c=a.data.fileUrl,console.log("imgUrl",c),t.$store.commit("setPhotoPath",c),a?e.redirectTo({url:"/pages/skin-assessment/photoProcess"}):e.showToast({title:"请您重新拍照",icon:"none"});case 7:case"end":return o.stop()}}),o)})))()}}};n.default=s}).call(this,t(2)["default"])},228:function(e,n,t){"use strict";t.r(n);var o=t(229),r=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},229:function(e,n,t){}},[[222,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/skin-assessment/photograph"],{222:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(223));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},223:function(e,n,t){"use strict";t.r(n);var o=t(224),r=t(226);for(var a in r)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(a);t(228);var c,s=t(32),i=Object(s["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"55840b9c",null,!1,o["components"],c);i.options.__file="pages/skin-assessment/photograph.vue",n["default"]=i.exports},224:function(e,n,t){"use strict";t.r(n);var o=t(225);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},225:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return c})),t.d(n,"recyclableRender",(function(){return a})),t.d(n,"components",(function(){return o}));try{o={faceBioAssay:function(){return t.e("components/face-bio-assay/face-bio-assay").then(t.bind(null,367))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,n=e.$createElement;e._self._c},a=!1,c=[];r._withStripped=!0},226:function(e,n,t){"use strict";t.r(n);var o=t(227),r=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},227:function(e,n,t){"use strict";(function(e){var o=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t(56)),a=o(t(58)),c=function(){t.e("components/face-bio-assay/face-bio-assay").then(function(){return resolve(t(367))}.bind(null,t)).catch(t.oe)},s={components:{faceBioAssay:c},data:function(){return{paddTopHeight:"",props:{}}},onLoad:function(e){this.$refs.faceDetect.initData()},methods:{onNavBack:function(){console.log("点击了返回"),this.$u.route({type:"redirectTo",url:"/pages/index/index"})},detectFailed:function(n){n?e.showToast({title:"您未授权摄像头权限",icon:"none"}):e.showToast({title:"摄像头加载失败~,请重试~",icon:"none"})},photoChange:function(n){var t=this;return(0,a.default)(r.default.mark((function o(){var a,c;return r.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,t.$api.upload(t.$util.tempUrlToUpload(n,"".concat(t.$util.formateDate("yyyy-mm-dd-HH:MM:SS"),"_sign.png")));case 2:a=o.sent,c=a.data.fileUrl,console.log("imgUrl",c),t.$store.commit("setPhotoPath",c),t.$store.commit("saveAll"),a?e.redirectTo({url:"/pages/skin-assessment/photoProcess"}):e.showToast({title:"请您重新拍照",icon:"none"});case 8:case"end":return o.stop()}}),o)})))()}}};n.default=s}).call(this,t(2)["default"])},228:function(e,n,t){"use strict";t.r(n);var o=t(229),r=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=r.a},229:function(e,n,t){}},[[222,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/skin-assessment/photograph.js.map

+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/user/info.js
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


Yükleniyor…
İptal
Kaydet