pull/2/head
xiaozhiyong 2 years ago
parent 9196734d72
commit 1d70f75633
  1. 9
      components/topbar.vue
  2. 4
      financialCenter/business/index.vue
  3. 4
      financialCenter/serviceStation/index.vue
  4. 6
      pages/index/menu.json
  5. BIN
      static/company.png
  6. BIN
      static/serviceStation.png

@ -1,5 +1,5 @@
<template> <template>
<view :style="{ backgroundSize:height?`100% ${height}`:' ',backgroundImage:`url(${backgroundImage})`,minHeight:height}" class="header" > <view :style="{ minHeight:height}" class="header" >
<view class="top" :style="{height:styles.top?styles.top:''}"></view> <view class="top" :style="{height:styles.top?styles.top:''}"></view>
<uni-nav-bar :border="false" :height="styles.height" style="font-size: 34rpx;" @clickLeft='backFn' color='white' backgroundColor="rgba(0,0,0,0)" :left-icon="leftIcon" :title="title" /> <uni-nav-bar :border="false" :height="styles.height" style="font-size: 34rpx;" @clickLeft='backFn' color='white' backgroundColor="rgba(0,0,0,0)" :left-icon="leftIcon" :title="title" />
<view> <view>
@ -56,10 +56,11 @@
font-size: 34rpx !important; font-size: 34rpx !important;
} }
.header { .header {
color: white;
background-size: 100% 100%;
position: relative; position: relative;
background-repeat:no-repeat /* min-height: 403rpx; */
color: white;
background: url('https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油admin小程序/sjbj.png') 100%/100%;
} }
.uni-navbar__header-btns-right { .uni-navbar__header-btns-right {
padding: 0 !important; padding: 0 !important;

@ -16,7 +16,7 @@
<view class="container"> <view class="container">
<view class="item" v-for="item,index in tableList" :key="index" <view class="item" v-for="item,index in tableList" :key="index"
@tap="jump(1,'/financialCenter/business/detail',item)"> @tap="jump(1,'/financialCenter/business/detail',item)">
<image class="logo"></image> <image class="logo" src="@/static/company.png"></image>
<view>{{item.companyName}}</view> <view>{{item.companyName}}</view>
<view>企业总余额{{handlerNumber(item.totalBalance)}}</view> <view>企业总余额{{handlerNumber(item.totalBalance)}}</view>
</view> </view>
@ -132,7 +132,7 @@
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
border-radius: 50%; border-radius: 50%;
border: 1px solid #333; /* border: 1px solid #333; */
} }
.container .item view { .container .item view {

@ -16,7 +16,7 @@
<view class="container"> <view class="container">
<view class="item" v-for="item,index in tableList" :key="index" <view class="item" v-for="item,index in tableList" :key="index"
@tap="jump(1,'/financialCenter/serviceStation/detail',item)"> @tap="jump(1,'/financialCenter/serviceStation/detail',item)">
<image class="logo"></image> <image class="logo" src="@/static/serviceStation.png"></image>
<view>{{item.accountName}}</view> <view>{{item.accountName}}</view>
<view>账户总余额{{handlerNumber(item.balance)}}</view> <view>账户总余额{{handlerNumber(item.balance)}}</view>
</view> </view>
@ -128,7 +128,7 @@
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
border-radius: 50%; border-radius: 50%;
border: 1px solid #333; /* border: 1px solid #333; */
} }
.container .item view { .container .item view {

@ -123,13 +123,13 @@
"icon":"iconxiugaijiage", "icon":"iconxiugaijiage",
"name":"企业账户管理", "name":"企业账户管理",
"router":"/financialCenter/business/index", "router":"/financialCenter/business/index",
"lable":"sys:siteCompany:recharge" "lable":"finance:account:enterprise"
}, },
{ {
"icon":"iconxiugaijiage", "icon":"iconxiugaijiage",
"name":"油站账户管理", "name":"油站账户管理",
"router":"/financialCenter/serviceStation/index", "router":"/financialCenter/serviceStation/index",
"lable":"sys:siteAcct:recharge" "lable":"finance:account:serviceStation"
} }
] ]
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

Loading…
Cancel
Save