From 86dd335cae7efcd6cd8c2a324e0690f8321a8d09 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Sun, 24 Apr 2022 14:19:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A3=E4=BC=A0=E8=B5=84=E8=AE=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppInfotainment/AppInfotainment.vue | 390 +++++++++-- src/apps/AppInfotainment/detail.vue | 59 -- src/apps/AppInfotainment/liveList.vue | 146 ++++ src/apps/AppInfotainment/newsDetail.vue | 697 +++++++++++++++++++ src/apps/AppInfotainment/newsList.vue | 276 ++++++++ src/apps/AppInfotainment/productList.vue | 287 ++++++++ src/apps/AppInfotainment/products.vue | 148 ++++ src/apps/AppInfotainment/projectList.vue | 145 ---- src/apps/AppInfotainment/select.vue | 65 ++ 9 files changed, 1966 insertions(+), 247 deletions(-) delete mode 100644 src/apps/AppInfotainment/detail.vue create mode 100644 src/apps/AppInfotainment/liveList.vue create mode 100644 src/apps/AppInfotainment/newsDetail.vue create mode 100644 src/apps/AppInfotainment/newsList.vue create mode 100644 src/apps/AppInfotainment/productList.vue create mode 100644 src/apps/AppInfotainment/products.vue delete mode 100644 src/apps/AppInfotainment/projectList.vue create mode 100644 src/apps/AppInfotainment/select.vue diff --git a/src/apps/AppInfotainment/AppInfotainment.vue b/src/apps/AppInfotainment/AppInfotainment.vue index f50d1cfb..cfec9cb4 100644 --- a/src/apps/AppInfotainment/AppInfotainment.vue +++ b/src/apps/AppInfotainment/AppInfotainment.vue @@ -1,57 +1,361 @@ \ No newline at end of file + .news-list{ + padding-top: 20rpx; + } + .news { + min-height: 100vh; + padding-top: 96rpx; + background: #fff; + } + + .item-video { + position: relative; + height: 388rpx; + margin-bottom: 24rpx; + + .mask { + position: absolute; + width: 100%; + height: 100%; + z-index: 11; + background: rgba(0, 0, 0, 0.16); + } + + .play-btn { + position: absolute; + top: 50%; + left: 50%; + z-index: 121; + width: 80rpx; + height: 80rpx; + margin: 0; + transform: translate(-50%, -50%); + } + + .item-title{ + width: 100%; + padding: 0 30rpx 10rpx; + font-size: 28rpx; + font-weight: 500; + color: #FFF; + line-height: 40rpx; + position: absolute; + bottom: 0; + left: 0; + word-break: break-all; + text-overflow: -o-ellipsis-lastline; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + background: rgba(0, 0, 0, .4); + box-sizing: border-box; + } + + .cover { + display: block; + width: 100%!important; + height: 388rpx!important; + margin-left: 0!important; + } + } + + div { + box-sizing: border-box; + } + + .noMore { + line-height: 90rpx; + text-align: center; + color: #999; + font-size: 26rpx; + } + + .news { + background: #fff; + } + + .header { + position: fixed; + left: 0; + top: 0; + z-index: 10000; + width: 100%; + padding: 8rpx 0; + background: #fff; + + .header-search { + display: flex; + align-items: center; + width: 690rpx; + height: 60rpx; + margin: 0 auto 8rpx; + padding: 0 32rpx; + background: #0D6DDC; + border-radius: 30rpx; + + image { + flex-shrink: 1; + width: 32rpx; + height: 32px; + margin-right: 12rpx; + } + + input { + flex: 1; + height: 100%; + font-size: 28rpx; + color: #fff; + } + } + } + + .item { + padding: 0 30rpx; + + &:first-child { + .item-wrapper { + padding-top: 0!important; + } + } + + .item-wrapper { + padding: 30rpx 0 20rpx; + display: flex; + align-items: center; + } + + .item-left { + flex: 1; + + h2 { + margin-bottom: 32rpx; + color: #333333; + font-size: 30rpx; + font-weight: 700; + } + + .item-left__bottom { + display: flex; + + span { + margin-right: 10rpx; + color: #999999; + font-size: 22rpx; + + &:last-child { + margin-right: 0; + } + } + .top-text{ + font-size: 22rpx; + color: #EF4645; + margin-right: 16rpx; + } + } + } + + image { + flex-shrink: 0; + width: 224rpx; + height: 140rpx; + // margin-left: 46rpx; + } + } + + .no-more { + margin-top: 20rpx; + text-align: center; + color: #999; + + image { + width: 400rpx; + height: 240rpx; + } + + p { + text-align: center; + color: #999; + font-size: 28rpx; + } + } + diff --git a/src/apps/AppInfotainment/detail.vue b/src/apps/AppInfotainment/detail.vue deleted file mode 100644 index f0d6ba2d..00000000 --- a/src/apps/AppInfotainment/detail.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/apps/AppInfotainment/liveList.vue b/src/apps/AppInfotainment/liveList.vue new file mode 100644 index 00000000..b991a2aa --- /dev/null +++ b/src/apps/AppInfotainment/liveList.vue @@ -0,0 +1,146 @@ + + + + + diff --git a/src/apps/AppInfotainment/newsDetail.vue b/src/apps/AppInfotainment/newsDetail.vue new file mode 100644 index 00000000..59926645 --- /dev/null +++ b/src/apps/AppInfotainment/newsDetail.vue @@ -0,0 +1,697 @@ + + + + + diff --git a/src/apps/AppInfotainment/newsList.vue b/src/apps/AppInfotainment/newsList.vue new file mode 100644 index 00000000..af942f6c --- /dev/null +++ b/src/apps/AppInfotainment/newsList.vue @@ -0,0 +1,276 @@ + + + + + diff --git a/src/apps/AppInfotainment/productList.vue b/src/apps/AppInfotainment/productList.vue new file mode 100644 index 00000000..de2029f3 --- /dev/null +++ b/src/apps/AppInfotainment/productList.vue @@ -0,0 +1,287 @@ + + + + + diff --git a/src/apps/AppInfotainment/products.vue b/src/apps/AppInfotainment/products.vue new file mode 100644 index 00000000..b4ce1707 --- /dev/null +++ b/src/apps/AppInfotainment/products.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/src/apps/AppInfotainment/projectList.vue b/src/apps/AppInfotainment/projectList.vue deleted file mode 100644 index bdf1eb72..00000000 --- a/src/apps/AppInfotainment/projectList.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/apps/AppInfotainment/select.vue b/src/apps/AppInfotainment/select.vue new file mode 100644 index 00000000..bda34089 --- /dev/null +++ b/src/apps/AppInfotainment/select.vue @@ -0,0 +1,65 @@ + + + + +