40294600 by simon

默认提交

1 parent 91e08089
......@@ -107,3 +107,8 @@
.hide {
display: none;
}
.panel::-webkit-scrollbar {
display: none;
}
......
......@@ -120,7 +120,7 @@
@media (max-width: 1200px) {
.container {
display: -webkit-box;
overflow-x: scroll;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
width: 92vw;
}
......
......@@ -175,7 +175,7 @@
.container {
width: 1200px;
display: -webkit-box;
overflow-x: scroll;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
width: 92vw;
}
......
......@@ -83,7 +83,7 @@
.payment {
&-nav {
display: -webkit-box;
overflow-x: scroll;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
width: 92vw;
}
......
......@@ -113,7 +113,7 @@
.submit-btn {
width: 13.583333rem;
height: 4.083333rem;
margin: 2.5rem auto 0;
margin: 0 auto 0;
line-height: 4.083333rem;
box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
background-blend-mode: soft-light, ;
......@@ -135,7 +135,7 @@
@media (max-width: 1200px) {
.container {
display: -webkit-box;
overflow-x: scroll;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
width: 92vw;
......
......@@ -57,12 +57,13 @@
<img src="@/assets/images/common/icon-notice.png" alt="">{{errorTips.e3}}
</div>
</div>
</div>
<div class="submit-btn flex-center" @click="updateContactsHandler" :class="{disabled: submitBtnDisabled}">
<van-loading v-if="loading" />
<span>{{$t('policyChangeContact.submit')}}</span>
</div>
</div>
</div>
<!-- <div v-else style="height:400px"></div> -->
</template>
</div>
......
......@@ -155,7 +155,7 @@
@media (max-width: 1200px) {
.container {
display: -webkit-box;
overflow-x: scroll;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
width: 92vw;
......
......@@ -171,10 +171,9 @@
@media (max-width: 1200px) {
.container {
display: -webkit-box;
overflow-x: scroll;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
width: 92vw;
}
}
......
@import '@/styles/_support';
.list-container {
overflow-x: auto;
padding-bottom: 2rem;
margin-bottom: 2rem;
}
.hide {
......@@ -215,3 +215,17 @@
}
}
}
@media (max-width: 1200px) {
.list-container {
display: -webkit-box;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
width: 92vw;
}
}
.list-container::-webkit-scrollbar {
display: none;
}
\ No newline at end of file
......
import { mapState } from "vuex";
import {
mapState
} from "vuex";
import api from '@/api/api'
import { httpPost } from '@/api/fetch-api.js'
import {
httpPost
} from '@/api/fetch-api.js'
import Auth from '@components/auth/auth.vue';
import JsEncrypt from "jsencrypt";
......@@ -35,7 +39,10 @@ export default {
methods: {
init() {
if (this.isLogin()) {
httpPost({ url: api.profile, sid: true }).then(content => {
httpPost({
url: api.profile,
sid: true
}).then(content => {
if (content) {
this.information = content;
this.gotoVhis();
......@@ -45,7 +52,7 @@ export default {
this.gotoVhis();
}
},
userLogout(){
userLogout() {
this.gotoVhis();
},
isLogin() {
......@@ -81,8 +88,7 @@ export default {
this.outsideUrl = url;
}
},
watch: {
},
watch: {},
mounted() {
this.init();
// let url = this.$route.query.p;
......@@ -99,7 +105,18 @@ export default {
// }
// }, 500);
// }
},
created() {
window.removeEventListener("message");
window.addEventListener('message', function (e) {
let height = e.data ? e.data.height : null;
if (height) {
var iframe = document.getElementById("myiframe");
try {
iframe.height = height;
iframe.style.height = height + "px";
} catch (ex) {}
}
});
},
created() {}
}
......
......@@ -3,4 +3,10 @@
.content iframe{
height: 100%;
min-height: 800px;
overflow-x: hidden;
overflow-y: auto;
}
// .content::-webkit-scrollbar {
// display: none;
// }
......
......@@ -3,6 +3,7 @@
<div class="content">
<auth @onLogout="userLogout" v-show="false"></auth>
<iframe v-if="outsideUrl" id="myiframe" width="100%" height="100%" scrolling="yes" frameborder="0" :src="outsideUrl"></iframe>
</div>
</template>
......