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

View File

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

View File

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