@@ -0,0 +1,6 @@ | |||
{ | |||
"usingComponents": { | |||
"u-picker": "/node-modules/uview-ui/components/u-picker/u-picker" | |||
}, | |||
"component": true | |||
} |
@@ -0,0 +1 @@ | |||
<u-picker vue-id="01eaed7b-1" show="{{show}}" closeOnClickOverlay="{{closeOnClickOverlay}}" columns="{{columns}}" title="{{title}}" itemHeight="{{itemHeight}}" showToolbar="{{showToolbar}}" visibleItemCount="{{visibleItemCount}}" defaultIndex="{{innerDefaultIndex}}" cancelText="{{cancelText}}" confirmText="{{confirmText}}" cancelColor="{{cancelColor}}" confirmColor="{{confirmColor}}" immediateChange="{{immediateChange}}" data-ref="picker" data-event-opts="{{[['^close',[['close']]],['^cancel',[['cancel']]],['^confirm',[['confirm']]],['^change',[['change']]]]}}" bind:close="__e" bind:cancel="__e" bind:confirm="__e" bind:change="__e" class="data-v-7d06fb79 vue-ref" bind:__l="__l"></u-picker> |
@@ -0,0 +1,41 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.safe-area-bottom.data-v-7d06fb79 { | |||
padding-bottom: env(safe-area-inset-bottom); | |||
} | |||
text.data-v-7d06fb79 { | |||
font-family: Source Han Sans CN; | |||
} | |||
view.data-v-7d06fb79, scroll-view.data-v-7d06fb79, swiper-item.data-v-7d06fb79 { | |||
display: flex; | |||
flex-direction: column; | |||
flex-shrink: 0; | |||
flex-grow: 0; | |||
flex-basis: auto; | |||
align-items: stretch; | |||
align-content: flex-start; | |||
} |
@@ -0,0 +1,11 @@ | |||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u-empty/u-empty"],{367:function(e,n,t){"use strict";t.r(n);var r=t(368),o=t(370);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t(373);var u,c=t(32),s=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"6938e513",null,!1,r["components"],u);s.options.__file="node_modules/uview-ui/components/u-empty/u-empty.vue",n["default"]=s.exports},368:function(e,n,t){"use strict";t.r(n);var r=t(369);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"]}))},369: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 i})),t.d(n,"components",(function(){return r}));try{r={uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,342))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement,t=(e._self._c,e.show?e.__get_style([e.emptyStyle]):null),r=e.show&&e.isSrc?e.$u.addUnit(e.width):null,o=e.show&&e.isSrc?e.$u.addUnit(e.height):null,i=e.show?e.__get_style([e.textStyle]):null;e.$mp.data=Object.assign({},{$root:{s0:t,g0:r,g1:o,s1:i}})},i=!1,u=[];o._withStripped=!0},370:function(e,n,t){"use strict";t.r(n);var r=t(371),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},371: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(372)),i={name:"u-empty",mixins:[e.$u.mpMixin,e.$u.mixin,o.default],data:function(){return{icons:{car:"购物车为空",page:"页面不存在",search:"没有搜索结果",address:"没有收货地址",wifi:"没有WiFi",order:"订单为空",coupon:"没有优惠券",favor:"暂无收藏",permission:"无权限",history:"无历史记录",news:"无新闻列表",message:"消息列表为空",list:"列表为空",data:"数据为空",comment:"暂无评论"}}},computed:{emptyStyle:function(){var n={};return n.marginTop=e.$u.addUnit(this.marginTop),e.$u.deepMerge(e.$u.addStyle(this.customStyle),n)},textStyle:function(){var n={};return n.color=this.textColor,n.fontSize=e.$u.addUnit(this.textSize),n},isSrc:function(){return this.icon.indexOf("/")>=0}}};n.default=i}).call(this,t(2)["default"])},373:function(e,n,t){"use strict";t.r(n);var r=t(374),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},374:function(e,n,t){}}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-empty/u-empty.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-empty/u-empty-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-empty/u-empty-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('2')['createComponent'](__webpack_require__(367)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-empty/u-empty-create-component']] | |||
]); |
@@ -0,0 +1,6 @@ | |||
{ | |||
"usingComponents": { | |||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon" | |||
}, | |||
"component": true | |||
} |
@@ -0,0 +1 @@ | |||
<block wx:if="{{show}}"><view class="u-empty data-v-6938e513" style="{{$root.s0}}"><block wx:if="{{!isSrc}}"><u-icon vue-id="55f7abbe-1" name="{{mode==='message'?'chat':'empty-'+mode}}" size="{{iconSize}}" color="{{iconColor}}" margin-top="14" class="data-v-6938e513" bind:__l="__l"></u-icon></block><block wx:else><image style="{{'width:'+($root.g0)+';'+('height:'+($root.g1)+';')}}" src="{{icon}}" mode="widthFix" class="data-v-6938e513"></image></block><text class="u-empty__text data-v-6938e513" style="{{$root.s1}}">{{text?text:icons[mode]}}</text><block wx:if="{{$slots.default||$slots.$default}}"><view class="u-empty__wrap data-v-6938e513"><slot></slot></view></block></view></block> |
@@ -0,0 +1,68 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.safe-area-bottom.data-v-6938e513 { | |||
padding-bottom: env(safe-area-inset-bottom); | |||
} | |||
text.data-v-6938e513 { | |||
font-family: Source Han Sans CN; | |||
} | |||
view.data-v-6938e513, scroll-view.data-v-6938e513, swiper-item.data-v-6938e513 { | |||
display: flex; | |||
flex-direction: column; | |||
flex-shrink: 0; | |||
flex-grow: 0; | |||
flex-basis: auto; | |||
align-items: stretch; | |||
align-content: flex-start; | |||
} | |||
.u-empty.data-v-6938e513 { | |||
display: flex; | |||
flex-direction: row; | |||
flex-direction: column; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.u-empty__text.data-v-6938e513 { | |||
display: flex; | |||
flex-direction: row; | |||
justify-content: center; | |||
align-items: center; | |||
margin-top: 20rpx; | |||
} | |||
.u-slot-wrap.data-v-6938e513 { | |||
display: flex; | |||
flex-direction: row; | |||
justify-content: center; | |||
align-items: center; | |||
margin-top: 20rpx; | |||
} |
@@ -0,0 +1,11 @@ | |||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u-line-progress/u-line-progress"],{351:function(e,n,t){"use strict";t.r(n);var r=t(352),i=t(354);for(var u in i)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(u);t(357);var s,o=t(32),c=Object(o["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,"02285945",null,!1,r["components"],s);c.options.__file="node_modules/uview-ui/components/u-line-progress/u-line-progress.vue",n["default"]=c.exports},352:function(e,n,t){"use strict";t.r(n);var r=t(353);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"]}))},353:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return i})),t.d(n,"staticRenderFns",(function(){return s})),t.d(n,"recyclableRender",(function(){return u})),t.d(n,"components",(function(){return r}));var i=function(){var e=this,n=e.$createElement,t=(e._self._c,e.__get_style([e.$u.addStyle(e.customStyle)])),r=e.$u.addUnit(e.height),i=e.__get_style([e.progressStyle]);e.$mp.data=Object.assign({},{$root:{s0:t,g0:r,s1:i}})},u=!1,s=[];i._withStripped=!0},354:function(e,n,t){"use strict";t.r(n);var r=t(355),i=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=i.a},355:function(e,n,t){"use strict";(function(e){var r=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(t(356)),u={name:"u-line-progress",mixins:[e.$u.mpMixin,e.$u.mixin,i.default],data:function(){return{lineWidth:0}},watch:{percentage:function(e){this.resizeProgressWidth()}},computed:{progressStyle:function(){var n={};return n.width=this.lineWidth,n.backgroundColor=this.activeColor,n.height=e.$u.addUnit(this.height),n},innserPercentage:function(){return e.$u.range(0,100,this.percentage)}},mounted:function(){this.init()},methods:{init:function(){var n=this;e.$u.sleep(20).then((function(){n.resizeProgressWidth()}))},getProgressWidth:function(){return this.$uGetRect(".u-line-progress__background")},resizeProgressWidth:function(){var e=this;this.getProgressWidth().then((function(n){var t=n.width;e.lineWidth=t*e.innserPercentage/100+"px"}))}}};n.default=u}).call(this,t(2)["default"])},357:function(e,n,t){"use strict";t.r(n);var r=t(358),i=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=i.a},358:function(e,n,t){}}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-line-progress/u-line-progress.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-line-progress/u-line-progress-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-line-progress/u-line-progress-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('2')['createComponent'](__webpack_require__(351)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-line-progress/u-line-progress-create-component']] | |||
]); |
@@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@@ -0,0 +1 @@ | |||
<view class="u-line-progress data-v-02285945" style="{{$root.s0}}"><view data-ref="u-line-progress__background" class="u-line-progress__background data-v-02285945 vue-ref" style="{{'background-color:'+(inactiveColor)+';'+('height:'+($root.g0)+';')}}"></view><view class="u-line-progress__line data-v-02285945" style="{{$root.s1}}"><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><block wx:if="{{showText&&percentage>=10}}"><text class="u-line-progress__text data-v-02285945">{{innserPercentage+'%'}}</text></block></block></view></view> |
@@ -0,0 +1,81 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.safe-area-bottom.data-v-02285945 { | |||
padding-bottom: env(safe-area-inset-bottom); | |||
} | |||
text.data-v-02285945 { | |||
font-family: Source Han Sans CN; | |||
} | |||
view.data-v-02285945, scroll-view.data-v-02285945, swiper-item.data-v-02285945 { | |||
display: flex; | |||
flex-direction: column; | |||
flex-shrink: 0; | |||
flex-grow: 0; | |||
flex-basis: auto; | |||
align-items: stretch; | |||
align-content: flex-start; | |||
} | |||
.u-line-progress.data-v-02285945 { | |||
align-items: stretch; | |||
position: relative; | |||
display: flex; | |||
flex-direction: row; | |||
flex: 1; | |||
overflow: hidden; | |||
border-radius: 100px; | |||
} | |||
.u-line-progress__background.data-v-02285945 { | |||
background-color: #ececec; | |||
border-radius: 100px; | |||
flex: 1; | |||
} | |||
.u-line-progress__line.data-v-02285945 { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
bottom: 0; | |||
align-items: center; | |||
display: flex; | |||
flex-direction: row; | |||
color: #ffffff; | |||
border-radius: 100px; | |||
transition: width 0.5s ease; | |||
justify-content: flex-end; | |||
} | |||
.u-line-progress__text.data-v-02285945 { | |||
font-size: 10px; | |||
align-items: center; | |||
text-align: right; | |||
color: #FFFFFF; | |||
margin-right: 5px; | |||
-webkit-transform: scale(0.9); | |||
transform: scale(0.9); | |||
} |
@@ -0,0 +1,11 @@ | |||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u-navbar/u-navbar"],{334:function(n,e,t){"use strict";t.r(e);var r=t(335),u=t(337);for(var o in u)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(340);var i,a=t(32),c=Object(a["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"75dad532",null,!1,r["components"],i);c.options.__file="node_modules/uview-ui/components/u-navbar/u-navbar.vue",e["default"]=c.exports},335:function(n,e,t){"use strict";t.r(e);var r=t(336);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},336:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));try{r={uStatusBar:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-status-bar/u-status-bar")]).then(t.bind(null,468))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,342))}}}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 u=function(){var n=this,e=n.$createElement,t=(n._self._c,n.fixed&&n.placeholder?n.$u.addUnit(n.$u.getPx(n.height)+n.$u.sys().statusBarHeight,"px"):null),r=n.$u.addUnit(n.height),u=n.__get_style([{width:n.$u.addUnit(n.titleWidth)},n.$u.addStyle(n.titleStyle)]);n.$mp.data=Object.assign({},{$root:{g0:t,g1:r,s0:u}})},o=!1,i=[];u._withStripped=!0},337:function(n,e,t){"use strict";t.r(e);var r=t(338),u=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},338:function(n,e,t){"use strict";(function(n){var r=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(t(339)),o={name:"u-navbar",mixins:[n.$u.mpMixin,n.$u.mixin,u.default],data:function(){return{}},methods:{leftClick:function(){this.$emit("leftClick"),this.autoBack&&n.navigateBack()},rightClick:function(){this.$emit("rightClick")}}};e.default=o}).call(this,t(2)["default"])},340:function(n,e,t){"use strict";t.r(e);var r=t(341),u=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},341:function(n,e,t){}}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-navbar/u-navbar.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-navbar/u-navbar-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-navbar/u-navbar-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('2')['createComponent'](__webpack_require__(334)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-navbar/u-navbar-create-component']] | |||
]); |
@@ -0,0 +1,7 @@ | |||
{ | |||
"usingComponents": { | |||
"u-status-bar": "/node-modules/uview-ui/components/u-status-bar/u-status-bar", | |||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon" | |||
}, | |||
"component": true | |||
} |
@@ -0,0 +1 @@ | |||
<view class="u-navbar data-v-75dad532"><block wx:if="{{fixed&&placeholder}}"><view class="u-navbar__placeholder data-v-75dad532" style="{{'height:'+($root.g0)+';'}}"></view></block><view class="{{['data-v-75dad532',fixed&&'u-navbar--fixed']}}"><block wx:if="{{safeAreaInsetTop}}"><u-status-bar vue-id="a7d66e66-1" bgColor="{{bgColor}}" class="data-v-75dad532" bind:__l="__l"></u-status-bar></block><view class="{{['u-navbar__content','data-v-75dad532',border&&'u-border-bottom']}}" style="{{'height:'+($root.g1)+';'+('background-color:'+(bgColor)+';')}}"><view class="u-navbar__content__left data-v-75dad532" hover-class="u-navbar__content__left--hover" hover-start-time="150" data-event-opts="{{[['tap',[['leftClick',['$event']]]]]}}" bindtap="__e"><block wx:if="{{$slots.left}}"><slot name="left"></slot></block><block wx:else><block wx:if="{{leftIcon}}"><u-icon vue-id="a7d66e66-2" name="{{leftIcon}}" size="{{leftIconSize}}" color="{{leftIconColor}}" class="data-v-75dad532" bind:__l="__l"></u-icon></block><block wx:if="{{leftText}}"><text class="u-navbar__content__left__text data-v-75dad532" style="{{'color:'+(leftIconColor)+';'}}">{{leftText}}</text></block></block></view><block wx:if="{{$slots.center}}"><slot name="center"></slot></block><block wx:else><text class="u-line-1 u-navbar__content__title data-v-75dad532" style="{{$root.s0}}">{{title}}</text></block><block wx:if="{{$slots.right||rightIcon||rightText}}"><view data-event-opts="{{[['tap',[['rightClick',['$event']]]]]}}" class="u-navbar__content__right data-v-75dad532" bindtap="__e"><block wx:if="{{$slots.right}}"><slot name="right"></slot></block><block wx:else><block wx:if="{{rightIcon}}"><u-icon vue-id="a7d66e66-3" name="{{rightIcon}}" size="20" class="data-v-75dad532" bind:__l="__l"></u-icon></block><block wx:if="{{rightText}}"><text class="u-navbar__content__right__text data-v-75dad532">{{rightText}}</text></block></block></view></block></view></view></view> |
@@ -0,0 +1,92 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.safe-area-bottom.data-v-75dad532 { | |||
padding-bottom: env(safe-area-inset-bottom); | |||
} | |||
text.data-v-75dad532 { | |||
font-family: Source Han Sans CN; | |||
} | |||
view.data-v-75dad532, scroll-view.data-v-75dad532, swiper-item.data-v-75dad532 { | |||
display: flex; | |||
flex-direction: column; | |||
flex-shrink: 0; | |||
flex-grow: 0; | |||
flex-basis: auto; | |||
align-items: stretch; | |||
align-content: flex-start; | |||
} | |||
.u-navbar--fixed.data-v-75dad532 { | |||
position: fixed; | |||
left: 0; | |||
right: 0; | |||
top: 0; | |||
z-index: 11; | |||
} | |||
.u-navbar__content.data-v-75dad532 { | |||
display: flex; | |||
flex-direction: row; | |||
align-items: center; | |||
height: 44px; | |||
background-color: #9acafc; | |||
position: relative; | |||
justify-content: center; | |||
} | |||
.u-navbar__content__left.data-v-75dad532, .u-navbar__content__right.data-v-75dad532 { | |||
padding: 0 13px; | |||
position: absolute; | |||
top: 0; | |||
bottom: 0; | |||
display: flex; | |||
flex-direction: row; | |||
align-items: center; | |||
} | |||
.u-navbar__content__left.data-v-75dad532 { | |||
left: 0; | |||
} | |||
.u-navbar__content__left--hover.data-v-75dad532 { | |||
opacity: 0.7; | |||
} | |||
.u-navbar__content__left__text.data-v-75dad532 { | |||
font-size: 15px; | |||
margin-left: 3px; | |||
} | |||
.u-navbar__content__title.data-v-75dad532 { | |||
text-align: center; | |||
font-size: 16px; | |||
color: #303133; | |||
} | |||
.u-navbar__content__right.data-v-75dad532 { | |||
right: 0; | |||
} | |||
.u-navbar__content__right__text.data-v-75dad532 { | |||
font-size: 15px; | |||
margin-left: 3px; | |||
} |
@@ -0,0 +1,8 @@ | |||
{ | |||
"usingComponents": { | |||
"u-popup": "/node-modules/uview-ui/components/u-popup/u-popup", | |||
"u-toolbar": "/node-modules/uview-ui/components/u-toolbar/u-toolbar", | |||
"u-loading-icon": "/node-modules/uview-ui/components/u-loading-icon/u-loading-icon" | |||
}, | |||
"component": true | |||
} |
@@ -0,0 +1 @@ | |||
<u-popup vue-id="18c799e6-1" show="{{show}}" data-event-opts="{{[['^close',[['closeHandler']]]]}}" bind:close="__e" class="data-v-d45639b2" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-picker data-v-d45639b2"><block wx:if="{{showToolbar}}"><u-toolbar vue-id="{{('18c799e6-2')+','+('18c799e6-1')}}" cancelColor="{{cancelColor}}" confirmColor="{{confirmColor}}" cancelText="{{cancelText}}" confirmText="{{confirmText}}" title="{{title}}" data-event-opts="{{[['^cancel',[['cancel']]],['^confirm',[['confirm']]]]}}" bind:cancel="__e" bind:confirm="__e" class="data-v-d45639b2" bind:__l="__l"></u-toolbar></block><picker-view class="u-picker__view data-v-d45639b2" style="{{'height:'+(''+$root.g0)+';'}}" indicatorStyle="{{'height: '+$root.g1}}" value="{{innerIndex}}" immediateChange="{{immediateChange}}" data-event-opts="{{[['change',[['changeHandler',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><picker-view-column class="u-picker__view__column data-v-d45639b2"><block wx:for="{{item.l0}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><block wx:if="{{item.g2}}"><text class="u-picker__view__column__item u-line-1 data-v-d45639b2" style="{{'height:'+(item.g3)+';'+('line-height:'+(item.g4)+';')+('font-weight:'+(index1===innerIndex[index]?'bold':'normal')+';')+('display:'+('block')+';')}}">{{item1.m0}}</text></block></block></picker-view-column></block></picker-view><block wx:if="{{loading}}"><view class="u-picker--loading data-v-d45639b2"><u-loading-icon vue-id="{{('18c799e6-3')+','+('18c799e6-1')}}" mode="circle" class="data-v-d45639b2" bind:__l="__l"></u-loading-icon></view></block></view></u-popup> |
@@ -0,0 +1,83 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.safe-area-bottom.data-v-d45639b2 { | |||
padding-bottom: env(safe-area-inset-bottom); | |||
} | |||
text.data-v-d45639b2 { | |||
font-family: Source Han Sans CN; | |||
} | |||
view.data-v-d45639b2, scroll-view.data-v-d45639b2, swiper-item.data-v-d45639b2 { | |||
display: flex; | |||
flex-direction: column; | |||
flex-shrink: 0; | |||
flex-grow: 0; | |||
flex-basis: auto; | |||
align-items: stretch; | |||
align-content: flex-start; | |||
} | |||
.u-picker.data-v-d45639b2 { | |||
position: relative; | |||
} | |||
.u-picker__view__column.data-v-d45639b2 { | |||
display: flex; | |||
flex-direction: row; | |||
flex: 1; | |||
justify-content: center; | |||
} | |||
.u-picker__view__column__item.data-v-d45639b2 { | |||
display: flex; | |||
flex-direction: row; | |||
justify-content: center; | |||
align-items: center; | |||
font-size: 16px; | |||
text-align: center; | |||
display: block; | |||
color: #303133; | |||
} | |||
.u-picker__view__column__item--disabled.data-v-d45639b2 { | |||
cursor: not-allowed; | |||
opacity: 0.35; | |||
} | |||
.u-picker--loading.data-v-d45639b2 { | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
left: 0; | |||
bottom: 0; | |||
display: flex; | |||
flex-direction: row; | |||
justify-content: center; | |||
align-items: center; | |||
background-color: rgba(255, 255, 255, 0.87); | |||
z-index: 1000; | |||
} |
@@ -0,0 +1,11 @@ | |||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u-toolbar/u-toolbar"],{534:function(n,e,t){"use strict";t.r(e);var r=t(535),u=t(537);for(var o in u)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(o);t(540);var i,c=t(32),f=Object(c["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"6d25fc6f",null,!1,r["components"],i);f.options.__file="node_modules/uview-ui/components/u-toolbar/u-toolbar.vue",e["default"]=f.exports},535:function(n,e,t){"use strict";t.r(e);var r=t(536);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},536:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},o=!1,i=[];u._withStripped=!0},537:function(n,e,t){"use strict";t.r(e);var r=t(538),u=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},538:function(n,e,t){"use strict";(function(n){var r=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(t(539)),o={name:"u-toolbar",mixins:[n.$u.mpMixin,n.$u.mixin,u.default],methods:{cancel:function(){this.$emit("cancel")},confirm:function(){this.$emit("confirm")}}};e.default=o}).call(this,t(2)["default"])},540:function(n,e,t){"use strict";t.r(e);var r=t(541),u=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=u.a},541:function(n,e,t){}}]); | |||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-toolbar/u-toolbar.js.map | |||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |||
'node-modules/uview-ui/components/u-toolbar/u-toolbar-create-component', | |||
{ | |||
'node-modules/uview-ui/components/u-toolbar/u-toolbar-create-component':(function(module, exports, __webpack_require__){ | |||
__webpack_require__('2')['createComponent'](__webpack_require__(534)) | |||
}) | |||
}, | |||
[['node-modules/uview-ui/components/u-toolbar/u-toolbar-create-component']] | |||
]); |
@@ -0,0 +1,4 @@ | |||
{ | |||
"usingComponents": {}, | |||
"component": true | |||
} |
@@ -0,0 +1 @@ | |||
<block wx:if="{{show}}"><view data-event-opts="{{[['touchmove',[['noop',['$event']]]]]}}" class="u-toolbar data-v-6d25fc6f" catchtouchmove="__e"><view class="u-toolbar__cancel__wrapper data-v-6d25fc6f" hover-class="u-hover-class"><text data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="u-toolbar__wrapper__cancel data-v-6d25fc6f" style="{{'color:'+(cancelColor)+';'}}" bindtap="__e">{{cancelText}}</text></view><block wx:if="{{title}}"><text class="u-toolbar__title u-line-1 data-v-6d25fc6f">{{title}}</text></block><view class="u-toolbar__confirm__wrapper data-v-6d25fc6f" hover-class="u-hover-class"><text data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="u-toolbar__wrapper__confirm data-v-6d25fc6f" style="{{'color:'+(confirmColor)+';'}}" bindtap="__e">{{confirmText}}</text></view></view></block> |
@@ -0,0 +1,67 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.safe-area-bottom.data-v-6d25fc6f { | |||
padding-bottom: env(safe-area-inset-bottom); | |||
} | |||
text.data-v-6d25fc6f { | |||
font-family: Source Han Sans CN; | |||
} | |||
view.data-v-6d25fc6f, scroll-view.data-v-6d25fc6f, swiper-item.data-v-6d25fc6f { | |||
display: flex; | |||
flex-direction: column; | |||
flex-shrink: 0; | |||
flex-grow: 0; | |||
flex-basis: auto; | |||
align-items: stretch; | |||
align-content: flex-start; | |||
} | |||
.u-toolbar.data-v-6d25fc6f { | |||
height: 42px; | |||
display: flex; | |||
flex-direction: row; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | |||
.u-toolbar__wrapper__cancel.data-v-6d25fc6f { | |||
color: #909193; | |||
font-size: 15px; | |||
padding: 0 15px; | |||
} | |||
.u-toolbar__title.data-v-6d25fc6f { | |||
color: #303133; | |||
padding: 0 60rpx; | |||
font-size: 16px; | |||
flex: 1; | |||
text-align: center; | |||
} | |||
.u-toolbar__wrapper__confirm.data-v-6d25fc6f { | |||
color: #3c9cff; | |||
font-size: 15px; | |||
padding: 0 15px; | |||
} |
@@ -0,0 +1,2 @@ | |||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/details/records"],{211:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var u=o(t(212));e.__webpack_require_UNI_MP_PLUGIN__=t,n(u.default)}).call(this,t(1)["default"],t(2)["createPage"])},212:function(e,n,t){"use strict";t.r(n);var o=t(213),u=t(215);for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);t(218);var i,a=t(32),c=Object(a["default"])(u["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],i);c.options.__file="pages/details/records.vue",n["default"]=c.exports},213:function(e,n,t){"use strict";t.r(n);var o=t(214);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"]}))},214:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return u})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return o}));try{o={uAvatar:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-avatar/u-avatar")]).then(t.bind(null,359))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,342))},uButton:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-button/u-button")]).then(t.bind(null,261))},"u-Image":function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u--image/u--image")]).then(t.bind(null,328))},uEmpty:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-empty/u-empty")]).then(t.bind(null,367))}}}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 u=function(){var e=this,n=e.$createElement,t=(e._self._c,e.userInfo?e.calculateAge(e.userInfo.date)||"--":null),o=e.evaluations.length;e.$mp.data=Object.assign({},{$root:{m0:t,g0:o}})},r=!1,i=[];u._withStripped=!0},215:function(e,n,t){"use strict";t.r(n);var o=t(216),u=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},216:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{imgList:[{src:""},{src:""}],evaluations:[]}},computed:{themeColor:function(){return this.$themeColor},avatarSrc:function(){return this.$store.state.user.userInfo.avatarSrc||t(217)},userInfo:function(){return this.$store.state.user.userInfo},now:function(){return this.$util.formateDate("yyy-mm-dd",new Date)}},onLoad:function(){this.initDat()},methods:{initDat:function(){var n=this;e.showLoading({title:"数据加载中",mask:!0}),setTimeout((function(){e.showToast({title:"加载成功",icon:"success"}),n.evaluations=n.$store.state.user.resultList||[]}),1500)},calculateAge:function(e){return this.$util.calculateAge(e)},onAddUser:function(){e.reLaunch({url:"/pages/user/info"})},onResult:function(n){e.reLaunch({url:"/pages/details/result"})},onUpdateInfo:function(){e.reLaunch({url:"/pages/user/info?action=update"})}}};n.default=o}).call(this,t(2)["default"])},218:function(e,n,t){"use strict";t.r(n);var o=t(219),u=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},219:function(e,n,t){}},[[211,"common/runtime","common/vendor"]]]); | |||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/details/records.js.map |
@@ -0,0 +1,10 @@ | |||
{ | |||
"navigationBarTitleText": "历史报告", | |||
"usingComponents": { | |||
"u-avatar": "/node-modules/uview-ui/components/u-avatar/u-avatar", | |||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon", | |||
"u-button": "/node-modules/uview-ui/components/u-button/u-button", | |||
"u--image": "/node-modules/uview-ui/components/u--image/u--image", | |||
"u-empty": "/node-modules/uview-ui/components/u-empty/u-empty" | |||
} | |||
} |
@@ -0,0 +1 @@ | |||
<view class="records"><view class="main"><view class="steps"><view class="step-content"><block wx:if="{{userInfo}}"><view class="step-banner"><view class="right"><u-avatar vue-id="630f3e0c-1" src="{{avatarSrc}}" size="60" data-event-opts="{{[['^click',[['onUpdateInfo']]]]}}" bind:click="__e" bind:__l="__l"></u-avatar></view><view class="left"><view class="date">{{''+(now||'--')+''}}</view><view class="info"><view class="tag">{{$root.m0+"岁"}}</view><view class="tag">{{userInfo.gender||'--'}}</view></view></view></view></block><block wx:else><view class="add-user"><u-icon vue-id="630f3e0c-2" name="plus-people-fill" color="{{themeColor}}" size="40" bind:__l="__l"></u-icon><view class="btn-box"><u-button vue-id="630f3e0c-3" shape="circle" color="#000" type="info" size="large" data-event-opts="{{[['^click',[['onAddUser']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><text style="{{'color:'+(themeColor)+';'+('font-size:'+('32rpx')+';')+('font-weight:'+('bold')+';')}}">添加用户</text></u-button></view></view></block></view></view><view class="skin-evaluation-container"><block wx:if="{{$root.g0>0}}"><view class="list"><block wx:for="{{evaluations}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onResult',['$0'],[[['evaluations','',index]]]]]]]}}" class="evaluation-item" bindtap="__e"><view class="date-time"><view class="left"><text>{{item.date}}</text><text>{{item.time}}</text><text>{{item.day}}</text></view><view class="right"><text>{{item.year}}</text></view></view><view class="image-text"><u--image vue-id="{{'630f3e0c-4-'+index}}" src="{{item.imageSrc}}" mode="widthFix" customStyle="{{({marginLeft:'20rpx',marginRight:'20rpx'})}}" shape="circle" width="50px" height="50px" data-event-opts="{{[['^click',[['onPre']]]]}}" bind:click="__e" bind:__l="__l"></u--image><view class="right"><text class="evaluation-text gray">测肤评价</text><text class="evaluation-text">{{item.evaluation}}</text></view></view></view></block></view></block><block wx:else><view class="no-data"><u-empty vue-id="630f3e0c-5" mode="history" height="220" width="220" icon="https://telpo-healthy.oss-cn-hangzhou.aliyuncs.com/healthy/diary/202503/ca3b689e7f074ff8bc61a0764710b393.png" bind:__l="__l"></u-empty></view></block></view></view></view> |
@@ -0,0 +1,155 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.safe-area-bottom { | |||
padding-bottom: env(safe-area-inset-bottom); | |||
} | |||
text { | |||
font-family: Source Han Sans CN; | |||
} | |||
.records { | |||
height: 100vh; | |||
width: 100vw; | |||
overflow: hidden; | |||
} | |||
.records .main { | |||
position: relative; | |||
background: #fff; | |||
} | |||
.records .main .steps { | |||
padding: 24rpx 32rpx; | |||
background: #EBA72A; | |||
} | |||
.records .main .steps .step-content { | |||
background: #fff; | |||
border-radius: 20rpx; | |||
padding: 30rpx; | |||
} | |||
.records .main .steps .step-content .step-banner { | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.records .main .steps .step-content .step-banner .left { | |||
margin-left: 40rpx; | |||
} | |||
.records .main .steps .step-content .step-banner .left .date { | |||
color: #282828; | |||
font-weight: bold; | |||
font-size: 24rpx; | |||
} | |||
.records .main .steps .step-content .step-banner .left .info { | |||
margin-top: 20rpx; | |||
display: flex; | |||
justify-content: space-around; | |||
align-items: center; | |||
} | |||
.records .main .steps .step-content .step-banner .left .info .tag { | |||
width: 100rpx; | |||
height: 20rpx; | |||
padding: 10rpx 0; | |||
margin-right: 20rpx; | |||
border-radius: 20rpx; | |||
background-color: #EBA72A; | |||
color: #fff; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
font-size: 28rpx; | |||
} | |||
.records .main .steps .step-content .step-banner .right { | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.records .main .steps .step-content .step-banner .right text { | |||
margin-left: 10rpx; | |||
color: #EBA72A; | |||
} | |||
.records .main .steps .step-content .add-user { | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.records .main .steps .step-content .add-user .btn-box { | |||
margin-left: 20rpx; | |||
width: 220rpx; | |||
} | |||
.records .main .skin-evaluation-container { | |||
overflow: scroll; | |||
padding: 20rpx; | |||
max-height: calc(100vh - 120px); | |||
} | |||
.records .main .evaluation-item { | |||
padding: 20rpx; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: flex-start; | |||
} | |||
.records .main .evaluation-item .date-time { | |||
width: 100%; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | |||
.records .main .evaluation-item .date-time .left text, | |||
.records .main .evaluation-item .date-time .right text { | |||
padding-left: 10rpx; | |||
font-weight: bold; | |||
font-size: 24rpx; | |||
} | |||
.records .main .evaluation-item .image-text { | |||
width: 100%; | |||
margin: 20rpx 0; | |||
padding: 40rpx 0; | |||
padding-right: 20rpx; | |||
display: flex; | |||
align-items: center; | |||
border: 2rpx solid #EBA72A; | |||
border-radius: 30rpx; | |||
} | |||
.records .main .evaluation-item .image-text .skin-image { | |||
width: 60px; | |||
height: 60px; | |||
border-radius: 50%; | |||
margin-right: 10px; | |||
} | |||
.records .main .evaluation-item .image-text .right { | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: flex-start; | |||
flex-direction: column; | |||
} | |||
.records .main .evaluation-item .image-text .right .evaluation-text { | |||
font-size: 16px; | |||
color: #333; | |||
padding: 10rpx 0; | |||
font-weight: bold; | |||
} | |||
.records .main .evaluation-item .image-text .right .evaluation-text.gray { | |||
font-weight: 400; | |||
color: #999; | |||
} |
@@ -0,0 +1,2 @@ | |||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/details/result"],{200:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(201));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},201:function(e,n,t){"use strict";t.r(n);var r=t(202),o=t(204);for(var u in o)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(u);t(209);var i,c=t(32),a=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],i);a.options.__file="pages/details/result.vue",n["default"]=a.exports},202:function(e,n,t){"use strict";t.r(n);var r=t(203);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"]}))},203: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 u})),t.d(n,"components",(function(){return r}));try{r={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,334))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,342))},"u-Image":function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u--image/u--image")]).then(t.bind(null,328))},uLineProgress:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-line-progress/u-line-progress")]).then(t.bind(null,351))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement,t=(e._self._c,e.calculateAge(e.userInfo.date)||"--"),r={},o={},u={};e.$mp.data=Object.assign({},{$root:{m0:t,a0:r,a1:o,a2:u}})},u=!1,i=[];o._withStripped=!0},204:function(e,n,t){"use strict";t.r(n);var r=t(205),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=o.a},205:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={data:function(){return{imgList:[{src:""}],sectionSrc1:t(206),sectionSrc2:t(207),sectionSrc3:t(208)}},computed:{themeColor:function(){return this.$themeColor},themeDeepColor:function(){return this.$themeDeepColor},userInfo:function(){return this.$store.state.user.userInfo},now:function(){return this.$util.formateDate("yyy-mm-dd",new Date)},resultPath:function(){return this.$store.state.user.photoPath},paddTopHeight:function(){return this.$util.getPaddTopheight()}},onLoad:function(){},methods:{onNavBack:function(){e.switchTab({url:"/pages/details/records"})},calculateAge:function(e){return this.$util.calculateAge(e)},onPre:function(n){n&&e.previewImage({urls:[n]})}}};n.default=r}).call(this,t(2)["default"])},209:function(e,n,t){"use strict";t.r(n);var r=t(210),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=o.a},210:function(e,n,t){}},[[200,"common/runtime","common/vendor"]]]); | |||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/details/result.js.map |
@@ -0,0 +1,10 @@ | |||
{ | |||
"navigationBarTitleText": "测评结果", | |||
"navigationStyle": "custom", | |||
"usingComponents": { | |||
"u-navbar": "/node-modules/uview-ui/components/u-navbar/u-navbar", | |||
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon", | |||
"u--image": "/node-modules/uview-ui/components/u--image/u--image", | |||
"u-line-progress": "/node-modules/uview-ui/components/u-line-progress/u-line-progress" | |||
} | |||
} |
@@ -0,0 +1 @@ | |||
<view class="result"><u-navbar class="nav-bar" vue-id="399d5523-1" is-back="true" border-bottom="{{false}}" title-color="#333" title="测评结果" data-event-opts="{{[['^leftClick',[['onNavBack']]]]}}" bind:leftClick="__e" bind:__l="__l"></u-navbar><view class="main" style="{{'top:'+(paddTopHeight+'px')+';'}}"><view class="steps"><view class="step-content"><view class="step-banner"><view class="left"><view class="date">{{''+now+''}}</view><view class="info"><view class="tag">{{$root.m0+"岁"}}</view><view class="tag">{{userInfo.gender||'--'}}</view></view></view><view class="right"><u-icon vue-id="399d5523-2" name="eye-fill" color="{{themeDeepColor}}" size="28" bind:__l="__l"></u-icon><text>问题回顾</text></view></view></view></view><view class="report-container"><view class="report-title"><view class="bar"></view><text>伤口测评报告</text></view><view class="img-box"><view class="left"><u--image vue-id="399d5523-3" src="{{resultPath}}" mode="widthFix" customStyle="{{({marginRight:'20rpx'})}}" shape="circle" width="50px" height="50px" data-event-opts="{{[['^click',[['onPre',['$0'],['resultPath']]]]]}}" bind:click="__e" bind:__l="__l"></u--image></view><view class="right"><view class="bar-text _p">匹配度:中</view><view class="bar"><u-line-progress vue-id="399d5523-4" percentage="{{70}}" showText="{{false}}" activeColor="{{themeDeepColor}}" inactiveColor="#333" height="12" bind:__l="__l"></u-line-progress></view></view></view><view class="section"><view class="section-title"><u--image vue-id="399d5523-5" src="{{sectionSrc1}}" mode="widthFix" customStyle="{{$root.a0}}" width="20px" height="20px" bind:__l="__l"></u--image><text class="evaluate-title">综合评价</text></view><view class="section-main"><view class="evaluation-item"><text class="item-label">伤口面积:</text><text class="item-value">约6平方厘米。长约4厘米,宽约1.5厘米 0.3毫米 无增生 对比较浅</text></view><view class="evaluation-item"><text class="item-label">伤口深度:</text><text class="item-value">0.3毫米</text></view><view class="evaluation-item"><text class="item-label">肉芽增生:</text><text class="item-value">无增生</text></view><view class="evaluation-item"><text class="item-label">皮肤颜色:</text><text class="item-value">对比较浅</text></view></view></view><view class="section"><view class="section-title"><u--image vue-id="399d5523-6" src="{{sectionSrc2}}" mode="widthFix" customStyle="{{$root.a1}}" width="20px" height="20px" bind:__l="__l"></u--image><text class="evaluate-title">上次评测对比</text></view><view class="section-main"><view class="comparison-item"><text>本次评分伤口收复87分,颜色淡化程度98分</text></view><view class="comparison-item"><text>上次评分伤口收复85分,颜色淡化程度95分</text></view></view></view><view class="section"><view class="section-title"><u--image vue-id="399d5523-7" src="{{sectionSrc3}}" mode="widthFix" customStyle="{{$root.a2}}" width="20px" height="20px" bind:__l="__l"></u--image><text class="evaluate-title">治疗建议</text></view><view class="section-main"><view class="advice-item"><text>请坚持每天使用康巴易产品1~2次</text></view></view></view></view></view></view> |
@@ -0,0 +1,186 @@ | |||
@charset "UTF-8"; | |||
/** | |||
* 这里是uni-app内置的常用样式变量 | |||
* | |||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | |||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | |||
* | |||
*/ | |||
/** | |||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | |||
* | |||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | |||
*/ | |||
/* 颜色变量 */ | |||
/* 行为相关颜色 */ | |||
/* 文字基本颜色 */ | |||
/* 背景颜色 */ | |||
/* 边框颜色 */ | |||
/* 尺寸变量 */ | |||
/* 文字尺寸 */ | |||
/* 图片尺寸 */ | |||
/* Border Radius */ | |||
/* 水平间距 */ | |||
/* 垂直间距 */ | |||
/* 透明度 */ | |||
/* 文章场景相关 */ | |||
.safe-area-bottom { | |||
padding-bottom: env(safe-area-inset-bottom); | |||
} | |||
text { | |||
font-family: Source Han Sans CN; | |||
} | |||
.result .main { | |||
position: relative; | |||
background: #fff; | |||
overflow: hidden; | |||
} | |||
.result .main .steps { | |||
padding: 24rpx 32rpx; | |||
background-color: #F3D4A3; | |||
} | |||
.result .main .steps .step-content { | |||
background: #fff; | |||
border-radius: 20rpx; | |||
padding: 30rpx; | |||
} | |||
.result .main .steps .step-content .step-banner { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | |||
.result .main .steps .step-content .step-banner .left .info { | |||
margin-top: 20rpx; | |||
display: flex; | |||
justify-content: space-around; | |||
align-items: center; | |||
} | |||
.result .main .steps .step-content .step-banner .left .info .tag { | |||
width: 100rpx; | |||
height: 20rpx; | |||
padding: 10rpx 0; | |||
margin-right: 20rpx; | |||
border-radius: 20rpx; | |||
background-color: #E19F4B; | |||
color: #fff; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
font-size: 28rpx; | |||
} | |||
.result .main .steps .step-content .step-banner .right { | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.result .main .steps .step-content .step-banner .right text { | |||
margin-left: 10rpx; | |||
color: #E19F4B; | |||
font-weight: bold; | |||
} | |||
.result .main .report-container { | |||
padding: 40rpx; | |||
background-color: #fff; | |||
font-family: "PingFang SC", sans-serif; | |||
/* 标题样式 */ | |||
/* 分区标题样式 */ | |||
/* 分割线样式 */ | |||
/* 对比项样式 */ | |||
/* 治疗建议样式 */ | |||
} | |||
.result .main .report-container .report-title { | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.result .main .report-container .report-title .bar { | |||
height: 40rpx; | |||
width: 10rpx; | |||
background-color: #EBA72A; | |||
} | |||
.result .main .report-container .report-title text { | |||
font-size: 36rpx; | |||
font-weight: bold; | |||
color: #333; | |||
margin-left: 20rpx; | |||
} | |||
.result .main .report-container .img-box { | |||
margin: 20rpx 0; | |||
padding: 20rpx 0; | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.result .main .report-container .img-box .left { | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.result .main .report-container .img-box .right { | |||
padding: 10rpx; | |||
width: 100%; | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: flex-start; | |||
flex-direction: column; | |||
} | |||
.result .main .report-container .img-box .right .bar-text { | |||
width: 100%; | |||
margin-bottom: 20rpx; | |||
} | |||
.result .main .report-container .img-box .right .bar { | |||
width: 100%; | |||
} | |||
.result .main .report-container .section-title { | |||
margin-top: 40rpx; | |||
padding: 20rpx 0; | |||
display: flex; | |||
justify-content: flex-start; | |||
align-items: center; | |||
} | |||
.result .main .report-container .section-title .evaluate-title { | |||
font-size: 36rpx; | |||
font-weight: bold; | |||
color: #333; | |||
margin-left: 20rpx; | |||
} | |||
.result .main .report-container .section-main { | |||
padding: 20rpx; | |||
border-radius: 20rpx; | |||
border: 2rpx solid #EBA72A; | |||
/* 评价项样式 */ | |||
} | |||
.result .main .report-container .section-main .evaluation-item { | |||
margin-bottom: 20rpx; | |||
padding: 10rpx; | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
.result .main .report-container .section-main .evaluation-item .item-label { | |||
font-size: 30rpx; | |||
color: #EBA72A; | |||
min-width: 160rpx; | |||
} | |||
.result .main .report-container .section-main .evaluation-item .item-value { | |||
font-size: 30rpx; | |||
color: #333; | |||
padding-top: 20rpx; | |||
} | |||
.result .main .report-container .divider { | |||
height: 2rpx; | |||
background-color: #eee; | |||
margin: 80rpx 0; | |||
} | |||
.result .main .report-container .comparison-item { | |||
margin-bottom: 16rpx; | |||
color: #333; | |||
} | |||
.result .main .report-container .comparison-item text { | |||
font-size: 30rpx; | |||
} | |||
.result .main .report-container .advice-item { | |||
color: #333; | |||
} | |||
.result .main .report-container .advice-item text { | |||
font-size: 30rpx; | |||
} |