Commit fdde91f1 authored by duxinyuan's avatar duxinyuan

内容完善

parent 57c1c1dd
<template>
<div>
<div class="table-build" >
<div class="DivBox" v-for="(item,index) in data">
<div class="halfDiv" v-if="item.alipay!=0">
施总支付宝:{{ item.alipay }}
</div>
<div class="halfDiv" v-if="item.tenpay!=0">
施总微信:{{ item.tenpay }}
</div>
<div class="halfDiv" v-if="item.realty_pay!=0">
地产转账:{{ item.realty_pay }}
</div>
<div class="halfDiv" v-if="item.family_pay!=0">s
世家转账:{{ item.family_pay }}
</div>
<div class="halfDiv" v-if="item.private_bank!=0">
3000账号:{{ item.private_bank }}
</div>
<div class="halfDiv" v-if="item.cash!=0">
现金:{{ item.cash }}
</div>
<div class="halfDiv" v-if="item.pos!=0">
POS机:{{ item.pos }}
</div>
<div class="halfDiv" v-if="item.other_bank!=0">
其他:{{ item.other_bank }}
</div>
<div class="center next">
<div class="halfDiv">
审核人:{{ item.operation_name }}
</div>
<div class="halfDiv" >
审核时间:{{ item.create_time }}
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import '@/assets/js/layer041002.js';
export default {
name: '',
props: {
data: {
type: Object,
default : {
msg : '数据为空'
}
},
dataindex: {
type: [Number, String],
default: 0
},
checkList : {
type: Array,
}
},
data(){
return {
dataTotalList : "" ,
checkList : [],
}
},
created() {
let _this = this;
},
mounted () {
window.addEventListener('scroll', this.handleScroll, true);
// 监听(绑定)滚轮 滚动事件
},
methods: {
},
computed: {
}
}
</script>
<style scoped>
.center {
width : 100%;
text-align:center ;
}
.m-t-3{
margin-top:.3rem;
}
.table-build{
width : 7.5rem;
text-align:center ;
}
.table_head{
width : 1.67rem;
text-align:center;
border-right:1px solid #eeeeee;
padding-left:.36rem;
float:left;
}
.head_text_div{
width :100%;
padding:.24rem 0rem .24rem 0rem ;
text-align:left;
}
.table_text {
width : 1.6rem ;
text-align:center;
border-right:1px solid #eeeeee;
float:left;
}
.table_text3 {
width : 1.6rem ;
text-align:center;
float:left;
}
.table_text_div{
width :100%;
padding:.24rem 0rem .24rem 0rem ;
text-align:center;
}
.table_tr{
width : 100%;
overflow:hidden ;
border-bottom:1px solid #eeeeee;
}
.DivBox{
width : 100% ;
padding :0.18rem 0rem 0.5rem 0rem ;
overflow:hidden ;
border-bottom:1px solid #eeeeee;
}
.halfDiv{
width: 3.03rem;
padding : 0rem .36rem ;
float:left;
margin-top:0.12rem;
text-align:left;
}
.next{
width : 750rem!important;
float:left;
}
</style>
<!--//http://localhost:8080/#/priceReport?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjo1NzM5LCJuYW1lIjoiXHU2MDNiXHU2ZDRiXHU4YmQ1MSIsInBob25lIjoiMTU2MDE2NTIzNTMiLCJsZXZlbCI6MzB9LCJ0aW1lU3RhbXBfIjoxNTMwNjA2ODU4fQ.8jL49CjtBMV6BqmaKdJfd4pkGBazrAgQQrutb53Z3mY-->
\ No newline at end of file
<template>
<div>
<div class="table-build">
<div class="table_tr" v-for="(item,index) in listArray ">
<div class="table_tr" v-for="(item,index) in data ">
<div class="table_head">
<div class="head_text_div" >
<span>{{ item.msg }}</span>
......@@ -47,8 +47,7 @@
created() {
let that = this;
console.log(that.data);
that.initData(that.data);
// that.initData();
},
mounted () {
......@@ -56,9 +55,9 @@
window.addEventListener('scroll', this.handleScroll, true);
},
methods: {
initData : function(list){
initData : function(){
let that = this ;
console.log(list)
let list = that.data;
var listArray = [
{
"msg" : "调整ID" ,
......@@ -101,7 +100,6 @@
"str2" : list.length > 1 ? (list[1].pay_log_id ? list[1].pay_log_id : "-") :"-",
}
]
console.log(listArray)
that.listArray = listArray ;
}
},
......
......@@ -59,26 +59,25 @@
dataindex: {
type: [Number, String],
default: 0
}
},
},
data(){
return {
dataTotalList : ""
dataTotalList : "" ,
}
},
created() {
let _this = this;
},
mounted () {
window.addEventListener('scroll', this.handleScroll, true);
// 监听(绑定)滚轮 滚动事件
},
methods: {
},
computed: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment