优化
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
||||
<view class="container">
|
||||
<view class="img_box">
|
||||
<view class="img_box" wx:if="{{false}}">
|
||||
<view class="img_content">
|
||||
<image class="case_img"
|
||||
src="{{prescription_img}}"
|
||||
@@ -12,6 +12,10 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="imgbox">
|
||||
<image src="{{prescription_img}}" mode="widthFix" class="prescription"></image>
|
||||
<image src="{{doctor_sign_image}}" mode="widthFix" class="doctorSign"></image>
|
||||
</view>
|
||||
<view class="button_group">
|
||||
<view class="button_item">
|
||||
<van-button round plain type="danger" bind:click="showPopup">
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
page{
|
||||
|
||||
background-color: #F3F5F7;
|
||||
}
|
||||
|
||||
@@ -12,7 +11,7 @@ page{
|
||||
width: 100%;
|
||||
}
|
||||
.img_content{
|
||||
background-color: #F1F1F3;
|
||||
background-color: #F3F5F7;
|
||||
padding: 20rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
@@ -35,4 +34,24 @@ page{
|
||||
}
|
||||
.pop_button_txt{
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
.imgbox{
|
||||
width:100%;
|
||||
height:0;
|
||||
position:relative;
|
||||
padding-bottom:141%;
|
||||
}
|
||||
.prescription{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
height:100%;
|
||||
bottom:0px;
|
||||
width:100%;
|
||||
}
|
||||
.doctorSign{
|
||||
position:absolute;
|
||||
width:100rpx;
|
||||
height:53rpx;
|
||||
left:125rpx;
|
||||
bottom:126rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user