Commit a023651b authored by spc's avatar spc

fixed

parent 16ce19d4
...@@ -369,6 +369,8 @@ ...@@ -369,6 +369,8 @@
<!-- 金币动画模块 --> <!-- 金币动画模块 -->
<view class="gold-coin-animation" v-if="showGoldCoinAnimation" @tap="hideGoldCoinAnimation"> <view class="gold-coin-animation" v-if="showGoldCoinAnimation" @tap="hideGoldCoinAnimation">
<!-- 背景底 -->
<view class="gold-coin-background"></view>
<view class="gold-coin-content" @tap.stop> <view class="gold-coin-content" @tap.stop>
<view class="gold-coin-title">{{ goldCoinConfig.title }}</view> <view class="gold-coin-title">{{ goldCoinConfig.title }}</view>
<view class="gold-coin-description">{{ goldCoinConfig.description }}</view> <view class="gold-coin-description">{{ goldCoinConfig.description }}</view>
...@@ -2655,17 +2657,24 @@ export default { ...@@ -2655,17 +2657,24 @@ export default {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
z-index: 9999; z-index: 9999;
animation: fadeIn 0.3s ease-out; animation: fadeIn 0.3s ease-out;
}
/* 背景底 */
.gold-coin-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0);
} }
.gold-coin-animation::after { .gold-coin-background::after {
content: ''; content: '';
position: absolute; position: absolute;
bottom: 42rpx; bottom: 42rpx;
...@@ -2682,6 +2691,7 @@ export default { ...@@ -2682,6 +2691,7 @@ export default {
.gold-coin-content { .gold-coin-content {
text-align: center; text-align: center;
padding: 60rpx 40rpx; padding: 60rpx 40rpx;
z-index: 1;
} }
.gold-coin-title { .gold-coin-title {
......
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