|
@@ -343,19 +343,18 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="ac_c_typeCard" v-if="showType == ''">
|
|
|
- <div class="ac_c_tc_item" v-for="(item2, index) in typeList">
|
|
|
+ <div class="ac_c_tc_item" v-for="(item2, index2) in typeList">
|
|
|
<div class="ac_c_tc_i_top">
|
|
|
<div>{{ item2.name }}</div>
|
|
|
|
|
|
- <span @click="item2.open = !item2.open"
|
|
|
+ <span
|
|
|
>查看更多
|
|
|
<img
|
|
|
- :style="`transform: rotate(${item2.open ? '0' : '90'}deg);`"
|
|
|
src="../../../../assets/icon/appStore/arrow.svg"
|
|
|
/>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div class="ac_c_tc_i_bottom" v-show="item2.open">
|
|
|
+ <div class="ac_c_tc_i_bottom">
|
|
|
<div
|
|
|
class="ac_c_item"
|
|
|
v-if="item.type === item2.id"
|
|
@@ -906,7 +905,7 @@ export default {
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "insert_appStore", params)
|
|
|
.then(res => {
|
|
|
- if (res.data == 1) {
|
|
|
+ if (res.data) {
|
|
|
this.$message.success("复制成功,已添加至我的列表。");
|
|
|
this.getData();
|
|
|
this.insertSave(item, 3);
|
|
@@ -1008,7 +1007,7 @@ export default {
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "update_appStore", params)
|
|
|
.then(res => {
|
|
|
- if (res.data == 1) {
|
|
|
+ if (res.data) {
|
|
|
this.$message.success("修改成功");
|
|
|
this.$refs.addAppDialogRef.close(true);
|
|
|
this.getData();
|
|
@@ -1042,14 +1041,14 @@ export default {
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "update_appStore", params)
|
|
|
.then(res => {
|
|
|
- if (res.data == 1) {
|
|
|
+ if (res.data) {
|
|
|
this.$message.success("发布成功");
|
|
|
this.$refs.releaseAppDialogRef.close(true);
|
|
|
- this.getData();
|
|
|
} else {
|
|
|
this.$message.error("发布失败");
|
|
|
this.$refs.releaseAppDialogRef.loading = false;
|
|
|
}
|
|
|
+ this.getData();
|
|
|
})
|
|
|
.catch(err => {
|
|
|
console.log(err);
|
|
@@ -1069,11 +1068,11 @@ export default {
|
|
|
.then(res => {
|
|
|
let data = res.data[0];
|
|
|
if (data.length > 0) {
|
|
|
- data.forEach(i => {
|
|
|
- if (i.open == undefined) {
|
|
|
- i.open = true;
|
|
|
- }
|
|
|
- });
|
|
|
+ // data.forEach(i => {
|
|
|
+ // if (i.open == undefined) {
|
|
|
+ // i.open = true;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
this.typeList = data;
|
|
|
}
|
|
|
})
|
|
@@ -1911,7 +1910,7 @@ export default {
|
|
|
width: 18px;
|
|
|
height: 18px;
|
|
|
margin-left: 5px;
|
|
|
- transform: rotate(90deg);
|
|
|
+ /*transform: rotate(90deg);*/
|
|
|
transition: 0.3s;
|
|
|
}
|
|
|
|