Browse Source

样式

feature/feature-compatible
fengchengzhi 7 years ago
parent
commit
6503e2b6f7
1 changed files with 13 additions and 7 deletions
  1. 20
      src/view/poster.vue

20
src/view/poster.vue

@ -111,10 +111,10 @@
})
var merchantNo = this.merchantNo
posterApi.createPoster(merchantNo).then(res => {
setTimeout(()=>{
this.$vux.loading.hide()
},500)
if ( res.code == 0 ){
setTimeout(()=>{
this.$vux.loading.hide()
},500)
this.imgSrc = res.response
} else {
this.$vux.toast.text(res.msg,"middle");
@ -166,10 +166,10 @@
text: 'Loading'
})
posterApi.createPoster2({"couponNo":no}).then(res => {
setTimeout(()=>{
this.$vux.loading.hide()
},500)
if ( res.code == 0 ){
setTimeout(()=>{
this.$vux.loading.hide()
},500)
this.imgSrc = res.response
} else {
this.$vux.toast.text(res.msg,"middle");
@ -234,7 +234,7 @@
}
},
mounted() {
this.getNo()
this.getNo()
}
};
</script>
@ -313,5 +313,11 @@
position: fixed;
z-index: 100;
}
.weui-toast {
max-width: 3.5rem !important;
max-height: 3.5rem !important;
min-height: 3.5em !important;
overflow: hidden;
}
</style>
Loading…
Cancel
Save