|
@@ -1,80 +1,80 @@
|
|
|
-<!DOCTYPE html>
|
|
|
-<html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
- xsi:schemaLocation="https://www.thymeleaf.org ">
|
|
|
-<head>
|
|
|
- <meta charset="UTF-8"/>
|
|
|
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=0"/>
|
|
|
- <title>采美百科</title>
|
|
|
- <link rel="stylesheet" href="/css/encyclopedia/normalize.css">
|
|
|
- <link href="/lib/jquery-confirm.min.css" rel="stylesheet" type="text/css">
|
|
|
- <link rel="stylesheet" th:href="@{/css/encyclopedia/common.css(v=${version})}">
|
|
|
- <link rel="stylesheet" th:href="@{/css/encyclopedia/list.css(v=${version})}">
|
|
|
-</head>
|
|
|
-<body>
|
|
|
-<input type="hidden" th:value="${coreServer}" id="coreServer">
|
|
|
-<!-- 顶部公共区域 -->
|
|
|
-<template th:replace="encyclopedia/components/header"></template>
|
|
|
-<!-- 顶部公共区域 end -->
|
|
|
-
|
|
|
-<main>
|
|
|
- <!-- banner区域 -->
|
|
|
- <a th:href="${Typedata.bannerLink}" th:if="Typedata.bannerLink">
|
|
|
- <div class="bk-banner">
|
|
|
- <img th:src="${Typedata.pcBanner} ? ${Typedata.pcBanner} : '/img/encyclopedia/assets/pc-banner.png'" alt="采美百科" class="only-pc">
|
|
|
- <img th:src="${Typedata.appBanner} ? ${Typedata.appBanner} : '/img/encyclopedia/assets/h5-banner.png'" alt="采美百科" class="only-mobile">
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- <div class="bk-banner" th:if="!Typedata.bannerLink">
|
|
|
- <img th:src="${Typedata.pcBanner} ? ${Typedata.pcBanner} : '/img/encyclopedia/assets/pc-banner.png'" alt="采美百科" class="only-pc">
|
|
|
- <img th:src="${Typedata.appBanner} ? ${Typedata.appBanner} : '/img/encyclopedia/assets/h5-banner.png'" alt="采美百科" class="only-mobile">
|
|
|
- </div>
|
|
|
- <!-- banner区域 end -->
|
|
|
- <!-- 百科列表区域 -->
|
|
|
- <div class="bk-list bk-container">
|
|
|
- <a th:href="'/encyclopedia/detail-' + ${item.id} + '.html'" class="bk-list-item" th:each="item : ${authUserList}" th:object="${item}">
|
|
|
- <div class="bk-cover"><img th:src="*{image}" th:alt="*{name}"/></div>
|
|
|
- <div class="bk-info">
|
|
|
- <h2 th:text="*{name}"></h2>
|
|
|
- <div class="bk-info-desc" th:utext="*{discription}"></div>
|
|
|
- <div class="bk-info-footer"><span>浏览量:<span th:text="*{pv lt 10000 ? pv : '9999+'}"></span></span><span th:text="*{publishTimeStr}"></span></div>
|
|
|
- </div>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <!-- 百科列表区域 end -->
|
|
|
-</main>
|
|
|
-
|
|
|
-
|
|
|
-<!-- 发布词条 -->
|
|
|
-<div class="bk-publish"></div>
|
|
|
-
|
|
|
-<!-- 登录框 -->
|
|
|
-<div class="bk-login" style="display: none">
|
|
|
- <div class="mask"></div>
|
|
|
- <div class="bk-login-container">
|
|
|
- <div class="bk-tip">欢迎登录~</div>
|
|
|
- <div class="bk-name">采美百科平台</div>
|
|
|
- <form id="loginForm">
|
|
|
- <div class="bk-input"><label><input id="mobileOrEmail" name="mobileOrEmail" placeholder="请登录您的供应商账号"/></label></div>
|
|
|
- <div class="bk-input"><label><input type="password" id="password" name="password" placeholder="请输入密码"/></label></div>
|
|
|
- <div class="verify-wrap" id="slide-verify"></div>
|
|
|
- <button class="bk-disabled bk-submit">登陆</button>
|
|
|
- </form>
|
|
|
- <div class="bk-tools">
|
|
|
- <a href="/supplier/register.html">免费注册</a>
|
|
|
- <a href="/forget.html">忘记密码</a>
|
|
|
- </div>
|
|
|
-<!-- <div class="bk-agreement">-->
|
|
|
-<!-- <input type="checkbox" id="agreement"/>-->
|
|
|
-<!-- <label for="agreement"></label>-->
|
|
|
-<!-- <span>请仔细阅读<a href="#">《采美百科协议》</a></span>-->
|
|
|
-<!-- </div>-->
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-
|
|
|
-
|
|
|
-<!-- 底部区域 -->
|
|
|
-<template th:replace="encyclopedia/components/footer"></template>
|
|
|
-<!-- 底部区域 end -->
|
|
|
-</body>
|
|
|
-</html>
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xsi:schemaLocation="https://www.thymeleaf.org ">
|
|
|
+<head>
|
|
|
+ <meta charset="UTF-8"/>
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=0"/>
|
|
|
+ <title>采美百科</title>
|
|
|
+ <link rel="stylesheet" href="/css/encyclopedia/normalize.css">
|
|
|
+ <link href="/lib/jquery-confirm.min.css" rel="stylesheet" type="text/css">
|
|
|
+ <link rel="stylesheet" th:href="@{/css/encyclopedia/common.css(v=${version})}">
|
|
|
+ <link rel="stylesheet" th:href="@{/css/encyclopedia/list.css(v=${version})}">
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<input type="hidden" th:value="${coreServer}" id="coreServer">
|
|
|
+<!-- 顶部公共区域 -->
|
|
|
+<template th:replace="encyclopedia/components/header"></template>
|
|
|
+<!-- 顶部公共区域 end -->
|
|
|
+
|
|
|
+<main>
|
|
|
+ <!-- banner区域 -->
|
|
|
+ <a th:href="${Typedata.bannerLink}" th:if="Typedata.bannerLink">
|
|
|
+ <div class="bk-banner">
|
|
|
+ <img th:src="${Typedata.pcBanner} ? ${Typedata.pcBanner} : '/img/encyclopedia/assets/pc-banner.png'" alt="采美百科" class="only-pc">
|
|
|
+ <img th:src="${Typedata.appBanner} ? ${Typedata.appBanner} : '/img/encyclopedia/assets/h5-banner.png'" alt="采美百科" class="only-mobile">
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ <div class="bk-banner" th:if="!Typedata.bannerLink">
|
|
|
+ <img th:src="${Typedata.pcBanner} ? ${Typedata.pcBanner} : '/img/encyclopedia/assets/pc-banner.png'" alt="采美百科" class="only-pc">
|
|
|
+ <img th:src="${Typedata.appBanner} ? ${Typedata.appBanner} : '/img/encyclopedia/assets/h5-banner.png'" alt="采美百科" class="only-mobile">
|
|
|
+ </div>
|
|
|
+ <!-- banner区域 end -->
|
|
|
+ <!-- 百科列表区域 -->
|
|
|
+ <div class="bk-list bk-container">
|
|
|
+ <a th:href="'/encyclopedia/detail-' + ${item.id} + '.html'" class="bk-list-item" th:each="item : ${authUserList}" th:object="${item}">
|
|
|
+ <div class="bk-cover"><img th:src="*{image}" th:alt="*{name}" th:if="*{!#strings.isEmpty(image)}"/></div>
|
|
|
+ <div class="bk-info">
|
|
|
+ <h2 th:text="*{name}"></h2>
|
|
|
+ <div class="bk-info-desc" th:utext="*{discription}"></div>
|
|
|
+ <div class="bk-info-footer"><span>浏览量:<span th:text="*{pv lt 10000 ? pv : '9999+'}"></span></span><span th:text="*{publishTimeStr}"></span></div>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <!-- 百科列表区域 end -->
|
|
|
+</main>
|
|
|
+
|
|
|
+
|
|
|
+<!-- 发布词条 -->
|
|
|
+<div class="bk-publish"></div>
|
|
|
+
|
|
|
+<!-- 登录框 -->
|
|
|
+<div class="bk-login" style="display: none">
|
|
|
+ <div class="mask"></div>
|
|
|
+ <div class="bk-login-container">
|
|
|
+ <div class="bk-tip">欢迎登录~</div>
|
|
|
+ <div class="bk-name">采美百科平台</div>
|
|
|
+ <form id="loginForm">
|
|
|
+ <div class="bk-input"><label><input id="mobileOrEmail" name="mobileOrEmail" placeholder="请登录您的供应商账号"/></label></div>
|
|
|
+ <div class="bk-input"><label><input type="password" id="password" name="password" placeholder="请输入密码"/></label></div>
|
|
|
+ <div class="verify-wrap" id="slide-verify"></div>
|
|
|
+ <button class="bk-disabled bk-submit">登陆</button>
|
|
|
+ </form>
|
|
|
+ <div class="bk-tools">
|
|
|
+ <a href="/supplier/register.html">免费注册</a>
|
|
|
+ <a href="/forget.html">忘记密码</a>
|
|
|
+ </div>
|
|
|
+<!-- <div class="bk-agreement">-->
|
|
|
+<!-- <input type="checkbox" id="agreement"/>-->
|
|
|
+<!-- <label for="agreement"></label>-->
|
|
|
+<!-- <span>请仔细阅读<a href="#">《采美百科协议》</a></span>-->
|
|
|
+<!-- </div>-->
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+<!-- 底部区域 -->
|
|
|
+<template th:replace="encyclopedia/components/footer"></template>
|
|
|
+<!-- 底部区域 end -->
|
|
|
+</body>
|
|
|
+</html>
|