|
@@ -119,14 +119,14 @@
|
|
icon="el-icon-search"
|
|
icon="el-icon-search"
|
|
@click="getData"
|
|
@click="getData"
|
|
></el-button>
|
|
></el-button>
|
|
- <!-- <el-button type="primary" @click="selectApp()">发布应用</el-button> -->
|
|
|
|
|
|
+ <el-button type="primary" @click="selectApp()">发布应用</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="ac_content">
|
|
<div class="ac_content">
|
|
<div class="ac_c_item" v-for="(item, index) in dataList" :key="item.id">
|
|
<div class="ac_c_item" v-for="(item, index) in dataList" :key="item.id">
|
|
- <div class="ac_c_i_top">
|
|
|
|
|
|
+ <div class="ac_c_i_top" @click="openApp(item)">
|
|
<div class="ac_c_i_t_left">
|
|
<div class="ac_c_i_t_left">
|
|
<img v-if="item.json.icon" :src="item.json.icon" />
|
|
<img v-if="item.json.icon" :src="item.json.icon" />
|
|
<svg
|
|
<svg
|
|
@@ -476,7 +476,9 @@ export default {
|
|
selectList: [
|
|
selectList: [
|
|
{ index: 3, label: "所有组织" },
|
|
{ index: 3, label: "所有组织" },
|
|
{ index: 2, label: "组织内" },
|
|
{ index: 2, label: "组织内" },
|
|
- { index: 1, label: "我的" }
|
|
|
|
|
|
+ // { index: 1, label: "我的" },
|
|
|
|
+ // { index: 98,label:"已发布"},
|
|
|
|
+ // { index: 99,label:"未发布"},
|
|
],
|
|
],
|
|
labelSelect: [
|
|
labelSelect: [
|
|
{ value: "", label: "全部类型" },
|
|
{ value: "", label: "全部类型" },
|
|
@@ -618,7 +620,7 @@ export default {
|
|
// },
|
|
// },
|
|
//复制app
|
|
//复制app
|
|
copyApp(item) {
|
|
copyApp(item) {
|
|
- this.$confirm(`确定复制《${item.name}》这个应用吗?`, "复制", {
|
|
|
|
|
|
+ this.$confirm(`确定复制《${item.name}》这个应用至我的列表吗?`, "复制", {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
type: "warning"
|
|
type: "warning"
|
|
@@ -641,7 +643,7 @@ export default {
|
|
.post(this.$store.state.api + "insert_appStore", params)
|
|
.post(this.$store.state.api + "insert_appStore", params)
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.data == 1) {
|
|
if (res.data == 1) {
|
|
- this.$message.success("复制成功");
|
|
|
|
|
|
+ this.$message.success("复制成功,已添加至我的列表。");
|
|
this.getData();
|
|
this.getData();
|
|
this.insertSave(item, 3);
|
|
this.insertSave(item, 3);
|
|
} else {
|
|
} else {
|
|
@@ -1238,15 +1240,26 @@ export default {
|
|
height: 250px;
|
|
height: 250px;
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
- box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
+ /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 15px;
|
|
padding: 15px;
|
|
margin-right: 15px;
|
|
margin-right: 15px;
|
|
margin-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
float: left;
|
|
float: left;
|
|
|
|
+ border: solid 1px #e7e7e7;
|
|
|
|
+ transition: .2s;
|
|
|
|
+
|
|
/* cursor: pointer; */
|
|
/* cursor: pointer; */
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.ac_c_item:hover {
|
|
|
|
+ box-shadow: 0px 8px 10px -5px #00000014;
|
|
|
|
+
|
|
|
|
+ box-shadow: 0px 16px 24px 2px #0000000a;
|
|
|
|
+
|
|
|
|
+ box-shadow: 0px 6px 30px 5px #0000000d;
|
|
|
|
+}
|
|
|
|
+
|
|
@media screen and (min-width: 1400px) {
|
|
@media screen and (min-width: 1400px) {
|
|
.ac_c_item {
|
|
.ac_c_item {
|
|
width: calc(100% / 5 - (15px * 4) / 5) !important;
|
|
width: calc(100% / 5 - (15px * 4) / 5) !important;
|
|
@@ -1303,6 +1316,7 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
display: flex;
|
|
height: calc(100% - 40px);
|
|
height: calc(100% - 40px);
|
|
|
|
+ cursor: pointer;
|
|
}
|
|
}
|
|
|
|
|
|
.ac_c_i_t_left {
|
|
.ac_c_i_t_left {
|