Commit a7caed47 authored by liubinyu's avatar liubinyu

bug

parent e137e193
......@@ -63,11 +63,12 @@ class Request {
baseUrl: '', // 请求的根域名
header: {},
method: 'POST',
timeout: 60 * 1000,
dataType: 'json',
responseType: 'text',
showLoading: true,
loadingText: '请求中...',
loadingTime: 800,
loadingTime: 100,
timer: null,
originalData: false,
loadingMask: true,
......
......@@ -40,7 +40,7 @@
};
},
onLoad() {
// this.init()
this.init()
},
methods: {
// 初始化
......@@ -73,7 +73,9 @@
else return !!item.user !== !!this.recordList[index - 1].user
},
confirm() {
this.addMsg(this.inputText, true)
const txt = this.inputText.trim()
if (!txt) return uni.showToast({ title: '不能发送空白消息', icon: 'none' })
this.addMsg(txt, true)
this.inputText = ''
},
// 新增记录
......@@ -145,8 +147,8 @@
}
.content {
margin-left: 110rpx;
margin-right: 30rpx;
margin-left: 100rpx;
margin-right: 40rpx;
font-weight: 500;
font-size: 28rpx;
color: #000824;
......@@ -165,8 +167,8 @@
}
.content {
margin-left: 30rpx;
margin-right: 110rpx;
margin-left: 40rpx;
margin-right: 100rpx;
}
}
}
......
......@@ -124,11 +124,11 @@
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 16rpx;
gap: 12rpx;
margin: 50rpx 0 50rpx;
.word {
padding: 8rpx 20rpx 12rpx;
padding: 8rpx 16rpx 12rpx;
border-radius: 100rpx;
background: rgba(116, 100, 255, 0.1);
font-size: 26rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment