|
@@ -1,8 +1,8 @@
|
|
<template>
|
|
<template>
|
|
- <div class="page_home">
|
|
|
|
- <div class="home_bg">
|
|
|
|
- <div class="bg_title">
|
|
|
|
- <div class="title_info">
|
|
|
|
|
|
+ <div class="page_info">
|
|
|
|
+ <div class="info_bg">
|
|
|
|
+ <van-row align="center" class="bg_title">
|
|
|
|
+ <van-col>
|
|
<van-image
|
|
<van-image
|
|
:src="require('@/assets/position.svg')"
|
|
:src="require('@/assets/position.svg')"
|
|
width="16"
|
|
width="16"
|
|
@@ -16,105 +16,147 @@
|
|
height="24"
|
|
height="24"
|
|
fit="contain"
|
|
fit="contain"
|
|
/>
|
|
/>
|
|
- </div>
|
|
|
|
- <div class="user_info" @click="toPath">
|
|
|
|
|
|
+ </van-col>
|
|
|
|
+ <van-col @click="toPath">
|
|
<van-image
|
|
<van-image
|
|
:src="require('@/assets/user.svg')"
|
|
:src="require('@/assets/user.svg')"
|
|
width="16"
|
|
width="16"
|
|
height="16"
|
|
height="16"
|
|
fit="contain"
|
|
fit="contain"
|
|
/>
|
|
/>
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </van-col>
|
|
|
|
+ </van-row>
|
|
</div>
|
|
</div>
|
|
- <div class="home_info">
|
|
|
|
- <div class="info_content">
|
|
|
|
|
|
+ <!-- 维修工没有此块功能 -->
|
|
|
|
+ <template v-if="role != 3">
|
|
|
|
+ <div class="info_function">
|
|
<div
|
|
<div
|
|
- class="content_item"
|
|
|
|
|
|
+ class="function_item"
|
|
v-for="(item, index) in functionList"
|
|
v-for="(item, index) in functionList"
|
|
:key="index"
|
|
:key="index"
|
|
|
|
+ :style="{ display: !item.role.includes(role) ? 'none' : '' }"
|
|
>
|
|
>
|
|
- <van-image :src="item.src" width="36" height="36" fit="contain" />
|
|
|
|
- <span>{{ item.label }}</span>
|
|
|
|
|
|
+ <template v-if="item.role.includes(role)">
|
|
|
|
+ <van-image :src="item.src" width="36" height="36" fit="contain" />
|
|
|
|
+ <span>{{ item.label }}</span>
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <div class="card_list">
|
|
|
|
- <div class="sub_title">
|
|
|
|
- <span>工单待办</span>
|
|
|
|
- <div class="function_btn">
|
|
|
|
- <span>立即处理</span>
|
|
|
|
|
|
+ </template>
|
|
|
|
+ <div class="info_list">
|
|
|
|
+ <!-- 实时巡检begin -->
|
|
|
|
+ <van-row align="center" justify="space-between" class="sub_title">
|
|
|
|
+ <van-col class="title">实时巡检</van-col>
|
|
|
|
+ <van-col class="function_btn">
|
|
|
|
+ <van-col>立即巡检</van-col>
|
|
<van-image
|
|
<van-image
|
|
:src="require('@/assets/btn-arrow-right.svg')"
|
|
:src="require('@/assets/btn-arrow-right.svg')"
|
|
width="24"
|
|
width="24"
|
|
height="24"
|
|
height="24"
|
|
fit="contain"
|
|
fit="contain"
|
|
/>
|
|
/>
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="list_item">
|
|
|
|
- <div
|
|
|
|
- class="item_info"
|
|
|
|
|
|
+ </van-col>
|
|
|
|
+ </van-row>
|
|
|
|
+ <van-row align="center" justify="space-between" class="list_item">
|
|
|
|
+ <van-row
|
|
|
|
+ align="center"
|
|
|
|
+ justify="space-between"
|
|
|
|
+ style="flex-direction: column"
|
|
|
|
+ v-for="(item, index) in checkList"
|
|
|
|
+ :key="item + '_' + index"
|
|
|
|
+ >
|
|
|
|
+ <van-col>{{ item.label }}</van-col>
|
|
|
|
+ <v-count-up
|
|
|
|
+ :end-val="Number(item['count'])"
|
|
|
|
+ class="count_up"
|
|
|
|
+ :options="item['options']"
|
|
|
|
+ />
|
|
|
|
+ </van-row>
|
|
|
|
+ </van-row>
|
|
|
|
+ <!-- 实时巡检end -->
|
|
|
|
+
|
|
|
|
+ <!-- 工单待办begin -->
|
|
|
|
+ <van-row align="center" justify="space-between" class="sub_title">
|
|
|
|
+ <van-col class="title">工单待办</van-col>
|
|
|
|
+ <van-col class="function_btn">
|
|
|
|
+ <van-col>立即处理</van-col>
|
|
|
|
+ <van-image
|
|
|
|
+ :src="require('@/assets/btn-arrow-right.svg')"
|
|
|
|
+ width="24"
|
|
|
|
+ height="24"
|
|
|
|
+ fit="contain"
|
|
|
|
+ />
|
|
|
|
+ </van-col>
|
|
|
|
+ </van-row>
|
|
|
|
+ <van-row align="center" justify="space-between" class="list_item">
|
|
|
|
+ <van-row
|
|
|
|
+ align="center"
|
|
|
|
+ justify="space-between"
|
|
|
|
+ style="flex-direction: column"
|
|
v-for="(item, index) in workList"
|
|
v-for="(item, index) in workList"
|
|
:key="item + '_' + index"
|
|
:key="item + '_' + index"
|
|
>
|
|
>
|
|
- <span class="label">{{ item.label }}</span>
|
|
|
|
|
|
+ <van-col>{{ item.label }}</van-col>
|
|
<v-count-up
|
|
<v-count-up
|
|
:end-val="Number(item['count'])"
|
|
:end-val="Number(item['count'])"
|
|
class="count_up"
|
|
class="count_up"
|
|
:options="item['options']"
|
|
:options="item['options']"
|
|
/>
|
|
/>
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="sub_title">
|
|
|
|
- <span>设备异常</span>
|
|
|
|
- <div class="function_btn">
|
|
|
|
- <span>立即处理</span>
|
|
|
|
|
|
+ </van-row>
|
|
|
|
+ </van-row>
|
|
|
|
+ <!-- 工单待办end -->
|
|
|
|
+
|
|
|
|
+ <!-- 设备异常begin -->
|
|
|
|
+ <van-row align="center" justify="space-between" class="sub_title">
|
|
|
|
+ <van-col class="title">工单待办</van-col>
|
|
|
|
+ <van-col class="function_btn">
|
|
|
|
+ <van-col>立即处理</van-col>
|
|
<van-image
|
|
<van-image
|
|
:src="require('@/assets/btn-arrow-right.svg')"
|
|
:src="require('@/assets/btn-arrow-right.svg')"
|
|
width="24"
|
|
width="24"
|
|
height="24"
|
|
height="24"
|
|
fit="contain"
|
|
fit="contain"
|
|
/>
|
|
/>
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="list_item">
|
|
|
|
- <div
|
|
|
|
- class="item_info"
|
|
|
|
|
|
+ </van-col>
|
|
|
|
+ </van-row>
|
|
|
|
+ <van-row align="center" justify="space-between" class="list_item">
|
|
|
|
+ <van-row
|
|
|
|
+ align="center"
|
|
|
|
+ justify="space-between"
|
|
|
|
+ style="flex-direction: column"
|
|
>
|
|
>
|
|
- <span class="label">{{abnormalNum.label}}</span>
|
|
|
|
|
|
+ <van-col>{{ abnormalNum.label }}</van-col>
|
|
<v-count-up
|
|
<v-count-up
|
|
- :end-val="Number(abnormalNum.count)"
|
|
|
|
|
|
+ :end-val="Number(abnormalNum['count'])"
|
|
class="count_up"
|
|
class="count_up"
|
|
- style="color: #fa5555"
|
|
|
|
/>
|
|
/>
|
|
- </div>
|
|
|
|
- <div
|
|
|
|
- class="item_info"
|
|
|
|
|
|
+ </van-row>
|
|
|
|
+ <van-row
|
|
|
|
+ align="center"
|
|
|
|
+ justify="space-between"
|
|
|
|
+ style="flex-direction: column"
|
|
v-for="(item, index) in deviceErrorList"
|
|
v-for="(item, index) in deviceErrorList"
|
|
- :key="item + '-' + index"
|
|
|
|
|
|
+ :key="item + '_' + index"
|
|
>
|
|
>
|
|
- <span class="label">{{ item.label }}</span>
|
|
|
|
|
|
+ <van-col>{{ item.label }}</van-col>
|
|
<v-count-up
|
|
<v-count-up
|
|
:end-val="Number(item['count'])"
|
|
:end-val="Number(item['count'])"
|
|
class="count_up"
|
|
class="count_up"
|
|
- :options="item['options']"
|
|
|
|
- style="color: #fa5555"
|
|
|
|
/>
|
|
/>
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="sub_title ">
|
|
|
|
- <span>欠费待收</span>
|
|
|
|
- <div class="function_btn">
|
|
|
|
- <span>立即催收</span>
|
|
|
|
|
|
+ </van-row>
|
|
|
|
+ </van-row>
|
|
|
|
+ <van-row align="center" justify="space-between" class="sub_title">
|
|
|
|
+ <van-col class="title">欠费待收</van-col>
|
|
|
|
+ <van-col class="function_btn">
|
|
|
|
+ <van-col>立即处理</van-col>
|
|
<van-image
|
|
<van-image
|
|
:src="require('@/assets/btn-arrow-right.svg')"
|
|
:src="require('@/assets/btn-arrow-right.svg')"
|
|
width="24"
|
|
width="24"
|
|
height="24"
|
|
height="24"
|
|
fit="contain"
|
|
fit="contain"
|
|
/>
|
|
/>
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </van-col>
|
|
|
|
+ </van-row>
|
|
<div class="list_table">
|
|
<div class="list_table">
|
|
<van-row class="billTit" style="padding-bottom:10px">
|
|
<van-row class="billTit" style="padding-bottom:10px">
|
|
<van-col span="8">欠费类型</van-col>
|
|
<van-col span="8">欠费类型</van-col>
|
|
@@ -127,32 +169,52 @@
|
|
<van-col span="8" class="billAmount">{{item.arrearageAmount}}</van-col>
|
|
<van-col span="8" class="billAmount">{{item.arrearageAmount}}</van-col>
|
|
</van-row>
|
|
</van-row>
|
|
</div>
|
|
</div>
|
|
|
|
+ <!-- 欠费待收end -->
|
|
</div>
|
|
</div>
|
|
- <van-tabbar
|
|
|
|
- v-model="activeTab"
|
|
|
|
- active-color="#5776E6"
|
|
|
|
- inactive-color="#333333"
|
|
|
|
- >
|
|
|
|
- <van-tabbar-item name="home" :icon="require('@/assets/home.svg')" to=""
|
|
|
|
- >首页</van-tabbar-item
|
|
|
|
- >
|
|
|
|
- <van-tabbar-item
|
|
|
|
- name="rentBill"
|
|
|
|
- :icon="require('@/assets/rent-bill.svg')"
|
|
|
|
- to=""
|
|
|
|
- >租户账单</van-tabbar-item
|
|
|
|
- >
|
|
|
|
- <van-tabbar-item
|
|
|
|
- name="remoteControl"
|
|
|
|
- :icon="require('@/assets/remote-control.svg')"
|
|
|
|
- to=""
|
|
|
|
- >远程管控</van-tabbar-item
|
|
|
|
- >
|
|
|
|
- </van-tabbar>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <!-- 底部tabbar -->
|
|
|
|
+ <van-tabbar
|
|
|
|
+ v-model="activeTabBar"
|
|
|
|
+ active-color="#2E69EB"
|
|
|
|
+ inactive-color="#333333"
|
|
|
|
+ safe-area-inset-bottom
|
|
|
|
+ >
|
|
|
|
+ <van-tabbar-item
|
|
|
|
+ name="home"
|
|
|
|
+ :icon="
|
|
|
|
+ activeTabBar == 'home'
|
|
|
|
+ ? require('@/assets/home-active.svg')
|
|
|
|
+ : require('@/assets/home.svg')
|
|
|
|
+ "
|
|
|
|
+ to="/home"
|
|
|
|
+ >首页</van-tabbar-item
|
|
|
|
+ >
|
|
|
|
+ <van-tabbar-item
|
|
|
|
+ name="rentBill"
|
|
|
|
+ :icon="
|
|
|
|
+ activeTabBar == 'rentBill'
|
|
|
|
+ ? require('@/assets/rent-bill-active.svg')
|
|
|
|
+ : require('@/assets/rent-bill.svg')
|
|
|
|
+ "
|
|
|
|
+ to="/rentBill"
|
|
|
|
+ >租户账单</van-tabbar-item
|
|
|
|
+ >
|
|
|
|
+ <van-tabbar-item
|
|
|
|
+ name="remoteControl"
|
|
|
|
+ :icon="
|
|
|
|
+ activeTabBar == 'remoteControl'
|
|
|
|
+ ? require('@/assets/remote-control-active.svg')
|
|
|
|
+ : require('@/assets/remote-control.svg')
|
|
|
|
+ "
|
|
|
|
+ to="/remoteControl"
|
|
|
|
+ >远程管控</van-tabbar-item
|
|
|
|
+ >
|
|
|
|
+ </van-tabbar>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import api from '../utils/api';
|
|
|
|
|
|
+import { isEmpty } from "@/utils/index.js";
|
|
|
|
+import api from "../utils/api";
|
|
import VCountUp from "./CountUp";
|
|
import VCountUp from "./CountUp";
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
@@ -160,15 +222,44 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ role: 1, //1:admin、2:巡检人员、3:维修工、4:租户
|
|
name: "电商园四期-B座",
|
|
name: "电商园四期-B座",
|
|
- activeTab: "rentBill",
|
|
|
|
|
|
+ activeTabBar: "home",
|
|
functionList: [
|
|
functionList: [
|
|
- { src: require("@/assets/repair-online.svg"), label: "线上报修" },
|
|
|
|
- { src: require("@/assets/check-review.svg"), label: "巡检记录" },
|
|
|
|
- { src: require("@/assets/reduce-record.svg"), label: "扣缴记录" },
|
|
|
|
|
|
+ {
|
|
|
|
+ src: require("@/assets/repair-online.svg"),
|
|
|
|
+ label: "线上报修",
|
|
|
|
+ role: [1, 2, 4],
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ src: require("@/assets/check-review.svg"),
|
|
|
|
+ label: "巡检记录",
|
|
|
|
+ role: [1, 2],
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ src: require("@/assets/reduce-record.svg"),
|
|
|
|
+ label: "扣缴记录",
|
|
|
|
+ role: [1, 4],
|
|
|
|
+ },
|
|
],
|
|
],
|
|
- billPaymentList:[],
|
|
|
|
- abnormalNum:{label:'异常总数',count:''},
|
|
|
|
|
|
+ checkList: [
|
|
|
|
+ {
|
|
|
|
+ label: "今日待巡检",
|
|
|
|
+ count: 88,
|
|
|
|
+ options: {
|
|
|
|
+ separator: ",",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: "今日已巡检",
|
|
|
|
+ count: 2,
|
|
|
|
+ options: {
|
|
|
|
+ separator: ",",
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
|
|
+ billPaymentList: [],
|
|
|
|
+ abnormalNum: { label: "异常总数", count: "" },
|
|
workList: [
|
|
workList: [
|
|
{
|
|
{
|
|
label: "待指派",
|
|
label: "待指派",
|
|
@@ -187,33 +278,33 @@ export default {
|
|
loading: false,
|
|
loading: false,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- created(){
|
|
|
|
|
|
+ created() {
|
|
this.getHomeData();
|
|
this.getHomeData();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- getHomeData(){
|
|
|
|
- api.homedata().then(res=>{
|
|
|
|
- console.log(res)
|
|
|
|
- if(res.code==0){
|
|
|
|
|
|
+ getHomeData() {
|
|
|
|
+ api.homedata().then((res) => {
|
|
|
|
+ console.log(res);
|
|
|
|
+ if (res.code == 0) {
|
|
//工单代办数据
|
|
//工单代办数据
|
|
- for(let k in res.data.workOrder){
|
|
|
|
- this.workList[k-1].count=res.data.workOrder[k]
|
|
|
|
|
|
+ for (let k in res.data.workOrder) {
|
|
|
|
+ this.workList[k - 1].count = res.data.workOrder[k];
|
|
}
|
|
}
|
|
//设备异常数据
|
|
//设备异常数据
|
|
- let mapsArr=[];
|
|
|
|
- for(let k in res.data.equip.maps){
|
|
|
|
- let json={};
|
|
|
|
- json.label=k;
|
|
|
|
- json.count=res.data.equip.maps[k];
|
|
|
|
|
|
+ let mapsArr = [];
|
|
|
|
+ for (let k in res.data.equip.maps) {
|
|
|
|
+ let json = {};
|
|
|
|
+ json.label = k;
|
|
|
|
+ json.count = res.data.equip.maps[k];
|
|
mapsArr.push(json);
|
|
mapsArr.push(json);
|
|
}
|
|
}
|
|
- this.deviceErrorList=mapsArr;
|
|
|
|
|
|
+ this.deviceErrorList = mapsArr;
|
|
//赋值异常总数
|
|
//赋值异常总数
|
|
- this.abnormalNum.count=res.data.equip.abnormalNum;
|
|
|
|
|
|
+ this.abnormalNum.count = res.data.equip.abnormalNum;
|
|
//欠费待收数据
|
|
//欠费待收数据
|
|
- this.billPaymentList=res.data.billPaymentList;
|
|
|
|
|
|
+ this.billPaymentList = res.data.billPaymentList;
|
|
}
|
|
}
|
|
- })
|
|
|
|
|
|
+ });
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
@@ -242,17 +333,24 @@ export default {
|
|
this.onLoad();
|
|
this.onLoad();
|
|
},
|
|
},
|
|
toPath() {
|
|
toPath() {
|
|
- this.$router.push("/userInfo");
|
|
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: "/userInfo",
|
|
|
|
+ query: {
|
|
|
|
+ title: "账号中心",
|
|
|
|
+ source: "account",
|
|
|
|
+ },
|
|
|
|
+ });
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
-.page_home {
|
|
|
|
|
|
+.page_info {
|
|
position: relative;
|
|
position: relative;
|
|
- height: calc(100vh - 60px);
|
|
|
|
- overflow: auto;
|
|
|
|
- .home_bg {
|
|
|
|
|
|
+ height: calc(
|
|
|
|
+ 100% - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 60px
|
|
|
|
+ );
|
|
|
|
+ .info_bg {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 102px;
|
|
height: 102px;
|
|
background: #5c8fff;
|
|
background: #5c8fff;
|
|
@@ -264,69 +362,62 @@ export default {
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
padding: 0 16px;
|
|
- .title_info {
|
|
|
|
|
|
+ .van-col {
|
|
|
|
+ height: 24px;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ color: #ffffff;
|
|
|
|
+ line-height: 24px;
|
|
|
|
+ text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
- span {
|
|
|
|
- height: 24px;
|
|
|
|
- font-size: 16px;
|
|
|
|
- font-weight: 600;
|
|
|
|
- color: #ffffff;
|
|
|
|
- line-height: 24px;
|
|
|
|
- text-align: center;
|
|
|
|
- text-indent: 4px;
|
|
|
|
- text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .home_info {
|
|
|
|
|
|
+ .info_function {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 52px;
|
|
top: 52px;
|
|
width: calc(100% - 32px);
|
|
width: calc(100% - 32px);
|
|
- padding: 0 16px;
|
|
|
|
- .info_content {
|
|
|
|
- background: #ffffff;
|
|
|
|
- box-shadow: 0px 0px 8px 0px rgba(51, 51, 51, 0.08);
|
|
|
|
- border-radius: 4px;
|
|
|
|
|
|
+ margin: 0 16px;
|
|
|
|
+ background: #ffffff;
|
|
|
|
+ box-shadow: 0px 0px 8px 0px rgba(51, 51, 51, 0.08);
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: space-around;
|
|
|
|
+ padding: 16px 0;
|
|
|
|
+ .function_item {
|
|
display: flex;
|
|
display: flex;
|
|
|
|
+ flex-direction: column;
|
|
align-items: center;
|
|
align-items: center;
|
|
- justify-content: space-between;
|
|
|
|
- padding: 16px 30px;
|
|
|
|
- .content_item {
|
|
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- align-items: center;
|
|
|
|
- justify-content: center;
|
|
|
|
- span {
|
|
|
|
- height: 20px;
|
|
|
|
- font-size: 14px;
|
|
|
|
- font-weight: 400;
|
|
|
|
- color: #697081;
|
|
|
|
- line-height: 20px;
|
|
|
|
- margin-top: 4px;
|
|
|
|
- }
|
|
|
|
|
|
+ justify-content: center;
|
|
|
|
+ span {
|
|
|
|
+ height: 20px;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ color: #697081;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+ margin-top: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .card_list {
|
|
|
|
|
|
+ .info_list {
|
|
|
|
+ max-height: calc(100% - 114px - 42px - 20px);
|
|
padding: 0 16px;
|
|
padding: 0 16px;
|
|
|
|
+ overflow-y: auto;
|
|
.sub_title {
|
|
.sub_title {
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- justify-content: space-between;
|
|
|
|
margin: 12px 0 6px 0;
|
|
margin: 12px 0 6px 0;
|
|
- span {
|
|
|
|
|
|
+ .title {
|
|
height: 20px;
|
|
height: 20px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
- font-weight: 600;
|
|
|
|
|
|
+ font-weight: 500;
|
|
color: #0c1935;
|
|
color: #0c1935;
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
.function_btn {
|
|
.function_btn {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
- span {
|
|
|
|
|
|
+ .van-col {
|
|
height: 16px;
|
|
height: 16px;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
@@ -340,29 +431,34 @@ export default {
|
|
box-shadow: 0px 0px 4px 0px rgba(51, 51, 51, 0.08);
|
|
box-shadow: 0px 0px 4px 0px rgba(51, 51, 51, 0.08);
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
padding: 16px 30px;
|
|
padding: 16px 30px;
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- .item_info {
|
|
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- align-items: center;
|
|
|
|
- justify-content: center;
|
|
|
|
- .label {
|
|
|
|
|
|
+ .van-col {
|
|
|
|
+ height: 16px;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ color: #666666;
|
|
|
|
+ line-height: 16px;
|
|
|
|
+ }
|
|
|
|
+ .count_up {
|
|
|
|
+ margin-top: 4px;
|
|
|
|
+ height: 22px;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ color: #0c1935;
|
|
|
|
+ line-height: 22px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .list_table {
|
|
|
|
+ padding: 8px 16px;
|
|
|
|
+ .table_header {
|
|
|
|
+ padding: 8px 0;
|
|
|
|
+ border-bottom: 1px solid #eeeeee;
|
|
|
|
+ .van-col {
|
|
height: 16px;
|
|
height: 16px;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
- font-weight: 400;
|
|
|
|
- color: #697081;
|
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ color: #999999;
|
|
line-height: 16px;
|
|
line-height: 16px;
|
|
}
|
|
}
|
|
- .count_up {
|
|
|
|
- margin-top: 4px;
|
|
|
|
- height: 22px;
|
|
|
|
- font-size: 20px;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: #0c1935;
|
|
|
|
- line-height: 22px;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.list_table {
|
|
.list_table {
|
|
@@ -385,20 +481,19 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .billList{
|
|
|
|
|
|
+ .billList {
|
|
padding: 15px 0;
|
|
padding: 15px 0;
|
|
- border-top:1px solid #eee;
|
|
|
|
|
|
+ border-top: 1px solid #eee;
|
|
}
|
|
}
|
|
- .billTit{
|
|
|
|
- height: 16px;
|
|
|
|
- font-size: 12px;
|
|
|
|
- font-weight: 400;
|
|
|
|
- color: #697081;
|
|
|
|
- line-height: 16px;
|
|
|
|
|
|
+ .billTit {
|
|
|
|
+ height: 16px;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ color: #697081;
|
|
|
|
+ line-height: 16px;
|
|
}
|
|
}
|
|
- .billAmount{
|
|
|
|
|
|
+ .billAmount {
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|