| | |
| | | <!-- 头部左侧按钮模块 --> |
| | | <div class="avue-crud__left"> |
| | | <el-button size="small" class="button" icon="el-icon-back" @click="backModules">返回模块列表</el-button> |
| | | <el-button size="small" class="button" icon="el-icon-back" @click="backStartPage">回到开始页</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="content-view"> |
| | | <!--开始页--> |
| | | <div v-if="currentIndex==1" class="start"> |
| | | <img class="start-img" :src="startPage.fileUrl[0].value"> |
| | | <div class="start-button-group"> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <!--内容页--> |
| | | <div style="height: 100%;width: 100%" v-if="currentIndex==2" class="content"> |
| | | |
| | | <!--flash--> |
| | |
| | | |
| | | <script> |
| | | import {getAll} from "@/api/modules/function"; |
| | | // import Flipbook from 'flipbook-vue/vue2' |
| | | import LeftIcon from 'vue-material-design-icons/ChevronLeftCircle' |
| | | import RightIcon from 'vue-material-design-icons/ChevronRightCircle' |
| | | import PlusIcon from 'vue-material-design-icons/PlusCircle' |
| | |
| | | }, |
| | | } |
| | | }, |
| | | mounted() { |
| | | created() { |
| | | this.getAllFunc() |
| | | }, |
| | | methods: { |
| | |
| | | if (data.type == 1) { |
| | | |
| | | } else if (data.type == 2) { |
| | | let fileArray = data.fileUrl |
| | | fileArray.forEach(e => { |
| | | this.flipConfig.pages.push(e.value) |
| | | }) |
| | | // let fileArray = data.fileUrl |
| | | // fileArray.forEach(e => { |
| | | // this.flipConfig.pages.push(e.value) |
| | | // }) |
| | | } else if (data.type == 3) { |
| | | let url = data.fileUrl[0].value |
| | | this.iframePath = 'http://192.168.0.200:8012/onlinePreview?url=' + encodeURIComponent(Base64.encode(url)) |
| | | } |
| | | }, |
| | | backStartPage(){ |
| | | this.currentIndex = 1 |
| | | this.content = this.startPage |
| | | } |
| | | } |
| | | } |