|
@@ -0,0 +1,134 @@
|
|
|
+<template>
|
|
|
+ <div class="Give">
|
|
|
+ <div class="row">
|
|
|
+ <div class="left">
|
|
|
+ <div class="txt">Individuals</div>
|
|
|
+ </div>
|
|
|
+ <div class="right">
|
|
|
+ <div class="txtShow">
|
|
|
+ Since the establishment of Capital Museum, we have got sufficient
|
|
|
+ supports from people from all walks of life. Due to the limited space,
|
|
|
+ here we only give a few examples, and we show our respect to all units
|
|
|
+ and individuals who have supported the development of Chinese museums
|
|
|
+ and have given help and supports to Capital Museum.
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="row">
|
|
|
+ <div class="right right2">
|
|
|
+ <div class="txtShow">
|
|
|
+ The century-old Beijing Match Factory donated to Capital Museum a
|
|
|
+ large number of files and real objects which record the development of
|
|
|
+ Beijing's light industry in modern history, including 518 sets of high
|
|
|
+ standard real samples of matches, 40 volumes data, and 3 volumes of
|
|
|
+ text materials of sparks, etc.
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="left left2">
|
|
|
+ <div class="txt">Corporations & Institutions</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ name: "Give",
|
|
|
+ components: {},
|
|
|
+ data() {
|
|
|
+ //这里存放数据
|
|
|
+ return {};
|
|
|
+ },
|
|
|
+ //监听属性 类似于data概念
|
|
|
+ computed: {},
|
|
|
+ //监控data中的数据变化
|
|
|
+ watch: {},
|
|
|
+ //方法集合
|
|
|
+ methods: {},
|
|
|
+ //生命周期 - 创建完成(可以访问当前this实例)
|
|
|
+ created() {},
|
|
|
+ //生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
+ mounted() {},
|
|
|
+ beforeCreate() {}, //生命周期 - 创建之前
|
|
|
+ beforeMount() {}, //生命周期 - 挂载之前
|
|
|
+ beforeUpdate() {}, //生命周期 - 更新之前
|
|
|
+ updated() {}, //生命周期 - 更新之后
|
|
|
+ beforeDestroy() {}, //生命周期 - 销毁之前
|
|
|
+ destroyed() {}, //生命周期 - 销毁完成
|
|
|
+ activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang='less' scoped>
|
|
|
+.Give {
|
|
|
+ clear: both;
|
|
|
+ width: 1200px;
|
|
|
+ margin: 0 auto 100px;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-position: 0 0;
|
|
|
+ .row {
|
|
|
+ width: 100%;
|
|
|
+ height: 300px;
|
|
|
+ display: flex;
|
|
|
+ & > div {
|
|
|
+ width: 50%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ .left {
|
|
|
+ position: relative;
|
|
|
+ background: url("/data/JoinSupport/wg1.gif");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ .txt {
|
|
|
+ cursor: pointer;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ font-size: 20px;
|
|
|
+ width: 218px;
|
|
|
+ height: 78px;
|
|
|
+ border: 1px solid #fff;
|
|
|
+ color: #fff;
|
|
|
+ font-weight: 700;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 76px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .left2{
|
|
|
+ background: url("/data/JoinSupport/wg2.gif");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ .txt{
|
|
|
+ width: 370px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right {
|
|
|
+ position: relative;
|
|
|
+ cursor: pointer;
|
|
|
+ background: url("/data/JoinSupport/wg1.jpg");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ .txtShow {
|
|
|
+ transition: all 0.3s;
|
|
|
+ opacity: 0;
|
|
|
+ padding: 90px 45px 0;
|
|
|
+ background-color: rgba(0, 0, 0, 0.6);
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 24px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right2{
|
|
|
+ background: url("/data/JoinSupport/wg2.jpg");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ }
|
|
|
+ &:hover {
|
|
|
+ .right {
|
|
|
+ .txtShow {
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|