<template>
  <el-dialog
    :title="$t2('脚本说明', 'components.scriptDescription.title')"
    :append-to-body="true"
    :modal-append-to-body="true"
    :close-on-click-modal="false"
    :visible.sync="showDialog"
    :modal="false"
    custom-class="dialog-style tips-dialog tips-1 "
    width="800px"
    @close="dialogClose"
    v-el-drag-dialog
    v-el-dialog-center
  >
    <div class="cont" style="height: 500px;">
      <pre>{{ fileContent }}</pre>
    </div>
    <span slot="footer" class="dialog-footer">
        <el-button type="primary" plain class="button-sty" @click="dialogClose">
          <i class="el-icon-close el-icon"></i>
          {{ $t2('取 消', 'system.button.cancel2') }}
        </el-button>
        <el-button type="primary" @click="dialogClose" class="button-sty">
          <i class="el-icon-check el-icon"></i>
          {{ $t2('确 定', 'system.button.confirm2') }}
        </el-button>
      </span>
  </el-dialog>
</template>

<script>
import { mixins } from './mixins';
export default {
  name: "scriptDescriptionDialog",
  mixins: [mixins]
}
</script>

<style scoped>
</style>
