revert: 所有代码与custom/common分支同
This commit is contained in:
@@ -12,15 +12,15 @@ export default {
|
||||
name: 'wx_pay',
|
||||
data() {
|
||||
return {
|
||||
show: true,
|
||||
wx_alipay: "",
|
||||
out_trade_no: ""
|
||||
show : true,
|
||||
wx_alipay : "",
|
||||
out_trade_no : ""
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
this.wx_alipay = options.wx_alipay || '';
|
||||
this.out_trade_no = options.out_trade_no || '';
|
||||
if (!this.$util.isWeiXin() && this.wx_alipay) {
|
||||
if(!this.$util.isWeiXin() && this.wx_alipay){
|
||||
this.show = false;
|
||||
location.href = this.wx_alipay;
|
||||
}
|
||||
@@ -36,7 +36,7 @@ export default {
|
||||
success: res => {
|
||||
if (res.code >= 0 && res.data) {
|
||||
this.checkPayStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -64,33 +64,29 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.launch-mask {
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
.launch-mask{
|
||||
position:fixed;
|
||||
top:0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
width:100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
|
||||
.mask-img {
|
||||
background:rgba(0,0,0,0.8);
|
||||
.mask-img{
|
||||
text-align: right;
|
||||
margin: 10% 10px 10px 30px;
|
||||
|
||||
image {
|
||||
margin:10% 10px 10px 30px;
|
||||
image{
|
||||
width: 50px;
|
||||
height: 117px;
|
||||
margin-right: 9%
|
||||
height:117px;
|
||||
margin-right:9%
|
||||
}
|
||||
}
|
||||
|
||||
.mask-word {
|
||||
.mask-word{
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
|
||||
text {
|
||||
color: #FF0036 !important
|
||||
text{
|
||||
color:#FF0036 !important
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user