1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/**
* @Author wangliang
* @date 20220726
*/
<template>
<div class="d-page backage-color-body">
<scroller-view v-calculate-height :pulldown="pulldown" :pullup="pullup">
<div class="roolsolt" v-for="(item , index) in params" :key="index">
<div class="body">
<van-row type="flex" class="title">
<van-col span="24" style="margin-top: 10px;">{{ item.title }}</van-col>
</van-row>
<div class="d-flex mb-3 ">
<div class="p-2 ">
<img :src ="item.image" style="width: 100px;height: 100px;"/>
</div>
<div class="p-2 ">
<div class="d-flex flex-column">
<div class="p-2 " ><span style="color: #666666;">合作企业:</span><span>{{ item.commpay }}</span></div>
<div class="p-2 "><span style="color: #666666;">联系电话:</span><span>{{ item.phone }}</span></div>
</div>
</div>
</div>
</div>
</div>
</scroller-view>
</div>
</template>
<script lang="ts">
/*export default {
name: "CompanyCard"
}*/
import {Component, Prop, Vue} from "vue-property-decorator";
import { ProductData } from '@/model/entity/ProductData'
@Component({
name: "CompanyCard",
})
export default class CompanyCard extends Vue {
pulldown=true;
pullup=true;
@Prop({ default: "" }) params: any | [];
image:any=require('@/assets/images/qyimage.png');
}
</script>
<style scoped lang="scss">
.roolsolt{
width:96%;
margin: -4% auto;
}
.title {
font-size: 25px;
text-align: left;
font-family: 'Arial Normal', 'Arial', sans-serif;
font-weight: bold;
font-style: inherit;
color: black;
margin-left: 2%;
margin-top: 6%;
}
.mumMoney{
margin:5% auto;
}
.backage-color-body{
background-color: #e4e7ed;
}
.body{
width: 100%;
height: 100%;
background-color: #ffffff;
border-radius: 6px;
}
.moneytitle {
color: #FFA121;
text-align: left;
font-size: 14px;
font-family: 'Arial Normal', 'Arial', sans-serif;
font-style: normal;
margin-top: 5%;
}
</style>