<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>管理后台</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="renderer" content="webkit"> <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> <link href="/sitefiles/assets/images/favicon.png" rel="icon" type="image/png"> <link href="/sitefiles/assets/css/font-awesome-4.7.0.min.css?v=1618992755943" rel="stylesheet" type="text/css"> <link href="/sitefiles/assets/css/ionicons-2.0.0.min.css?v=1618992755943" rel="stylesheet" type="text/css"> <link href="/sitefiles/assets/lib/elementui/themechalk/index.css?v=1618992755943" rel="stylesheet" type="text/css"> <link href="/sitefiles/assets/css/element-ui.css?v=1618992755943" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="/sitefiles/assets/css/github-markdown.css?v=1618992755943"> <style> .el-card__body .el-form-item {
      margin-bottom: 5px;
    } </style> </head> <body> <div id="main"> <div v-if="this.pageLoad" style="display: none" :style="{display: ''}"> <el-form :inline="true" size="mini"> <el-form-item label="关键字"> <el-input v-model="keyword" placeholder="请输入关键字..."></el-input> </el-form-item> <el-form-item> <el-button type="primary" v-on:click="btnSearchClick">搜索插件</el-button> <el-button size="mini" type="primary" plain style="margin-left: 0px;" icon="el-icon-upload" v-on:click="btnUploadClick"> 离线安装 </el-button> </el-form-item> </el-form> <template v-if="q"> <div style="margin-bottom: 10px;" v-if="extensions && extensions.length > 0">搜索到 {{extensions.length}} 个结果</div> <div style="margin-bottom: 10px;" v-else>未找到搜索结果，建议更换搜索词</div> </template> <el-row> <el-col :span="6" v-for="(item, index) in extensionWithReleases" :key="index"> <el-card style="margin-bottom: 15px; margin-right: 15px;"> <div slot="header" class="clearfix"> <span> <el-link :underline="false" type="primary" v-on:click="btnViewClick(item)"> {{ item.extension.displayName }} </el-link> </span> </div> <div style="text-align: center;"> <el-link :underline="false" type="primary" v-on:click="btnViewClick(item)"> <el-badge :value="isInstalled(item.extension) ? '已安装' : '未安装'" :type="isInstalled(item.extension) ? 'success' : 'info'"> <el-image style="width: 150px; height: 150px; cursor: pointer; margin: 10px" :src="getIconUrl(item.extension.iconUrl)"> <div slot="error" class="image-slot"> <i class="el-icon-picture-outline"></i> </div> </el-image> </el-badge> </el-link> </div> <el-form size="mini" label-width="70px"> <el-form-item label="标识"> <el-link :underline="false" type="primary" v-on:click="btnViewClick(item)"> {{ item.extension.userName }}.{{ item.extension.name }} </el-link> </el-form-item> <el-form-item label="插件版本"> {{ item.release.version }} </el-form-item> <el-form-item label="发布时间"> {{ item.release.createdDate }} </el-form-item> </el-form> <div :title="item.extension.description" class="cell" style="font-size: 14px; text-align: left; overflow-y: hidden; height: 15px;; height: 35px; overflow: hidden"> {{ item.extension.description }} </div> </el-card> </el-col> </el-row> </div> <div v-else :style="{top: ($(window).height()/2 - 30) + 'px'}" v-loading="true" element-loading-text="页面加载中"></div> </div> </body> </html> <script src="/sitefiles/assets/lib/es6-promise.auto.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/axios-0.17.1.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/core-js-3.6.5.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/lodash-4.17.10.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/jquery-1.9.1.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/layer/layer-3.1.1.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/sweetalert2-7.28.4.all.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/vue-2.5.16.min.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/lib/elementui/index.js?v=1618992755943"></script> <script src="/sitefiles/assets/js/admin.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/js/utils.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/js/cloud.js?v=1618992755943" type="text/javascript"></script> <script src="/sitefiles/assets/js/admin/plugins/add.js?v=1618992755943" type="text/javascript"></script> 