Authored by baoss

页面禁止webview刷新

<template>
<LayoutApp :show-back="true" title="绑定支付宝">
<div class="body" ref="body">
<Scroll class="scroll-content">
<div class="account-form">
<p class="form-title">账号</p>
<div class="form-input-block">
... ... @@ -14,6 +15,7 @@
<div class="account-footer">
<CubeButton class="submit-btn" :disabled="canSubmit" @click="submitBind">提交</CubeButton>
</div>
</Scroll>
</div>
<myDialog :isShow="dialogShow" :data="{name,account}" @cancel-click="cancel" @confirm-click="confirm"></myDialog>
</LayoutApp>
... ... @@ -22,7 +24,7 @@
<script>
import { createNamespacedHelpers } from 'vuex';
import {Input, Button, Style} from 'cube-ui';
import {Input, Button, Scroll, Style} from 'cube-ui';
import myDialog from './components/bindModel';
const {mapState, mapActions} = createNamespacedHelpers('home/bindAccount');
export default {
... ... @@ -70,6 +72,7 @@ export default {
},
components: {
Style,
Scroll,
CubeInput: Input,
CubeButton: Button,
myDialog
... ... @@ -85,6 +88,9 @@ export default {
background-color: white;
padding: 0 40px;
}
/deep/ .cube-scroll-content {
height: 100%;
}
.account-form {
margin-top: 40px;
}
... ... @@ -117,8 +123,8 @@ export default {
.account-footer {
position: absolute;
padding: 28px 0;
left: 40px;
right: 40px;
left: 0;
right: 0;
bottom: 40px;
.submit-btn {
height: 88px;
... ...
... ... @@ -4,7 +4,7 @@
<Scroll>
<div v-for="(value, key) in getMineList" :key="key">
<tab-item v-if="key === 'board'" :data="value" noLine icon="cubeic-notification" small grey>
<niticelScroll></niticelScroll>
<noticeScroll></noticeScroll>
</tab-item>
<template v-else-if="key === 'resource1' || key === 'resource2'">
<div v-if="value.data.template_name ==='single_image'" class="marg">
... ... @@ -70,7 +70,7 @@ export default {
components: {
tabItem,
order,
niticelScroll: scroll,
noticeScroll: scroll,
singleImage,
bind,
Style,
... ...
... ... @@ -55,9 +55,11 @@ export default {
watch: {
"incomeData.list": function(val) {
if(val.length === 0) {
this.$refs.scroll.disable()
this.options.pullUpLoad.txt.noMore = ''
// this.$refs.scroll.disable()
} else {
this.$refs.scroll.enable()
this.options.pullUpLoad.txt.noMore = '到底啦~'
// this.$refs.scroll.enable()
}
}
},
... ...
... ... @@ -113,7 +113,7 @@ module.exports = {
'/api/ufo/coupon/list': {
ufo: true,
auth: true,
path: '/ufo-gateway/coupon',
path: 'coupon',
api: 'ufo.coupons.list',
param: {}
},
... ...