diff --git a/src/api/digitalScreen/index.js b/src/api/digitalScreen/index.js
new file mode 100644
index 0000000..5e51b5a
--- /dev/null
+++ b/src/api/digitalScreen/index.js
@@ -0,0 +1,20 @@
+import request from '@/utils/request'
+import qs from 'qs'
+
+export function FetchInitScreenSetting(params) {
+ return request({
+ url: 'api/screenSetting/initScreenSetting' + '?' + qs.stringify(params, { indices: false }),
+ method: 'get'
+ })
+}
+
+// 编辑智慧大屏后台参数
+export function FetchEditScreenSetting(parameter) {
+ return request({
+ url: 'api/screenSetting/editScreenSetting',
+ method: 'post',
+ data: parameter
+ })
+}
+
+export default { FetchInitScreenSetting, FetchEditScreenSetting }
diff --git a/src/assets/images/screen/book.jpg b/src/assets/images/screen/book.jpg
new file mode 100644
index 0000000..5fc1346
Binary files /dev/null and b/src/assets/images/screen/book.jpg differ
diff --git a/src/assets/images/screen/book.png b/src/assets/images/screen/book.png
new file mode 100644
index 0000000..4e1f835
Binary files /dev/null and b/src/assets/images/screen/book.png differ
diff --git a/src/assets/styles/digitalScreen.scss b/src/assets/styles/digitalScreen.scss
index 1a68190..a5b3049 100644
--- a/src/assets/styles/digitalScreen.scss
+++ b/src/assets/styles/digitalScreen.scss
@@ -1,10 +1,11 @@
.config-title{
+ position: relative;
display: flex;
justify-content: flex-start;
align-items: center;
color: #0c0e1e;
- height: 32px;
- line-height: 32px;
+ height: 40px;
+ line-height: 40px;
margin-bottom: 16px;
overflow: hidden;
p{
@@ -184,20 +185,20 @@
height: 100px;
display: block;
}
-
- .book-list-upload{
- display: flex;
- flex-wrap: nowrap;
- gap: 10px;
- overflow-x: auto; // 超出宽度时显示横向滚动条
- scrollbar-width: thin;
- max-width: 1000px;
- }
+ // .book-list-upload{
+ // display: flex;
+ // flex-wrap: nowrap;
+ // gap: 10px;
+ // overflow-x: auto; // 超出宽度时显示横向滚动条
+ // scrollbar-width: thin;
+ // max-width: 1000px;
+ // }
.book-swiper-wrapper {
position: relative;
- // width: 100%;
- max-width: 970px;
- overflow: hidden;
+ width: 100%;
+ // padding: 0 20px;
+ max-width: 1140px;
+ overflow: visible !important; // 避免意外截断
}
.book-swiper {
width: 100%;
@@ -207,10 +208,10 @@
width: 110px;
height: 160px;
flex-shrink: 0; // 禁止压缩,保持固定尺寸
- overflow: hidden;
border: 1px solid #fff;
border-radius: 4px;
transition: all 0.2s;
+ margin: 0 5px;
&:hover {
border-color: #0348F3; // hover时高亮边框
box-shadow: 0 2px 8px rgba(3, 72, 243, 0.1);
@@ -235,7 +236,7 @@
}
}
.book-select {
- left: 3px;
+ left: 6px;
.icon-wancheng {
display: none;
color: #0348F3;
@@ -279,19 +280,50 @@
color: #8c939d;
}
}
- .book-recommend{
- position: relative;
- padding-bottom: 40px;
- }
- .batch-delete-btn{
- position: absolute;
- bottom: 0;
- left: 100px;
- }
+ // .book-recommend{
+ // position: relative;
+ // padding-bottom: 40px;
+ // }
+ // .batch-delete-btn{
+ // position: absolute;
+ // bottom: 0;
+ // left: 100px;
+ // }
}
// 输入框聚焦样式增强
::v-deep .el-input__inner:focus {
border-color: #0348f3;
box-shadow: 0 0 0 2px rgba(3, 72, 243, 0.2);
+}
+
+.upload-img-input{
+ position: relative;
+ width: 120px;
+ height: 120px;
+ & input{
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 120px;
+ opacity: 0;
+ }
+}
+.upload-libImg{
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ width: 120px;
+ height: 120px;
+ font-size: 14px;
+ font-weight: bold;
+ color: #1F55EB;
+ text-align: center;
+ border: 1px dashed #BCC2C7;
+ background-color: #EDEFF3;
+ border-radius: 4px;
+ & i{
+ font-size: 30px;
+ }
}
\ No newline at end of file
diff --git a/src/views/digitalScreen/index.vue b/src/views/digitalScreen/index.vue
index 4bc4f1a..419bc70 100644
--- a/src/views/digitalScreen/index.vue
+++ b/src/views/digitalScreen/index.vue
@@ -11,8 +11,8 @@
注意:标题不要超过17个字,否则影响美观!
+
公众号二维码
-推荐列表
-推荐列表
+通知列表
+视频列表
+大屏预览网址设置成功后,即可点击按钮预览大屏(建议全屏观看)!
+注意:此操作需超级管理员输入维护验证码后完成设置,暂不对普通用户开放!
+