afaa4c36 by joe

压图

1 parent 94b758ac
Showing 54 changed files with 46 additions and 7 deletions
......@@ -11,7 +11,7 @@ as.defineAvatar = "http://cdn.aiwanpai.com/s/d.jpg";
as.shareLink = as.domains + "/index.html";
as.shareImgUrl = as.domains + "/share.jpg";
as.shareTitle = "我C位出道,需要你的一票";
as.shareDesc = "我参加了立白集团立乐家和嘉佳卡通卫视联合举办的“小戏骨选拔赛”,C位出道需要你的一票。你也想成为C位主角吗?不要犹豫了,赶紧来报名吧!"
as.shareDesc = "C位出道需要你的一票。你也想成为C位主角吗?不要犹豫了,赶紧来报名吧!"
as.success = function () { };
as.appSuccess = function () { };
......

84.4 KB | W: | H:

38.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

7.9 KB | W: | H:

3.33 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.19 KB | W: | H:

2.06 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

770 Bytes | W: | H:

371 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

313 Bytes | W: | H:

163 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.01 KB | W: | H:

1.76 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

7.82 KB | W: | H:

2.54 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

38.8 KB | W: | H:

11.7 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

25.5 KB | W: | H:

8.73 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

390 Bytes | W: | H:

238 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.09 KB | W: | H:

1.15 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.53 KB | W: | H:

1.31 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

6.62 KB | W: | H:

3.17 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.67 KB | W: | H:

1.67 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.79 KB | W: | H:

2.28 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

8.09 KB | W: | H:

3.78 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.65 KB | W: | H:

2.38 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.27 KB | W: | H:

2.16 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.94 KB | W: | H:

1.56 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

57.6 KB | W: | H:

25.3 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

72.9 KB | W: | H:

25.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.45 KB | W: | H:

965 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.89 KB | W: | H:

1.46 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.05 KB | W: | H:

2.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.24 KB | W: | H:

2.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

636 KB | W: | H:

210 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

18.6 KB | W: | H:

8.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

35.9 KB | W: | H:

14 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

86.7 KB | W: | H:

36.4 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

19.2 KB | W: | H:

8.07 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.4 KB | W: | H:

1.29 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

3.89 KB | W: | H:

1.73 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

1.89 KB | W: | H:

554 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

618 Bytes | W: | H:

415 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

752 Bytes | W: | H:

446 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

752 Bytes | W: | H:

475 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.23 KB | W: | H:

1.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

79.8 KB | W: | H:

23.7 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

1.59 KB | W: | H:

839 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

51 KB | W: | H:

15.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

89.8 KB | W: | H:

30.8 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

90 KB | W: | H:

25.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

312 KB | W: | H:

82.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

104 KB | W: | H:

31.2 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

12.3 KB | W: | H:

4.99 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

16.1 KB | W: | H:

5.93 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

105 KB | W: | H:

10.2 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

239 KB | W: | H:

59.2 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

319 KB | W: | H:

74.4 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

120 KB | W: | H:

56.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
......@@ -7,11 +7,13 @@
<div class="search-btn" @click="searchWorksHandler('searchBtn')"></div>
</div>
<van-row>
<van-col span="12" v-for="(item,index) in worksList" :key="index">
<van-list v-model="isLoading" :finished="!hasMore" finished-text="" @load="refreshMore">
<van-cell v-for="(itemList,index1) in worksList" :key="index1">
<van-col span="12" v-for="(item,index2) in itemList" :key="index2">
<div class="worksItem" @click="toWorksViewHandler(item.worksCode)">
<div
class="worksThumb"
v-bind:style="{backgroundImage:'url(' + item.worksList[0].worksUrl + ')'}"
v-bind:style="{backgroundImage:'url(' + item.worksList && item.worksList[0] && item.worksList[0].worksUrl + ')'}"
></div>
<div class="worksDescription">
<div class="worksNo">{{item.worksNo}}</div>
......@@ -21,6 +23,7 @@
</div>
</div>
</van-col>
</van-cell>
<van-col span="24" v-if="worksList.length == 0 ">
<div class="empty">
......@@ -30,6 +33,7 @@
<div class="empty-message">没有搜到任何作品 !</div>
</div>
</van-col>
</van-list>
</van-row>
</div>
</template>
......@@ -44,7 +48,9 @@ import { httpGet } from "@/api/fetch-api";
import Vue from "vue";
import { Row, Col } from "vant";
import { Icon } from "vant";
import { List, Cell } from "vant";
Vue.use(List).use(Cell);
Vue.use(Icon);
Vue.use(Row).use(Col);
......@@ -52,13 +58,15 @@ export default {
props: [""],
data() {
return {
hasMore: true,
isLoading: false,
init: false,
worksList: [],
lastQuery: "",
listForm: {
query: "",
page: 1,
size: 10
size: 20
}
};
},
......@@ -82,9 +90,29 @@ export default {
if (this.listForm.page != 1) {
list = this.worksList;
}
list = list.concat(res.list);
let tempList = [];
for (let index = 0; index < res.list.length; index++) {
if (index % 2 == 0) {
tempList = [];
list.push(tempList);
}
tempList.push(res.list[index]);
}
// console.log(list);
// list = list.concat(res.list);
this.worksList = list;
// 加载更多
this.hasMore = res.list.length == this.listForm.size;
this.isLoading = false;
});
},
refreshMore() {
// console.log("refresh more");
this.listForm.page++;
this.searchWorksHandler();
}
},
created() {
......@@ -137,11 +165,17 @@ export default {
}
}
.van-row {
margin-top: 30px;
}
.van-cell{
padding: 0;
}
.worksItem {
margin: 0 auto 20px auto;
width: 300px;
height: 275px;
border: solid 1px #d1d0d0;
......@@ -164,6 +198,7 @@ export default {
line-height: 60px;
text-align: left;
text-overflow: ellipsis;
overflow: hidden;
}
.worksNo {
......@@ -173,7 +208,9 @@ export default {
width: 133px;
}
.worksPriaseNo {
width: 63px;
width: 60px;
text-align: right;
padding-right: 5px;
}
.worksPraise {
width: 28px;
......
......@@ -236,6 +236,8 @@ export default {
.container-title {
font-size: 28px;
text-overflow: ellipsis;
overflow: hidden;
}
.auto-register-tips {
......
......@@ -135,7 +135,7 @@ export default {
showWorksList() {
this.listVisiabled = true;
},
praiseSuccessHandler() {}
praiseSuccessHandler() {},
},
created() {
this.initActivity();
......