You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1001 B
48 lines
1001 B
<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>
|
|
import Member from "@/api/member";
|
|
export default {
|
|
data() {
|
|
return {
|
|
csurl:"https://sc.moabwalletss.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)
|
|
// let ustr = JSON.parse(user)
|
|
// Member.getUnameByUid({user_id:ustr.referrer}).then(rfres=>{
|
|
// this.csurl += rfres.username+"&room_id="+ustr.account+"&usid="+ustr.user_id;
|
|
// })
|
|
// console.log("user",this.csurl)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.onsczone{
|
|
margin-top: 12rem;
|
|
|
|
}
|
|
</style>
|
|
|