This commit is contained in:
@zuopngfei 2025-07-24 18:30:36 +08:00
parent 0ee0842bc4
commit 385f075f70
2 changed files with 26 additions and 32 deletions

View File

@ -105,6 +105,9 @@ pages{
} }
} }
} }
}
.btn-box{ .btn-box{
padding: 28rpx; padding: 28rpx;
@ -114,5 +117,3 @@ pages{
right: 0; right: 0;
z-index: 100; z-index: 100;
} }
}

View File

@ -2,26 +2,19 @@
<scroll-view class="therapeuticRegimen" scroll-y> <scroll-view class="therapeuticRegimen" scroll-y>
<view class="scroll-view-box"> <view class="scroll-view-box">
<view class="therapeuticRegimen-item" wx:for="{{list}}" wx:key="index" data-index="{{index}}" bind:tap="toPathDetails"> <view class="therapeuticRegimen-item" wx:for="{{list}}" wx:key="index" data-index="{{index}}" bind:tap="toPathDetails">
<view class="time"> <view class="time">{{item.start_date}} 至 {{item.end_date}}</view>
{{item.start_date}} 至 {{item.end_date}}
</view>
<text class="tab-text {{item.status == '进行中' ? 'primary' : 'default'}}">{{item.status}}</text> <text class="tab-text {{item.status == '进行中' ? 'primary' : 'default'}}">{{item.status}}</text>
<view class="item-box" wx:for="{{item.detail}}" wx:for-item="detail" wx:key="index"> <view class="item-box" wx:for="{{item.detail}}" wx:for-item="detail" wx:key="index">
<!-- <view class="image-box"></view> --> <!-- <view class="image-box"></view> -->
<view class="details"> <view class="details">
<view class="name">{{detail.name}}</view> <view class="name">{{detail.name}}</view>
<view class="text">每日{{detail.frequency}}次,{{detail.time}}</view> <view class="text">每日{{detail.frequency}}次,{{detail.time}}</view>
</view> </view>
<view class="yw-jl">{{detail.dose}}</view> <view class="yw-jl">{{detail.dose}}</view>
</view> </view>
</view>
<view class="btn-box">
<t-button block theme="primary" bindtap="toPath">新增用药方案</t-button>
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<view class="btn-box">
<t-button block theme="primary" bindtap="toPath">新增用药方案</t-button>
</view>