页面修改

This commit is contained in:
THK3121 2023-08-19 17:06:19 +08:00
parent 9e3786356e
commit edbef3cc41
2 changed files with 9 additions and 8 deletions

View File

@ -22,7 +22,7 @@
}]" @click="changeCurrent" lineColor='#0122C7' :scrollable="false" lineWidth='40' inactiveStyle='color:black' }]" @click="changeCurrent" lineColor='#0122C7' :scrollable="false" lineWidth='40' inactiveStyle='color:black'
activeStyle="color:#0122C7"></u-tabs> --> activeStyle="color:#0122C7"></u-tabs> -->
<view class="btn" :class="current==0?'active':''" @click="current=0;initLoad()">今日账单</view> <view class="btn" :class="current==0?'active':''" @click="current=0;initLoad()">今日账单</view>
<view class="btn" :class="current==0?'active':''" @click="current=0;initLoad()">月账单</view>
<!-- <view class="btn" :class="current==1?'active':''" @click="current=1;initLoad()">月账单</view> --> <!-- <view class="btn" :class="current==1?'active':''" @click="current=1;initLoad()">月账单</view> -->
<view class="btn" @click="navTo('/subpkg/companyFinance/companyFinance')">更多</view> <view class="btn" @click="navTo('/subpkg/companyFinance/companyFinance')">更多</view>
</view> </view>

View File

@ -7,14 +7,14 @@
<u--image :showLoading="true" :src="userInfo.avatar||'../../static/img/public/man.png'" <u--image :showLoading="true" :src="userInfo.avatar||'../../static/img/public/man.png'"
width="44px" height="44px" shape="circle"></u--image> width="44px" height="44px" shape="circle"></u--image>
<view class="name">{{userInfo.nickname}}</view> <view class="name">{{userInfo.nickname}}</view>
<u-icon name="setting-fill" color="white" size="20"></u-icon> <!-- <u-icon name="setting-fill" color="white" size="20"></u-icon> -->
</view> </view>
<view v-else class="accont"> <view v-else class="accont">
<u--image :showLoading="true" :src="userInfo.avatar||'../../static/img/public/man.png'" <u--image :showLoading="true" :src="userInfo.avatar||'../../static/img/public/man.png'"
width="44px" height="44px" shape="circle"></u--image> width="44px" height="44px" shape="circle"></u--image>
<view class="name">{{userInfo.nickname}}</view> <view class="name">{{userInfo.nickname}}</view>
<u-icon name="setting-fill" color="white" size="20"></u-icon> <!-- <u-icon name="setting-fill" color="white" size="20"></u-icon> -->
</view> </view>
</view> </view>
<!-- <view class="right" @click="navTo('/subpkg/topUp/topUp')"> <!-- <view class="right" @click="navTo('/subpkg/topUp/topUp')">
@ -76,7 +76,7 @@
</view> </view>
</view> </view>
</view> --> </view> -->
<!-- <view class="item" v-for="(item, index) in billList" :key="item.id"> <view class="item" v-for="(item, index) in billList" :key="item.id">
<view class="top"> <view class="top">
账单日期: {{current?item.month:item.create_time}} 账单日期: {{current?item.month:item.create_time}}
</view> </view>
@ -108,9 +108,9 @@
</view> </view>
-->
<view class="card" v-for="(item, index) in billList" :key="index">
<!-- <view class="card" v-for="(item, index) in billList" :key="index">
<view class="top"> <view class="top">
<view class="blue">账单详情</view> <view class="blue">账单详情</view>
<view>账单日期{{current?item.month:item.create_time}}</view> <view>账单日期{{current?item.month:item.create_time}}</view>
@ -129,6 +129,7 @@
</view> </view>
</view> </view>
-->
<u-loadmore :status="loadConfig.status" :loading-text="loadConfig.loadingText" <u-loadmore :status="loadConfig.status" :loading-text="loadConfig.loadingText"
:loadmore-text="loadConfig.loadmoreText" :nomore-text="loadConfig.nomoreText" /> :loadmore-text="loadConfig.loadmoreText" :nomore-text="loadConfig.nomoreText" />
</view> </view>
@ -294,7 +295,7 @@
.accont { .accont {
// background-color: red; // background-color: red;
display: flex; display: flex;
width: 32vw; width: 22vw;
justify-content: space-between; justify-content: space-between;
vertical-align: bottom; vertical-align: bottom;
line-height: 44px; line-height: 44px;
@ -424,7 +425,7 @@
} }
.active { .active {
background-color: #3274F9; background-color: $theme-oa-color;
color: #fff; color: #fff;
} }
} }