playback.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {include file="/shopro/common/script" /}
  2. <style>
  3. .program {
  4. width: 360px;
  5. height: 260px;
  6. background: #f5f5f5;
  7. border-radius: 4px;
  8. }
  9. .path {
  10. width: 360px;
  11. height: 260px;
  12. background: #f5f5f5;
  13. border-radius: 4px;
  14. }
  15. .title {
  16. font-size: 14px;
  17. line-height: 20px;
  18. color: var(--sa-subtitle);
  19. }
  20. .desc {
  21. color: var(--sa-subfont);
  22. font-size: 14px;
  23. line-height: 20px;
  24. word-break: break-all;
  25. word-wrap: break-word;
  26. }
  27. </style>
  28. <div id="playback" class="mplive-index panel panel-default panel-intro" v-cloak>
  29. <el-container class="panel-block">
  30. <!-- v-loading="loading" -->
  31. <el-main class="sa-p-0">
  32. <el-table :data="table.data" class="sa-table" stripe>
  33. <template #empty>
  34. <sa-empty />
  35. </template>
  36. <el-table-column label="回放片段" min-width="140">
  37. <template #default="scope">
  38. <div class="sa-table-line-1">{{ '片段' + scope.row.index || '-' }}</div>
  39. </template>
  40. </el-table-column>
  41. <el-table-column label="创建时间" min-width="140">
  42. <template #default="scope">
  43. <div class="sa-table-line-1">{{
  44. dayjs(scope.row.create_time).format('YYYY-MM-DD HH:mm:ss') || '-'
  45. }}</div>
  46. </template>
  47. </el-table-column>
  48. <el-table-column label="过期时间" min-width="140">
  49. <template #default="scope">
  50. <div class="sa-table-line-1">{{
  51. dayjs(scope.row.expire_time).format('YYYY-MM-DD HH:mm:ss') || '-'
  52. }}</div>
  53. </template>
  54. </el-table-column>
  55. <el-table-column fixed="right" label="操作" min-width="120">
  56. <template #default="scope">
  57. <el-button class="is-link" type="primary" @click="play(scope.row.media_url)">播放</el-button>
  58. </template>
  59. </el-table-column>
  60. </el-table>
  61. </el-main>
  62. </el-container>
  63. </div>