Merge pull request '图片上传' (#49) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/49
This commit is contained in:
commit
ff4c3982ba
@ -110,9 +110,9 @@
|
||||
tupian(a){
|
||||
// console.log(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))
|
||||
this.image = info.data.file_path;
|
||||
this.image = info.data.file_name;
|
||||
},
|
||||
navto(url){
|
||||
this.$u.route({
|
||||
@ -124,6 +124,7 @@
|
||||
return ;
|
||||
}
|
||||
this.tiaozhuan = true
|
||||
console.log(this.image)
|
||||
this.$u.api.createChatRoom({
|
||||
chat_name:this.max,
|
||||
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">
|
||||
<image class="userhead" :src="info.member_avatar"></image>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
@ -77,7 +77,7 @@
|
||||
<image class="closeimg" src="../../static/image/cloneb.png" @click="closes"></image>
|
||||
<text class="jieshutitle">徳铭阳光在线</text>
|
||||
<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">
|
||||
<view class="jieshuboxitem">
|
||||
<text style="color:#fff;font-size:30rpx">{{jieshu.newfans}}</text>
|
||||
|
Loading…
Reference in New Issue
Block a user