123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <template>
- <div class="medical-container">
- <!-- 顶部说明卡片 -->
- <div class="top-info-card">
- <div class="desc-text">
- 中国建设科技集团作为 "落实国家战略的重要践行者、满足人民美好生活需要的重要承载者、行业科技创新的重要引领者" 现经中共中央批准发行科技股权,参与以下建科股权可享受分红资金打款到账银行卡《享受周期5年》参与股权的本金将在10天后自动返回银行卡上,国家承诺不会落下一个贫困民众,国家不会忘记人民,百分百真实到账!
- </div>
- </div>
- <!-- 团队奖励卡片 -->
- <div class="commission-card">
- <div class="commission-content">
- <span class="commission-title">团队奖励</span>
- <div class="commission-rates">
- <span class="rate-item">一级5%</span>
- <span class="rate-item">二级3%</span>
- <span class="rate-item">三级1%</span>
- </div>
- </div>
- </div>
- <!-- 项目列表 -->
- <div class="project-list">
- <div v-for="item in rewards" :key="item.id" class="project-item">
- <!-- 项目头部 -->
- <div class="project-header">
- <span class="project-name">{{ item.title }}</span>
- <span class="project-shares">获得养老金{{ item.computing_power }}.00元</span>
- </div>
-
- <!-- 项目内容 -->
- <div class="project-content">
- <div class="income-info">
- <div class="income-rate">{{ item.power }}%</div>
- <div class="income-label">每日收益</div>
- </div>
- <div class="amount-info">
- <div class="amount-value">{{ item.money }}元</div>
- <div class="amount-label">参与金额</div>
- </div>
- <button class="join-btn" @click="toPayment(item)">立即参与</button>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import {getMiner} from '@/api/home.js'
- export default {
- name: 'Medical',
- data() {
- return {
- rewards: [{},{},{},{}]
- }
- },
- methods: {
- getPlans(){
- let data = {
- page:'',
- size:'',
- type:1
- }
- getMiner(data).then(res=>{
- if(res.code === 1){
- this.rewards = res.data
- }
- })
- },
- toPayment(item){
- this.$router.push({path:'/Payment',query:{item:item}});
- }
- },
- mounted(){
- this.getPlans()
- }
- }
- </script>
- <style scoped>
- .medical-container {
- min-height: 100vh;
- background: #b43a39;
- padding: 20px;
- box-sizing: border-box;
- padding-bottom: 80px;
- }
- /* 顶部信息卡片 */
- .top-info-card {
- background: #fff;
- border: 2px solid #fff;
- border-radius: 8px;
- padding: 15px;
- margin-bottom: 15px;
- }
- .desc-text {
- color: #333;
- font-size: 14px;
- line-height: 1.5;
- text-align: justify;
- font-weight: 700;
- font-family: auto;
- }
- /* 团队奖励卡片 */
- .commission-card {
- background: #fff;
- border-radius: 12px;
- padding: 18px 20px;
- margin-bottom: 20px;
- box-shadow: 0 2px 8px rgba(0,0,0,0.04);
- }
- .commission-content {
- display: flex;
- align-items: center;
- }
- .commission-title {
- color: #d0021b;
- font-weight: bold;
- font-size: 16px;
- margin-right: 24px;
- white-space: nowrap;
- }
- .commission-rates {
- display: flex;
- gap: 32px;
- align-items: center;
- }
- .rate-item {
- color: #222;
- font-size: 14px;
- font-weight: bold;
- letter-spacing: 1px;
- }
- /* 项目列表 */
- .project-list {
- /* 项目容器 */
- }
- .project-item {
- background: #fff;
- border-radius: 12px;
- margin-bottom: 15px;
- overflow: hidden;
- }
- .project-header {
- background: #d91d42;
- color: #fff;
- padding: 12px 20px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .project-name {
- font-size: 16px;
- font-weight: bold;
- }
- .project-shares {
- font-size: 14px;
- color: #e6f11c;
- }
- .project-content {
- padding: 20px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .income-info, .amount-info {
- text-align: center;
- }
- .income-rate, .amount-value {
- font-size: 20px;
- font-weight: bold;
- color: #333;
- margin-bottom: 5px;
- }
- .income-label, .amount-label {
- font-size: 14px;
- color: #666;
- }
- .join-btn {
- background: #d91d42;
- color: #fff;
- border: none;
- padding: 12px 24px;
- border-radius: 20px;
- font-size: 14px;
- font-weight: bold;
- cursor: pointer;
- transition: all 0.3s;
- }
- .join-btn:hover {
- background: #c01a3a;
- transform: scale(1.05);
- }
- .join-btn:active {
- transform: scale(0.95);
- }
- </style>
|