Ver código fonte

[edit][style]

zhangwei 2 anos atrás
pai
commit
e89cf70758
2 arquivos alterados com 5 adições e 4 exclusões
  1. 4 3
      pages/treasure/index.vue
  2. 1 1
      pages/treasure/invite.vue

+ 4 - 3
pages/treasure/index.vue

@@ -22,7 +22,7 @@
 									<span class="amount"> ${{ detail.amountUsdValue }} Giveaway</span>
 								</div>
 							</div>
-							<img class="img" src="../../static/svg/icon-treasure.svg" alt="" />
+							<img class="img" src="@/static/img/icon-treasure.png" alt="" />
 						</div>
 						<div class="btn-wrapper" @click="clickBtn()">
 							<template v-if="isChrome"> Install Denet Chrome Extension </template>
@@ -353,7 +353,6 @@ body,
 		.center {
 			margin: -50px auto 0;
 			width: 480px;
-			height: 260px;
 			box-shadow: 0px 2px 18px rgba(0, 0, 0, 0.1);
 			border-radius: 12px;
 			display: flex;
@@ -392,6 +391,7 @@ body,
 						font-weight: 800;
 						font-size: 20px;
 						margin: 3px 0;
+						line-height: 20px;
 					}
 
 					.up-gain-txt {
@@ -405,13 +405,14 @@ body,
 						.amount {
 							font-weight: 700;
 							font-size: 22px;
+							line-height: 22px;
 						}
 					}
 				}
 			}
 
 			.btn-wrapper {
-				margin-top: 54px;
+				margin-top: 50px;
 				padding: 16px;
 				box-sizing: border-box;
 				background: #1d9bf0;

+ 1 - 1
pages/treasure/invite.vue

@@ -29,7 +29,7 @@
 									<span class="amount"> ${{ detail.amountUsdValue }} Giveaway</span>
 								</div>
 							</div>
-							<img class="img" src="../../static/img/icon-treasure.png" alt="" />
+							<img class="img" src="@/static/img/icon-treasure.png" alt="" />
 						</div>
 						<div class="btn-wrapper" @click="clickBtn()">
 							<template v-if="isChrome"> Install Denet Chrome Extension </template>