This commit is contained in:
码农搬砖工 2025-04-24 18:24:05 +08:00
parent 32409f1edf
commit 0984a8157a
5 changed files with 34 additions and 5 deletions

View File

@ -1,4 +1,16 @@
.ec-canvas {
width: 100%;
height: 100%;
display: block;
}
ec-canvas {
width: 100%;
height: 100%;
display: block;
}
canvas {
width: 100%;
height: 100%;
}

View File

@ -6,8 +6,9 @@
height: calc(100vh - @tab-bar-height);
.home-content {
height: calc(100% - @nav-bar-height);
// height: calc(100% - @nav-bar-height);
padding: 30rpx;
padding-bottom: 160rpx;
.item-content{
background-color: #fff;
border-radius: 12rpx;

View File

@ -12,8 +12,8 @@
</view>
</view>
<view class="echarts-canvas-container">
<ec-canvas wx:if="{{ activeIndex == 0 }}" class="echarts-canvas" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
<ec-canvas wx:else class="echarts-canvas" id="mychart-dom-bar" canvas-id="mychart-bar2" ec="{{ ec2 }}"></ec-canvas>
<ec-canvas wx:if="{{ activeIndex == 0 }}" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
<ec-canvas wx:else id="mychart-dom-bar" canvas-id="mychart-bar2" ec="{{ ec2 }}"></ec-canvas>
</view>
</view>
<view class="item-content">
@ -44,6 +44,20 @@
<t-button theme="primary" block>打卡</t-button>
</view>
</view>
<view class="item-content">
<view class="item-title">随访提醒
</view>
<view class="item-box">
<view class="drug-name">
术后一个月随访
</view>
<!-- 药品名字 -->
<view class="drug-name">
随访时间2025-05-25
</view>
</view>
</view>
</view>
</view>
<!-- <view class="home-release">

View File

@ -45,7 +45,8 @@
"less"
],
"condition": false,
"ignoreUploadUnusedFiles": true
"ignoreUploadUnusedFiles": true,
"swc": false
},
"compileType": "miniprogram",
"libVersion": "3.7.8",

View File

@ -66,7 +66,8 @@
},
"projectname": "patient-mini",
"setting": {
"compileHotReLoad": true
"compileHotReLoad": true,
"bigPackageSizeSupport": true
},
"libVersion": "3.7.12"
}