6
0
Fork 0

调节字体大小,修改图片间隙

hui.zhou
h30830569 2022-07-08 10:53:20 +08:00
parent bbef36d8db
commit 716cb85ede
3 changed files with 11 additions and 11 deletions

View File

@ -3,7 +3,7 @@
<loading-view v-if="isFirstLoading && isLogin "></loading-view>
<view
class="bg min-h-full overflow-hidden"
v-else-if="isLogin"
v-else-if="isLogin"
:style="{ backgroundImage: `url(${draw_activity.bg_image})`, backgroundColor: draw_activity.bg_color }"
>
<view class="">
@ -22,7 +22,7 @@
</view>
<view class="w-full" :style="{ height: 50 + statusBarHeight + 'px' }"> </view>
</view>
<view class="h-300rpx w-full"></view>
<view class="w-full relative">
<view class="h-100rpx"></view>
@ -73,14 +73,15 @@
@finish="handleDrawFinish"
v-if="prizeList.length"
stroke-color="#ffffff"
:str-font-size="18"
:strFontSize="28"
:strMaxLen="10"
:strFontColors="['#fb6056']"
:colors="['#ffeaa7', '#ffeaa7']"
:stroked="true"
:img-width="120"
:img-height="120"
:imgMarginStr="30"
:strMarginOutside="16"
:strMarginOutside="32"
:canvasCached="true"
:lotteryBg="lotteryBg"
:actionBg="actionBg"
@ -89,8 +90,8 @@
>今天还可以抽 <text class="text-error">{{ freeNum }}</text> </view
>
</view>
<view class="p-30rpx">
<u-parse :html="draw_activity.desc"></u-parse>
</view>
@ -108,7 +109,7 @@
<image :src="results.goods" alt="" class="w-full h-full"></image>
</view>
<view
class="absolute top-136rpx left-0 right-0 text-center h-42rpx leading-40rpx text-24rpx text-hex-f74a2c bg-gradient-to-t to-hex-fff4e5 from-hex-ffd4b2 w-240rpx rounded-full mx-auto"
class="absolute top-136rpx left-0 right-0 text-center h-42rpx leading-40rpx text-30rpx text-hex-f74a2c bg-gradient-to-t to-hex-fff4e5 from-hex-ffd4b2 w-240rpx rounded-full mx-auto"
>
{{ results.name }}
</view>
@ -257,7 +258,7 @@ export default {
}
},300)
},
//
onShareAppMessage(res) {
let code = this.user.code ? this.user.code : '';

View File

@ -263,7 +263,7 @@
</block>
</u-table>
</view>
<u-parse :html="detailHtml"></u-parse>
<u-parse :html="detailHtml" style="font-size:0"></u-parse>
</view>
<!-- 购物须知 -->
<view class="mt-base bg-white">

View File

@ -1,7 +1,6 @@
page {
background: #f5f5f5;
}
.shdow {
background-color: rgba(255, 255, 255, 1);
box-shadow: 0px 4rpx 12rpx rgba(0, 0, 0, 0.12);
@ -235,4 +234,4 @@ page {
content: '';
font-size: 60%;
}
}
}