diff --git a/src/assets/images/eventBg.png b/src/assets/images/eventBg.png new file mode 100644 index 0000000..17294d0 Binary files /dev/null and b/src/assets/images/eventBg.png differ diff --git a/src/assets/images/frame.png b/src/assets/images/frame.png new file mode 100644 index 0000000..4ca828d Binary files /dev/null and b/src/assets/images/frame.png differ diff --git a/src/assets/images/undefinedBg.png b/src/assets/images/undefinedBg.png new file mode 100644 index 0000000..ff0832f Binary files /dev/null and b/src/assets/images/undefinedBg.png differ diff --git a/src/view/equipmentAssets.vue b/src/view/equipmentAssets.vue index ad3523c..cd102af 100644 --- a/src/view/equipmentAssets.vue +++ b/src/view/equipmentAssets.vue @@ -333,9 +333,6 @@ export default { }; }, mounted() { - window.setTimeout(()=>{ - this.menuHandelShow() - },3400) }, methods: { handelBtn(index) { diff --git a/src/view/index.vue b/src/view/index.vue index e80aafb..d1c620a 100644 --- a/src/view/index.vue +++ b/src/view/index.vue @@ -215,21 +215,22 @@
- - + @@ -2315,4 +2344,7 @@ export default { .equimentAssets { position: absolute; } +.smartPage { + position: absolute; +} \ No newline at end of file diff --git a/src/view/smartPage.vue b/src/view/smartPage.vue index 3e2d9da..3172a60 100644 --- a/src/view/smartPage.vue +++ b/src/view/smartPage.vue @@ -1,6 +1,7 @@ @@ -206,7 +302,6 @@ export default { color: #40accd; font-size: 14px; } - .container { width: 100%; height: 100%; @@ -326,10 +421,136 @@ export default { // 右边内容 .notice { height: 31.6%; + + .my-notice, + .jiao-notice { + width: 100%; + height:41%; + .myBox { + display: flex; + justify-content: space-around; + } + + .p0 { + color: #40accd; + } + + .noticeBg>section>p:nth-child(1) { + font-size: 18px; + font-family: maleGod; + } + + .noticeBg { + background-image: url(../assets/images/notice-item.png); + background-size: 100% 100%; + width: 123px; + height: 68px; + text-align: center; + display: flex; + align-items: center; + justify-content: center; + + .name1 { + color: #f8fcfd; + font-size: 14px; + margin-top: 5px; + } + + .p1 { + color: #54b441 + } + + .p2 { + color: #b8894b; + } + } + } + } .service { height: 67.5%; + + .service-event { + display: flex; + justify-content: space-around; + + .event-item>p:nth-child(2) { + text-align: center; + font-size: 26px; + + } + + .event-item { + background-image: url(../assets/images/eventBg.png); + width: 116px; + height: 73px; + padding: 8px; + position: relative; + box-sizing: border-box; + font-size: 14px; + color: #f8fcfd; + + .unit { + position: absolute; + bottom: 15px; + right: 10px; + font-size: 14px; + } + + .span0, + .span1, + .span2 { + font-family: maleGod; + color: #40accd + } + } + + } + + .service-frame { + width: 100%; + height: calc(100% - 148px); + + .frame-item { + background-image: url(../assets/images/undefinedBg.png); + background-size: 100% 100%; + height: 30%; + margin-bottom: 13px; + padding: 10px 15px 10px; + box-sizing: border-box; + width: 100%; + display: flex; + + .frame { + background-image: url(../assets/images/frame.png); + background-size: 100% 100%; + height: 100%; + width: 173px; + } + + .frame-cont { + // width: calc(100% - 203px); + width:calc(100% - 173px); + ul { + width:100%; + height:100%; + + li{ + padding-left:30px; + padding-top:12px; + box-sizing:border-box; + height:22%; + display:flex; + // margin-top:2px; + align-items:center; + font-size:14px; + color:#fff; + } + } + } + } + } } } @@ -349,4 +570,46 @@ export default { color: rgb(163, 227, 245); -webkit-mask: linear-gradient(to top, rgb(163, 227, 245), transparent); } +//left动画 +@keyframes donghua1 { + from { + transform: translateX(0%); + } + + to { + transform: translateX(-100%); + } +} +.left-leave, +.left-leave-active, +.left-leave-to { + animation: donghua1 1s linear; +} + +.left-enter, +.left-enter-active, +.left-enter-to { + animation: donghua1 1s linear reverse; +} +//right动画 +@keyframes donghua2 { + from { + transform: translateX(0%); + } + + to { + transform: translateX(100%); + } +} +.right-leave, +.right-leave-active, +.right-leave-to { + animation: donghua2 1s linear; +} + +.right-enter, +.right-enter-active, +.right-enter-to { + animation: donghua2 1s linear reverse; +} \ No newline at end of file