【模版目录】更新前端源码

This commit is contained in:
吴昊天 2022-09-19 16:39:52 +08:00
parent 999bd36a21
commit 12ea919be4
2 changed files with 30 additions and 3 deletions

View File

@ -59,7 +59,9 @@
:imgSize="{ width: '330px', height: '155px' }"
ref="verify"
></Verify>
<div class="footer">
<div class="pull-right">{{copyright}}</div>
</div>
</div>
</template>
<script>
@ -102,6 +104,7 @@ export default {
swiperList: [],
defaultSwiperList: require('@/assets/images/sw.jpg'),
key: '',
copyright: 'Copyright © 2022 | 西安众邦网络科技有限公司',
};
},
created() {
@ -166,6 +169,7 @@ export default {
this.login_logo = data.login_logo ? data.login_logo : require('@/assets/images/logo.png');
this.swiperList = data.slide.length ? data.slide : [{ slide: this.defaultSwiperList }];
this.key = data.key;
if(data.copyright != '') this.copyright = data.copyright;
})
.catch((err) => {
this.$Message.error(err);
@ -451,4 +455,19 @@ a:link, a:visited, a:hover, a:active {
padding: 10px 20px;
height: 36px;
}
.pull-right {
float: right!important;
}
.footer{
position: fixed;
bottom: 0;
width: 100%;
left: 0;
margin: 0;
background: rgba(255,255,255,.8);
border-top: 1px solid #e7eaec;
overflow: hidden;
padding: 10px 20px;
height: 36px;
}
</style>

View File

@ -187,8 +187,8 @@
this.pay_close = true;
},
getDetail() {
let that = this;
friendDetail(this.order_id).then(res => {
console.log(res)
this.resData = res.data.info
if (this.resData.paid && !this.resData.type) {
this.goOrderDetail()
@ -196,7 +196,15 @@
//#ifdef H5
this.ShareInfo(this.resData)
//#endif
})
}).catch((err) => {
console.log('1',err)
that.$util.Tips({
title: err
}, {
tab: 4,
url: '/pages/index/index'
});
});
},
//#ifdef H5
ShareInfo(data) {