Commit 84147aec authored by Facius's avatar Facius

Merge branch 'dev-photo-v2' of https://git.banshouhui.com/heyinchen/take_order into dev-photo-v2

parents 6fed55ea 4b67b4c7
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
<swiper class="swiper-box" :current="swiperCurrent" @transition="transition" <swiper class="swiper-box" :current="swiperCurrent" @transition="transition"
@animationfinish="animationfinish"> @animationfinish="animationfinish">
<swiper-item class="swiper-item"> <swiper-item class="swiper-item">
<view class="inner"> <view class="inner txt-inner" :style="{'background-image':'url(/static/photo/shadow-bg.png)'}">
<view class="title"> <view class="title">
拍照要求 拍照要求
</view> </view>
<view class="txt-box"> <view class="txt-box" >
<view class="txt" v-for="(txt,index) in currentItem.main_point" :key="index"> <view class="txt" v-for="(txt,index) in currentItem.main_point" :key="index">
{{index+1}}. {{txt}} {{index+1}}. {{txt}}
</view> </view>
...@@ -141,9 +141,14 @@ ...@@ -141,9 +141,14 @@
.swiper-item .inner { .swiper-item .inner {
padding: 30rpx; padding: 30rpx;
background-color: #fff; background-color: #fff;
width:690rpx;
height: 690rpx; height: 690rpx;
overflow: hidden; overflow: hidden;
&.txt-inner{
background-position: bottom right;
background-size: 340rpx 380rpx;
background-repeat: no-repeat;
}
.title { .title {
margin-top: 20rpx; margin-top: 20rpx;
font-weight: bold; font-weight: bold;
...@@ -161,8 +166,10 @@ ...@@ -161,8 +166,10 @@
} }
.txt-box { .txt-box {
max-height: 560rpx; // max-height: 560rpx;
overflow: auto; overflow: auto;
width:100%;
height: 560rpx;
} }
.txt { .txt {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment