feat: 电子药箱小程序 - 4Tab药品管理
- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}module.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===_typeof(e)&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}({5:function(e,t,n){Component({relations:{"./recycle-view":{type:"parent",linked:function(){}}},properties:{},data:{},methods:{heightChange:function(){}}})}});
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"component":true,"usingComponents":{}}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
<!--components/recycle-item/recycle-item.wxml-->
|
||||
<view class="wx-recycle-item">
|
||||
<slot></slot>
|
||||
</view>
|
||||
+1
@@ -0,0 +1 @@
|
||||
:host{display:inline-block}.wx-recycle-item{height:100%}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"component":true,"usingComponents":{}}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
<!--components/recycle-view/recycle-view.wxml-->
|
||||
<view bindtouchstart='_beginToScroll' style="height:{{useInPage ? totalHeight + (hasBeforeSlotHeight ? beforeSlotHeight : 0) + (hasAfterSlotHeight ? afterSlotHeight : 0) : height}}px;width:{{width}}px;transform:translateZ(0);-webkit-transform:translateZ(0);" id="content" class="wrap">
|
||||
<scroll-view bindscroll="_scrollViewDidScroll" class="content" style='height:100%;position: relative;' scroll-y="{{useInPage ? false : scrollY}}" scroll-x="{{false}}" upper-threshold="{{upperThreshold}}" lower-threshold="{{lowerThreshold}}" scroll-top="{{innerScrollTop}}" scroll-into-view="{{innerScrollIntoView}}" scroll-with-animation="{{scrollWithAnimation}}" bindscrolltoupper="_scrollToUpper" bindscrolltolower="_scrollToLower" scroll-anchoring enable-back-to-top="{{enableBackToTop}}" throttle="{{throttle}}">
|
||||
<view style="position: absolute;z-index:1;width:100%;left: 0;top: 0;opacity: 0;visibility: hidden;">
|
||||
<slot name="itemsize"></slot>
|
||||
</view>
|
||||
<view style="height:{{hasBeforeSlotHeight ? beforeSlotHeight + 'px' : 'auto'}}" class="slot-before">
|
||||
<slot name="before"></slot>
|
||||
</view>
|
||||
<view style='position:relative;width:100%;z-index:10;background: url("{{placeholderImageStr}}") repeat;height:{{totalHeight}}px;'>
|
||||
<!-- <view class='before' style="height:{{innerBeforeHeight}}px"></view> -->
|
||||
<view style="position: absolute;left:0;width:100%;top:{{innerBeforeHeight}}px;">
|
||||
<slot></slot>
|
||||
</view>
|
||||
<!-- <view class='after' style="height:{{innerAfterHeight}}px"></view> -->
|
||||
</view>
|
||||
<view style="height:{{hasAfterSlotHeight ? afterSlotHeight + 'px' : 'auto'}}" class="slot-after">
|
||||
<slot name="after"></slot>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
+1
@@ -0,0 +1 @@
|
||||
:host{display:block;width:100%}
|
||||
Reference in New Issue
Block a user