Commit 47edfb33 by mamingqun

cb

parent de3ecbab

172 KB | W: | H:

35.1 KB | W: | H:

src/assets/images/01/smcontent.png
src/assets/images/01/smcontent.png
src/assets/images/01/smcontent.png
src/assets/images/01/smcontent.png
  • 2-up
  • Swipe
  • Onion skin

208 KB | W: | H:

98.4 KB | W: | H:

src/assets/images/02/qianbi.png
src/assets/images/02/qianbi.png
src/assets/images/02/qianbi.png
src/assets/images/02/qianbi.png
  • 2-up
  • Swipe
  • Onion skin

2.52 KB | W: | H:

4.68 KB | W: | H:

src/assets/images/erjiye/gouback.png
src/assets/images/erjiye/gouback.png
src/assets/images/erjiye/gouback.png
src/assets/images/erjiye/gouback.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
@r: 75rem; @r: 75rem;
.go-wrap { .go-wrap {
position: absolute; position: fixed;
top: 3%; top: 3%;
left: 3%; left: 3%;
z-index: 100000; z-index: 100000;
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<!-- <yjml/> --> <!-- <yjml/> -->
<!-- <erjiye/> --> <!-- <erjiye/> -->
<!-- <xiangqing /> --> <!-- <xiangqing /> -->
<music /> <music/>
<transition :name="transitionName" mode="in-out"> <transition :name="transitionName" mode="in-out">
<keep-alive> <keep-alive>
<router-view /> <router-view />
......
...@@ -284,7 +284,7 @@ export default { ...@@ -284,7 +284,7 @@ export default {
} }
100% { 100% {
transform: translateY(-5px); transform: translateY(-10px);
} }
} }
......
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
} }
.kuang1 { .kuang1 {
background: url("../assets/images/01/smcontent.png") no-repeat center center; background: url("../assets/images/01/smcontent.png") no-repeat center top;
background-size: contain; background-size: contain;
} }
} }
......
...@@ -103,21 +103,21 @@ ...@@ -103,21 +103,21 @@
<div>成本中心</div> <div>成本中心</div>
<div>投诉方式</div> <div>投诉方式</div>
</div> </div>
<div class="right-box">电话,010-85583315、邮箱,cbzxtousu@wanda.com.cn</div> <div class="right-box">电话: 010-85583315<br>邮箱: cbzxtousu@wanda.com.cn</div>
</li> </li>
<li class="b-b"> <li class="b-b">
<div class="b-r left-box"> <div class="b-r left-box">
<div>审计中心</div> <div>审计中心</div>
<div>举报方式</div> <div>举报方式</div>
</div> </div>
<div class="right-box">电话,010-85853844、邮箱,sjzx@wanda.cn</div> <div class="right-box">电话: 010-85853844<br>邮箱: sjzx@wanda.cn</div>
</li> </li>
<li> <li>
<div class="b-r left-box"> <div class="b-r left-box">
<div>人力资源中心</div> <div>人力资源中心</div>
<div>举报方式</div> <div>举报方式</div>
</div> </div>
<div class="right-box">电话,010-85588469、邮箱,kaohe@wanda.com.cn</div> <div class="right-box">电话: 010-85588469<br>邮箱: kaohe@wanda.com.cn</div>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -133,6 +133,21 @@ import Clipboard from 'clipboard'; ...@@ -133,6 +133,21 @@ import Clipboard from 'clipboard';
import VueActivePreview from 'vue-active-preview' import VueActivePreview from 'vue-active-preview'
import goBack from '../components/goBack'; import goBack from '../components/goBack';
var ModalHelper = (function (bodyCls) {
var scrollTop;
return {
afterOpen: function () {
scrollTop = document.scrollingElement.scrollTop;
document.body.classList.add(bodyCls);
document.body.style.top = -scrollTop + 'px';
},
beforeClose: function () {
document.body.classList.remove(bodyCls);
// scrollTop lost after set position:fixed, restore it back.
document.scrollingElement.scrollTop = scrollTop;
}
};
})('modal-open');
export default { export default {
data() { data() {
...@@ -172,12 +187,18 @@ export default { ...@@ -172,12 +187,18 @@ export default {
console.log(e); console.log(e);
}); });
this.zuzhiHuaDong()
}, },
methods: { methods: {
showMulu() { showMulu() {
this.mulu = !this.mulu this.mulu = !this.mulu
$('body').css('overflow', 'hidden') $('body').css('overflow', 'hidden')
ModalHelper.afterOpen()
},
closeMulu() {
this.mulu = false;
$('body').css('overflow', 'auto')
ModalHelper.beforeClose()
}, },
handleClick() { handleClick() {
...@@ -227,10 +248,6 @@ export default { ...@@ -227,10 +248,6 @@ export default {
} }
} }
}, },
closeMulu() {
this.mulu = false;
$('body').css('overflow', 'auto')
},
goFengMian() { goFengMian() {
$eventbus.$emit('jumpPage', { pageName: 'shouye' }) $eventbus.$emit('jumpPage', { pageName: 'shouye' })
}, },
...@@ -252,25 +269,15 @@ export default { ...@@ -252,25 +269,15 @@ export default {
this.queren = false this.queren = false
}, },
zuzhiHuaDong() { zuzhiHuaDong() {
// var ModalHelper = (function (bodyCls) { // $('.preventHuadong')[0].addEventListener('touchmove', function (e) {
// var scrollTop; // e.preventDefault();
// return { // }, false);
// afterOpen: function () { },
// scrollTop = document.scrollingElement.scrollTop; tableAddBorder() {
// document.body.classList.add(bodyCls); setTimeout(() => {
// document.body.style.top = -scrollTop + 'px'; $('table').attr('border', '1')
// }, $('table').attr('cellspacing', '0')
// beforeClose: function () { });
// document.body.classList.remove(bodyCls);
// // scrollTop lost after set position:fixed, restore it back.
// document.scrollingElement.scrollTop = scrollTop;
// }
// };
// })('modal-open');
$('.preventHuadong')[0].addEventListener('touchmove', function (e) {
e.preventDefault();
}, false);
} }
}, },
components: { components: {
...@@ -280,7 +287,6 @@ export default { ...@@ -280,7 +287,6 @@ export default {
watch: { watch: {
htmlData(newVal, oldVal) { htmlData(newVal, oldVal) {
if (newVal) { if (newVal) {
console.log($('.box').find('img'))
setTimeout(() => { setTimeout(() => {
var arr = $('.box').find('img') var arr = $('.box').find('img')
arr = Array.from(arr) arr = Array.from(arr)
...@@ -292,8 +298,6 @@ export default { ...@@ -292,8 +298,6 @@ export default {
imgArr.push(ele) imgArr.push(ele)
} }
}); });
console.log('imgArr')
console.log(imgArr)
if (imgArr.length) { if (imgArr.length) {
this.ulList = [] this.ulList = []
...@@ -307,6 +311,7 @@ export default { ...@@ -307,6 +311,7 @@ export default {
} }
}, 500); }, 500);
this.tableAddBorder()
} }
} }
}, },
...@@ -316,6 +321,15 @@ export default { ...@@ -316,6 +321,15 @@ export default {
<style lang="less"> <style lang="less">
@r: 75rem; @r: 75rem;
table {
// border: 1px solid black;
}
body.modal-open {
position: fixed;
width: 100%;
}
.xiangqingmmmm * { .xiangqingmmmm * {
user-select: none; user-select: none;
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="content2"></div> <div class="content2"></div>
</div> </div>
</div> </div>
<!-- <div class="to-left"></div> --> <div class="to-left"></div>
<!-- <div class="bottom-ele"></div> --> <!-- <div class="bottom-ele"></div> -->
</div> </div>
</div> </div>
......
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 sign in to comment