/** * @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>