图片上传
This commit is contained in:
parent
0b0ac462a7
commit
36080fd730
@ -110,9 +110,9 @@
|
|||||||
tupian(a){
|
tupian(a){
|
||||||
// console.log(JSON.parse(a.data));
|
// console.log(JSON.parse(a.data));
|
||||||
let info = JSON.parse(a.data);
|
let info = JSON.parse(a.data);
|
||||||
console.log(info.data.file_path);
|
console.log(info.data);
|
||||||
// console.log(JSON.stringify(a.data))
|
// console.log(JSON.stringify(a.data))
|
||||||
this.image = info.data.file_path;
|
this.image = info.data.file_name;
|
||||||
},
|
},
|
||||||
navto(url){
|
navto(url){
|
||||||
this.$u.route({
|
this.$u.route({
|
||||||
@ -124,6 +124,7 @@
|
|||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
this.tiaozhuan = true
|
this.tiaozhuan = true
|
||||||
|
console.log(this.image)
|
||||||
this.$u.api.createChatRoom({
|
this.$u.api.createChatRoom({
|
||||||
chat_name:this.max,
|
chat_name:this.max,
|
||||||
live_desc:this.form.text,
|
live_desc:this.form.text,
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
<div v-if="zhibo" style="position: fixed;top: 60rpx;left: 30rpx;flex-direction: row;align-items:center">
|
<div v-if="zhibo" style="position: fixed;top: 60rpx;left: 30rpx;flex-direction: row;align-items:center">
|
||||||
<image class="userhead" :src="info.member_avatar"></image>
|
<image class="userhead" :src="info.member_avatar"></image>
|
||||||
<div class="userinfo">
|
<div class="userinfo">
|
||||||
<text class="username">{{info.member_name}}</text>
|
<text class="username">{{info.member_nickname}}</text>
|
||||||
<text class="username" style="font-size:20rpx">{{time}} | {{room.onlineUsers.users.length}}</text>
|
<text class="username" style="font-size:20rpx">{{time}} | {{room.onlineUsers.users.length}}</text>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -77,7 +77,7 @@
|
|||||||
<image class="closeimg" src="../../static/image/cloneb.png" @click="closes"></image>
|
<image class="closeimg" src="../../static/image/cloneb.png" @click="closes"></image>
|
||||||
<text class="jieshutitle">徳铭阳光在线</text>
|
<text class="jieshutitle">徳铭阳光在线</text>
|
||||||
<image class="jieshuheadimg" :src="info.member_avatar"></image>
|
<image class="jieshuheadimg" :src="info.member_avatar"></image>
|
||||||
<text class="jieshuusername">{{info.member_name}}</text>
|
<text class="jieshuusername">{{info.member_nickname}}</text>
|
||||||
<div class="jieshubox">
|
<div class="jieshubox">
|
||||||
<view class="jieshuboxitem">
|
<view class="jieshuboxitem">
|
||||||
<text style="color:#fff;font-size:30rpx">{{jieshu.newfans}}</text>
|
<text style="color:#fff;font-size:30rpx">{{jieshu.newfans}}</text>
|
||||||
|
Loading…
Reference in New Issue
Block a user