修改首页将设置中心改到左上角图标跳转
This commit is contained in:
@@ -2,7 +2,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<JeepayBackground :bgColorStyle="{}">
|
<JeepayBackground :bgColorStyle="{}">
|
||||||
<!-- 导航条 -->
|
<!-- 导航条 -->
|
||||||
<JeepayCustomNavbar title="首页" textColor="#fff" bgDefaultColor="#318AFE" />
|
<up-navbar title="首页" bg-color="#318AFE" titleStyle="color:#fff;font-size:16px;" @leftClick="toSetting">
|
||||||
|
<template #left>
|
||||||
|
<up-icon name="/static/indexImg/icon-menu.svg" color="#fff" :size="16" ></up-icon>
|
||||||
|
</template>
|
||||||
|
</up-navbar>
|
||||||
|
<!-- <JeepayCustomNavbar title="首页" textColor="#fff" bgDefaultColor="#318AFE" /> -->
|
||||||
<view class="income">
|
<view class="income">
|
||||||
<view>总收入</view>
|
<view>总收入</view>
|
||||||
<view>¥{{totalRevenuedata}}</view>
|
<view>¥{{totalRevenuedata}}</view>
|
||||||
@@ -54,7 +59,9 @@
|
|||||||
let totalRevenue= (d)=>{
|
let totalRevenue= (d)=>{
|
||||||
totalRevenuedata.value=d
|
totalRevenuedata.value=d
|
||||||
}
|
}
|
||||||
|
function toSetting(){
|
||||||
|
go.to('PAGES_SHOP_SETUP')
|
||||||
|
}
|
||||||
// 导航列表
|
// 导航列表
|
||||||
const navList = [
|
const navList = [
|
||||||
// {
|
// {
|
||||||
@@ -148,11 +155,11 @@
|
|||||||
icon: '/static/indexImg/icon-notification.svg',
|
icon: '/static/indexImg/icon-notification.svg',
|
||||||
pageUrl: 'PAGES_NOTIFICATION_INDEX',
|
pageUrl: 'PAGES_NOTIFICATION_INDEX',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '设置中心',
|
// title: '设置中心',
|
||||||
icon: '/static/indexImg/icon-cashier.svg',
|
// icon: '/static/indexImg/icon-cashier.svg',
|
||||||
pageUrl: 'PAGES_SHOP_SETUP',
|
// pageUrl: 'PAGES_SHOP_SETUP',
|
||||||
},
|
// },
|
||||||
// {
|
// {
|
||||||
// title: '优惠券',
|
// title: '优惠券',
|
||||||
// icon: '/static/coupon/icon_coupon.svg',
|
// icon: '/static/coupon/icon_coupon.svg',
|
||||||
@@ -332,6 +339,7 @@
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.income {
|
.income {
|
||||||
|
padding-top: 100rpx;
|
||||||
>view {
|
>view {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
|||||||
Reference in New Issue
Block a user