Commit 64ac8765 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent fe52ecb8
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
style="width:31%; position: relative; border-radius:20rpx;margin-bottom: 10rpx;margin-left: 14rpx;" style="width:31%; position: relative; border-radius:20rpx;margin-bottom: 10rpx;margin-left: 14rpx;"
@click.stop="click(value)" @longpress.stop="longClick(key)"> @click.stop="click(value)" @longpress.stop="longClick(key)">
<image class="integral-mall-goods" mode="aspectFill" :src="value.coverImage"></image> <image class="integral-mall-goods" mode="aspectFill" :src="value.coverImage"></image>
<view class="text" style="font-size: 26rpx;color: black;height: 36rpx;margin-left: 5rpx;"> <view style="font-size: 26rpx;color: black;height: 60rpx;margin-left: 5rpx;">
{{value.title}} {{value.title}}
</view> </view>
<view class="text" style="font-size: 22rpx;color: gray;height: 30rpx;margin-left: 5rpx;"> <view class="text" style="font-size: 22rpx;color: gray;height: 30rpx;margin-left: 5rpx;">
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="ellipsis" style="font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;"> <view style="font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;">
{{item.title}} {{item.title}}
</view> </view>
<!-- <view style="font-size: 22rpx;margin-top: 10rpx;margin-left: 12rpx;">{{item.vedioDesc}}</view> --> <!-- <view style="font-size: 22rpx;margin-top: 10rpx;margin-left: 12rpx;">{{item.vedioDesc}}</view> -->
...@@ -520,7 +520,7 @@ ...@@ -520,7 +520,7 @@
background-color: #fff; background-color: #fff;
break-inside: avoid; break-inside: avoid;
margin-bottom: 20rpx; margin-bottom: 20rpx;
height: 470rpx; height: 500rpx;
} }
.img { .img {
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<view style="flex-grow: 2; margin-left: 20rpx;"> <view style="flex-grow: 2; margin-left: 20rpx;">
<view <view
style="width: 100%;height: 100%;display: flex;flex-direction: column;justify-content: center;"> style="width: 100%;height: 100%;display: flex;flex-direction: column;justify-content: center;">
<view style="font-size: 28rpx;color: #5b1500;">账户余额: 0看点</view> <view style="font-size: 28rpx;color: #5b1500;">账户余额: {{userBean.point}}看点</view>
</view> </view>
</view> </view>
<view style="width: 200rpx;"> <view style="width: 200rpx;">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<swiper class="swiper" circular @change="swiperChange" :current="current" :vertical="true" duration="300"> <swiper class="swiper" circular @change="swiperChange" :current="current" :vertical="true" duration="300">
<swiper-item v-for="(list, index) in displaySwiperList" :key="index"> <swiper-item v-for="(list, index) in displaySwiperList" :key="index">
<view v-if="Math.abs(displayIndex-index)==0" style="height: 100%;background-color: aqua;" <view v-if="Math.abs(displayIndex-index)==0" style="height: 100%;"
@click="tapVideoHover()"> @click="tapVideoHover()">
<!-- <video v-if="Math.abs(displayIndex-index)==0" :id="''+list.vedioId" :controls="controls" <!-- <video v-if="Math.abs(displayIndex-index)==0" :id="''+list.vedioId" :controls="controls"
:autoplay="true" :isplay="true" play-btn-position="center" :loop="!isplay" @ended="ended" :autoplay="true" :isplay="true" play-btn-position="center" :loop="!isplay" @ended="ended"
......
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