|
@@ -15,27 +15,29 @@
|
|
<div class="plan-header">
|
|
<div class="plan-header">
|
|
{{ item.title }}
|
|
{{ item.title }}
|
|
</div>
|
|
</div>
|
|
- <div class="plan-table-row">
|
|
|
|
- <div class="plan-col">
|
|
|
|
- <div class="plan-label">参与金额</div>
|
|
|
|
- <div class="plan-value">{{ item.money }}红旗资产</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="plan-col">
|
|
|
|
- <div class="plan-label">退休金</div>
|
|
|
|
- <div class="plan-value">{{ item.computing_power }}</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="plan-col">
|
|
|
|
- <div class="plan-label">日收益</div>
|
|
|
|
- <div class="plan-value">{{ item.power }}%</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="plan-col-btn">
|
|
|
|
- <button
|
|
|
|
- class="plan-btn"
|
|
|
|
- @click="toPayment(item)"
|
|
|
|
- >
|
|
|
|
- 立即参与
|
|
|
|
- </button>
|
|
|
|
|
|
+ <div class="plan-content">
|
|
|
|
+ <div class="plan-info">
|
|
|
|
+ <div class="plan-amount">
|
|
|
|
+ <span class="amount-label">参与金额</span>
|
|
|
|
+ <span class="amount-value">{{ item.money }}红旗资产</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="plan-details">
|
|
|
|
+ <div class="detail-item">
|
|
|
|
+ <span class="detail-label">退休金</span>
|
|
|
|
+ <span class="detail-value">{{ item.computing_power }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="detail-item">
|
|
|
|
+ <span class="detail-label">日收益</span>
|
|
|
|
+ <span class="detail-value highlight">{{ item.power }}%</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <button
|
|
|
|
+ class="action-btn"
|
|
|
|
+ @click="toPayment(item)"
|
|
|
|
+ >
|
|
|
|
+ 立即参与
|
|
|
|
+ </button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div v-if="loading" class="loading-mask">
|
|
<div v-if="loading" class="loading-mask">
|
|
@@ -171,97 +173,130 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
.usremei-container {
|
|
.usremei-container {
|
|
- min-height: 100vh;
|
|
|
|
|
|
+ min-height: 100vh;
|
|
background-image: url('../assets/dabag.png');
|
|
background-image: url('../assets/dabag.png');
|
|
background-size: cover;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-position: center;
|
|
- padding-top: 60px;
|
|
|
|
- padding-bottom: 80px; /* 为底部tab预留空间 */
|
|
|
|
- box-sizing: border-box; /* 确保padding不会增加容器高度 */
|
|
|
|
- overflow-y: auto; /* 允许内容滚动 */
|
|
|
|
- position: relative; /* 为fixed定位提供参考 */
|
|
|
|
|
|
+ padding:60px 10px 60px;
|
|
|
|
+ box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
|
|
.desc-card {
|
|
.desc-card {
|
|
- background: #fff8e1;
|
|
|
|
- box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
|
|
|
- margin: 0px 16px 24px 16px;
|
|
|
|
- padding: 18px 16px 12px 16px;
|
|
|
|
- z-index: 2;
|
|
|
|
- position: relative;
|
|
|
|
|
|
+ background: rgba(255, 248, 225, 0.95);
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ margin: 0 0 8px;
|
|
|
|
+ padding: 8px;
|
|
|
|
+ box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
}
|
|
}
|
|
|
|
+
|
|
.desc-title {
|
|
.desc-title {
|
|
- font-size: 14px;
|
|
|
|
|
|
+ font-size: 15px;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- margin-bottom: 8px;
|
|
|
|
|
|
+ color: #d0021b;
|
|
|
|
+ margin-bottom: 6px;
|
|
|
|
+ line-height: 1.2;
|
|
}
|
|
}
|
|
|
|
+
|
|
.desc-content {
|
|
.desc-content {
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
color: #333;
|
|
color: #333;
|
|
- line-height: 1.7;
|
|
|
|
|
|
+ line-height: 1.4;
|
|
|
|
+ max-height: 48px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ display: -webkit-box;
|
|
|
|
+ -webkit-line-clamp: 3;
|
|
|
|
+ -webkit-box-orient: vertical;
|
|
}
|
|
}
|
|
|
|
+
|
|
.plan-card {
|
|
.plan-card {
|
|
- background: #d0021b;
|
|
|
|
|
|
+ background: #fff;
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
- margin: 0 16px 22px 16px;
|
|
|
|
- box-shadow: 0 2px 8px rgba(0,0,0,0.10);
|
|
|
|
-
|
|
|
|
|
|
+ margin-bottom: 8px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ box-shadow: 0 2px 4px rgba(0,0,0,0.08);
|
|
}
|
|
}
|
|
|
|
+
|
|
.plan-header {
|
|
.plan-header {
|
|
- background: #fff8e1;
|
|
|
|
- color: #333;
|
|
|
|
|
|
+ background: #fce5b1;
|
|
|
|
+ color: #000;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- padding: 6px 12px;
|
|
|
|
- border-bottom: 1px solid #f5c6cb;
|
|
|
|
|
|
+ padding: 6px 10px;
|
|
|
|
+
|
|
}
|
|
}
|
|
-.plan-table-row {
|
|
|
|
|
|
+
|
|
|
|
+.plan-content {
|
|
|
|
+ padding: 8px 10px;
|
|
|
|
+ background: #fff;
|
|
display: flex;
|
|
display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.plan-info {
|
|
|
|
+ flex: 1;
|
|
|
|
+ display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
- background: #fff;
|
|
|
|
- padding: 0 18px;
|
|
|
|
- height: 70px;
|
|
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.plan-amount {
|
|
|
|
+ text-align: left;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.amount-label {
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ color: #666;
|
|
|
|
+ margin-bottom: 2px;
|
|
}
|
|
}
|
|
-.plan-col {
|
|
|
|
- width:auto;
|
|
|
|
- font-size:12px;
|
|
|
|
|
|
+
|
|
|
|
+.amount-value {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ color: #d0021b;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.plan-details {
|
|
display: flex;
|
|
display: flex;
|
|
- flex-direction: column;
|
|
|
|
- justify-content: center;
|
|
|
|
- align-items: flex-start;
|
|
|
|
|
|
+ gap: 15px;
|
|
}
|
|
}
|
|
-.plan-label {
|
|
|
|
- color: #333;
|
|
|
|
- font-size: 14px;
|
|
|
|
- font-weight: bold;
|
|
|
|
|
|
+
|
|
|
|
+.detail-item {
|
|
|
|
+ text-align: center;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.detail-label {
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ color: #666;
|
|
margin-bottom: 2px;
|
|
margin-bottom: 2px;
|
|
}
|
|
}
|
|
-.plan-value {
|
|
|
|
- margin-top:6px;
|
|
|
|
|
|
+
|
|
|
|
+.detail-value {
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
- text-align:center;
|
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ color: #333;
|
|
}
|
|
}
|
|
-.plan-col-btn {
|
|
|
|
-
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: center;
|
|
|
|
- align-items: center;
|
|
|
|
|
|
+
|
|
|
|
+.detail-value.highlight {
|
|
|
|
+ color: #d0021b;
|
|
}
|
|
}
|
|
-.plan-btn {
|
|
|
|
- background: #b80032;
|
|
|
|
|
|
+
|
|
|
|
+.action-btn {
|
|
|
|
+ width: 80px;
|
|
|
|
+ height: 32px;
|
|
|
|
+ background: #d0021b;
|
|
color: #fff;
|
|
color: #fff;
|
|
border: none;
|
|
border: none;
|
|
- border-radius: 18px;
|
|
|
|
- padding: 2px 6px;
|
|
|
|
|
|
+ border-radius: 16px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
|
+ font-weight: bold;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- transition: background 0.2s;
|
|
|
|
-}
|
|
|
|
-.plan-btn:hover {
|
|
|
|
- background: #a00028;
|
|
|
|
|
|
+ flex-shrink: 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
.loading-mask {
|
|
.loading-mask {
|
|
position: fixed;
|
|
position: fixed;
|
|
left: 0; top: 0; right: 0; bottom: 0;
|
|
left: 0; top: 0; right: 0; bottom: 0;
|
|
@@ -272,6 +307,7 @@ export default {
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
+
|
|
.loading-spinner {
|
|
.loading-spinner {
|
|
border: 4px solid #f3f3f3;
|
|
border: 4px solid #f3f3f3;
|
|
border-top: 4px solid #b80032;
|
|
border-top: 4px solid #b80032;
|
|
@@ -280,6 +316,7 @@ export default {
|
|
animation: spin 1s linear infinite;
|
|
animation: spin 1s linear infinite;
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
+
|
|
@keyframes spin {
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg);}
|
|
0% { transform: rotate(0deg);}
|
|
100% { transform: rotate(360deg);}
|
|
100% { transform: rotate(360deg);}
|
|
@@ -390,7 +427,7 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 2px;
|
|
height: 2px;
|
|
background-color: #999;
|
|
background-color: #999;
|
|
- top: 50%;
|
|
|
|
|
|
+ top: 51%;
|
|
left: 0;
|
|
left: 0;
|
|
}
|
|
}
|
|
|
|
|