优化部分逻辑

This commit is contained in:
weipengfei 2023-07-20 18:13:31 +08:00
parent 7d60d4a013
commit 730c66b6af
3 changed files with 19 additions and 14 deletions

View File

@ -1,10 +1,11 @@
<template> <template>
<view class="oa_home" style="oaColor"> <view class="oa_home" style="oaColor">
<image class="header_bg" src="../../static/img/home/head-bg.png"></image> <!-- <image class="header_bg" src="../../static/img/home/head-bg.png"></image> -->
<view class="home_header">
<!-- #ifdef APP-PLUS||H5 --> <!-- #ifdef APP-PLUS||H5 -->
<view style="height: var(--status-bar-height);"></view> <view style="height: var(--status-bar-height);"></view>
<!-- #endif --> <!-- #endif -->
<view class="home_header">
<view class="my_info flex_a_c"> <view class="my_info flex_a_c">
<view class=""> <view class="">
<u--image :showLoading="true" :src="myOaInfo.avatar||''" width="64px" height="64px" shape="circle"></u--image> <u--image :showLoading="true" :src="myOaInfo.avatar||''" width="64px" height="64px" shape="circle"></u--image>
@ -243,10 +244,13 @@
position: relative; position: relative;
padding: 28.07rpx; padding: 28.07rpx;
// height: 607.02rpx; // height: 607.02rpx;
height: 440.02rpx; // height: 480.02rpx;
width: 100%; width: 100%;
// background-color: $theme-oa-color; // background-color: $theme-oa-color;
margin-bottom: 133.33rpx; margin-bottom: 133.33rpx;
background-image: url('../../static/img/home/head-bg.png');
background-repeat: no-repeat;
background-size: 100% 100%;
.my_info { .my_info {
.mesg_box { .mesg_box {
@ -266,6 +270,7 @@
flex-wrap: wrap; flex-wrap: wrap;
align-content: space-between; align-content: space-between;
text-align: center; text-align: center;
padding-bottom: 110rpx;
.task_item { .task_item {
margin-top: 42.11rpx; margin-top: 42.11rpx;
@ -281,7 +286,7 @@
.backlog { .backlog {
position: absolute; position: absolute;
left: 50%; left: 50%;
bottom: -101.75rpx; bottom: -121.75rpx;
transform: translate(-50%); transform: translate(-50%);
width: 694.74rpx; width: 694.74rpx;
min-height: 221.05rpx; min-height: 221.05rpx;

View File

@ -11,9 +11,9 @@
<view class="code">社会代码{{company.organization_code}}</view> <view class="code">社会代码{{company.organization_code}}</view>
</view> </view>
</view> </view>
<view class="right">公司类型</view> <view class="right">{{company.company_type_name}}</view>
</view> </view>
<view class="bottom"><uni-icons type="location"></uni-icons><text class="location">负责区域:泸州市江阳区通滩镇</text></view> <view class="bottom"><uni-icons type="location"></uni-icons><text class="location">负责区域:</text></view>
</view> </view>
</view> </view>
<view class="item"> <view class="item">
@ -54,10 +54,10 @@
<view class="title">电子合同</view> <view class="title">电子合同</view>
<view class="card"> <view class="card">
<view class="one"> <view class="one">
<view class="linkman">公司名称</view> <view class="linkman">{{contract.party_a_name}}</view>
<view class="info"> <view class="info">
<view class="info_item">签约对象被签约对象名称</view> <view class="info_item">签约对象{{contract.party_b_name}}</view>
<view class="info_item">合同类型{{contract.type}}</view> <view class="info_item">合同类型{{contract.contract_type_name}}</view>
<view class="info_item">合同编号{{contract.contract_no}}</view> <view class="info_item">合同编号{{contract.contract_no}}</view>
</view> </view>
</view> </view>
@ -123,7 +123,7 @@
this.company = res.data.company; this.company = res.data.company;
this.user = res.data.user; this.user = res.data.user;
this.contract = res.data.contract; this.contract = res.data.contract;
console.log(res.data); // console.log(res.data);
}, },
// //
priview(url){ priview(url){

View File

@ -15,10 +15,10 @@
<view class="title"> <view class="title">
<text style="margin-right: 20rpx;">账户总金额()</text><uni-icons type="eye" color="#fff"></uni-icons> <text style="margin-right: 20rpx;">账户总金额()</text><uni-icons type="eye" color="#fff"></uni-icons>
</view> </view>
<view class="price">1338.96</view> <view class="price">{{userInfo.user_money||0.00}}</view>
<view class="bubble"> <view class="bubble">
<!-- <image src="../../static/img/contract/bubble.png"></image> --> <!-- <image src="../../static/img/contract/bubble.png"></image> -->
<view class="text">可提现金额100.00</view> <view class="text">可提现金额0.00</view>
</view> </view>
</view> </view>
</view> </view>