Commit 49a0bbea by 无尘

fix: 修改样式

parent 2ff3ba9d
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>达摩开放平台</title><link href=./static/css/app.4a5822e59e9d1c2d0f5d4edc44adf328.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.d6044d716839c848700e.js></script><script type=text/javascript src=./static/js/vendor.e1e3582ec7c29b190f53.js></script><script type=text/javascript src=./static/js/app.cc4e7365b943746f21b6.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>达摩开放平台</title><link href=./static/css/app.a868601efb2f3595c6189bd0016debbf.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.0419074f58cf03134d1f.js></script><script type=text/javascript src=./static/js/vendor.e1e3582ec7c29b190f53.js></script><script type=text/javascript src=./static/js/app.8d7cb02a28e765da1dc9.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -89,7 +89,7 @@ input { ...@@ -89,7 +89,7 @@ input {
font-size: 100%; font-size: 100%;
font-weight: normal; font-weight: normal;
vertical-align: baseline; vertical-align: baseline;
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif; font-family: 'PingFang SC','Hiragino Sans GB','\5FAE\8F6F\96C5\9ED1','Microsoft Yahei',tahoma,ari,'\5B8B\4F53';
} }
/* HTML5 display-role reset for older browsers */ /* HTML5 display-role reset for older browsers */
...@@ -199,7 +199,7 @@ scrollbarbutton { ...@@ -199,7 +199,7 @@ scrollbarbutton {
} }
/* 纵向滚动条宽度 */ /* 纵向滚动条宽度 */
scrollbar[orient="vertical"] { scrollbar[orient='vertical'] {
/*min-width: 15px !important;*/ /*min-width: 15px !important;*/
} }
} }
...@@ -225,7 +225,7 @@ scrollcorner { ...@@ -225,7 +225,7 @@ scrollcorner {
} }
/* vertical or horizontal */ /* vertical or horizontal */
scrollbar[orient="vertical"] { scrollbar[orient='vertical'] {
color: silver; color: silver;
} }
...@@ -309,7 +309,7 @@ input:focus { ...@@ -309,7 +309,7 @@ input:focus {
display: block; display: block;
visibility: hidden; visibility: hidden;
height: 0; height: 0;
content: ""; content: '';
clear: both; clear: both;
} }
...@@ -815,7 +815,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { ...@@ -815,7 +815,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
} }
.border-bottom-1:after { .border-bottom-1:after {
content: " "; content: '';
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 0; bottom: 0;
......
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={8:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"0efadc94c986926b4b34",1:"31182f257a5cbc12d26d",2:"4992be2e9cb47f4a6099",3:"d05f40e51e71f0aa263d",4:"589e7a586bd6c8494740",5:"4c56322b46ced3b0eb93"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,d=[];s<r.length;s++)u=r[s],t[u]&&d.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);d.length;)d.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={8:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"0efadc94c986926b4b34",1:"31182f257a5cbc12d26d",2:"6d63e106c2e0c959322c",3:"d05f40e51e71f0aa263d",4:"589e7a586bd6c8494740",5:"4c56322b46ced3b0eb93"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -9,31 +9,13 @@ ...@@ -9,31 +9,13 @@
<p class="fonr-14 color-9ba5b4 m-t-9">浙江达摩网络科技有限公司</p> <p class="fonr-14 color-9ba5b4 m-t-9">浙江达摩网络科技有限公司</p>
<div class="qrcode-content m-t-30 font-0"> <div class="qrcode-content m-t-30 font-0">
<template v-for="(item, index) in qrcodeList"> <template v-for="(item, index) in qrcodeList">
<el-popover placement="bottom" width="70" trigger="click" popper-class="el-qrcode-popper" :key="index + 'qrcode'"> <el-popover placement="bottom" width="70" trigger="hover" popper-class="el-qrcode-popper" :key="index + 'qrcode'">
<img :src="item.img_qrcode" alt="" style="width: 70px" /> <img :src="item.img_qrcode" alt="" style="width: 70px" />
<span slot="reference" :class="[index != 0 ? 'qrcode-popper' : '']"> <span slot="reference" :class="[index != 0 ? 'qrcode-popper' : '']">
<img class="qrcode-wx qrcode-common-img font-12" :src="activeIndex == index ? item.img_active : item.img" alt="" @blur="changeIndex" @click="changeSrc(item, index)" /> <img class="qrcode-wx qrcode-common-img font-12" :src="activeIndex == index ? item.img_active : item.img" alt="" @mouseover="changeIndex($event, index)" @mouseleave="setIndex" />
</span> </span>
</el-popover> </el-popover>
</template> </template>
<!-- <el-popover placement="bottom" width="70" trigger="click" popper-class="el-qrcode-popper">
<img src="../assets/index/wx_qrcode.png" alt="" style="width: 70px" />
<span slot="reference">
<img class="qrcode-wx qrcode-common-img font-12" src="../assets/index/wx.png" alt="" />
</span>
</el-popover>
<el-popover placement="bottom" width="70" trigger="click" popper-class="el-qrcode-popper">
<img src="../assets/index/app_qrcode.png" alt="" style="width: 70px" />
<span slot="reference" class="qrcode-popper">
<img class="qrcode-wx qrcode-common-img font-12" src="../assets/index/iOS.png" alt="" />
</span>
</el-popover>
<el-popover placement="bottom" width="70" trigger="click" popper-class="el-qrcode-popper">
<img src="../assets/index/app_qrcode.png" alt="" style="width: 70px" />
<span slot="reference" class="qrcode-popper">
<img class="qrcode-wx qrcode-common-img font-12" src="../assets/index/android.png" alt="" />
</span>
</el-popover> -->
</div> </div>
</div> </div>
<div class="content clearfix flex flex-space-between"> <div class="content clearfix flex flex-space-between">
...@@ -92,21 +74,15 @@ export default { ...@@ -92,21 +74,15 @@ export default {
const that = this; const that = this;
that.activeIndex = index; that.activeIndex = index;
}, },
changeIndex(e) { changeIndex(e,index) {
const that = this;
that.activeIndex = index;
},
setIndex() {
const that = this; const that = this;
if (!e.target.className.includes('qrcode-common-img')) {
that.activeIndex = null; that.activeIndex = null;
} }
} }
},
mounted() {
const that = this;
document.body.addEventListener('click', that.changeIndex);
},
beforeDestroy() {
const that = this;
document.body.removeEventListener('click', that.changeIndex);
},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
<div class="open-header-left"><img src="../assets/logo_01.png" alt="" /></div> <div class="open-header-left"><img src="../assets/logo_01.png" alt="" /></div>
<div class="open-header-right"> <div class="open-header-right">
<ul class="flex"> <ul class="flex">
<li v-for="(item, index) in openMenuData" :key="index + 'menu'" class="menu-li" @click.stop.prevent="toRedirect(item)"> <li v-for="(item, index) in openMenuData" :key="index + 'menu'" class="menu-li border-box" @click.stop.prevent="toRedirect(item)">
<span>{{ item.menuName }}</span <span>{{ item.menuName }}</span
><span v-if="item.children && item.children.length"><i class="font_family icon-arrow_right color-16214a font-14"></i></span> ><span v-if="item.children && item.children.length"><i class="font_family icon-arrow_right color-16214a font-12"></i></span>
<div v-if="item.children && item.children.length" class="menu-child"> <div v-if="item.children && item.children.length" class="menu-child">
<ul class="child-menu-ul"> <ul class="child-menu-ul">
<li v-for="(childItem, child) in item.children" :key="child + 'child'" class="child-item-menu" @click.stop.prevent="toRedirect(childItem)">{{ childItem.menuName }}</li> <li v-for="(childItem, child) in item.children" :key="child + 'child'" class="child-item-menu" @click.stop.prevent="toRedirect(childItem)">{{ childItem.menuName }}</li>
...@@ -99,17 +99,13 @@ export default { ...@@ -99,17 +99,13 @@ export default {
&-wrap { &-wrap {
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
height: 56px; height: 58px;
line-height: 56px; line-height: 58px;
.open-header-left { .open-header-left {
img { img {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
padding-right: 36px; padding-right: 36px;
-webkit-transform: translateY(-4px);
-moz-transform: translateY(-4px);
-ms-transform: translateY(-4px);
transform: translateY(-4px);
} }
span { span {
font-size: 17px; font-size: 17px;
...@@ -120,10 +116,15 @@ export default { ...@@ -120,10 +116,15 @@ export default {
.menu-li { .menu-li {
position: relative; position: relative;
margin-right: 32px; margin-right: 32px;
height: 58px;
line-height: 58px;
font-size: 14px; font-size: 14px;
color: #16214a; color: #16214a;
cursor: pointer; cursor: pointer;
.icon-arrow_right { .icon-arrow_right {
display: inline-block;
padding: 0 4px;
font-size: 12px;
-webkit-transition: 0.3s all; -webkit-transition: 0.3s all;
-moz-transition: 0.3s all; -moz-transition: 0.3s all;
-o-transition: 0.3s all; -o-transition: 0.3s all;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<ul class="clearfix flex"> <ul class="clearfix flex">
<template v-for="(item, index) in noticeList"> <template v-for="(item, index) in noticeList">
<li class="notice-li clearfix" :key="index + 'notice'"> <li class="notice-li clearfix" :key="index + 'notice'">
<a class="color-fff font-14" target="_blank" rel="noopener noreferrer" href="announcement.htm?id=1" <a class="font-14" target="_blank" rel="noopener noreferrer" href="announcement.htm?id=1"
><span>{{ item.noticeDate }}</span>{{ item.noticeTitle }} ><span>{{ item.noticeDate }}</span>{{ item.noticeTitle }}
</a> </a>
</li> </li>
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
</div> </div>
</div> </div>
<div class="home-content"> <div class="home-content">
<div class="home-service">
<div class="home-content-service commont-width"> <div class="home-content-service commont-width">
<div class="homepage-title"> <div class="homepage-title">
<h2 class="open-service">开放业务</h2> <h2 class="open-service">开放业务</h2>
...@@ -45,7 +46,7 @@ ...@@ -45,7 +46,7 @@
<template v-for="(item, index) in serviceList"> <template v-for="(item, index) in serviceList">
<li :key="index"> <li :key="index">
<img :src="item.serviceIcon" alt="" /> <img :src="item.serviceIcon" alt="" />
<h3>{{ item.serviceName }}</h3> <h3 class="font-w-500">{{ item.serviceName }}</h3>
<p>{{ item.serviceContent }}</p> <p>{{ item.serviceContent }}</p>
</li> </li>
</template> </template>
...@@ -53,6 +54,7 @@ ...@@ -53,6 +54,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="home-content-guide commont-width"> <div class="home-content-guide commont-width">
<div class="homepage-title"> <div class="homepage-title">
<h2 class="access-guide">接入指南</h2> <h2 class="access-guide">接入指南</h2>
...@@ -64,7 +66,7 @@ ...@@ -64,7 +66,7 @@
<li> <li>
<img src="../../assets/index/banner03.png" alt="" /> <img src="../../assets/index/banner03.png" alt="" />
<div class="inner-li"> <div class="inner-li">
<h3>平台服务商</h3> <h3 class="font-w-500">平台服务商</h3>
<p>面向企业内部开发人员和定制服务商,自主开发内部应用,供企业内部使用,对接已有的后台系统。</p> <p>面向企业内部开发人员和定制服务商,自主开发内部应用,供企业内部使用,对接已有的后台系统。</p>
<div> <div>
<el-button plain>立即入驻<i class="font_family icon-jiantou color-000 p-l-8"></i></el-button> <el-button plain>立即入驻<i class="font_family icon-jiantou color-000 p-l-8"></i></el-button>
...@@ -250,9 +252,23 @@ export default { ...@@ -250,9 +252,23 @@ export default {
overflow: hidden; overflow: hidden;
color: #fff; color: #fff;
font-size: 14px; font-size: 14px;
a {
color: #fff;
}
&:hover {
color: #4c70e8;
a {
color: #4c70e8;
}
}
} }
.more-notice { .more-notice {
margin-left: 236px; margin-left: 236px;
&:hover {
a {
color: #4c70e8;
}
}
} }
} }
} }
...@@ -260,6 +276,10 @@ export default { ...@@ -260,6 +276,10 @@ export default {
} }
.home-content { .home-content {
width: 100%; width: 100%;
.home-service {
width: 100%;
background: #F9FAFF;
}
.home-content-service { .home-content-service {
padding: 40px 0 48px 0; padding: 40px 0 48px 0;
text-align: center; text-align: center;
...@@ -289,7 +309,7 @@ export default { ...@@ -289,7 +309,7 @@ export default {
} }
.home-content-guide { .home-content-guide {
text-align: center; text-align: center;
margin-bottom: 60px; margin: 40px auto 60px auto;
.access-guide-item { .access-guide-item {
li { li {
width: 580px; width: 580px;
...@@ -298,6 +318,7 @@ export default { ...@@ -298,6 +318,7 @@ export default {
border-radius: 2.5px; border-radius: 2.5px;
cursor: pointer; cursor: pointer;
box-shadow: 0px 2px 8px 0px rgba(193,205,241,0.42); box-shadow: 0px 2px 8px 0px rgba(193,205,241,0.42);
transition: all 0.3s;
img { img {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
...@@ -322,6 +343,11 @@ export default { ...@@ -322,6 +343,11 @@ export default {
text-align: left; text-align: left;
} }
&:hover { &:hover {
-webkit-transform: translateY(-10px);
-moz-transform: translateY(-10px);
-ms-transform: translateY(-10px);
-o-transform: translateY(-10px);
transform: translateY(-10px);
.inner-li { .inner-li {
border: 1px solid #4C70E8; border: 1px solid #4C70E8;
border-top: 0px; border-top: 0px;
...@@ -343,7 +369,16 @@ export default { ...@@ -343,7 +369,16 @@ export default {
padding: 0; padding: 0;
border: none; border: none;
border-radius: 2px; border-radius: 2px;
font-size: 16px;
color: #0A1633;
span {
display: inline-block;
-webkit-transform: translateY(-1px);
-moz-transform: translateY(-1px);
transform: translateY(-1px);
}
&:hover { &:hover {
color: #4C70E8;
border: 1px solid #4C70E8; border: 1px solid #4C70E8;
i { i {
color: #4C70E8; color: #4C70E8;
......
...@@ -89,7 +89,7 @@ input { ...@@ -89,7 +89,7 @@ input {
font-size: 100%; font-size: 100%;
font-weight: normal; font-weight: normal;
vertical-align: baseline; vertical-align: baseline;
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif; font-family: 'PingFang SC','Hiragino Sans GB','\5FAE\8F6F\96C5\9ED1','Microsoft Yahei',tahoma,ari,'\5B8B\4F53';
} }
/* HTML5 display-role reset for older browsers */ /* HTML5 display-role reset for older browsers */
...@@ -199,7 +199,7 @@ scrollbarbutton { ...@@ -199,7 +199,7 @@ scrollbarbutton {
} }
/* 纵向滚动条宽度 */ /* 纵向滚动条宽度 */
scrollbar[orient="vertical"] { scrollbar[orient='vertical'] {
/*min-width: 15px !important;*/ /*min-width: 15px !important;*/
} }
} }
...@@ -225,7 +225,7 @@ scrollcorner { ...@@ -225,7 +225,7 @@ scrollcorner {
} }
/* vertical or horizontal */ /* vertical or horizontal */
scrollbar[orient="vertical"] { scrollbar[orient='vertical'] {
color: silver; color: silver;
} }
...@@ -309,7 +309,7 @@ input:focus { ...@@ -309,7 +309,7 @@ input:focus {
display: block; display: block;
visibility: hidden; visibility: hidden;
height: 0; height: 0;
content: ""; content: '';
clear: both; clear: both;
} }
...@@ -815,7 +815,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { ...@@ -815,7 +815,7 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
} }
.border-bottom-1:after { .border-bottom-1:after {
content: " "; content: '';
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 0; bottom: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment