Commit 4800fac0 authored by jyx's avatar jyx

代码优化

parent cc436b4e
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view style="color: black;margin-top: 30rpx;font-size: 40rpx;font-size: 50rpx;">{{appName}}</view> <view style="color: black;margin-top: 30rpx;font-size: 40rpx;font-size: 50rpx;">{{appName}}</view>
<view style="color: #FECF02;margin-top: 10rpx;font-size: 40rpx;font-size: 40rpx;">欢迎使用</view> <view style="color: #FECF02;margin-top: 10rpx;font-size: 40rpx;font-size: 40rpx;">欢迎使用</view>
<view style="bottom: 0;position: absolute;"> <view style="bottom: 0;position: absolute;">
<image style="width: 540rpx;height: 644rpx;display: flex;align-items: center;margin-bottom: 30%;" <image style="width: 540rpx;height: 644rpx;margin-bottom: 30%;"
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/book_bg_splash.png" mode="scaleToFill"> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/book_bg_splash.png" mode="scaleToFill">
</image> </image>
</view> </view>
...@@ -14,12 +14,16 @@ ...@@ -14,12 +14,16 @@
{{slotParam}} {{slotParam}}
</view> </view>
</uni-popup> </uni-popup>
</view> </view>
<view v-else class="show-mask flex-v" @click="getVipParams"> <view v-else class="show-mask flex-v" @click="getVipParams">
<view class="body2"> <image style="width: 100%;margin-top: 200rpx;margin-bottom: 150rpx;" mode="widthFix"
<text @click="getVipParams" style="font-size: 46rpx;color: black;">发起支付</text> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_book_redpkg.png">
</view> </image>
<image class="heart" src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_book_vedio_next.png"
mode="widthFix">
</image>
</view> </view>
</template> </template>
...@@ -103,7 +107,7 @@ ...@@ -103,7 +107,7 @@
// 'A5CFAE67AF32E71D10CA6127546E82C20A8DE7C0EAAA5697BEEC2AC2E333F9945F433703067DF5142735505C42F58997' // 'A5CFAE67AF32E71D10CA6127546E82C20A8DE7C0EAAA5697BEEC2AC2E333F9945F433703067DF5142735505C42F58997'
// ) // )
// that.handlePay() // that.handlePay()
if (data.activiteFlag == 101) { if (data.activiteFlag == 101) {
...@@ -202,16 +206,6 @@ ...@@ -202,16 +206,6 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
}
.body2 {
width: 90%;
height: 90%;
background-color: white;
display: flex;
flex-direction: column;
align-items: center;
margin: 30rpx;
border-radius: 20rpx;
} }
.text-box { .text-box {
...@@ -284,7 +278,37 @@ ...@@ -284,7 +278,37 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
background: rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.6);
color: white;
align-items: center; align-items: center;
} }
/* 应用动画到心形图案 */
.heart {
position: relative;
width: 70%;
// height: 66px;
animation: heartbeat 1s infinite;
}
/* 定义心跳的关键帧 */
@keyframes heartbeat {
0% {
transform: scale(1);
}
25% {
transform: scale(1.1);
}
50% {
transform: scale(1);
}
75% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
</style> </style>
\ No newline at end of file
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