123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <template>
- <div class="container">
- <div class="banner">
- <div class="logo fl">
- <img class="logoLT" src="../../images/logo.png" alt="朗通logo"/>
- <img class="logoShaoyifu" src="../../images/logo_shaoyifu.png" alt="邵逸夫logo"/>
- <span class="bannerName">医学数据平台</span>
- <!-- <img class="img-title" src="../../images/title.png"/> -->
- </div>
- <div class="consult fr">
- <span>咨询热线:{{phone}} </span> |
- <span>服务时间:{{workTime}}</span>
- <!-- <span class="toLogin" v-show="route=='/register'">已有账号?<b @click="toLogin">立即登录</b></span> -->
- </div>
- </div>
- </div>
- </template>
- <script>
- // import '@components/login/login.less';
- export default {
- template: '#banner-template',
- data() {
- return {
- phone: '400-600-1919',
- workTime: '09:00-17:30'
- }
- },
- computed:{
- route(){
- return this.$route.path;
- }
- },
- methods:{
- toLogin(){
- this.$router.push({path:'/'});
- }
- }
- };
- </script>
- <style lang="less">
- * {
- margin: 0;
- padding: 0;
- }
- html, body {
- width: 100%;
- height: 100%;
- /* background-image:url(/src/images/bg.jpg);
- background-size: 100% 100%;
- background-repeat: no-repeat; */
- }
- .container {
- width: 100%;
- height: 100%;
- background-color: #f3f6fb;
- // background-image: url(../../images/bg.jpg);
- // background-size: 100% 100%;
- // background-repeat: no-repeat;
- .banner {
- height: 60px;
- background: #fff;
- line-height: 60px;
- position: relative;
- }
- .banner img {
- display: inline-block;
- // margin-top: 10px;
- margin-left: 30px;
- position: relative;
- top: 2px;
- }
- .bannerName {
- margin-left: 13px;
- font-size: 14px;
- color: #2871FA;
- letter-spacing: 0;
- font-weight: bold;
- }
- .img-title {
- margin-left: 10px !important;
- }
- .consult {
- margin-right: 30px;
- color: #424243;
- font-size: 14px;
- float: right;
- }
- .logo {
- display: inline-block;
- position: relative;
- left: 13.5%;
- }
- .banner .logoLT{
- top: 1px;
- height: 20px
- }
- .banner .logoShaoyifu{
- height: 38px;
- top: 13px;
- margin: 0 10ox 0 20px;
- }
- .consult {
- display: inline-block;
- }
- .toLogin{
- margin-left: 10px;
- >b{
- color:#1774f0;
- cursor: pointer;
- }
- }
- }
- </style>
|