app-status-list.vue 1.3 KB
Newer Older
zcdtk's avatar
zcdtk committed
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
<template>
  <div class="list-status">
    <div class="list03 booklist-item-box" >
      <div class="list03-box">
        <div class="list03-box-line">
          <label v-if="item.srfmajortext">
            <i class="el-icon-s-promotion lsit-status-icon"></i>
            {{item.srfmajortext}}
          </label>
          <div class="status_s">
            状态
          </div>
        </div>
        <div class="list-hr"></div>
        <div class="list03-box-line">
          <div>
            <p class="typeinfo" v-if="item.subtitle">{{item.subtitle}}</p>
            <p class="type-p">字段一</p>
          </div>
          <div>
            <p class="typeinfo" v-if="item.content">{{item.content}}</p>
            <p class="type-p">字段二</p>
          </div>
          <div>
            <p class="typeinfo" v-if="item.time" >{{item.time.substr(0,10)}}</p>
            <p class="type-p">字段三</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script lang="ts">
import {
  Vue,
  Component,
  Prop,
  Provide,
  Emit,
  Watch
} from "vue-property-decorator";

@Component({
  components: {}
})
export default class AppStatusList extends Vue{

  /**
   * 传入item
   * @type {any}
   * @memberof AppStatusList
   */
  @Prop() public item?:any;

};
</script>
<style lang="less">
@import "./app-status-list.less";
</style>