Browse Source

修复prjitem

dev-remain
revive 4 years ago
parent
commit
fd801b90d9
2 changed files with 17 additions and 3 deletions
  1. +1
    -0
      src/views/main_web/index/index.vue
  2. +16
    -3
      src/views/main_web/proj-item.vue

+ 1
- 0
src/views/main_web/index/index.vue View File

@@ -70,6 +70,7 @@
:projPageList="projPageList" :projPageList="projPageList"
:openPrjInfo="openPrjInfo" :openPrjInfo="openPrjInfo"
:addNewFolders="addNewFolders" :addNewFolders="addNewFolders"
:scrollLoad="scrollLoad"
> >
</ProjItem> </ProjItem>




+ 16
- 3
src/views/main_web/proj-item.vue View File

@@ -77,6 +77,7 @@ export default {
}, },
openPrjInfo:Function, openPrjInfo:Function,
addNewFolders:Function, addNewFolders:Function,
scrollLoad:Function


}, },
watch:{ watch:{
@@ -106,6 +107,7 @@ export default {
hiddenSetIcon() { hiddenSetIcon() {
this.focusProjId = ''; this.focusProjId = '';
}, },

/** /**
* 转到workspace工作空间 * 转到workspace工作空间
*/ */
@@ -129,14 +131,25 @@ export default {
</script> </script>


<style lang="scss" scoped> <style lang="scss" scoped>
.yiyun_warpContent{
text-align: center;
// .yiyun_warpContent{
// text-align: center;
// text-align-last: left;
// padding: 0px 20px;
// }
.yiyun-rows {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.prjitem:last-child:nth-child(4n-2) {
margin-right: calc(30% + 4% / 3);
} }
.prjitem{ .prjitem{
width: 400px; width: 400px;
display: inline-block; display: inline-block;
border-radius:16px ; border-radius:16px ;
margin: 30px 30px;
margin: 30px 0px;
transition: all .3s linear; transition: all .3s linear;
} }
.prjitem:hover{ .prjitem:hover{


Loading…
Cancel
Save