diff --git a/selfServiceMachine/src/assets/iconfont/demo.css b/selfServiceMachine/src/assets/iconfont/demo.css
deleted file mode 100644
index a2b02ad..0000000
--- a/selfServiceMachine/src/assets/iconfont/demo.css
+++ /dev/null
@@ -1,539 +0,0 @@
-/* Logo 字体 */
-@font-face {
- font-family: "iconfont logo";
- src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
- src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
- url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
- url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
- url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
-}
-
-.logo {
- font-family: "iconfont logo";
- font-size: 160px;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-/* tabs */
-.nav-tabs {
- position: relative;
-}
-
-.nav-tabs .nav-more {
- position: absolute;
- right: 0;
- bottom: 0;
- height: 42px;
- line-height: 42px;
- color: #666;
-}
-
-#tabs {
- border-bottom: 1px solid #eee;
-}
-
-#tabs li {
- cursor: pointer;
- width: 100px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- font-size: 16px;
- border-bottom: 2px solid transparent;
- position: relative;
- z-index: 1;
- margin-bottom: -1px;
- color: #666;
-}
-
-
-#tabs .active {
- border-bottom-color: #f00;
- color: #222;
-}
-
-.tab-container .content {
- display: none;
-}
-
-/* 页面布局 */
-.main {
- padding: 30px 100px;
- width: 960px;
- margin: 0 auto;
-}
-
-.main .logo {
- color: #333;
- text-align: left;
- margin-bottom: 30px;
- line-height: 1;
- height: 110px;
- margin-top: -50px;
- overflow: hidden;
- *zoom: 1;
-}
-
-.main .logo a {
- font-size: 160px;
- color: #333;
-}
-
-.helps {
- margin-top: 40px;
-}
-
-.helps pre {
- padding: 20px;
- margin: 10px 0;
- border: solid 1px #e7e1cd;
- background-color: #fffdef;
- overflow: auto;
-}
-
-.icon_lists {
- width: 100% !important;
- overflow: hidden;
- *zoom: 1;
-}
-
-.icon_lists li {
- width: 100px;
- margin-bottom: 10px;
- margin-right: 20px;
- text-align: center;
- list-style: none !important;
- cursor: default;
-}
-
-.icon_lists li .code-name {
- line-height: 1.2;
-}
-
-.icon_lists .icon {
- display: block;
- height: 100px;
- line-height: 100px;
- font-size: 42px;
- margin: 10px auto;
- color: #333;
- -webkit-transition: font-size 0.25s linear, width 0.25s linear;
- -moz-transition: font-size 0.25s linear, width 0.25s linear;
- transition: font-size 0.25s linear, width 0.25s linear;
-}
-
-.icon_lists .icon:hover {
- font-size: 100px;
-}
-
-.icon_lists .svg-icon {
- /* 通过设置 font-size 来改变图标大小 */
- width: 1em;
- /* 图标和文字相邻时,垂直对齐 */
- vertical-align: -0.15em;
- /* 通过设置 color 来改变 SVG 的颜色/fill */
- fill: currentColor;
- /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
- normalize.css 中也包含这行 */
- overflow: hidden;
-}
-
-.icon_lists li .name,
-.icon_lists li .code-name {
- color: #666;
-}
-
-/* markdown 样式 */
-.markdown {
- color: #666;
- font-size: 14px;
- line-height: 1.8;
-}
-
-.highlight {
- line-height: 1.5;
-}
-
-.markdown img {
- vertical-align: middle;
- max-width: 100%;
-}
-
-.markdown h1 {
- color: #404040;
- font-weight: 500;
- line-height: 40px;
- margin-bottom: 24px;
-}
-
-.markdown h2,
-.markdown h3,
-.markdown h4,
-.markdown h5,
-.markdown h6 {
- color: #404040;
- margin: 1.6em 0 0.6em 0;
- font-weight: 500;
- clear: both;
-}
-
-.markdown h1 {
- font-size: 28px;
-}
-
-.markdown h2 {
- font-size: 22px;
-}
-
-.markdown h3 {
- font-size: 16px;
-}
-
-.markdown h4 {
- font-size: 14px;
-}
-
-.markdown h5 {
- font-size: 12px;
-}
-
-.markdown h6 {
- font-size: 12px;
-}
-
-.markdown hr {
- height: 1px;
- border: 0;
- background: #e9e9e9;
- margin: 16px 0;
- clear: both;
-}
-
-.markdown p {
- margin: 1em 0;
-}
-
-.markdown>p,
-.markdown>blockquote,
-.markdown>.highlight,
-.markdown>ol,
-.markdown>ul {
- width: 80%;
-}
-
-.markdown ul>li {
- list-style: circle;
-}
-
-.markdown>ul li,
-.markdown blockquote ul>li {
- margin-left: 20px;
- padding-left: 4px;
-}
-
-.markdown>ul li p,
-.markdown>ol li p {
- margin: 0.6em 0;
-}
-
-.markdown ol>li {
- list-style: decimal;
-}
-
-.markdown>ol li,
-.markdown blockquote ol>li {
- margin-left: 20px;
- padding-left: 4px;
-}
-
-.markdown code {
- margin: 0 3px;
- padding: 0 5px;
- background: #eee;
- border-radius: 3px;
-}
-
-.markdown strong,
-.markdown b {
- font-weight: 600;
-}
-
-.markdown>table {
- border-collapse: collapse;
- border-spacing: 0px;
- empty-cells: show;
- border: 1px solid #e9e9e9;
- width: 95%;
- margin-bottom: 24px;
-}
-
-.markdown>table th {
- white-space: nowrap;
- color: #333;
- font-weight: 600;
-}
-
-.markdown>table th,
-.markdown>table td {
- border: 1px solid #e9e9e9;
- padding: 8px 16px;
- text-align: left;
-}
-
-.markdown>table th {
- background: #F7F7F7;
-}
-
-.markdown blockquote {
- font-size: 90%;
- color: #999;
- border-left: 4px solid #e9e9e9;
- padding-left: 0.8em;
- margin: 1em 0;
-}
-
-.markdown blockquote p {
- margin: 0;
-}
-
-.markdown .anchor {
- opacity: 0;
- transition: opacity 0.3s ease;
- margin-left: 8px;
-}
-
-.markdown .waiting {
- color: #ccc;
-}
-
-.markdown h1:hover .anchor,
-.markdown h2:hover .anchor,
-.markdown h3:hover .anchor,
-.markdown h4:hover .anchor,
-.markdown h5:hover .anchor,
-.markdown h6:hover .anchor {
- opacity: 1;
- display: inline-block;
-}
-
-.markdown>br,
-.markdown>p>br {
- clear: both;
-}
-
-
-.hljs {
- display: block;
- background: white;
- padding: 0.5em;
- color: #333333;
- overflow-x: auto;
-}
-
-.hljs-comment,
-.hljs-meta {
- color: #969896;
-}
-
-.hljs-string,
-.hljs-variable,
-.hljs-template-variable,
-.hljs-strong,
-.hljs-emphasis,
-.hljs-quote {
- color: #df5000;
-}
-
-.hljs-keyword,
-.hljs-selector-tag,
-.hljs-type {
- color: #a71d5d;
-}
-
-.hljs-literal,
-.hljs-symbol,
-.hljs-bullet,
-.hljs-attribute {
- color: #0086b3;
-}
-
-.hljs-section,
-.hljs-name {
- color: #63a35c;
-}
-
-.hljs-tag {
- color: #333333;
-}
-
-.hljs-title,
-.hljs-attr,
-.hljs-selector-id,
-.hljs-selector-class,
-.hljs-selector-attr,
-.hljs-selector-pseudo {
- color: #795da3;
-}
-
-.hljs-addition {
- color: #55a532;
- background-color: #eaffea;
-}
-
-.hljs-deletion {
- color: #bd2c00;
- background-color: #ffecec;
-}
-
-.hljs-link {
- text-decoration: underline;
-}
-
-/* 代码高亮 */
-/* PrismJS 1.15.0
-https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
-/**
- * prism.js default theme for JavaScript, CSS and HTML
- * Based on dabblet (http://dabblet.com)
- * @author Lea Verou
- */
-code[class*="language-"],
-pre[class*="language-"] {
- color: black;
- background: none;
- text-shadow: 0 1px white;
- font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
- text-align: left;
- white-space: pre;
- word-spacing: normal;
- word-break: normal;
- word-wrap: normal;
- line-height: 1.5;
-
- -moz-tab-size: 4;
- -o-tab-size: 4;
- tab-size: 4;
-
- -webkit-hyphens: none;
- -moz-hyphens: none;
- -ms-hyphens: none;
- hyphens: none;
-}
-
-pre[class*="language-"]::-moz-selection,
-pre[class*="language-"] ::-moz-selection,
-code[class*="language-"]::-moz-selection,
-code[class*="language-"] ::-moz-selection {
- text-shadow: none;
- background: #b3d4fc;
-}
-
-pre[class*="language-"]::selection,
-pre[class*="language-"] ::selection,
-code[class*="language-"]::selection,
-code[class*="language-"] ::selection {
- text-shadow: none;
- background: #b3d4fc;
-}
-
-@media print {
-
- code[class*="language-"],
- pre[class*="language-"] {
- text-shadow: none;
- }
-}
-
-/* Code blocks */
-pre[class*="language-"] {
- padding: 1em;
- margin: .5em 0;
- overflow: auto;
-}
-
-:not(pre)>code[class*="language-"],
-pre[class*="language-"] {
- background: #f5f2f0;
-}
-
-/* Inline code */
-:not(pre)>code[class*="language-"] {
- padding: .1em;
- border-radius: .3em;
- white-space: normal;
-}
-
-.token.comment,
-.token.prolog,
-.token.doctype,
-.token.cdata {
- color: slategray;
-}
-
-.token.punctuation {
- color: #999;
-}
-
-.namespace {
- opacity: .7;
-}
-
-.token.property,
-.token.tag,
-.token.boolean,
-.token.number,
-.token.constant,
-.token.symbol,
-.token.deleted {
- color: #905;
-}
-
-.token.selector,
-.token.attr-name,
-.token.string,
-.token.char,
-.token.builtin,
-.token.inserted {
- color: #690;
-}
-
-.token.operator,
-.token.entity,
-.token.url,
-.language-css .token.string,
-.style .token.string {
- color: #9a6e3a;
- background: hsla(0, 0%, 100%, .5);
-}
-
-.token.atrule,
-.token.attr-value,
-.token.keyword {
- color: #07a;
-}
-
-.token.function,
-.token.class-name {
- color: #DD4A68;
-}
-
-.token.regex,
-.token.important,
-.token.variable {
- color: #e90;
-}
-
-.token.important,
-.token.bold {
- font-weight: bold;
-}
-
-.token.italic {
- font-style: italic;
-}
-
-.token.entity {
- cursor: help;
-}
diff --git a/selfServiceMachine/src/assets/iconfont/demo_index.html b/selfServiceMachine/src/assets/iconfont/demo_index.html
deleted file mode 100644
index 6f25820..0000000
--- a/selfServiceMachine/src/assets/iconfont/demo_index.html
+++ /dev/null
@@ -1,557 +0,0 @@
-
-
-
-
- iconfont Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Unicode
- - Font class
- - Symbol
-
-
-
查看项目
-
-
-
-
-
-
- -
-
-
位置
- 
-
-
- -
-
-
右滑
- 
-
-
- -
-
-
左滑
- 
-
-
- -
-
-
no.2
- 
-
-
- -
-
-
2
- 
-
-
- -
-
-
键盘
- 
-
-
- -
-
-
关闭
- 
-
-
- -
-
-
左
- 
-
-
- -
-
-
本架图书
- 
-
-
- -
-
-
热门
- 
-
-
- -
-
-
右
- 
-
-
- -
-
-
通知
- 
-
-
- -
-
-
no.3
- 
-
-
- -
-
-
no.1
- 
-
-
- -
-
-
3
- 
-
-
- -
-
-
1
- 
-
-
-
-
-
Unicode 引用
-
-
-
Unicode 是字体在网页端最原始的应用方式,特点是:
-
- - 支持按字体的方式去动态调整图标大小,颜色等等。
- - 默认情况下不支持多色,直接添加多色图标会自动去色。
-
-
- 注意:新版 iconfont 支持两种方式引用多色图标:SVG symbol 引用方式和彩色字体图标模式。(使用彩色字体图标需要在「编辑项目」中开启「彩色」选项后并重新生成。)
-
-
Unicode 使用步骤如下:
-
第一步:拷贝项目下面生成的 @font-face
-
@font-face {
- font-family: 'iconfont';
- src: url('iconfont.woff2?t=1664428017869') format('woff2'),
- url('iconfont.woff?t=1664428017869') format('woff'),
- url('iconfont.ttf?t=1664428017869') format('truetype'),
- url('iconfont.svg?t=1664428017869#iconfont') format('svg');
-}
-
-
第二步:定义使用 iconfont 的样式
-
.iconfont {
- font-family: "iconfont" !important;
- font-size: 16px;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-
第三步:挑选相应图标并获取字体编码,应用于页面
-
-<span class="iconfont">3</span>
-
-
- "iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。
-
-
-
-
-
-
- -
-
-
- 位置
-
- .icon-weizhi
-
-
-
- -
-
-
- 右滑
-
- .icon-youhua
-
-
-
- -
-
-
- 左滑
-
- .icon-zuohua
-
-
-
- -
-
-
- no.2
-
- .icon-a-no21
-
-
-
- -
-
-
- 2
-
- .icon-a-21
-
-
-
- -
-
-
- 键盘
-
- .icon-jianpan
-
-
-
- -
-
-
- 关闭
-
- .icon-guanbi
-
-
-
- -
-
-
- 左
-
- .icon-zuo
-
-
-
- -
-
-
- 本架图书
-
- .icon-benjiatushu
-
-
-
- -
-
-
- 热门
-
- .icon-remen
-
-
-
- -
-
-
- 右
-
- .icon-you
-
-
-
- -
-
-
- 通知
-
- .icon-tongzhi
-
-
-
- -
-
-
- no.3
-
- .icon-a-no3
-
-
-
- -
-
-
- no.1
-
- .icon-a-no1
-
-
-
- -
-
-
- 3
-
- .icon-a-3
-
-
-
- -
-
-
- 1
-
- .icon-a-1
-
-
-
-
-
-
font-class 引用
-
-
-
font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。
-
与 Unicode 使用方式相比,具有如下特点:
-
- - 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
- - 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
-
-
使用步骤如下:
-
第一步:引入项目下面生成的 fontclass 代码:
-
<link rel="stylesheet" href="./iconfont.css">
-
-
第二步:挑选相应图标并获取类名,应用于页面:
-
<span class="iconfont icon-xxx"></span>
-
-
- "
- iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。
-
-
-
-
-
-
- -
-
-
位置
- #icon-weizhi
-
-
- -
-
-
右滑
- #icon-youhua
-
-
- -
-
-
左滑
- #icon-zuohua
-
-
- -
-
-
no.2
- #icon-a-no21
-
-
- -
-
-
2
- #icon-a-21
-
-
- -
-
-
键盘
- #icon-jianpan
-
-
- -
-
-
关闭
- #icon-guanbi
-
-
- -
-
-
左
- #icon-zuo
-
-
- -
-
-
本架图书
- #icon-benjiatushu
-
-
- -
-
-
热门
- #icon-remen
-
-
- -
-
-
右
- #icon-you
-
-
- -
-
-
通知
- #icon-tongzhi
-
-
- -
-
-
no.3
- #icon-a-no3
-
-
- -
-
-
no.1
- #icon-a-no1
-
-
- -
-
-
3
- #icon-a-3
-
-
- -
-
-
1
- #icon-a-1
-
-
-
-
-
Symbol 引用
-
-
-
这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章
- 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:
-
- - 支持多色图标了,不再受单色限制。
- - 通过一些技巧,支持像字体那样,通过
font-size
, color
来调整样式。
- - 兼容性较差,支持 IE9+,及现代浏览器。
- - 浏览器渲染 SVG 的性能一般,还不如 png。
-
-
使用步骤如下:
-
第一步:引入项目下面生成的 symbol 代码:
-
<script src="./iconfont.js"></script>
-
-
第二步:加入通用 CSS 代码(引入一次就行):
-
<style>
-.icon {
- width: 1em;
- height: 1em;
- vertical-align: -0.15em;
- fill: currentColor;
- overflow: hidden;
-}
-</style>
-
-
第三步:挑选相应图标并获取类名,应用于页面:
-
<svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-xxx"></use>
-</svg>
-
-
-
-
-
-
-
-
-
diff --git a/selfServiceMachine/src/assets/iconfont/iconfont.css b/selfServiceMachine/src/assets/iconfont/iconfont.css
deleted file mode 100644
index cce3b8f..0000000
--- a/selfServiceMachine/src/assets/iconfont/iconfont.css
+++ /dev/null
@@ -1,80 +0,0 @@
-@font-face {
- font-family: "iconfont"; /* Project id 3646564 */
- src: url('iconfont.woff2?t=1664428017869') format('woff2'),
- url('iconfont.woff?t=1664428017869') format('woff'),
- url('iconfont.ttf?t=1664428017869') format('truetype'),
- url('iconfont.svg?t=1664428017869#iconfont') format('svg');
-}
-
-.iconfont {
- font-family: "iconfont" !important;
- font-size: 16px;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-.icon-weizhi:before {
- content: "\e639";
-}
-
-.icon-youhua:before {
- content: "\e635";
-}
-
-.icon-zuohua:before {
- content: "\e638";
-}
-
-.icon-a-no21:before {
- content: "\e636";
-}
-
-.icon-a-21:before {
- content: "\e637";
-}
-
-.icon-jianpan:before {
- content: "\e634";
-}
-
-.icon-guanbi:before {
- content: "\e630";
-}
-
-.icon-zuo:before {
- content: "\e631";
-}
-
-.icon-benjiatushu:before {
- content: "\e632";
-}
-
-.icon-remen:before {
- content: "\e633";
-}
-
-.icon-you:before {
- content: "\e62f";
-}
-
-.icon-tongzhi:before {
- content: "\e628";
-}
-
-.icon-a-no3:before {
- content: "\e629";
-}
-
-.icon-a-no1:before {
- content: "\e62b";
-}
-
-.icon-a-3:before {
- content: "\e62d";
-}
-
-.icon-a-1:before {
- content: "\e62e";
-}
-
diff --git a/selfServiceMachine/src/assets/iconfont/iconfont.js b/selfServiceMachine/src/assets/iconfont/iconfont.js
deleted file mode 100644
index 2e7fbc4..0000000
--- a/selfServiceMachine/src/assets/iconfont/iconfont.js
+++ /dev/null
@@ -1 +0,0 @@
-window._iconfont_svg_string_3646564='',function(t){var F=(F=document.getElementsByTagName("script"))[F.length-1],a=F.getAttribute("data-injectcss"),F=F.getAttribute("data-disable-injectsvg");if(!F){var l,p,h,i,c,d=function(F,a){a.parentNode.insertBefore(F,a)};if(a&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(F){console&&console.log(F)}}l=function(){var F,a=document.createElement("div");a.innerHTML=t._iconfont_svg_string_3646564,(a=a.getElementsByTagName("svg")[0])&&(a.setAttribute("aria-hidden","true"),a.style.position="absolute",a.style.width=0,a.style.height=0,a.style.overflow="hidden",a=a,(F=document.body).firstChild?d(a,F.firstChild):F.appendChild(a))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(l,0):(p=function(){document.removeEventListener("DOMContentLoaded",p,!1),l()},document.addEventListener("DOMContentLoaded",p,!1)):document.attachEvent&&(h=l,i=t.document,c=!1,M(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,o())})}function o(){c||(c=!0,h())}function M(){try{i.documentElement.doScroll("left")}catch(F){return void setTimeout(M,50)}o()}}(window);
\ No newline at end of file
diff --git a/selfServiceMachine/src/assets/iconfont/iconfont.json b/selfServiceMachine/src/assets/iconfont/iconfont.json
deleted file mode 100644
index c0909b9..0000000
--- a/selfServiceMachine/src/assets/iconfont/iconfont.json
+++ /dev/null
@@ -1,121 +0,0 @@
-{
- "id": "3646564",
- "name": "东西湖图书馆",
- "font_family": "iconfont",
- "css_prefix_text": "icon-",
- "description": "",
- "glyphs": [
- {
- "icon_id": "32102019",
- "name": "位置",
- "font_class": "weizhi",
- "unicode": "e639",
- "unicode_decimal": 58937
- },
- {
- "icon_id": "31966175",
- "name": "右滑",
- "font_class": "youhua",
- "unicode": "e635",
- "unicode_decimal": 58933
- },
- {
- "icon_id": "31966176",
- "name": "左滑",
- "font_class": "zuohua",
- "unicode": "e638",
- "unicode_decimal": 58936
- },
- {
- "icon_id": "31879702",
- "name": "no.2",
- "font_class": "a-no21",
- "unicode": "e636",
- "unicode_decimal": 58934
- },
- {
- "icon_id": "31879708",
- "name": "2",
- "font_class": "a-21",
- "unicode": "e637",
- "unicode_decimal": 58935
- },
- {
- "icon_id": "31879044",
- "name": "键盘",
- "font_class": "jianpan",
- "unicode": "e634",
- "unicode_decimal": 58932
- },
- {
- "icon_id": "31859389",
- "name": "关闭",
- "font_class": "guanbi",
- "unicode": "e630",
- "unicode_decimal": 58928
- },
- {
- "icon_id": "31859390",
- "name": "左",
- "font_class": "zuo",
- "unicode": "e631",
- "unicode_decimal": 58929
- },
- {
- "icon_id": "31859393",
- "name": "本架图书",
- "font_class": "benjiatushu",
- "unicode": "e632",
- "unicode_decimal": 58930
- },
- {
- "icon_id": "31859394",
- "name": "热门",
- "font_class": "remen",
- "unicode": "e633",
- "unicode_decimal": 58931
- },
- {
- "icon_id": "31859388",
- "name": "右",
- "font_class": "you",
- "unicode": "e62f",
- "unicode_decimal": 58927
- },
- {
- "icon_id": "31804863",
- "name": "通知",
- "font_class": "tongzhi",
- "unicode": "e628",
- "unicode_decimal": 58920
- },
- {
- "icon_id": "31804864",
- "name": "no.3",
- "font_class": "a-no3",
- "unicode": "e629",
- "unicode_decimal": 58921
- },
- {
- "icon_id": "31804866",
- "name": "no.1",
- "font_class": "a-no1",
- "unicode": "e62b",
- "unicode_decimal": 58923
- },
- {
- "icon_id": "31804868",
- "name": "3",
- "font_class": "a-3",
- "unicode": "e62d",
- "unicode_decimal": 58925
- },
- {
- "icon_id": "31804869",
- "name": "1",
- "font_class": "a-1",
- "unicode": "e62e",
- "unicode_decimal": 58926
- }
- ]
-}
diff --git a/selfServiceMachine/src/assets/iconfont/iconfont.svg b/selfServiceMachine/src/assets/iconfont/iconfont.svg
deleted file mode 100644
index 572cb2d..0000000
--- a/selfServiceMachine/src/assets/iconfont/iconfont.svg
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
diff --git a/selfServiceMachine/src/assets/iconfont/iconfont.ttf b/selfServiceMachine/src/assets/iconfont/iconfont.ttf
deleted file mode 100644
index 74022f5..0000000
Binary files a/selfServiceMachine/src/assets/iconfont/iconfont.ttf and /dev/null differ
diff --git a/selfServiceMachine/src/assets/iconfont/iconfont.woff b/selfServiceMachine/src/assets/iconfont/iconfont.woff
deleted file mode 100644
index 02d3965..0000000
Binary files a/selfServiceMachine/src/assets/iconfont/iconfont.woff and /dev/null differ
diff --git a/selfServiceMachine/src/assets/iconfont/iconfont.woff2 b/selfServiceMachine/src/assets/iconfont/iconfont.woff2
deleted file mode 100644
index 6c8d041..0000000
Binary files a/selfServiceMachine/src/assets/iconfont/iconfont.woff2 and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/banner.png b/selfServiceMachine/src/assets/images/banner.png
new file mode 100644
index 0000000..343ad7d
Binary files /dev/null and b/selfServiceMachine/src/assets/images/banner.png differ
diff --git a/selfServiceMachine/src/assets/images/default-img.png b/selfServiceMachine/src/assets/images/default-img.png
deleted file mode 100644
index 8952025..0000000
Binary files a/selfServiceMachine/src/assets/images/default-img.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/home/bg.png b/selfServiceMachine/src/assets/images/home/bg.png
deleted file mode 100644
index c03abe2..0000000
Binary files a/selfServiceMachine/src/assets/images/home/bg.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/home/nav1.png b/selfServiceMachine/src/assets/images/home/nav1.png
deleted file mode 100644
index f4bea69..0000000
Binary files a/selfServiceMachine/src/assets/images/home/nav1.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/home/nav2.png b/selfServiceMachine/src/assets/images/home/nav2.png
deleted file mode 100644
index e3b16ed..0000000
Binary files a/selfServiceMachine/src/assets/images/home/nav2.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/home/nav3.png b/selfServiceMachine/src/assets/images/home/nav3.png
deleted file mode 100644
index c45798c..0000000
Binary files a/selfServiceMachine/src/assets/images/home/nav3.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/home/nav4.png b/selfServiceMachine/src/assets/images/home/nav4.png
deleted file mode 100644
index 2d89afb..0000000
Binary files a/selfServiceMachine/src/assets/images/home/nav4.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/home/nav5.png b/selfServiceMachine/src/assets/images/home/nav5.png
deleted file mode 100644
index 4b931e2..0000000
Binary files a/selfServiceMachine/src/assets/images/home/nav5.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/home/top.png b/selfServiceMachine/src/assets/images/home/top.png
deleted file mode 100644
index d0b7832..0000000
Binary files a/selfServiceMachine/src/assets/images/home/top.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/home/type-bg.png b/selfServiceMachine/src/assets/images/home/type-bg.png
deleted file mode 100644
index 657f0a4..0000000
Binary files a/selfServiceMachine/src/assets/images/home/type-bg.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/img1.png b/selfServiceMachine/src/assets/images/img1.png
new file mode 100644
index 0000000..727ce26
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img1.png differ
diff --git a/selfServiceMachine/src/assets/images/img10.png b/selfServiceMachine/src/assets/images/img10.png
new file mode 100644
index 0000000..8618b7e
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img10.png differ
diff --git a/selfServiceMachine/src/assets/images/img2.png b/selfServiceMachine/src/assets/images/img2.png
new file mode 100644
index 0000000..8a157f9
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img2.png differ
diff --git a/selfServiceMachine/src/assets/images/img3.png b/selfServiceMachine/src/assets/images/img3.png
new file mode 100644
index 0000000..6e50e4b
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img3.png differ
diff --git a/selfServiceMachine/src/assets/images/img4.png b/selfServiceMachine/src/assets/images/img4.png
new file mode 100644
index 0000000..1d69711
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img4.png differ
diff --git a/selfServiceMachine/src/assets/images/img5.png b/selfServiceMachine/src/assets/images/img5.png
new file mode 100644
index 0000000..4bc5d3a
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img5.png differ
diff --git a/selfServiceMachine/src/assets/images/img6.png b/selfServiceMachine/src/assets/images/img6.png
new file mode 100644
index 0000000..25beb1c
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img6.png differ
diff --git a/selfServiceMachine/src/assets/images/img7.png b/selfServiceMachine/src/assets/images/img7.png
new file mode 100644
index 0000000..e22df86
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img7.png differ
diff --git a/selfServiceMachine/src/assets/images/img8.png b/selfServiceMachine/src/assets/images/img8.png
new file mode 100644
index 0000000..57ab5cb
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img8.png differ
diff --git a/selfServiceMachine/src/assets/images/img9.png b/selfServiceMachine/src/assets/images/img9.png
new file mode 100644
index 0000000..9500c86
Binary files /dev/null and b/selfServiceMachine/src/assets/images/img9.png differ
diff --git a/selfServiceMachine/src/assets/images/list/1.png b/selfServiceMachine/src/assets/images/list/1.png
deleted file mode 100644
index 76997bf..0000000
Binary files a/selfServiceMachine/src/assets/images/list/1.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/10.png b/selfServiceMachine/src/assets/images/list/10.png
deleted file mode 100644
index 7ce75e0..0000000
Binary files a/selfServiceMachine/src/assets/images/list/10.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/11.png b/selfServiceMachine/src/assets/images/list/11.png
deleted file mode 100644
index 6c2ee00..0000000
Binary files a/selfServiceMachine/src/assets/images/list/11.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/12.png b/selfServiceMachine/src/assets/images/list/12.png
deleted file mode 100644
index 97f2418..0000000
Binary files a/selfServiceMachine/src/assets/images/list/12.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/13.png b/selfServiceMachine/src/assets/images/list/13.png
deleted file mode 100644
index 57b1ae7..0000000
Binary files a/selfServiceMachine/src/assets/images/list/13.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/14.png b/selfServiceMachine/src/assets/images/list/14.png
deleted file mode 100644
index 49b2f81..0000000
Binary files a/selfServiceMachine/src/assets/images/list/14.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/15.png b/selfServiceMachine/src/assets/images/list/15.png
deleted file mode 100644
index 3065cd3..0000000
Binary files a/selfServiceMachine/src/assets/images/list/15.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/2.png b/selfServiceMachine/src/assets/images/list/2.png
deleted file mode 100644
index 3b6e142..0000000
Binary files a/selfServiceMachine/src/assets/images/list/2.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/3.png b/selfServiceMachine/src/assets/images/list/3.png
deleted file mode 100644
index 9ef3dd5..0000000
Binary files a/selfServiceMachine/src/assets/images/list/3.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/4.png b/selfServiceMachine/src/assets/images/list/4.png
deleted file mode 100644
index 8df7aff..0000000
Binary files a/selfServiceMachine/src/assets/images/list/4.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/5.png b/selfServiceMachine/src/assets/images/list/5.png
deleted file mode 100644
index 34d0da7..0000000
Binary files a/selfServiceMachine/src/assets/images/list/5.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/6.png b/selfServiceMachine/src/assets/images/list/6.png
deleted file mode 100644
index 29b581d..0000000
Binary files a/selfServiceMachine/src/assets/images/list/6.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/7.png b/selfServiceMachine/src/assets/images/list/7.png
deleted file mode 100644
index ee2cab3..0000000
Binary files a/selfServiceMachine/src/assets/images/list/7.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/8.png b/selfServiceMachine/src/assets/images/list/8.png
deleted file mode 100644
index 5369b4d..0000000
Binary files a/selfServiceMachine/src/assets/images/list/8.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/9.png b/selfServiceMachine/src/assets/images/list/9.png
deleted file mode 100644
index 0785869..0000000
Binary files a/selfServiceMachine/src/assets/images/list/9.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/left-btn.png b/selfServiceMachine/src/assets/images/list/left-btn.png
deleted file mode 100644
index 474c475..0000000
Binary files a/selfServiceMachine/src/assets/images/list/left-btn.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/list-rack.png b/selfServiceMachine/src/assets/images/list/list-rack.png
deleted file mode 100644
index 45e5027..0000000
Binary files a/selfServiceMachine/src/assets/images/list/list-rack.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/list-title.png b/selfServiceMachine/src/assets/images/list/list-title.png
deleted file mode 100644
index 0124410..0000000
Binary files a/selfServiceMachine/src/assets/images/list/list-title.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/right-btn.png b/selfServiceMachine/src/assets/images/list/right-btn.png
deleted file mode 100644
index 474c475..0000000
Binary files a/selfServiceMachine/src/assets/images/list/right-btn.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/list/top.png b/selfServiceMachine/src/assets/images/list/top.png
deleted file mode 100644
index be51580..0000000
Binary files a/selfServiceMachine/src/assets/images/list/top.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/images/local-bg.png b/selfServiceMachine/src/assets/images/local-bg.png
deleted file mode 100644
index a8c037f..0000000
Binary files a/selfServiceMachine/src/assets/images/local-bg.png and /dev/null differ
diff --git a/selfServiceMachine/src/assets/styles/index.scss b/selfServiceMachine/src/assets/styles/index.scss
index acfbcce..bf7f694 100644
--- a/selfServiceMachine/src/assets/styles/index.scss
+++ b/selfServiceMachine/src/assets/styles/index.scss
@@ -1,9 +1,12 @@
-#bookshelf{
+::-webkit-scrollbar {
+ width: 0;
+ height: 0;
+}
+
+#book{
width: 100%;
height: 100vh;
- font-size: 30px;
- // background: url('~@/assets/images/home/bg.png') no-repeat left top;
- // background-size: cover;
+ font-size: 22px;
overflow: hidden;
overflow-y: auto;
}
@@ -30,407 +33,467 @@
height: 180px;
}
}
-
-
-
-
-
-
-
-
-
-// 首页
-.bookshelf-header{
- position: relative;
- height: 254px;
- text-align: center;
- background: url('~@/assets/images/home/top.png') no-repeat left top;
- background-size: cover;
- z-index: 9;
- h2{
- height: 118px;
- line-height: 118px;
- font-family: "YouSheBiaoTiHei";
- font-weight: normal;
- font-size: 60px;
- }
- .shelf-num{
- display: block;
- position: absolute;
- top: 30px;
- right: 40px;
- width: 180px;
- height: 58px;
- line-height: 60px;
- background: linear-gradient(90deg, #ACDAFF 0%, #9BCEFF 100%);
- border-radius: 29px;
- }
-}
-
-.book-category{
- position: relative;
- display: flex;
- justify-content: space-between;
- justify-items: center;
- text-align: center;
- height: 198px;
- line-height: 168px;
- padding: 0 120px;
- margin-top: -132px;
- background: url('~@/assets/images/home/type-bg.png') no-repeat center center;
- background-size: cover;
- z-index: 99;
- p{
- flex: 1;
- font-size: 60px;
- letter-spacing: 6px;
- }
-}
-
-.book-nav{
- display: flex;
- justify-content: space-between;
- text-align: center;
- padding: 0 40px;
- margin-bottom: 30px;
- li{
- flex: 1;
- font-size: 36px;
+.recommend-main{
+ width: 100%;
+ height: calc(100vh - 60px);
+ background-color: #F4F4FC;
+ overflow: hidden;
+ .banner{
+ width: 100%;
+ height: 356px;
+ overflow: hidden;
+ margin-bottom: 16px;
img{
- display: inline-block;
- margin-bottom: 20px;
+ display: block;
+ width: 100%;
}
}
-}
-
-// 本架图书
-.book-rack{
- height: 770px;
- margin: 0 40px;
- padding: 0 40px 40px 40px;
- background-color: #fff;
- border-radius: 30px;
- box-shadow: 0px 0px 20px 1px #B8D3FF;
-}
-.list-top{
- display: flex;
- justify-content: space-between;
- justify-items: center;
- align-items: center;
- padding: 30px 0 25px 0;
- font-size: 36px;
- .list-top-title{
+ .recommend-cont{
display: flex;
- justify-content: flex-start;
- font-size: 40px;
- line-height: 50px;
- .icon{
- width: 50px;
- height: 50px;
- margin-right: 20px;
+ justify-content: space-between;
+ height: calc(100% - 372px - 44px);
+ padding: 0 24px;
+ }
+ .recommend-left{
+ width: 310px;
+ height: 100%;
+ padding: 24px 16px 0 16px;
+ background-color: #fff;
+ .filter-header{
+ position: relative;
+ padding-left: 20px;
+ font-size: 28px;
+ font-weight: 600;
+ line-height: 30px;
+ &::before{
+ position: absolute;
+ left: 0;
+ top: 50%;
+ content: "";
+ width: 8px;
+ height: 26px;
+ background-color: #5A86F4;
+ transform: translateY(-50%);
+ }
}
- }
- .more{
- .iconfont{
- font-size: 30px;
- margin-left: 20px;
+ .filter-item{
+ .filter-item-title{
+ position: relative;
+ padding-left: 20px;
+ margin-top: 24px;
+ height: 54px;
+ line-height: 54px;
+ font-size: 24px;
+ background-color: #F9F9FD;
+ border: 2px solid #C6C6E2;
+ border-radius: 8px;
+ &::after{
+ position: absolute;
+ right: 10px;
+ top: 50%;
+ content: "";
+ width: 24px;
+ height: 24px;
+ background: url('~@/assets/images/img4.png') no-repeat;
+ background-size: 24px 24px;
+ transform: rotate(-90deg);
+ margin-top: -12px;
+ }
+ }
+ .publish-list{
+ li{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 24px 0 16px 0;
+ font-size: 22px;
+ border-bottom: 1px solid #C6C6E2;
+ span{
+ color: #9D9E9E;
+ }
+ &.active{
+ color: #5A86F4;
+ span{
+ color: #5A86F4;
+ }
+ }
+ }
+ }
+ .publish-time-list{
+ display: flex;
+ justify-content: space-between;
+ flex-wrap: wrap;
+ align-items: center;
+ span{
+ display: block;
+ width: 130px;
+ height: 48px;
+ line-height: 48px;
+ margin-top: 16px;
+ color: #737475;
+ text-align: center;
+ border: 1px solid #C6C6E2;
+ border-radius: 8px;
+ background-color: #F9F9FD;
+ &.active{
+ color: #fff;
+ background-color: #5A86F4;
+ border-color: #5A86F4;
+ }
+ }
+ }
+ &:last-child{
+ padding-top: 18px;
+ }
+ }
+ .ranking{
+ padding-top: 40px;
+ .el-carousel{
+ margin-top: 14px;
+ }
+ .ranking-img{
+ width: 140px;
+ height: 200px;
+ background-color: red;
+ overflow: hidden;
+ }
+ .ranking-book-detail{
+ margin-top: 10px;
+ .book-info{
+ position: relative;
+ padding: 10px 10px 18px 16px;
+ background-color: #F9F9FD;
+ border: 1px solid #C6C6E2;
+ border-radius: 8px;
+ h5{
+ font-size: 24px;
+ }
+ .book-author{
+ padding: 10px 0;
+ font-size: 18px;
+ color: #FE6902;
+ span:first-child{
+ padding-right: 10px;
+ border-right: 1px solid #E9E9F4;
+ }
+ span:last-child{
+ padding-left: 10px;
+ }
+ }
+ .book-intro{
+ opacity: .6;
+ }
+ .ranking-status{
+ position: absolute;
+ right: 10px;
+ top: -22px;
+ width: 46px;
+ height: 50px;
+ background: url('~@/assets/images/img7.png') no-repeat;
+ background-size: 46px 50px;
+ }
+ }
+ .book-click-num{
+ display: flex;
+ justify-content: space-between;
+ padding: 6px 6px 6px 16px;
+ margin-top: 8px;
+ background-color: #F9F9FD;
+ border: 1px solid #C6C6E2;
+ border-radius: 8px;
+ span{
+ display: block;
+ font-size: 24px;
+ height: 42px;
+ line-height: 42px;
+ &.click-num{
+ padding-left: 28px;
+ font-size: 24px;
+ background: url('~@/assets/images/img6.png') no-repeat left center;
+ background-size: 24px 24px;
+ }
+ &.detail-btn{
+ font-size: 20px;
+ padding: 0 12px;
+ background-color: #5A86F4;
+ color: #fff;
+ border-radius: 8px;
+ }
+ }
+ }
+ }
+ .ranking-list-bottom{
+ li{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 24px 0 16px 0;
+ border-bottom: 1px solid #C6C6E2;
+ font-size: 22px;
+ span{
+ display: block;
+ margin-right: 30px;
+ background: url('~@/assets/images/img3.png') no-repeat center bottom;
+ background-size: 48px 13px;
+ }
+ }
+ }
}
}
-}
-// 本架图书list
-.rack-list{
- display: flex;
- justify-content: space-between;
-}
-.list-item{
- border: 1px solid #A2CCFF;
- border-radius: 4px;
- overflow: hidden;
- .book-info{
- position: relative;
- }
- .book-title{
- font-weight: normal;
- line-height: 40px;
- margin-bottom: 10px;
- }
- .book-author{
- font-size: 24px;
- }
- .book-num{
- position: absolute;
- bottom: 20px;
- display: flex;
- justify-content: flex-start;
- font-size: 20px;
- color: #999;
- .icon{
- width: 20px;
- height: 22px;
- margin-right: 10px;
+ .recommend-right{
+ width: 706px;
+ height: 100%;
+ .right-header{
+ padding: 24px;
+ background-color: #fff;
+ border-radius: 8px;
}
- }
-}
-
-.list-big{
- .list-item{
- width: 435px;
- height: 625px;
- margin-right: 45px;
- .book-img{
+ .recommend-search{
display: flex;
+ justify-content: flex-start;
align-items: center;
- width: 100%;
- height: 520px;
- border-radius: 4px;
- overflow: hidden;
- }
- img{
- display: block;
- width: 100%;
- max-height: 100%;
- object-fit: contain;
- }
- .book-info{
- padding: 12px 0 0 44px;
- }
- .book-num{
- right: 16px;
- bottom: 0;
+ ::v-deep .el-select{
+ .el-input--suffix .el-input__inner{
+ font-size: 24px;
+ width: 152px;
+ height: 56px;
+ background: #F1F4FE !important;
+ border: 1px solid #C6C6E2;
+ }
+ .el-input .el-select__caret{
+ font-size: 24px;
+ }
+ }
+ .el-button{
+ height: 56px;
+ font-size: 24px;
+ border: 1px solid #C6C6E2;
+ }
}
-
- }
-}
-.other-list{
- .book-img{
- width: 244px;
- }
- .list-middle .list-item .book-info{
- flex: 1;
- }
-}
-
-
-.list-middle{
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- height: 625px;
- .list-item{
- display: flex;
- height: calc(100%/2 - 20px);
- justify-content: flex-start;
- .book-img{
+ .input-search{
display: flex;
- align-items: center;
- width: 244px;
- height: 100%;
- margin-right: 20px;
+ margin: 0 8px;
+ border: 1px solid #C6C6E2;
+ border-radius: 8px;
overflow: hidden;
+ ::v-deep .el-input{
+ .el-input__inner{
+ font-size: 20px;
+ height: 56px;
+ border: none;
+ }
+ }
+ .el-button{
+ display: block;
+ padding-left: 48px;
+ background: url('~@/assets/images/img5.png') no-repeat 12px center #5A86F4;
+ background-size: 24px 24px;
+ border-radius: 0 8px 8px 0;
+ border: none;
+ }
+
}
- img{
- display: block;
- width: 100%;
- max-height: calc(100%);
- object-fit: contain;
- }
- .book-info{
- padding: 20px 10px 0 0;
+ .hot-keyword{
+ font-size: 24px;
+ p{
+ padding: 16px 0 10px 0;
+ }
+ .keyword-item{
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+ span{
+ display: block;
+ padding: 0 12px;
+ height: 44px;
+ line-height: 44px;
+ font-size: 20px;
+ background-color: #F9F9FD;
+ color: #737475;
+ border-radius: 8px;
+ margin-right: 12px;
+ }
+ }
}
- .book-num{
- left: 0;
- bottom: 12px;
+ .recommend-list{
+ margin-top: 16px;
+ padding: 20px 24px;
+ background-color: #fff;
+ border-radius: 8px;
+ height: calc(100vh - 696px);
+ overflow: hidden;
+ overflow-y: scroll;
+ .result{
+ color: #737475;
+ span{
+ color: #5A86F4;
+ }
+ }
}
}
}
-// 新书推荐
-.new-recommend{
- height: 448px;
- margin: 20px 40px 0 40px;
+.recommend-item{
+ margin-top: 20px;
+ padding-bottom: 22px;
}
-.list-small{
+.book-detail{
display: flex;
- justify-items: center;
- margin-left: -40px;
- .list-item{
- width: 200px;
- border: none;
- margin-left: 40px;
- .book-img{
- display: flex;
- align-items: center;
- width: 100%;
- height: 240px;
- margin-bottom: 10px;
- overflow: hidden;
- }
+ justify-content: flex-start;
+ .book-img{
+ width: 180px;
+ height: 245px;
+ margin-right: 17px;
+ background-color: #f1f1f1;
+ overflow: hidden;
img{
display: block;
width: 100%;
- max-height: calc(100%);
- object-fit: contain;
- }
- .book-title{
- margin-bottom: 0;
}
}
-}
-
-//本架图书页面
-.rack-box{
- padding: 30px 0 0 0;
- width: 100%;
- .rack-item{
- position: relative;
- margin-bottom: 30px;
- overflow: hidden;
- .rack-box-list{
- // display: flex;
- // justify-content: space-between;
- height: 314px;
- padding: 0 40px;
- width: 1080px;
- background: url('~@/assets/images/list/list-rack.png') no-repeat -31px 205px;
- overflow: hidden;
- // overflow-x: auto;
- white-space: nowrap;
- .list-item{
- margin-right: 1.7px;
+ .book-txt{
+ flex: 1;
+ h4{
+ font-size: 28px;
+ line-height: 40px;
+ }
+ .book-autor{
+ span{
display: inline-block;
- border: none;
- height: 254px;
- width: 65px;
- background-size: 93px 266px;
- position: relative;
- .box-txt{
- position: absolute;
- top: 12%;
- left: 50%;
- transform: translateX(-40%);
- .book-name,.book-writer{
- writing-mode:vertical-rl;
- height: 235px;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .book-name{
- font-size: 20px;
- }
- .book-writer{
- font-size: 18px;
- }
- }
+ margin-right: 8px;
+ padding: 0 8px;
+ font-size: 20px;
+ height: 36px;
+ line-height: 36px;
+ border: 1px solid #C6C6E2;
+ color: #737475;
+ border-radius: 4px;
}
}
- }
- .rack-floor{
- position: absolute;
- left: 0;
- bottom: 2px;
- height: 50px;
- width: 100%;
- display: flex;
- color: #fff;
- align-items: center;
- justify-content: space-between;
- padding: 0 40px;
- z-index: 999;
- .icon-l,.icon-r{
- font-size: 24px;
+ .book-publish{
+ margin: 12px 0;
+ opacity: .6;
+ span{
+ padding-right: 16px;
+ }
+ span:last-child{
+ padding-left: 16px;
+ font-size: 20px;
+ opacity: .4;
+ border-left: 1px solid #C6C6E2;
+ }
+ }
+ .book-intro{
+ line-height: 36px;
+ opacity: .6;
}
}
}
-
-.bookshelf-header .icon-l{
- color: #fff;
- font-size: 40px;
- position: absolute;
- left: 40px;
- top: 50%;
- transform: translateY(-50%);
-}
-.bookshelf-header .rack-direct{
- position: absolute;
- top: 30px;
- right: 40px;
- width: 220px;
- height: 60px;
- line-height: 60px;
- // background: linear-gradient(90deg, #ACDAFF 0%, #9BCEFF 100%);
- background: #fff;
- border-radius: 30px;
+.book-eval{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ line-height: 48px;
+ margin-top: 14px;
+ padding: 4px 4px 4px 24px;
+ border-radius: 8px;
+ border: 2px solid #C6C6E2;
+ background: rgba(241,241,249,0.4);
+ .eval-num{
+ padding-left: 28px;
+ font-size: 24px;
+ background: url('~@/assets/images/img6.png') no-repeat left center;
+ background-size: 24px 24px;
+ }
+ .eval-star{
+ flex: 1;
display: flex;
- padding: 6px;
+ justify-content: flex-start;
+ align-items: center;
+ margin-left: 76px;
span{
- flex: 1;
- text-align: center;
- line-height: 48px;
- &.rack-direct-active{
- background: linear-gradient(267deg, #7285FB 0%, #7285FB 9%, #4377FE 55%, #2487FF 100%);
- z-index: 1;
- border-radius: 24px;
- color: #fff;
+ display: block;
+ width: 28px;
+ height: 28px;
+ margin-right: 8px;
+ background: url('~@/assets/images/img2.png') no-repeat;
+ background-size: 28px 28px;
+ &.active{
+ background: url('~@/assets/images/img1.png') no-repeat;
+ background-size: 28px 28px;
}
}
-}
-
-
-.rack-box-list .list-item{
- &:nth-child(15n+1){
- background: url('~@/assets/images/list/1.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+2){
- background: url('~@/assets/images/list/2.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+3){
- background: url('~@/assets/images/list/3.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+4){
- background: url('~@/assets/images/list/4.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+5){
- background: url('~@/assets/images/list/5.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+6){
- background: url('~@/assets/images/list/6.png') no-repeat -15px -13px;
}
- &:nth-child(15n+7){
- background: url('~@/assets/images/list/7.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+8){
- background: url('~@/assets/images/list/8.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+9){
- background: url('~@/assets/images/list/9.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+10){
- background: url('~@/assets/images/list/10.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+11){
- background: url('~@/assets/images/list/11.png') no-repeat -15px -13px;
- }
- &:nth-child(15n+12){
- background: url('~@/assets/images/list/12.png') no-repeat -15px -13px;
+ .to-book-more{
+ font-size: 20px;
+ padding: 0 8px;
+ color: #fff;
+ background-color: #5A86F4;
+ border-radius: 4px;
}
- &:nth-child(15n+13){
- background: url('~@/assets/images/list/13.png') no-repeat -15px -13px;
+}
+
+.book-place{
+ padding: 0 27px 0 32px;
+ background-color: #F8F8FD;
+ h4{
+ position: relative;
+ padding-left: 18px;
+ font-size: 28px;
+ line-height: 40px;
+ color: #191A1A;
+ &::before{
+ position: absolute;
+ left: 0;
+ top: 50%;
+ content: "";
+ width: 7px;
+ height: 26px;
+ background-color: #191A1A;
+ transform: translateY(-50%);
+ }
}
- &:nth-child(15n+14){
- background: url('~@/assets/images/list/14.png') no-repeat -15px -13px;
+ .book-place-list{
+ li{
+ display: flex;
+ justify-content: space-between;
+ padding: 14px 0;
+ font-size: 25px;
+ line-height: 40px;
+ border-bottom: 1px solid #C6C6E2;
+ span{
+ color: #000;
+ }
+ .place-detail{
+ padding-right: 56px;
+ color: #000;
+ background: url('~@/assets/images/img10.png') no-repeat right center;
+ background-size: 39px 38px;
+ }
+ }
}
- &:nth-child(15n+15){
- background: url('~@/assets/images/list/15.png') no-repeat -15px -13px;
+}
+
+.book-bottom{
+ margin-top: 24px;
+ span{
+ display: block;
+ width: 212px;
+ height: 57px;
+ line-height: 53px;
+ font-size: 25px;
+ text-align: center;
+ background: rgba(90,134,244,0.1);
+ border-radius: 29px;
+ border: 2px solid #5A86F4;
+ color: #5A86F4;
+ margin: 0 auto;
}
}
-::-webkit-scrollbar {
- width: 0;
- height: 0;
-}
+
+
diff --git a/selfServiceMachine/src/assets/styles/style.scss b/selfServiceMachine/src/assets/styles/style.scss
index eae70f6..1d12caf 100644
--- a/selfServiceMachine/src/assets/styles/style.scss
+++ b/selfServiceMachine/src/assets/styles/style.scss
@@ -1,5 +1,3 @@
-@import '~@/assets/iconfont/iconfont.css';
-
// 全局样式
* {
margin: 0;
@@ -19,11 +17,11 @@ body {
background-color: #f1f1f1;
margin: 0;
padding: 0;
- color: #333;
+ color: #191A1A;
}
a {
- color: #333;
+ color: #191A1A;
text-decoration: none;
}
@@ -72,7 +70,7 @@ ul{
}
//文章一行显示,多余省略号显示
-.title-item {
+.title-item-only {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
@@ -80,6 +78,14 @@ ul{
text-overflow: ellipsis;
}
+.title-item {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
.rotate:before {
display: inline-block;
transform: rotate(180deg);
diff --git a/selfServiceMachine/src/main.js b/selfServiceMachine/src/main.js
index 79529be..0ea23e8 100644
--- a/selfServiceMachine/src/main.js
+++ b/selfServiceMachine/src/main.js
@@ -12,16 +12,10 @@ import '@/common/flexible.js'
// 引入全局css
import './assets/styles/style.scss'
-import './assets/iconfont/iconfont.js'
-import './assets/fonts/fonts.css'
import axios from 'axios'
Vue.prototype.$axios = axios
-// 馆代码 1201为东西湖馆代码 / 本地测试用FTZN
-// Vue.prototype.libcode = 'FTZN'
-Vue.prototype.libcode = '1201'
-
// 引入echart
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
diff --git a/selfServiceMachine/src/router/index.js b/selfServiceMachine/src/router/index.js
index 621c363..5e033e0 100644
--- a/selfServiceMachine/src/router/index.js
+++ b/selfServiceMachine/src/router/index.js
@@ -20,46 +20,6 @@ const routes = [
title: '书单推荐'
}
}
- // {
- // path: '/CurrentRackBook',
- // name: 'CurrentRackBook',
- // component: () => import('@/views/bookRackList.vue'),
- // meta: {
- // title: '本架图书'
- // }
- // },
- // {
- // path: '/NewBook',
- // name: 'NewBook',
- // component: () => import('@/views/newBook.vue'),
- // meta: {
- // title: '新书推荐'
- // }
- // },
- // {
- // path: '/HotBook',
- // name: 'HotBook',
- // component: () => import('@/views/hotBook.vue'),
- // meta: {
- // title: '热门图书'
- // }
- // },
- // {
- // path: '/AuthorRecommend',
- // name: 'AuthorRecommend',
- // component: () => import('@/views/authorRecommend.vue'),
- // meta: {
- // title: '作者推荐'
- // }
- // },
- // {
- // path: '/DigitalResource',
- // name: 'DigitalResource',
- // component: () => import('@/views/digitalResource.vue'),
- // meta: {
- // title: '数字资源'
- // }
- // }
]
const router = new VueRouter({
diff --git a/selfServiceMachine/src/views/authorRecommend.vue b/selfServiceMachine/src/views/authorRecommend.vue
deleted file mode 100644
index eeed314..0000000
--- a/selfServiceMachine/src/views/authorRecommend.vue
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
-
-
-
{{ index+1 }}
-
-
{{ item.paAuthor }}
-
{{ item.paExplain }}
-
-
-
-
-
-
-
-
-
diff --git a/selfServiceMachine/src/views/bookRackList.vue b/selfServiceMachine/src/views/bookRackList.vue
deleted file mode 100644
index 6162f7e..0000000
--- a/selfServiceMachine/src/views/bookRackList.vue
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ eitem.bookName }}
- {{ eitem.bookAuthor }}
-
-
-
-
-
-
-
第{{ index+1 }}层(共{{ bookList[item]?bookList[item].length:0 }}本)
-
-
-
-
-
-
-
-
-
-
-
diff --git a/selfServiceMachine/src/views/bookRecommend.vue b/selfServiceMachine/src/views/bookRecommend.vue
index ca1bbf4..ac646a8 100644
--- a/selfServiceMachine/src/views/bookRecommend.vue
+++ b/selfServiceMachine/src/views/bookRecommend.vue
@@ -1,29 +1,300 @@
-
-
-
+
+
+
+
+
![](~@/assets/images/banner.png)
+
+
+
+
+
+
+
出版社
+
+ -
+
人民文学出版社
+ 100册
+
+ -
+
商务印书馆
+ 96册
+
+ -
+
人民出版社
+ 80册
+
+ -
+
上海译文出版社
+ 43册
+
+
+
+
+
出版时间
+
+ 2023
+ 2022
+ 2021
+ 2020
+ 2019
+ 2018
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AI超入门
+
+ 秋叶 刘进新
+ 机械工业出版社
+
+
+ 图书简介图书简介图书简介图书简介图书简介图书简介图书
+
+
+
+
+ 100次
+ 查看详情
+
+
+
+ -
+ TOP4
+
秒懂AI写作
+
+ -
+ TOP5
+
+ ChatGPT:AI革命AI革命AI革命
+
+
+
+
+
+
+
+
+
检索结果:121册
+
+
+
+
![]()
+
+
+
+ {{item}}秒懂AI提问:秒懂AI提问:让人工智能成为你的效率神器
+
+
+ 秋叶 刘进新 姜梅 定秋枫
+ 2023年07月
+
+
+ 人民邮电出版社
+ ISBN:950146556432
+
+
+ 精心提炼20种GPT提问方法及指令,从入到进阶再到精通,100个案例带你玩转100个案例带你玩转G
+
+
+
+
+
100次
+
+
+
+
+
+
+
+
查看详情
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+ 秒懂AI提问:秒懂AI提问:让人工智能成为你的效率神器
+
+
+ 秋叶 刘进新 姜梅 定秋枫
+ 2023年07月
+
+
+ 人民邮电出版社
+ ISBN:950146556432
+
+
+ 精心提炼20种GPT提问方法及指令,从入到进阶再到精通,100个案例带你玩转100个案例带你玩转G
+
+
+
+
+
+
+
图书所在位置
+
+ -
+ 1
+
400300210
+ 1区30列5节3层左侧
+
+ -
+ 2
+
400300210
+ 1区30列5节3层左侧
+
+
+
+
+ 关闭
+
+
+
diff --git a/selfServiceMachine/src/views/digitalResource.vue b/selfServiceMachine/src/views/digitalResource.vue
deleted file mode 100644
index 5421e76..0000000
--- a/selfServiceMachine/src/views/digitalResource.vue
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-
![]()
-
- {{ item.nrsTitle }}
-
-
-
-
-
-
-
-
-
-
diff --git a/selfServiceMachine/src/views/hotBook.vue b/selfServiceMachine/src/views/hotBook.vue
deleted file mode 100644
index 2950248..0000000
--- a/selfServiceMachine/src/views/hotBook.vue
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/selfServiceMachine/src/views/index.vue b/selfServiceMachine/src/views/index.vue
deleted file mode 100644
index b20a95e..0000000
--- a/selfServiceMachine/src/views/index.vue
+++ /dev/null
@@ -1,191 +0,0 @@
-
-
-
-
-
-
{{ leftShelfMsg }}
-
{{ rightShelfMsg }}
-
-
-
- -
-
- 图书检索
-
- -
-
- 热门图书
-
- -
-
- 作者推荐
-
- -
-
- 数字资源
-
- -
-
- 场馆导航
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/selfServiceMachine/src/views/newBook.vue b/selfServiceMachine/src/views/newBook.vue
deleted file mode 100644
index 04f7c7b..0000000
--- a/selfServiceMachine/src/views/newBook.vue
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/selfServiceMachine/src/views/onlineBookSelection.vue b/selfServiceMachine/src/views/onlineBookSelection.vue
index eb3205b..ef129c2 100644
--- a/selfServiceMachine/src/views/onlineBookSelection.vue
+++ b/selfServiceMachine/src/views/onlineBookSelection.vue
@@ -1,8 +1,5 @@
-
-
+
![](~@/assets/images/code.png)
@@ -11,11 +8,11 @@