This commit is contained in:
haomingming
2023-04-04 09:04:29 +08:00
parent df9a526b7b
commit a1d691367e
32 changed files with 228 additions and 87 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ Page({
},
height: app.globalData.height,
stickyProps: {
offsetTop: app.globalData.height*2 + 20,
offsetTop: (app.globalData.height * 2),
zIndex: 99
},
list_1: [],
@@ -19,7 +19,7 @@ Page({
show: false,
add_message: "",
current_words_type: 1,
focus: true,
focus: false,
words_css: "border-radius: 20rpx;margin-bottom: 20rpx;",
from: ""
},
+2 -4
View File
@@ -3,16 +3,14 @@
<t-tabs
defaultValue="{{ current_words_type }}"
sticky
swipeable="{{false}}"
stickyProps="{{stickyProps}}"
t-class="custom-tabs"
bind:change="onTabChange"
theme="line"
custom-style="font-size: 32rpx"
>
<t-tab-panel label="问诊" value="1">
<view class="item_list">
<view class="item_list1">
<van-swipe-cell right-width="{{ 65 }}"
bind:close="wordsClose"
bind:open="wordsOpen"
@@ -30,7 +28,7 @@
</view>
</t-tab-panel>
<t-tab-panel label="处方" value="2">
<view class="item_list">
<view class="item_list2">
<van-swipe-cell right-width="{{ 65 }}"
bind:close="wordsClose"
bind:open="wordsOpen"
+10 -2
View File
@@ -4,7 +4,11 @@ page{
.container{
width: 100vw;
}
.item_list{
.item_list1{
width: 92vw;
margin: 40rpx auto 180rpx auto;
}
.item_list2{
width: 92vw;
margin: 40rpx auto;
}
@@ -25,8 +29,9 @@ page{
height: 130rpx;
background-color: #fff;
position: fixed;
bottom: 50rpx;
bottom: 0;
width: 100%;
padding-bottom: 30rpx;
}
.popup_box{
height: 500rpx;
@@ -69,4 +74,7 @@ page{
padding: 32rpx !important;
font-size: 34rpx !important;
color: #333 !important;
word-wrap: break-word;
word-break: normal;
word-break:break-all;
}