123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>新闻资讯</title>
- <link rel="stylesheet" href="./css/common/default.css" />
- <link rel="stylesheet" href="./css/components/header-mobile.css" />
- <link rel="stylesheet" href="./css/components/banner-mobile.css" />
- <link rel="stylesheet" href="./css/components/footer-mobile.css" />
- <link rel="stylesheet" href="./css/news-mobile.css" />
- <script src="./js/lib/vue.min.js"></script>
- <script src="./js/lib/axios.min.js"></script>
- <script src="./js/common/browser-resize.js"></script>
- </head>
- <body>
- <div class="wrap">
- <div id="header" class="header" style="background: #fff">
- <img class="header-logo" :src="logo_path" alt="" />
- <div class="header-right">
- <div class="header-language">
- <span
- :class="[current_language=='chs'?'current':'no-current']"
- @click="changeLanguage('chs')"
- >中文</span
- ><span>/</span
- ><span
- :class="[current_language=='en'?'current':'no-current']"
- @click="changeLanguage('en')"
- >EN</span
- >
- </div>
- <img
- class="header-menu"
- :src="`./static/${menu_show?'close':'menu'}.png`"
- @click="menu_show = !menu_show"
- />
- </div>
- <div
- class="header-nav"
- :style="{height:menu_show?'calc(100vh - 2.75rem)':'0'}"
- >
- <a v-for="item in path_list" :href="item.path">
- <span :class="{'current':current_path.includes(item.path)}">
- {{text(item.name)}}
- </span>
- <span class="icon">›</span>
- </a>
- </div>
- </div>
- <div
- id="banner"
- class="banner"
- :style="{backgroundImage:`url(${image})`}"
- >
- <div class="banner-title">{{title}}</div>
- </div>
- <div id="app">
- <div class="list">
- <div class="list-item" v-for="item in list">
- <img class="item-cover" :src="item.image" alt="" />
- <div class="item-bottom">
- <div class="item-time">{{item.time}}</div>
- <div class="item-title">{{item[lan_key('name')]}}</div>
- <div class="item-detail">{{item[lan_key('description')]}}</div>
- <a
- class="item-view-detail"
- :href="'/news-detail-mobile.html?id=' + item.id"
- >{{text('阅读详情')}}</a
- >
- </div>
- </div>
- </div>
- <div class="pagination">
- <div class="pagination-item" @click="changeCurrent(params.page - 1)">
- ‹
- </div>
- <div
- class="pagination-item"
- v-for="index in pagination_list"
- :class="{ current: index == params.page}"
- @click="changeCurrent(index)"
- >
- {{index}}
- </div>
- <div class="pagination-item" @click="changeCurrent(params.page + 1)">
- ›
- </div>
- </div>
- </div>
- <div id="footer" class="footer">
- <img
- class="footer-company"
- :src="baseURL + config.web_logo_footer"
- alt=""
- />
- <div class="footer-page">
- <a
- class="footer-page-item"
- v-for="item in path_list"
- :href="item.path"
- >{{text(item.name)}}</a
- >
- </div>
- <div class="footer-info" v-if="config.web_tel && config.web_tel.tel1">
- <img class="footer-icon" src="./static/phone.png" alt="" />
- <span>{{config.web_tel?config.web_tel.tel1:'-'}}</span>
- </div>
- <div class="footer-info">
- <img class="footer-icon" src="./static/email.png" alt="" />
- <span>{{config.web_email}}</span>
- </div>
- <div class="footer-info">
- <img class="footer-icon" src="./static/place.png" alt="" />
- <span>{{config[lan_key('web_company_address')]}}</span>
- </div>
- <div class="footer-line"></div>
- <div class="footer-ICP">{{config[lan_key('web_copyright')]}}</div>
- <a class="footer-ICP" :href="config.web_beian_url"
- >{{config.web_beian}}</a
- >
- <div class="footer-term">
- <a class="footer-term-item" href="/agreement-mobile.html?type=1"
- >{{text('法律声明')}}</a
- >
- <span>|</span>
- <a class="footer-term-item" href="/agreement-mobile.html?type=2"
- >{{text('隐私条款')}}</a
- >
- </div>
- </div>
- </div>
- <script type="module" src="./js/components/header-mobile.js"></script>
- <script type="module" src="./js/components/banner-mobile.js"></script>
- <script type="module" src="./js/components/footer-mobile.js"></script>
- <script type="module" src="./js/news-mobile.js"></script>
- </body>
- </html>
|