<template>
  <el-dialog
    :title="title"
    :append-to-body="true"
    :modal-append-to-body="false"
    :close-on-click-modal="false"
    :visible.sync="showDialog"
    :modal="false"
    custom-class="dialog-style list-dialog"
    width="600px"
    @close="dialogClose"
    v-el-drag-dialog
    v-el-dialog-center
  >
    <div id="containt">
      <div class="detail-wrap">
        <el-form ref="editForm" :model="attachment">
          <!--          <div class="d-header clearfix">
                      <div class="fl">
                        <i class="el-icon-info"/>
                        文件详情
                      </div>
                      <div class="fr">
                      </div>
                    </div>-->
          <div class="d-cont" style="height: auto;padding: 14px 15px 14px 0;width: 100%;">
            <table class="table-detail">
              <tbody>
              <tr>
                <th>
                  {{$t2('文件链接','components.fileLibrary.fileLink')}}
                </th>
                <td colspan="7">
                  <el-input v-model="url" clearable readonly>
                    <el-button slot="append" icon="el-icon-copy-document" @click="copyUrl">{{ $t2('复制', 'components.fileLibrary.copy')}}</el-button>
                  </el-input>
                </td>
              </tr>
              </tbody>
            </table>
          </div>
        </el-form>
      </div>
    </div>
  </el-dialog>
</template>

<script>
import mixins from "./mixins/shareDialogMixins";

export default {
  mixins:[mixins]
};
</script>
