123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <template>
- <div id="service">
- <el-col :span="24" class="maintoplefttitle">
- <div style="padding:10px 0 0 0;border-bottom: 1px solid #ccc;">
- <span></span><span>科级合作</span><span><i class="el-icon-more"></i></span>
- </div>
- </el-col>
- <el-col :span="24">
- <el-col :span="24" class="leftcontext" v-for="(item, index) in serviceList" :key="index">
- <el-col :span="16" class="title"> <span></span>{{ item.title }} </el-col>
- <el-col :span="8" class="date">{{ item.date }}</el-col>
- </el-col>
- </el-col>
- </div>
- </template>
- <script>
- export default {
- name: 'service',
- props: {
- serviceList: null,
- },
- components: {},
- data: () => ({}),
- created() {},
- computed: {},
- methods: {},
- };
- </script>
- <style lang="less" scoped>
- .between {
- height: 300px;
- background-color: #fff;
- padding: 0 10px 0 10px;
- }
- .between .leftcontext {
- padding: 0 20px 0 20px;
- }
- .main .between .maintoplefttitle {
- padding: 20px;
- // border-bottom: 1px dashed #ccc;
- }
- .main .between .maintoplefttitle span:first-child {
- display: inline-block;
- width: 4px;
- height: 20px;
- background: #005293;
- margin: 0 10px -3px 0;
- }
- .main .between .maintoplefttitle span:nth-child(2) {
- font-size: 20px;
- color: #005293;
- padding: 0 10px 0 0;
- }
- .main .between .maintoplefttitle span:nth-child(3) {
- font-size: 20px;
- color: #005293;
- float: right;
- }
- .maintopright .leftcontext {
- padding: 0 20px 0 20px;
- font-size: 16px;
- }
- .maintopright .leftcontext p {
- margin: 0;
- padding: 0;
- }
- .maintopright .leftcontext title span:first-child {
- font-weight: 1000;
- padding: 5px;
- }
- .title {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- height: 38px;
- }
- .title span:first-child {
- display: inline-block;
- width: 4px;
- height: 4px;
- margin: 9px 10px 3px 0;
- background: #ccc;
- }
- .date {
- float: right;
- color: #777777;
- text-indent: 24px;
- }
- </style>
|