mirror of
https://gitee.com/ZhongBangKeJi/crmeb_java.git
synced 2026-05-01 22:41:24 +08:00
feat:v1.4前端更新
This commit is contained in:
48
app/pages/index/components/copyRight.vue
Normal file
48
app/pages/index/components/copyRight.vue
Normal file
@@ -0,0 +1,48 @@
|
||||
<template>
|
||||
<view class="copyRight-box" v-if="copyRightInfo">
|
||||
<view>
|
||||
<text @click="toIcp">{{copyRightInfo.copyrightIcpNumber}}</text>
|
||||
</view>
|
||||
<view class="bottom mt10" @click="toInternet">
|
||||
<text>{{copyRightInfo.copyrightInternetRecord}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getConfigCopyright} from '@/api/api.js'
|
||||
export default{
|
||||
data(){
|
||||
return{
|
||||
copyRightInfo:null
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getCopyright()
|
||||
},
|
||||
methods:{
|
||||
getCopyright(){
|
||||
getConfigCopyright().then(res=>{
|
||||
this.copyRightInfo=res.data
|
||||
})
|
||||
},
|
||||
toIcp(){
|
||||
window.open(this.copyRightInfo.copyrightIcpNumberUrl)
|
||||
},
|
||||
toInternet(){
|
||||
window.open(this.copyRightInfo.copyrightInternetRecordUrl)
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.copyRight-box{
|
||||
padding: 40rpx 0;
|
||||
text-align: center;
|
||||
text{
|
||||
color: #666;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user