解决冲突 忙时设置
This commit is contained in:
commit
657c3fc38f
|
@ -1,13 +1,15 @@
|
||||||
//生产环境
|
//生产环境
|
||||||
const PROT = "https://"//生产需替换
|
const PROT = "https://"//生产需替换
|
||||||
// const ROOTHOST = "admin.sjajk.com";//生产需替换
|
const ROOTHOST = "admin.sjajk.com";//生产需替换
|
||||||
|
|
||||||
|
|
||||||
//测试环境
|
//测试环境
|
||||||
// const PROT = "http://"
|
// const PROT = "http://"
|
||||||
// const ROOTHOST = "47.75.182.93:8090";
|
// const ROOTHOST = "47.75.182.93:8090";
|
||||||
// const ROOTHOST = "1.92.152.160";
|
// const ROOTHOST = "1.92.152.160";
|
||||||
// const ROOTHOST = "1.92.152.160";
|
// const ROOTHOST = "1.92.152.160";
|
||||||
const ROOTHOST = "sausers.blxinchuang.com";
|
// const ROOTHOST = "sausers.blxinchuang.com";
|
||||||
// const ROOTHOST = "192.168.2.15:8187";
|
// const ROOTHOST = "192.168.2.222:8187";
|
||||||
// const ROOTHOST = "120.46.52.165";
|
// const ROOTHOST = "120.46.52.165";
|
||||||
// const ROOTHOST = "192.168.0.115:8187";
|
// const ROOTHOST = "192.168.0.115:8187";
|
||||||
// const ROOTHOST = "192.168.1.169:8187";
|
// const ROOTHOST = "192.168.1.169:8187";
|
||||||
|
@ -33,8 +35,8 @@ const checkdomain = (ROOTHOST) => {
|
||||||
//验证是否是域名后判断http/https
|
//验证是否是域名后判断http/https
|
||||||
const ROOTPATH = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast";
|
const ROOTPATH = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast";
|
||||||
const ROOTPATH1 = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast";
|
const ROOTPATH1 = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast";
|
||||||
const ROOTPATH2 = "wss://" + ROOTHOST + "/wss/chatSocket/"; //联系客服
|
|
||||||
// const ROOTPATH3 = "wss://" + ROOTHOST1 + "/wss/chatSocket/"; //聊天
|
// const ROOTPATH3 = "wss://" + ROOTHOST1 + "/wss/chatSocket/"; //聊天
|
||||||
|
const ROOTPATH2 = "wss://" + ROOTHOST + "/wss/chatSocket/"; //联系客服
|
||||||
const WEBSOCKETADDRESS = "wss://" + ROOTHOST + "/wss/chatSocket/"; //退出软件后台后将用户状态置为离线
|
const WEBSOCKETADDRESS = "wss://" + ROOTHOST + "/wss/chatSocket/"; //退出软件后台后将用户状态置为离线
|
||||||
const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload';
|
const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload';
|
||||||
|
|
||||||
|
|
|
@ -41,15 +41,13 @@
|
||||||
<view v-else>
|
<view v-else>
|
||||||
备注: 本期等级是根据技师上个周期的业绩最终计算得出
|
备注: 本期等级是根据技师上个周期的业绩最终计算得出
|
||||||
</view> -->
|
</view> -->
|
||||||
<view v-if="grade">
|
<view v-if="grade" class="dengji-text">
|
||||||
本周期到达等级:【{{grade}}】
|
本周期到达等级:【{{grade}}】
|
||||||
</view>
|
</view>
|
||||||
<u-line-progress active-color="#46a396" :show-percent="false" :height="38" inactive-color="#098f7a"
|
<u-line-progress active-color="#9dd47a" :show-percent="false" :height="15" inactive-color="#098f7a"
|
||||||
:percent="lineProgressData" :striped-active="true"></u-line-progress>
|
:percent="lineProgressData" :striped-active="true"></u-line-progress>
|
||||||
|
|
||||||
<view v-if="!maxStatus && longUpgradeDescriptionSet.differenceOutstandingAchievement" class="dengji-text">
|
<view v-if="!maxStatus && longUpgradeDescriptionSet.differenceOutstandingAchievement" class="dengji-text">
|
||||||
还差{{ longUpgradeDescriptionSet.differenceDurationOnline }}小时,{{ longUpgradeDescriptionSet.differenceOutstandingAchievement }}业绩,{{ longUpgradeDescriptionSet.differenceIntegral }}积分;可以升级{{ longUpgradeDescriptionSet.differenceGrade }}
|
还差<span class="memo">{{ longUpgradeDescriptionSet.differenceDurationOnline }}</span>小时,<span class="memo">{{ longUpgradeDescriptionSet.differenceOutstandingAchievement }}</span>业绩,<span class="memo">{{ longUpgradeDescriptionSet.differenceIntegral }}</span>积分;可以升级<span class="memo">{{ longUpgradeDescriptionSet.differenceGrade }}</span>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view v-if="maxStatus" class=" dengji-text">
|
<view v-if="maxStatus" class=" dengji-text">
|
||||||
您已达到最高等级
|
您已达到最高等级
|
||||||
|
@ -286,12 +284,13 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.mian-view{
|
.mian-view{
|
||||||
width: 90%;
|
width:100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
margin-top: 160px;
|
margin-top: 140px;
|
||||||
|
background: #fff;
|
||||||
}
|
}
|
||||||
.djimg-text{
|
.djimg-text{
|
||||||
font-size: 23rpx;
|
font-size: 23rpx;
|
||||||
|
@ -325,6 +324,7 @@
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
.header-right-text{
|
.header-right-text{
|
||||||
|
width: 100%;
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
@ -404,15 +404,14 @@
|
||||||
}
|
}
|
||||||
.content{
|
.content{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
/* height: 100vh;
|
||||||
background-image: url('../../static/index/swim.jpg');
|
background:#f7f7f7;*/
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-bottom: 30px;
|
}
|
||||||
}
|
|
||||||
.be-remarks{
|
.be-remarks{
|
||||||
border: 1px dashed #FE912E;
|
border: 1px dashed #FE912E;
|
||||||
padding: 10rpx 20rpx;
|
padding: 10rpx 20rpx;
|
||||||
|
@ -431,7 +430,12 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.memo{
|
.memo{
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #ffe35d;
|
||||||
|
padding: 0 6rpx;
|
||||||
|
}
|
||||||
|
.dengji-text{
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #c1e7e1;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -79,6 +79,8 @@
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import * as websocketUtils from 'utils/websocketUtils.js';
|
import * as websocketUtils from 'utils/websocketUtils.js';
|
||||||
|
import { compile } from "vue";
|
||||||
|
const maxReconnectMaxCn = 30;
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -140,7 +142,9 @@
|
||||||
],
|
],
|
||||||
//表情图片图床名称 ,由于我上传的第三方图床名称会有改变,所以有此数据来做对应,您实际应用中应该不需要
|
//表情图片图床名称 ,由于我上传的第三方图床名称会有改变,所以有此数据来做对应,您实际应用中应该不需要
|
||||||
onlineEmoji:{"100.gif":"AbNQgA.gif","101.gif":"AbN3ut.gif","102.gif":"AbNM3d.gif","103.gif":"AbN8DP.gif","104.gif":"AbNljI.gif","105.gif":"AbNtUS.gif","106.gif":"AbNGHf.gif","107.gif":"AbNYE8.gif","108.gif":"AbNaCQ.gif","109.gif":"AbNN4g.gif","110.gif":"AbN0vn.gif","111.gif":"AbNd3j.gif","112.gif":"AbNsbV.gif","113.gif":"AbNwgs.gif","114.gif":"AbNrD0.gif","115.gif":"AbNDuq.gif","116.gif":"AbNg5F.gif","117.gif":"AbN6ET.gif","118.gif":"AbNcUU.gif","119.gif":"AbNRC4.gif","120.gif":"AbNhvR.gif","121.gif":"AbNf29.gif","122.gif":"AbNW8J.gif","123.gif":"AbNob6.gif","124.gif":"AbN5K1.gif","125.gif":"AbNHUO.gif","126.gif":"AbNIDx.gif","127.gif":"AbN7VK.gif","128.gif":"AbNb5D.gif","129.gif":"AbNX2d.gif","130.gif":"AbNLPe.gif","131.gif":"AbNjxA.gif","132.gif":"AbNO8H.gif","133.gif":"AbNxKI.gif","134.gif":"AbNzrt.gif","135.gif":"AbU9Vf.gif","136.gif":"AbUSqP.gif","137.gif":"AbUCa8.gif","138.gif":"AbUkGQ.gif","139.gif":"AbUFPg.gif","140.gif":"AbUPIS.gif","141.gif":"AbUZMn.gif","142.gif":"AbUExs.gif","143.gif":"AbUA2j.gif","144.gif":"AbUMIU.gif","145.gif":"AbUerq.gif","146.gif":"AbUKaT.gif","147.gif":"AbUmq0.gif","148.gif":"AbUuZV.gif","149.gif":"AbUliF.gif","150.gif":"AbU1G4.gif","151.gif":"AbU8z9.gif","152.gif":"AbU3RJ.gif","153.gif":"AbUYs1.gif","154.gif":"AbUJMR.gif","155.gif":"AbUadK.gif","156.gif":"AbUtqx.gif","157.gif":"AbUUZ6.gif","158.gif":"AbUBJe.gif","159.gif":"AbUdIO.gif","160.gif":"AbU0iD.gif","161.gif":"AbUrzd.gif","162.gif":"AbUDRH.gif","163.gif":"AbUyQA.gif","164.gif":"AbUWo8.gif","165.gif":"AbU6sI.gif","166.gif":"AbU2eP.gif","167.gif":"AbUcLt.gif","168.gif":"AbU4Jg.gif","169.gif":"AbURdf.gif","170.gif":"AbUhFS.gif","171.gif":"AbU5WQ.gif","172.gif":"AbULwV.gif","173.gif":"AbUIzj.gif","174.gif":"AbUTQs.gif","175.gif":"AbU7yn.gif","176.gif":"AbUqe0.gif","177.gif":"AbUHLq.gif","178.gif":"AbUOoT.gif","179.gif":"AbUvYF.gif","180.gif":"AbUjFU.gif","181.gif":"AbaSSJ.gif","182.gif":"AbUxW4.gif","183.gif":"AbaCO1.gif","184.gif":"Abapl9.gif","185.gif":"Aba9yR.gif","186.gif":"AbaFw6.gif","187.gif":"Abaiex.gif","188.gif":"AbakTK.gif","189.gif":"AbaZfe.png","190.gif":"AbaEFO.gif","191.gif":"AbaVYD.gif","192.gif":"AbamSH.gif","193.gif":"AbaKOI.gif","194.gif":"Abanld.gif","195.gif":"Abau6A.gif","196.gif":"AbaQmt.gif","197.gif":"Abal0P.gif","198.gif":"AbatpQ.gif","199.gif":"Aba1Tf.gif","200.png":"Aba8k8.png","201.png":"AbaGtS.png","202.png":"AbaJfg.png","203.png":"AbaNlj.png","204.png":"Abawmq.png","205.png":"AbaU6s.png","206.png":"AbaaXn.png","207.png":"Aba000.png","208.png":"AbarkT.png","209.png":"AbastU.png","210.png":"AbaB7V.png","211.png":"Abafn1.png","212.png":"Abacp4.png","213.png":"AbayhF.png","214.png":"Abag1J.png","215.png":"Aba2c9.png","216.png":"AbaRXR.png","217.png":"Aba476.png","218.png":"Abah0x.png","219.png":"Abdg58.png"},
|
onlineEmoji:{"100.gif":"AbNQgA.gif","101.gif":"AbN3ut.gif","102.gif":"AbNM3d.gif","103.gif":"AbN8DP.gif","104.gif":"AbNljI.gif","105.gif":"AbNtUS.gif","106.gif":"AbNGHf.gif","107.gif":"AbNYE8.gif","108.gif":"AbNaCQ.gif","109.gif":"AbNN4g.gif","110.gif":"AbN0vn.gif","111.gif":"AbNd3j.gif","112.gif":"AbNsbV.gif","113.gif":"AbNwgs.gif","114.gif":"AbNrD0.gif","115.gif":"AbNDuq.gif","116.gif":"AbNg5F.gif","117.gif":"AbN6ET.gif","118.gif":"AbNcUU.gif","119.gif":"AbNRC4.gif","120.gif":"AbNhvR.gif","121.gif":"AbNf29.gif","122.gif":"AbNW8J.gif","123.gif":"AbNob6.gif","124.gif":"AbN5K1.gif","125.gif":"AbNHUO.gif","126.gif":"AbNIDx.gif","127.gif":"AbN7VK.gif","128.gif":"AbNb5D.gif","129.gif":"AbNX2d.gif","130.gif":"AbNLPe.gif","131.gif":"AbNjxA.gif","132.gif":"AbNO8H.gif","133.gif":"AbNxKI.gif","134.gif":"AbNzrt.gif","135.gif":"AbU9Vf.gif","136.gif":"AbUSqP.gif","137.gif":"AbUCa8.gif","138.gif":"AbUkGQ.gif","139.gif":"AbUFPg.gif","140.gif":"AbUPIS.gif","141.gif":"AbUZMn.gif","142.gif":"AbUExs.gif","143.gif":"AbUA2j.gif","144.gif":"AbUMIU.gif","145.gif":"AbUerq.gif","146.gif":"AbUKaT.gif","147.gif":"AbUmq0.gif","148.gif":"AbUuZV.gif","149.gif":"AbUliF.gif","150.gif":"AbU1G4.gif","151.gif":"AbU8z9.gif","152.gif":"AbU3RJ.gif","153.gif":"AbUYs1.gif","154.gif":"AbUJMR.gif","155.gif":"AbUadK.gif","156.gif":"AbUtqx.gif","157.gif":"AbUUZ6.gif","158.gif":"AbUBJe.gif","159.gif":"AbUdIO.gif","160.gif":"AbU0iD.gif","161.gif":"AbUrzd.gif","162.gif":"AbUDRH.gif","163.gif":"AbUyQA.gif","164.gif":"AbUWo8.gif","165.gif":"AbU6sI.gif","166.gif":"AbU2eP.gif","167.gif":"AbUcLt.gif","168.gif":"AbU4Jg.gif","169.gif":"AbURdf.gif","170.gif":"AbUhFS.gif","171.gif":"AbU5WQ.gif","172.gif":"AbULwV.gif","173.gif":"AbUIzj.gif","174.gif":"AbUTQs.gif","175.gif":"AbU7yn.gif","176.gif":"AbUqe0.gif","177.gif":"AbUHLq.gif","178.gif":"AbUOoT.gif","179.gif":"AbUvYF.gif","180.gif":"AbUjFU.gif","181.gif":"AbaSSJ.gif","182.gif":"AbUxW4.gif","183.gif":"AbaCO1.gif","184.gif":"Abapl9.gif","185.gif":"Aba9yR.gif","186.gif":"AbaFw6.gif","187.gif":"Abaiex.gif","188.gif":"AbakTK.gif","189.gif":"AbaZfe.png","190.gif":"AbaEFO.gif","191.gif":"AbaVYD.gif","192.gif":"AbamSH.gif","193.gif":"AbaKOI.gif","194.gif":"Abanld.gif","195.gif":"Abau6A.gif","196.gif":"AbaQmt.gif","197.gif":"Abal0P.gif","198.gif":"AbatpQ.gif","199.gif":"Aba1Tf.gif","200.png":"Aba8k8.png","201.png":"AbaGtS.png","202.png":"AbaJfg.png","203.png":"AbaNlj.png","204.png":"Abawmq.png","205.png":"AbaU6s.png","206.png":"AbaaXn.png","207.png":"Aba000.png","208.png":"AbarkT.png","209.png":"AbastU.png","210.png":"AbaB7V.png","211.png":"Abafn1.png","212.png":"Abacp4.png","213.png":"AbayhF.png","214.png":"Abag1J.png","215.png":"Aba2c9.png","216.png":"AbaRXR.png","217.png":"Aba476.png","218.png":"Abah0x.png","219.png":"Abdg58.png"},
|
||||||
|
webSocketTask:null,
|
||||||
timer:null,
|
timer:null,
|
||||||
|
reconnectCn: 1
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(d) {
|
onLoad(d) {
|
||||||
|
@ -163,17 +167,29 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.timer = setInterval(() => {
|
// this.timer = setInterval(() => {
|
||||||
this.getTimeOrListItem1()
|
// this.getTimeOrListItem1();
|
||||||
}, 3000);
|
// }, 3000);
|
||||||
},
|
},
|
||||||
onUnload() {
|
onUnload() {
|
||||||
|
// uni.closeSocket({
|
||||||
|
// success: () => {
|
||||||
|
// console.info("退出成功")
|
||||||
|
// },
|
||||||
|
// })
|
||||||
|
// this.webSocketTask.close({
|
||||||
|
// code:500,
|
||||||
|
// complete:(res)=>{
|
||||||
|
// console.log("主动断开",res);
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
this.reconnectCn = 101;
|
||||||
uni.closeSocket({
|
uni.closeSocket({
|
||||||
success: () => {
|
code:500,
|
||||||
console.info("退出成功")
|
complete:(res)=>{
|
||||||
},
|
console.log("主动断开",res);
|
||||||
|
}
|
||||||
})
|
})
|
||||||
// uni.closeSocket()
|
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
clearInterval(this.timer);
|
clearInterval(this.timer);
|
||||||
this.timer = null;
|
this.timer = null;
|
||||||
|
@ -246,11 +262,11 @@
|
||||||
connect() {
|
connect() {
|
||||||
let that = this;
|
let that = this;
|
||||||
let userId = that.$queue.getData('userId');
|
let userId = that.$queue.getData('userId');
|
||||||
if (that.connected || that.connecting) {
|
if (that.connected && that.connecting) {
|
||||||
uni.showModal({
|
// uni.showModal({
|
||||||
content: '正在连接或者已经连接,请勿重复连接',
|
// content: '正在连接或者已经连接,请勿重复连接',
|
||||||
showCancel: false
|
// showCancel: false
|
||||||
})
|
// })
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
that.connecting = true
|
that.connecting = true
|
||||||
|
@ -279,8 +295,8 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
uni.onSocketOpen((res) => {
|
uni.onSocketOpen((res) => {
|
||||||
that.connecting = false
|
// that.connecting = false
|
||||||
that.connected = true
|
// that.connected = true
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// icon: 'none',
|
// icon: 'none',
|
||||||
|
@ -292,25 +308,28 @@
|
||||||
that.connecting = false
|
that.connecting = false
|
||||||
that.connected = false
|
that.connected = false
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
uni.showModal({
|
// uni.showModal({
|
||||||
content: '网络较差,请稍后再试',
|
// content: '网络较差,请稍后再试',
|
||||||
showCancel: false
|
// showCancel: false
|
||||||
})
|
// })
|
||||||
console.log('onError', err);
|
console.log('onError', err);
|
||||||
});
|
});
|
||||||
uni.onSocketMessage(function (res) {
|
uni.onSocketMessage(function (res) {
|
||||||
console.log('收到服务器内容:' + JSON.stringify(res));
|
console.log('收到服务器内容:' + JSON.stringify(res));
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
that.hideDrawer();
|
||||||
that.getTimeOrListItem1();
|
that.getTimeOrListItem1();
|
||||||
}, 50);
|
}, 50);
|
||||||
|
|
||||||
});
|
});
|
||||||
uni.onSocketClose((res) => {
|
uni.onSocketClose((res) => {
|
||||||
that.connected = false
|
that.connected = false
|
||||||
that.startRecive = false
|
that.startRecive = false
|
||||||
that.msg = false
|
that.msg = false
|
||||||
console.log('onClose', res)
|
console.log('onClose', res)
|
||||||
|
if(this.reconnectCn<maxReconnectMaxCn){
|
||||||
|
this.reconnectCn = this.reconnectCn + 1;
|
||||||
|
this.connect();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
@ -319,6 +338,7 @@
|
||||||
|
|
||||||
// 加载初始页面消息
|
// 加载初始页面消息
|
||||||
getTimeOrListItem1() {
|
getTimeOrListItem1() {
|
||||||
|
console.log("im:getTimeOrListItem1");
|
||||||
this.$Request.get('/app/chat/selectChatContent?page=1&limit=1000&chatConversationId=' + this.chatConversationId).then(
|
this.$Request.get('/app/chat/selectChatContent?page=1&limit=1000&chatConversationId=' + this.chatConversationId).then(
|
||||||
res => {
|
res => {
|
||||||
this.ListItem = [];
|
this.ListItem = [];
|
||||||
|
@ -333,7 +353,7 @@
|
||||||
}
|
}
|
||||||
this.ListItem.push(d);
|
this.ListItem.push(d);
|
||||||
});
|
});
|
||||||
this.ListItem = this.ListItem.reverse();;
|
this.ListItem = this.ListItem.reverse();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.pageScrollTo({
|
uni.pageScrollTo({
|
||||||
scrollTop: 99999,
|
scrollTop: 99999,
|
||||||
|
@ -368,7 +388,6 @@
|
||||||
if (!phone) {
|
if (!phone) {
|
||||||
phone = this.$queue.getData('userName');
|
phone = this.$queue.getData('userName');
|
||||||
}
|
}
|
||||||
console.log("this.byUserId",this.byUserId)
|
|
||||||
// if(this.textMsg!=''){
|
// if(this.textMsg!=''){
|
||||||
// const isRich = this.isRichText(this.textMsg); // 返回 true
|
// const isRich = this.isRichText(this.textMsg); // 返回 true
|
||||||
// if(isRich==true){
|
// if(isRich==true){
|
||||||
|
@ -377,20 +396,16 @@
|
||||||
// this.content=this.textMsg
|
// this.content=this.textMsg
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
// console.log('this.content=============>',isRich)
|
// console.log('this.content=============>',isRich)
|
||||||
let data = {
|
let data = {
|
||||||
content: this.content,
|
content: this.content,
|
||||||
messageType: type,
|
messageType: type,
|
||||||
userId: this.byUserId,
|
userId: this.byUserId,
|
||||||
chatConversationId: this.chatConversationId,
|
chatConversationId: this.chatConversationId,
|
||||||
|
|
||||||
}
|
}
|
||||||
if(data.messageType==2){
|
if(data.messageType==2){
|
||||||
data.width="100"
|
data.width="100"
|
||||||
}
|
}
|
||||||
console.log("data",data)
|
|
||||||
data = JSON.stringify(data);
|
data = JSON.stringify(data);
|
||||||
|
|
||||||
let that = this;
|
let that = this;
|
||||||
|
@ -410,15 +425,16 @@
|
||||||
type: type,
|
type: type,
|
||||||
userId: userId
|
userId: userId
|
||||||
}
|
}
|
||||||
console.log(data,'data99999999999999999')
|
// console.log(data,'data99999999999999999')
|
||||||
// that.ListItem.push(data);
|
// that.ListItem.push(data);
|
||||||
setTimeout(() => {
|
// setTimeout(() => {
|
||||||
that.hideDrawer();
|
// that.hideDrawer();
|
||||||
that.getTimeOrListItem1();
|
// that.getTimeOrListItem1();
|
||||||
}, 50);
|
// }, 500);
|
||||||
console.log(that.content);
|
// console.log(that.content);
|
||||||
},
|
},
|
||||||
fail(err) {
|
fail(err) {
|
||||||
|
that.connect();
|
||||||
console.log(err);
|
console.log(err);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -1119,4 +1119,7 @@
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
|
.djtit{
|
||||||
|
font-size: 22rpx;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
|
@ -714,9 +714,6 @@
|
||||||
let currentTimeStamp = new Date().getTime() / 1000;
|
let currentTimeStamp = new Date().getTime() / 1000;
|
||||||
let formatTimeStamp = Math.floor(afterTimeStamp - currentTimeStamp);
|
let formatTimeStamp = Math.floor(afterTimeStamp - currentTimeStamp);
|
||||||
ret.endOfServiceTimer = formatTimeStamp;
|
ret.endOfServiceTimer = formatTimeStamp;
|
||||||
console.log("dddd",ret.ordersNo);
|
|
||||||
console.log("eeee",ret.endOfServiceTimer);
|
|
||||||
console.log("ffff",ret.earlyFinishReason);
|
|
||||||
}
|
}
|
||||||
if (this.$refs.countDownEl) this.$refs.countDownEl.update();
|
if (this.$refs.countDownEl) this.$refs.countDownEl.update();
|
||||||
})
|
})
|
||||||
|
|
|
@ -16,12 +16,15 @@
|
||||||
<image class="service-viedeimg" src="../../static/videoimg2.png"></image>
|
<image class="service-viedeimg" src="../../static/videoimg2.png"></image>
|
||||||
发布视频
|
发布视频
|
||||||
</view>
|
</view>
|
||||||
|
<view class="page-head-xuan" v-if="checkboxShow==0" @click="deleteVodeo">
|
||||||
|
<image class="service-viedeimg" src="../../static/dele.png"></image>
|
||||||
|
<span>删除</span>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view :style="'width: 100%; height: '+ (windowHeight) +'px; background-color: #f5f5f5;'" :scroll-y="true" @scrolltolower="scrolltolower" :lower-threshold="lowerThreshold">
|
<scroll-view :style="'width: 100%; height: '+ (windowHeight) +'px; background-color: #fff;'" :scroll-y="true" @scrolltolower="scrolltolower" :lower-threshold="lowerThreshold">
|
||||||
<view style="display: flex; flex-direction: row; flex-wrap: wrap;padding-top: 46px;">
|
<view style="display: flex; flex-direction: row; flex-wrap: wrap;padding-top: 46px;">
|
||||||
<checkbox-group class="checkbox-group" @change="checkboxChange">
|
<checkbox-group class="checkbox-group" @change="checkboxChange">
|
||||||
<view class="checkbox-group-list" v-for="(list,index) in dataList" :key="index">
|
<view class="checkbox-group-list" v-for="(list,index) in dataList" :key="index">
|
||||||
|
@ -34,10 +37,7 @@
|
||||||
</checkbox-group>
|
</checkbox-group>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view class="shanchu" v-if="checkboxShow==0" @click="deleteVodeo">
|
|
||||||
<image class="service-deleimg" src="../../static/dele.png"></image>
|
|
||||||
<span>删除</span>
|
|
||||||
</view>
|
|
||||||
<uni-popup style="width: 100%;height: 100vh;" type="center" ref="pinglun" @touchmove.stop.prevent="moveHandle">
|
<uni-popup style="width: 100%;height: 100vh;" type="center" ref="pinglun" @touchmove.stop.prevent="moveHandle">
|
||||||
<view style="width: 100%;height: 100%;">
|
<view style="width: 100%;height: 100%;">
|
||||||
<video
|
<video
|
||||||
|
@ -295,7 +295,6 @@
|
||||||
.data-list{
|
.data-list{
|
||||||
width:100%;
|
width:100%;
|
||||||
height:100%;
|
height:100%;
|
||||||
background-color: #fff;
|
|
||||||
}
|
}
|
||||||
.checkbox-group-list{
|
.checkbox-group-list{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -322,13 +321,13 @@
|
||||||
height: 24px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
.page-head-xuan{
|
.page-head-xuan{
|
||||||
margin-left: 10px;
|
margin-left:8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
padding:10rpx 20rpx;
|
padding:8rpx 20rpx;
|
||||||
border: 1px solid #333;
|
border: 1px solid #333;
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
|
|
|
@ -101,11 +101,9 @@ class Request {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.config = {
|
this.config = {
|
||||||
baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
|
// baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
|
||||||
// baseUrl: 'http://47.75.182.93:8090/', // 请求的根域名
|
// baseUrl: 'http://192.168.2.222:8187/', // 请求的根域名
|
||||||
// baseUrl: 'http://120.46.52.165/', // 请求的根域名
|
baseUrl: 'https://sausers.blxinchuang.com', // 请求的根域名
|
||||||
// baseUrl: 'http://192.168.2.15:8187/', // 请求的根域名
|
|
||||||
// baseUrl: 'http://1.92.152.160/', // 请求的根域名
|
|
||||||
// 默认的请求头
|
// 默认的请求头
|
||||||
header: {},
|
header: {},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
Loading…
Reference in New Issue