Browse Source

修改首页布局、顶部图片

master
liaoxinyu 4 weeks ago
parent
commit
e8ef564ae9
  1. BIN
      assets/img/home/home1.jpg
  2. BIN
      assets/img/home/home1.png
  3. 10
      pages/base/home.vue
  4. 12
      pages/base/index.vue

BIN
assets/img/home/home1.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 KiB

BIN
assets/img/home/home1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 KiB

10
pages/base/home.vue

@ -123,7 +123,7 @@
<!-- 加密货币之门 --> <!-- 加密货币之门 -->
<view style="width: 684rpx;margin: 15px auto;"> <view style="width: 684rpx;margin: 15px auto;">
<image v-if="!isLogin" src="@/assets/img/home/home1.jpg" mode="" style="width: 100%;height: 320rpx;"></image> <image v-if="!isLogin" src="@/assets/img/home/home1.png" mode="" style="width: 100%;height: 320rpx;"></image>
<view class="total-asset-card" v-else> <view class="total-asset-card" v-else>
<view class="card-header"> <view class="card-header">
@ -2531,7 +2531,7 @@
margin-right: 50rpx; margin-right: 50rpx;
} }
.market-card { .market-card {
border: 1px solid #e5e7eb; border: 1px solid rgba(148, 164, 184, 1.0);
border-radius: 20rpx; border-radius: 20rpx;
padding: 24rpx; padding: 24rpx;
} }
@ -2598,7 +2598,7 @@
margin-right: 50rpx; margin-right: 50rpx;
} }
.hot-card { .hot-card {
border: 1px solid #e5e7eb; border: 1px solid rgba(148, 164, 184, 1.0);
border-radius: 20rpx; border-radius: 20rpx;
padding: 20rpx; padding: 20rpx;
display: flex; display: flex;
@ -2643,7 +2643,7 @@
font-size: 24rpx; font-size: 24rpx;
color: #6b7280; color: #6b7280;
padding: 10rpx 0 20rpx 0; padding: 10rpx 0 20rpx 0;
border-bottom: 1px solid #f3f4f6; border-bottom: 1px solid rgba(148, 164, 184, 1.0);
} }
.sort-icon { font-size: 20rpx; margin-left: 4rpx; } .sort-icon { font-size: 20rpx; margin-left: 4rpx; }
@ -2653,7 +2653,7 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 24rpx 0; padding: 24rpx 0;
border-bottom: 1px solid #f3f4f6; border-bottom: 1px solid rgba(148, 164, 184, 1.0);
} }
/* 强制各列宽度分配对齐 */ /* 强制各列宽度分配对齐 */
.col-name { flex: 4; } .col-name { flex: 4; }

12
pages/base/index.vue

@ -109,12 +109,12 @@
// icon: "static/img/base_qukuai_0.png", // icon: "static/img/base_qukuai_0.png",
// activeIcon: "static/img/base_qukuai_1.png", // activeIcon: "static/img/base_qukuai_1.png",
// }, // },
// { {
// label: this.$t("purchase.a5"), label: this.$t("purchase.a5"),
// tel: "purchase", tel: "purchase",
// icon: "static/img/base_qukuai_0.png", icon: "static/img/base_qukuai_0.png",
// activeIcon: "static/img/base_qukuai_1.png", activeIcon: "static/img/base_qukuai_1.png",
// }, },
// { // {
// label: this.$t("common.d1"), // label: this.$t("common.d1"),
// tel: "financialManagement", // tel: "financialManagement",

Loading…
Cancel
Save