正在显示
1 个修改的文件
包含
120 行增加
和
34 行删除
| 1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> | 2 | <html lang="en"> |
| 3 | - <head> | 3 | +<head> |
| 4 | <meta charset="UTF-8"> | 4 | <meta charset="UTF-8"> |
| 5 | - <meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=0.3" /> | 5 | + <!--<meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=0.3" />--> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 7 | + | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="ie=edge"> | 8 | <meta http-equiv="X-UA-Compatible" content="ie=edge"> |
| 7 | {include file="common/meta" /} | 9 | {include file="common/meta" /} |
| 8 | <link href="__CDN__/assets/css/user.css?v={$Think.config.site.version}" rel="stylesheet"> | 10 | <link href="__CDN__/assets/css/user.css?v={$Think.config.site.version}" rel="stylesheet"> |
| @@ -15,31 +17,115 @@ | @@ -15,31 +17,115 @@ | ||
| 15 | border-color: #3c8dbc; | 17 | border-color: #3c8dbc; |
| 16 | cursor: default; | 18 | cursor: default; |
| 17 | } | 19 | } |
| 18 | - .common-wrap .right{ | ||
| 19 | - position: absolute; | ||
| 20 | - right: 100px; | 20 | + .headW{ |
| 21 | + width: 92rem; | ||
| 21 | } | 22 | } |
| 22 | .index .doubleGen-list .right{ | 23 | .index .doubleGen-list .right{ |
| 23 | width: 70%; | 24 | width: 70%; |
| 24 | left: 30%; | 25 | left: 30%; |
| 25 | } | 26 | } |
| 27 | + .common-header .common-wrap .left img{ | ||
| 28 | + width: 75%; | ||
| 29 | + } | ||
| 30 | + /*.common-header .common-wrap{*/ | ||
| 31 | + /* background: no-repeat 0% /50% url({$schoolInfo.logo | cdnurl});*/ | ||
| 32 | + /*} */ | ||
| 26 | 33 | ||
| 34 | + @media screen and (max-width: 600px) { | ||
| 35 | + html{ | ||
| 36 | + min-width: 100vw !important; | ||
| 37 | + } | ||
| 38 | + .common-header{ | ||
| 39 | + min-width: 100vw !important; | ||
| 40 | + height: 4rem; | ||
| 41 | + width: 100vw !important; | ||
| 42 | + } | ||
| 43 | + .common-header .common-wrap .left img{ | ||
| 44 | + width: 10rem; | ||
| 45 | + } | ||
| 27 | .common-header .common-wrap{ | 46 | .common-header .common-wrap{ |
| 28 | - background: no-repeat 0% /50% url({$schoolInfo.logo | cdnurl}); | 47 | + width: 25rem !important; |
| 48 | + min-width: 25rem !important; | ||
| 49 | + margin: 0 0 0 1.5rem !important; | ||
| 50 | + } | ||
| 51 | + .common-header .common-wrap .right{ | ||
| 52 | + position: relative !important; | ||
| 53 | + right: 0 !important; | ||
| 54 | + } | ||
| 55 | + .common-header .common-wrap .right img{ | ||
| 56 | + width: 3rem; | ||
| 57 | + } | ||
| 58 | + .nav-wrap .common-wrap{ | ||
| 59 | + margin: 0 !important; | ||
| 60 | + width: 100vw !important; | ||
| 61 | + min-width: 100vw !important; | ||
| 62 | + } | ||
| 63 | + .nav-list{ | ||
| 64 | + flex-wrap: wrap; | ||
| 65 | + /*justify-content: flex-start ;*/ | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + .index .nav-item a{ | ||
| 69 | + width: 5.75rem; | ||
| 70 | + height: 3.5rem; | ||
| 71 | + line-height: 3.5rem; | ||
| 72 | + } | ||
| 73 | + .logo-footer{ | ||
| 74 | + width: 26rem !important; | ||
| 75 | + height: 4rem !important; | ||
| 76 | + margin-bottom: 1rem !important; | ||
| 77 | + } | ||
| 78 | + .footer-info{ | ||
| 79 | + margin-bottom: 1rem !important; | ||
| 80 | + } | ||
| 81 | + .common-footer{ | ||
| 82 | + width: 100vw !important; | ||
| 83 | + min-width: 100vw !important; | ||
| 84 | + height: auto !important; | ||
| 85 | + } | ||
| 86 | + .common-footer .common-wrap{ | ||
| 87 | + flex-direction: column; | ||
| 88 | + } | ||
| 89 | + .footer-head{ | ||
| 90 | + display: flex; | ||
| 91 | + flex-wrap: wrap; | ||
| 92 | + width: 100vw; | ||
| 93 | + padding: 15px 0 !important; | ||
| 94 | + } | ||
| 95 | + .footer-head .pull-left , .footer-head .pull-right{ | ||
| 96 | + display: flex; | ||
| 97 | + justify-content: space-around; | ||
| 98 | + width: 100%; | ||
| 99 | + } | ||
| 100 | + .footer-head .pull-right{ | ||
| 101 | + margin-top: 0.6rem; | ||
| 102 | + } | ||
| 103 | + .common-footer .footer-tag{ | ||
| 104 | + margin: 0 !important; | ||
| 105 | + } | ||
| 106 | + .common-header .btn-entrance{ | ||
| 107 | + margin: 0 !important; | ||
| 108 | + padding: 0 !important; | ||
| 109 | + min-width: 5.6rem; | ||
| 110 | + display: flex; | ||
| 111 | + align-items: center; | ||
| 112 | + justify-content: center; | ||
| 113 | + } | ||
| 29 | } | 114 | } |
| 30 | 115 | ||
| 31 | 116 | ||
| 32 | </style> | 117 | </style> |
| 33 | - </head> | 118 | +</head> |
| 34 | 119 | ||
| 35 | - <body> | ||
| 36 | - {if condition="!isset($main)"} | ||
| 37 | - <div class="index"> | 120 | +<body> |
| 121 | +{if condition="!isset($main)"} | ||
| 122 | +<div class="index"> | ||
| 38 | <div class="common-header" {if(isset($login))} style="display:none" {/if}> | 123 | <div class="common-header" {if(isset($login))} style="display:none" {/if}> |
| 39 | - <div class="common-wrap "> | 124 | + <div class="common-wrap headW"> |
| 40 | <div class="left"> | 125 | <div class="left"> |
| 41 | -<!-- <img class="top" src="__CDN__/assets/img/titleleft.png">--> | ||
| 42 | -<!-- <img class="bottom" src="__CDN__/assets/img/titleright.png" />--> | 126 | + <img src="{$schoolInfo.logo | cdnurl}" /> |
| 127 | + <!--<img class="top" src="__CDN__/assets/img/titleleft.png">--> | ||
| 128 | + <!-- <img class="bottom" src="__CDN__/assets/img/titleright.png" />--> | ||
| 43 | </div> | 129 | </div> |
| 44 | <div class="right "> | 130 | <div class="right "> |
| 45 | <!--<div class="search-wrap"> | 131 | <!--<div class="search-wrap"> |
| @@ -61,9 +147,9 @@ | @@ -61,9 +147,9 @@ | ||
| 61 | {/if} | 147 | {/if} |
| 62 | </div> | 148 | </div> |
| 63 | </div> | 149 | </div> |
| 64 | - </div> | ||
| 65 | - <div class="nav-wrap" {if(isset($login))} style="display:none" {/if}> | ||
| 66 | - <div class="common-wrap"> | 150 | +</div> |
| 151 | +<div class="nav-wrap" {if(isset($login))} style="display:none" {/if}> | ||
| 152 | +<div class="common-wrap"> | ||
| 67 | <ul class="nav-list"> | 153 | <ul class="nav-list"> |
| 68 | {if $schoolInfo['subdomain_name'] == 'btmc'} | 154 | {if $schoolInfo['subdomain_name'] == 'btmc'} |
| 69 | <li class="nav-item"><a data-url="/index/index/index" href="{:url('index/index/index')}">首页</a></li> | 155 | <li class="nav-item"><a data-url="/index/index/index" href="{:url('index/index/index')}">首页</a></li> |
| @@ -84,10 +170,10 @@ | @@ -84,10 +170,10 @@ | ||
| 84 | <li class="nav-item"><a data-url="/index/serve/index" href="{:url('index/serve/index')}">助创服务</a></li> | 170 | <li class="nav-item"><a data-url="/index/serve/index" href="{:url('index/serve/index')}">助创服务</a></li> |
| 85 | {/if} | 171 | {/if} |
| 86 | </ul> | 172 | </ul> |
| 87 | - </div> | ||
| 88 | - </div> | ||
| 89 | - </div> | ||
| 90 | - <!-- <div class="swiper-container" id="first_swiper" {if(isset($index))} style="display:none" {/if}{if(isset($login))} style="display:none" {/if}> | 173 | +</div> |
| 174 | +</div> | ||
| 175 | +</div> | ||
| 176 | +<!-- <div class="swiper-container" id="first_swiper" {if(isset($index))} style="display:none" {/if}{if(isset($login))} style="display:none" {/if}> | ||
| 91 | <div class="swiper-wrapper"> | 177 | <div class="swiper-wrapper"> |
| 92 | <div class="swiper-slide"> | 178 | <div class="swiper-slide"> |
| 93 | <img src="__CDN__/assets/img/swiper.png"> | 179 | <img src="__CDN__/assets/img/swiper.png"> |
| @@ -100,14 +186,14 @@ | @@ -100,14 +186,14 @@ | ||
| 100 | </div> | 186 | </div> |
| 101 | </div> | 187 | </div> |
| 102 | <div class="swiper-pagination"></div> | 188 | <div class="swiper-pagination"></div> |
| 103 | - </div> --> | ||
| 104 | - {/if} | ||
| 105 | - <main class="content" > | 189 | +</div> --> |
| 190 | +{/if} | ||
| 191 | +<main class="content" > | ||
| 106 | {__CONTENT__} | 192 | {__CONTENT__} |
| 107 | - </main> | ||
| 108 | - {if condition="!isset($main)"} | ||
| 109 | - <div class="common-footer" {if(isset($login))} style="display:none" {/if}> | ||
| 110 | - <div class="footer-head"> | 193 | +</main> |
| 194 | +{if condition="!isset($main)"} | ||
| 195 | +<div class="common-footer" {if(isset($login))} style="display:none" {/if}> | ||
| 196 | +<div class="footer-head"> | ||
| 111 | <div class="pull-left"> | 197 | <div class="pull-left"> |
| 112 | <div class="footer-tag">创意</div> | 198 | <div class="footer-tag">创意</div> |
| 113 | <div class="footer-tag">创新</div> | 199 | <div class="footer-tag">创新</div> |
| @@ -122,8 +208,8 @@ | @@ -122,8 +208,8 @@ | ||
| 122 | <div class="footer-tag">融合</div> | 208 | <div class="footer-tag">融合</div> |
| 123 | <div class="footer-tag">融天下</div> | 209 | <div class="footer-tag">融天下</div> |
| 124 | </div> | 210 | </div> |
| 125 | - </div> | ||
| 126 | - <div class="common-wrap"> | 211 | +</div> |
| 212 | +<div class="common-wrap"> | ||
| 127 | <img class="logo-footer" | 213 | <img class="logo-footer" |
| 128 | src="{$schoolInfo.logo | cdnurl}" | 214 | src="{$schoolInfo.logo | cdnurl}" |
| 129 | alt=""> | 215 | alt=""> |
| @@ -135,10 +221,10 @@ | @@ -135,10 +221,10 @@ | ||
| 135 | <a style="color:#fff;" class="txt-gray" href="https://beian.miit.gov.cn/" target="_blank"><span>京 ICP 备 20011457 号-1</span></a></div> | 221 | <a style="color:#fff;" class="txt-gray" href="https://beian.miit.gov.cn/" target="_blank"><span>京 ICP 备 20011457 号-1</span></a></div> |
| 136 | </div> | 222 | </div> |
| 137 | <img class="qrcode" src="{$schoolInfo.qr_code | cdnurl}" alt=""> | 223 | <img class="qrcode" src="{$schoolInfo.qr_code | cdnurl}" alt=""> |
| 138 | - </div> | ||
| 139 | - </div> | ||
| 140 | - {/if} | ||
| 141 | - {include file="common/script" /} | ||
| 142 | - </body> | 224 | +</div> |
| 225 | +</div> | ||
| 226 | +{/if} | ||
| 227 | +{include file="common/script" /} | ||
| 228 | +</body> | ||
| 143 | 229 | ||
| 144 | </html> | 230 | </html> |
-
请 注册 或 登录 后发表评论