4 changed files with 50 additions and 0 deletions
|
After Width: | Height: | Size: 2.1 KiB |
@ -0,0 +1,42 @@ |
|||||
|
<template> |
||||
|
<v-page> |
||||
|
<v-header :title="$t('common.service')"></v-header> |
||||
|
<view class="onsczone"> |
||||
|
<web-view :src="csurl" style="margin-top: 3rem;"></web-view> |
||||
|
</view> |
||||
|
|
||||
|
</v-page> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
data() { |
||||
|
return { |
||||
|
csurl:"https://sc.moabcoin.com/chat/?toid=", |
||||
|
} |
||||
|
}, |
||||
|
mounted() { |
||||
|
this.mkcslinks() |
||||
|
}, |
||||
|
methods: { |
||||
|
// build |
||||
|
mkcslinks(){ |
||||
|
let user = uni.getStorageSync('user') |
||||
|
if(user){ |
||||
|
console.log(user) |
||||
|
let ustr = JSON.parse(user) |
||||
|
console.log(ustr) |
||||
|
this.csurl += ustr.referrer+"&room_id="+ustr.account; |
||||
|
console.log("user",this.csurl) |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="less" scoped> |
||||
|
.onsczone{ |
||||
|
margin-top: 12rem; |
||||
|
|
||||
|
} |
||||
|
</style> |
||||
Loading…
Reference in new issue