|
@@ -44,7 +44,7 @@
|
|
</view>
|
|
</view>
|
|
<view v-if="item.customer._id==user._id" @tap="toReply(item)">回复</view>
|
|
<view v-if="item.customer._id==user._id" @tap="toReply(item)">回复</view>
|
|
</view>
|
|
</view>
|
|
- <input v-if="reply.reply" @confirm="confirm" class="input" placeholder="回复商家" />
|
|
|
|
|
|
+ <uni-easyinput v-if="reply.reply" class="input" maxlength=-1 type="textarea" @change="confirm" placeholder="回复商家" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -107,7 +107,7 @@
|
|
const that = this;
|
|
const that = this;
|
|
let reply = that.reply
|
|
let reply = that.reply
|
|
let obj = {
|
|
let obj = {
|
|
- content: e.detail.value,
|
|
|
|
|
|
+ content: e,
|
|
time: moment().format('YYYY-MM-DD HH:mm:ss')
|
|
time: moment().format('YYYY-MM-DD HH:mm:ss')
|
|
}
|
|
}
|
|
reply.reply.push(obj)
|
|
reply.reply.push(obj)
|