优化
This commit is contained in:
@@ -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: ""
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user