Browse Source

底部导航跟新

master
luyisha 2 years ago
parent
commit
8366d73107
  1. 40
      pages/base/index.vue
  2. BIN
      static/img/index/base_assets_0.png
  3. BIN
      static/img/index/base_assets_1.png
  4. BIN
      static/img/index/base_caidan_0.png
  5. BIN
      static/img/index/base_caidan_1.png
  6. BIN
      static/img/index/base_home_0.png
  7. BIN
      static/img/index/base_home_1.png
  8. BIN
      static/img/index/base_link_0.png
  9. BIN
      static/img/index/base_link_1.png

40
pages/base/index.vue

@ -22,12 +22,12 @@
> >
<view class="icon"> <view class="icon">
<img <img
class="h-15" class="h-24"
v-if="tab == item.tel" v-if="tab == item.tel"
:src="item.activeIcon" :src="item.activeIcon"
alt="" alt=""
/> />
<img class="h-15" v-else :src="item.icon" alt=""/> <img class="h-24" v-else :src="item.icon" alt=""/>
</view> </view>
<view class="fn-12" style="margin-top: 4px">{{ item.label }}</view> <view class="fn-12" style="margin-top: 4px">{{ item.label }}</view>
</view> </view>
@ -69,37 +69,37 @@ export default {
{ {
label: this.$t("base.d0"), label: this.$t("base.d0"),
tel: "home", tel: "home",
icon: "static/img/base_home_0.png", icon: "static/img/index/base_home_0.png",
activeIcon: "static/img/base_home_1.png", activeIcon: "static/img/index/base_home_1.png",
}, },
{ {
label: this.$t("exchange.a0"), label: this.$t("exchange.a0"),
tel: "exchange-operation", tel: "exchange-operation",
icon: "static/img/base_link_0.png", icon: "static/img/index/base_link_0.png",
activeIcon: "static/img/base_link_1.png", activeIcon: "static/img/index/base_link_1.png",
}, },
{ {
label: this.$t("exchange.a2"), label: this.$t("exchange.a2"),
tel: "contract", tel: "contract",
icon: "static/img/base_caidan_0.png", icon: "static/img/index/base_caidan_0.png",
activeIcon: "static/img/base_caidan_1.png", activeIcon: "static/img/index/base_caidan_1.png",
},
{
// label: this.$t("base.a4"),
// tel: "option-list",
label: this.$t("help.a1"),
tel: "help",
// label: this.$t("purchase.a5"),
// tel: "purchase",
icon: "static/img/base_qukuai_0.png",
activeIcon: "static/img/base_qukuai_1.png",
}, },
// {
// // label: this.$t("base.a4"),
// // tel: "option-list",
// label: this.$t("help.a1"),
// tel: "help",
// // label: this.$t("purchase.a5"),
// // tel: "purchase",
// icon: "static/img/base_qukuai_0.png",
// activeIcon: "static/img/base_qukuai_1.png",
// },
{ {
label: this.$t("base.d2"), label: this.$t("base.d2"),
tel: "mine", tel: "mine",
icon: "static/img/base_assets_0.png", icon: "static/img/index/base_assets_0.png",
activeIcon: "static/img/base_assets_1.png", activeIcon: "static/img/index/base_assets_1.png",
}, },
]; ];
}, },

BIN
static/img/index/base_assets_0.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

BIN
static/img/index/base_assets_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 B

BIN
static/img/index/base_caidan_0.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/img/index/base_caidan_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
static/img/index/base_home_0.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 745 B

BIN
static/img/index/base_home_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

BIN
static/img/index/base_link_0.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

BIN
static/img/index/base_link_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

Loading…
Cancel
Save