Browse Source

修改图片

master
liaoxinyu 1 year ago
parent
commit
5c963c22f1
  1. BIN
      assets/img/home/home3.png
  2. BIN
      assets/img/home/home4.png
  3. BIN
      assets/img/home/home5.png
  4. 27
      pages/base/home.vue

BIN
assets/img/home/home3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

BIN
assets/img/home/home4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
assets/img/home/home5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

27
pages/base/home.vue

@ -108,9 +108,9 @@
<!-- 加密货币之门 --> <!-- 加密货币之门 -->
<view class="illustration_area" > <view class="illustration_area" >
<view class="text-img"> <!-- <view class="text-img">
<video id="myVideo" autoplay muted loop :show-center-play-btn="false" :controls='false' :custom-cache="false" object-fit="cover" src="@/assets/img/home/home1.mp4"></video> <video id="myVideo" autoplay muted loop :show-center-play-btn="false" :controls='false' :custom-cache="false" object-fit="cover" src="@/assets/img/home/home1.mp4"></video>
</view> </view> -->
<view class="text-box"> <view class="text-box">
<view style="width: calc(100% - 50px);"> <view style="width: calc(100% - 50px);">
<view class="title" style="text-align: center;word-wrap: break-word;">{{$t("homeNewText.bb4")}}</view> <view class="title" style="text-align: center;word-wrap: break-word;">{{$t("homeNewText.bb4")}}</view>
@ -188,7 +188,10 @@
<view class="title" style="text-align: center;padding: 0px;margin-top: 200rpx;">{{$t("homeNewText.bb8",{name:'Otlwcoin'})}}</view> <view class="title" style="text-align: center;padding: 0px;margin-top: 200rpx;">{{$t("homeNewText.bb8",{name:'Otlwcoin'})}}</view>
<view class="back_box"></view> <view class="back_box"></view>
<view class="text-center" style="margin-top: 120rpx;"> <view class="text-center" style="margin-top: 120rpx;">
<view><video id="myVideo" autoplay muted loop :controls='false' :show-center-play-btn="false" :custom-cache="false" object-fit="cover" src="@/assets/img/home/home3.mp4"></video></view> <view>
<!-- <video id="myVideo" autoplay muted loop :controls='false' :show-center-play-btn="false" :custom-cache="false" object-fit="cover" src="@/assets/img/home/home3.mp4"></video> -->
<image src="@/assets/img/home/home3.png" mode="widthFix"></image>
</view>
<view class="productservice_box1"> <view class="productservice_box1">
<image src="@/assets/img/home/home2.png" mode="widthFix" style="width: 35px;margin-right: 10rpx;"></image> <image src="@/assets/img/home/home2.png" mode="widthFix" style="width: 35px;margin-right: 10rpx;"></image>
<view>{{$t("homeNewText.bb9")}}</view> <view>{{$t("homeNewText.bb9")}}</view>
@ -196,7 +199,10 @@
<view class="productservice_box2">{{$t("homeNewText.bb10")}}</view> <view class="productservice_box2">{{$t("homeNewText.bb10")}}</view>
</view> </view>
<view class="text-center" style="margin-top: 120rpx;"> <view class="text-center" style="margin-top: 120rpx;">
<view><video id="myVideo" autoplay muted loop :controls='false' :show-center-play-btn="false" :custom-cache="false" object-fit="cover" src="@/assets/img/home/home4.mp4"></video></view> <view>
<!-- <video id="myVideo" autoplay muted loop :controls='false' :show-center-play-btn="false" :custom-cache="false" object-fit="cover" src="@/assets/img/home/home4.mp4"></video> -->
<image src="@/assets/img/home/home4.png" mode="widthFix"></image>
</view>
<view class="productservice_box1"> <view class="productservice_box1">
<image src="@/assets/img/home/home2.png" mode="widthFix" style="width: 35px;margin-right: 10rpx;"></image> <image src="@/assets/img/home/home2.png" mode="widthFix" style="width: 35px;margin-right: 10rpx;"></image>
<view>{{$t("homeNewText.bb11")}}</view> <view>{{$t("homeNewText.bb11")}}</view>
@ -204,7 +210,10 @@
<view class="productservice_box2">{{$t("homeNewText.bb12")}}</view> <view class="productservice_box2">{{$t("homeNewText.bb12")}}</view>
</view> </view>
<view class="text-center" style="margin-top: 120rpx;"> <view class="text-center" style="margin-top: 120rpx;">
<view><video style="width: 240px;" id="myVideo" autoplay muted loop :controls='false' :show-center-play-btn="false" :custom-cache="false" object-fit="cover" src="@/assets/img/home/home5.mp4"></video></view> <view>
<!-- <video style="width: 240px;" id="myVideo" autoplay muted loop :controls='false' :show-center-play-btn="false" :custom-cache="false" object-fit="cover" src="@/assets/img/home/home5.mp4"></video> -->
<image src="@/assets/img/home/home5.png" mode="widthFix"></image>
</view>
<view class="productservice_box1"> <view class="productservice_box1">
<image src="@/assets/img/home/home2.png" mode="widthFix" style="width: 35px;margin-right: 10rpx;"></image> <image src="@/assets/img/home/home2.png" mode="widthFix" style="width: 35px;margin-right: 10rpx;"></image>
<view>{{$t("homeNewText.bb13")}}</view> <view>{{$t("homeNewText.bb13")}}</view>
@ -1569,11 +1578,9 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-size: cover; background-size: cover;
background-image: url(/src/assets/img/home/home1.png); background-repeat: no-repeat;
} background-position: center;
.text-img video{ background-image: url('../../assets/img/home/home1.png');
width: 100%;
height: 100%;
} }
} }

Loading…
Cancel
Save