|
@@ -0,0 +1,203 @@
|
|
|
+<!-- -->
|
|
|
+<template>
|
|
|
+ <div class="AboutLink">
|
|
|
+ <div class="ban"></div>
|
|
|
+ <div class="pos">
|
|
|
+ <span class="pos1">Your Position: </span>
|
|
|
+ <Router-link to="/Layout/Home">Home></Router-link>
|
|
|
+ <Router-link to="/Layout/About">About></Router-link>
|
|
|
+ </div>
|
|
|
+ <div class="lmname"></div>
|
|
|
+ <div class="wrap" :class="{wrap2:item.bac}" v-for="(item,index) in data" :key="index">
|
|
|
+ <div class="box">
|
|
|
+ <h2>{{item.title}}</h2>
|
|
|
+ <div class="row" v-for="val in item.son" :key="val.img">
|
|
|
+ <a :href="val.url" target="_blank">
|
|
|
+ <span
|
|
|
+ :style="`background-image: url(/data/About/link/${val.img}.jpg)`"
|
|
|
+ ></span>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="join">
|
|
|
+ <img src="/data/About/botTxt.gif" alt="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ name: "AboutLink",
|
|
|
+ components: {},
|
|
|
+ data() {
|
|
|
+ //这里存放数据
|
|
|
+ return {
|
|
|
+ data:[
|
|
|
+ {title:'Australia',son:[
|
|
|
+ {img:'1',url:'https://museumsvictoria.com.au/'},
|
|
|
+ ]},
|
|
|
+ {title:'Cambodia',bac:true,son:[
|
|
|
+ {img:'2',url:'https://apsaraauthority.gov.kh/?page=front&lg=en'},
|
|
|
+ ]},
|
|
|
+ {title:'Canada',son:[
|
|
|
+ {img:'3',url:'https://www.rom.on.ca/en'},
|
|
|
+ {img:'4',url:'https://royalbcmuseum.bc.ca/'},
|
|
|
+ ]},
|
|
|
+ {title:'Colombia',bac:true,son:[
|
|
|
+ {img:'5',url:'http://www.museonacional.gov.co/Paginas/default.aspx'},
|
|
|
+ ]},
|
|
|
+ {title:'Hungary',son:[
|
|
|
+ {img:'6',url:'https://mnm.hu/en'},
|
|
|
+ {img:'7',url:'http://www.btm.hu/en/'},
|
|
|
+ ]},
|
|
|
+ {title:'Japan',bac:true,son:[
|
|
|
+ {img:'8',url:'http://www.edo-tokyo-museum.or.jp/en/'},
|
|
|
+ ]},
|
|
|
+ {title:'Mauritius',son:[
|
|
|
+ {img:'9',url:'http://www.mauritiusmuseums.mu/English/Pages/default.aspx'},
|
|
|
+ ]},
|
|
|
+ {title:'Poland',bac:true,son:[
|
|
|
+ {img:'10',url:'https://mnwr.pl/en/'},
|
|
|
+ ]},
|
|
|
+ {title:'Republic of Korea',son:[
|
|
|
+ {img:'11',url:'https://museum.seoul.go.kr/eng/index.do'},
|
|
|
+ ]},
|
|
|
+ {title:'Russia',bac:true,son:[
|
|
|
+ {img:'12',url:'https://en.shm.ru/'},
|
|
|
+ {img:'13',url:'https://mosmuseum.ru/'},
|
|
|
+ ]},
|
|
|
+ {title:'Thailand',son:[
|
|
|
+ {img:'14',url:'https://www.mynmv.com/'},
|
|
|
+ ]},
|
|
|
+ {title:'Ukraine',bac:true,son:[
|
|
|
+ {img:'15',url:'http://www.lhm.lviv.ua/eng/index.html'},
|
|
|
+ {img:'16',url:'https://khanenkomuseum.kiev.ua/en/main'},
|
|
|
+ {img:'17',url:'http://www.kyivhistorymuseum.org/en/museum-affiliates'},
|
|
|
+ ]},
|
|
|
+ {title:'United States of America',son:[
|
|
|
+ {img:'18',url:'https://fisher.usc.edu/'},
|
|
|
+ {img:'19',url:'https://www.samuseum.org/'},
|
|
|
+ {img:'20',url:'https://www.vmfa.museum/'},
|
|
|
+ ]},
|
|
|
+ ]
|
|
|
+ };
|
|
|
+ },
|
|
|
+ //监听属性 类似于data概念
|
|
|
+ computed: {},
|
|
|
+ //监控data中的数据变化
|
|
|
+ watch: {},
|
|
|
+ //方法集合
|
|
|
+ methods: {},
|
|
|
+ //生命周期 - 创建完成(可以访问当前this实例)
|
|
|
+ created() {},
|
|
|
+ //生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
+ mounted() {},
|
|
|
+ beforeCreate() {}, //生命周期 - 创建之前
|
|
|
+ beforeMount() {}, //生命周期 - 挂载之前
|
|
|
+ beforeUpdate() {}, //生命周期 - 更新之前
|
|
|
+ updated() {}, //生命周期 - 更新之后
|
|
|
+ beforeDestroy() {}, //生命周期 - 销毁之前
|
|
|
+ destroyed() {}, //生命周期 - 销毁完成
|
|
|
+ activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang='less' scoped>
|
|
|
+.AboutLink {
|
|
|
+ background-color: #fff;
|
|
|
+ .ban {
|
|
|
+ width: 100%;
|
|
|
+ margin: auto;
|
|
|
+ background: url("/data/About/banner.jpg") no-repeat center top #000000;
|
|
|
+ height: 300px;
|
|
|
+ }
|
|
|
+ .pos {
|
|
|
+ height: 28px;
|
|
|
+ line-height: 28px;
|
|
|
+ font-size: 12px;
|
|
|
+ margin: 0 auto 10px auto;
|
|
|
+ width: 1180px;
|
|
|
+ .pos1 {
|
|
|
+ color: #c20e11;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .lmname {
|
|
|
+ clear: both;
|
|
|
+ width: 1180px;
|
|
|
+ height: 132px;
|
|
|
+ margin: 0 auto;
|
|
|
+ background: url("/data/About/linktop.jpg") no-repeat left 50%;
|
|
|
+ border-bottom: 1px solid #cacaca;
|
|
|
+ }
|
|
|
+ .wrap {
|
|
|
+ clear: both;
|
|
|
+ padding-bottom: 20px;
|
|
|
+ .box {
|
|
|
+ width: 1180px;
|
|
|
+ overflow: hidden;
|
|
|
+ margin: 0 auto;
|
|
|
+ & > h2 {
|
|
|
+ padding: 34px 0 18px;
|
|
|
+ font-size: 18px;
|
|
|
+ line-height: 30px;
|
|
|
+ font-weight: normal;
|
|
|
+ color: #101010;
|
|
|
+ }
|
|
|
+ .row {
|
|
|
+ cursor: pointer;
|
|
|
+ width: 386px;
|
|
|
+ height: 143px;
|
|
|
+ background: url("/data/About/a2.gif") no-repeat 0 0;
|
|
|
+ float: left;
|
|
|
+ display: inline;
|
|
|
+ margin: 0 10px 20px 0;
|
|
|
+ position: relative;
|
|
|
+ a {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ width: 100%;
|
|
|
+ height: 90px;
|
|
|
+ display: block;
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 50%;
|
|
|
+ margin-top: -45px;
|
|
|
+ background-position: 50% 50%;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: auto contain;
|
|
|
+ -webkit-filter: grayscale(100%);
|
|
|
+ -moz-filter: grayscale(100%);
|
|
|
+ -ms-filter: grayscale(100%);
|
|
|
+ -o-filter: grayscale(100%);
|
|
|
+ filter: grayscale(100%);
|
|
|
+ filter: gray;
|
|
|
+ }
|
|
|
+ &:hover {
|
|
|
+ span {
|
|
|
+ -webkit-filter: grayscale(0);
|
|
|
+ -moz-filter: grayscale(0);
|
|
|
+ -ms-filter: grayscale(0);
|
|
|
+ -o-filter: grayscale(0);
|
|
|
+ filter: grayscale(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &:nth-of-type(3){
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .wrap2{
|
|
|
+ background-image: url('/data/About/acBac.jpg');
|
|
|
+ }
|
|
|
+ .join{
|
|
|
+ clear: both;
|
|
|
+ width: 100%;
|
|
|
+ height: 173px;
|
|
|
+ padding-top: 86px;
|
|
|
+ background: url('/data/About/botBac.jpg') repeat-x top center;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|