调度端调整
@ -17,7 +17,12 @@
|
|||||||
<image src="@/static/icons/homeOrderCard/dhjl.png" class="orderCardDistanceIcon" mode="aspectFit"></image>
|
<image src="@/static/icons/homeOrderCard/dhjl.png" class="orderCardDistanceIcon" mode="aspectFit"></image>
|
||||||
<text class="orderCardDistanceValue">{{orderData.distance / 1000 || 0}}KM</text>
|
<text class="orderCardDistanceValue">{{orderData.distance / 1000 || 0}}KM</text>
|
||||||
|
|
||||||
|
<!-- #ifdef MP -->
|
||||||
<image src="@/static/icons/homeOrderCard/yjsj.png" class="orderCardPredictIcon"></image>
|
<image src="@/static/icons/homeOrderCard/yjsj.png" class="orderCardPredictIcon"></image>
|
||||||
|
<!-- #endif -->
|
||||||
|
<!-- #ifndef MP -->
|
||||||
|
<image src="@/static/icons/homeOrderCard/yjsj.svg" class="orderCardPredictIcon"></image>
|
||||||
|
<!-- #endif -->
|
||||||
<text class="orderCardPredictDate">{{orderData.needTime || 0}}分钟</text>
|
<text class="orderCardPredictDate">{{orderData.needTime || 0}}分钟</text>
|
||||||
到达
|
到达
|
||||||
</template>
|
</template>
|
||||||
|
@ -53,7 +53,9 @@
|
|||||||
getToken
|
getToken
|
||||||
} from '@/utils/auth'
|
} from '@/utils/auth'
|
||||||
const innerAudioContext = uni.createInnerAudioContext();
|
const innerAudioContext = uni.createInnerAudioContext();
|
||||||
|
// #ifdef APP || H5
|
||||||
const jyJPush = uni.requireNativePlugin('JY-JPush');
|
const jyJPush = uni.requireNativePlugin('JY-JPush');
|
||||||
|
// #endif
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -97,7 +99,7 @@
|
|||||||
// #endif
|
// #endif
|
||||||
if (!this.nowPageInterval) {
|
if (!this.nowPageInterval) {
|
||||||
this.nowPageInterval = setInterval(() => {
|
this.nowPageInterval = setInterval(() => {
|
||||||
console.log('this.$msgSocket: ',this.$msgSocket);
|
// console.log('this.$msgSocket: ',this.$msgSocket);
|
||||||
this.msgSocket = this.$msgSocket
|
this.msgSocket = this.$msgSocket
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
@ -123,7 +125,12 @@
|
|||||||
|
|
||||||
dianyidain() {
|
dianyidain() {
|
||||||
console.log('执行了,dianyidain');
|
console.log('执行了,dianyidain');
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
innerAudioContext.src = '../../static/msgV.mp3';
|
||||||
|
// #endif
|
||||||
|
// #ifndef APP-PLUS
|
||||||
innerAudioContext.src = 'https://www.nuoyunr.com/lananRsc/rescue/msgV.mp3';
|
innerAudioContext.src = 'https://www.nuoyunr.com/lananRsc/rescue/msgV.mp3';
|
||||||
|
// #endif
|
||||||
// 设置播放次数和计数器
|
// 设置播放次数和计数器
|
||||||
const playCount = 5;
|
const playCount = 5;
|
||||||
let currentCount = 0;
|
let currentCount = 0;
|
||||||
@ -153,7 +160,7 @@
|
|||||||
if (this.msgSocket) {
|
if (this.msgSocket) {
|
||||||
console.log('消息回调启动成功')
|
console.log('消息回调启动成功')
|
||||||
this.msgSocket.onMessage(res => {
|
this.msgSocket.onMessage(res => {
|
||||||
console.log("发出提示音");
|
console.log("发出提示音", res);
|
||||||
this.getbottom();
|
this.getbottom();
|
||||||
this.dianyidain()
|
this.dianyidain()
|
||||||
})
|
})
|
||||||
|
@ -190,7 +190,7 @@
|
|||||||
success: () => {
|
success: () => {
|
||||||
console.log(1);
|
console.log(1);
|
||||||
uni.request({
|
uni.request({
|
||||||
url: that.baseUrl + "/wxLoginRescue",
|
url: that.baseUrl + "/rescue/wxLoginRescue",
|
||||||
method: "POST",
|
method: "POST",
|
||||||
data: {
|
data: {
|
||||||
code: res.code,
|
code: res.code,
|
||||||
@ -201,20 +201,20 @@
|
|||||||
},
|
},
|
||||||
success: (rex) => {
|
success: (rex) => {
|
||||||
console.log('wxLoginRescue返回', rex)
|
console.log('wxLoginRescue返回', rex)
|
||||||
if (rex.data.code == 200) {
|
if (rex.data.code == 0) {
|
||||||
if (that.loginStatus) {
|
if (that.loginStatus) {
|
||||||
clearInterval(that.loginStatus)
|
clearInterval(that.loginStatus)
|
||||||
}
|
}
|
||||||
// uni.setStorageSync('App-Token', rex.atoken);
|
// uni.setStorageSync('App-Token', rex.atoken);
|
||||||
setToken(rex.data.token)
|
setToken(rex.data.data.accessToken)
|
||||||
console.log('rex.token:', rex.data.token);
|
console.log('rex.token:', rex.data.data.accessToken);
|
||||||
if (that.returnUrl) {
|
if (that.returnUrl) {
|
||||||
|
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
} else {
|
} else {
|
||||||
// this.userinfo()
|
// this.userinfo()
|
||||||
// uni.setStorageSync('App-Token', rex.token);
|
// uni.setStorageSync('App-Token', rex.token);
|
||||||
setToken(rex.data.token)
|
setToken(rex.data.data.accessToken)
|
||||||
that.userinfo()
|
that.userinfo()
|
||||||
|
|
||||||
console.log('成功');
|
console.log('成功');
|
||||||
|
@ -52,7 +52,12 @@
|
|||||||
<view class="boxf1" @click="goToOrder(3)">
|
<view class="boxf1" @click="goToOrder(3)">
|
||||||
<view class="zi2">{{dqcNum }}</view>
|
<view class="zi2">{{dqcNum }}</view>
|
||||||
<view class="zi1">
|
<view class="zi1">
|
||||||
|
<!-- #ifndef MP -->
|
||||||
|
<image class="zi1-icon" src="@/static/icons/homeOrderCard/dqc.svg" mode="aspectFit"></image>
|
||||||
|
<!-- #endif -->
|
||||||
|
<!-- #ifdef MP -->
|
||||||
<image class="zi1-icon" src="@/static/icons/homeOrderCard/dqc.png" mode="aspectFit"></image>
|
<image class="zi1-icon" src="@/static/icons/homeOrderCard/dqc.png" mode="aspectFit"></image>
|
||||||
|
<!-- #endif -->
|
||||||
<text>待取车</text>
|
<text>待取车</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -226,7 +231,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import request from '../../utils/request';
|
import request from '../../utils/request';
|
||||||
import tabBar from '../../components/tabBar/tabBar.vue'
|
import tabBar from '@/components/tabBar/tabBar.vue'
|
||||||
import {
|
import {
|
||||||
getToken
|
getToken
|
||||||
} from '@/utils/auth'
|
} from '@/utils/auth'
|
||||||
@ -342,11 +347,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.$startMsgSocket(uni.getStorageSync('userId'))
|
|
||||||
this.register()
|
|
||||||
this.jyPushStart()
|
|
||||||
console.log(require('@/static/icons/homeTopMenu/icon_tenement.png'), "require");
|
|
||||||
|
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
const {barHeight, barTop, menuButtonLeft} = getWXStatusHeight()
|
const {barHeight, barTop, menuButtonLeft} = getWXStatusHeight()
|
||||||
console.log('barHeight, barTop, menuButtonLeft: ',barHeight, barTop, menuButtonLeft);
|
console.log('barHeight, barTop, menuButtonLeft: ',barHeight, barTop, menuButtonLeft);
|
||||||
@ -354,6 +354,11 @@
|
|||||||
this.homeHeaderMenuHeight = barHeight
|
this.homeHeaderMenuHeight = barHeight
|
||||||
this.homeHeaderMenuLeft = menuButtonLeft - 6
|
this.homeHeaderMenuLeft = menuButtonLeft - 6
|
||||||
// #endif
|
// #endif
|
||||||
|
this.$startMsgSocket(uni.getStorageSync('userId'))
|
||||||
|
// #ifdef APP || H5
|
||||||
|
this.register()
|
||||||
|
this.jyPushStart()
|
||||||
|
// #endif
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.timeWeekFormat()
|
this.timeWeekFormat()
|
||||||
|
Before Width: | Height: | Size: 1000 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
19
static/icons/homeOrderCard/dqc.svg
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="19px" height="19px" viewBox="0 0 19 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>4出场车辆</title>
|
||||||
|
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<g id="首页修改" transform="translate(-207.000000, -281.000000)" fill="#FCB71F" fill-rule="nonzero">
|
||||||
|
<g id="编组-10" transform="translate(16.000000, 201.000000)">
|
||||||
|
<g id="编组-3备份" transform="translate(177.000000, 39.000000)">
|
||||||
|
<g id="编组-5" transform="translate(14.000000, 10.933333)">
|
||||||
|
<g id="4出场车辆" transform="translate(0.000000, 30.066667)">
|
||||||
|
<rect id="矩形" opacity="0" x="0" y="0" width="19" height="19"></rect>
|
||||||
|
<polyline id="路径" points="2.70758377 16.2924162 2.70758377 5.73015873 9.50335098 2.82821869 16.2991182 5.57601411 16.2991182 7.84797178 17.6126984 7.84797178 17.6126984 4.63104057 9.50335098 1.38730159 1.39400352 4.63104057 1.39400352 17.6059965"></polyline>
|
||||||
|
<path d="M13.6719577,12.3315697 L11.1453263,12.3315697 L11.1453263,13.9534391 L13.6719577,13.9534391 L13.6719577,17.1971781 L17.7266314,13.1425044 L13.6719577,9.08783068 L13.6719577,12.3315697 Z M9.85185185,11.1453263 C8.57848325,11.1252205 7.29171075,10.9844797 5.98483245,10.7097002 C6.28641975,9.85185185 6.55449735,9.06102294 6.8627866,8.29029982 C6.92310407,8.14285715 7.15097003,8.00881834 7.31851853,7.9686067 C7.7340388,7.86807761 8.1696649,7.76754849 8.59188713,7.77425045 C9.00740741,7.77425045 9.42962964,7.78765433 9.84514992,7.79435627 L9.84514992,6.67513227 C9.48994709,6.68853616 9.12804233,6.71534391 8.7393298,6.76895943 C8.39082893,6.82257494 8.04232803,6.86278658 7.69382716,6.929806 C6.77566138,7.10405645 6.05855379,7.50617284 5.79717813,8.50476191 C5.64303351,9.09453263 5.40846561,9.67089947 5.18730159,10.2472663 C5.14708994,10.3611993 4.99964727,10.5220458 4.92592592,10.5153439 C4.28253968,10.4349206 4.0345679,10.8236332 3.86031747,11.3329806 C3.82680778,11.4536155 3.84691358,11.5608466 3.86031747,11.6479718 C4.10828925,11.7149912 4.3495591,11.7753087 4.52380953,11.8222222 C4.51040564,12.7537919 4.49700177,13.6719577 4.49029982,14.5968254 C4.48359788,15.092769 4.46349206,15.5954145 4.49700177,16.091358 C4.51040566,16.319224 4.59753086,16.6744268 4.72486773,16.761552 C4.81869489,16.882187 6.4606702,16.882187 6.76895943,16.761552 C6.90970016,16.7079365 6.97671957,15.984127 7.0973545,15.5485009 L9.84514992,15.5485009 L9.85185185,11.1453263 L9.85185185,11.1453263 Z M7.18447972,13.6585538 C6.97671958,13.7054674 6.74215169,13.7188713 6.52098766,13.7188713 C6.19929454,13.6853616 5.86419754,13.6786596 5.54920635,13.6116402 C5.13368607,13.524515 5.01975309,13.2162258 5.14708994,12.6666667 C5.23421517,12.291358 5.52910053,12.2712522 5.79047618,12.3583774 C6.31992944,12.5326279 6.84268076,12.7470899 7.35202822,12.9816579 C7.47266313,13.0352734 7.62010582,13.2765432 7.58659611,13.3703704 C7.5329806,13.4977072 7.33862433,13.6250441 7.18447972,13.6585538 L7.18447972,13.6585538 Z" id="形状"></path>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 591 B After Width: | Height: | Size: 620 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 988 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.5 KiB |
18
static/icons/homeOrderCard/yjsj.svg
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="19px" height="19px" viewBox="0 0 19 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>编组 13</title>
|
||||||
|
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<g id="首页修改" transform="translate(-111.000000, -741.000000)" fill="#327DFB">
|
||||||
|
<g id="编组-14备份" transform="translate(16.000000, 673.000000)">
|
||||||
|
<g id="编组-11" transform="translate(17.000000, 17.000000)">
|
||||||
|
<g id="编组-13" transform="translate(78.000000, 51.000000)">
|
||||||
|
<rect id="矩形" stroke="#327DFB" stroke-width="0.6" fill-opacity="0.1" x="0.3" y="0.3" width="18.4" height="18.4" rx="9"></rect>
|
||||||
|
<text id="预" font-family="PingFang-SC-Medium, PingFang SC" font-size="10" font-weight="400" letter-spacing="0.119999997">
|
||||||
|
<tspan x="4.44" y="14">预</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 994 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 875 B After Width: | Height: | Size: 997 B |
16
static/icons/tabbar/car.svg
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>01运输中、物流-线性</title>
|
||||||
|
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<g id="首页修改" transform="translate(-175.000000, -860.000000)" fill="#000000" fill-rule="nonzero">
|
||||||
|
<g id="底部" transform="translate(0.000000, 853.000000)">
|
||||||
|
<g id="Tab-2" transform="translate(125.000000, 0.000000)">
|
||||||
|
<g id="01运输中、物流-线性" transform="translate(50.000000, 7.000000)">
|
||||||
|
<rect id="矩形" opacity="0" x="0" y="0" width="24.9756098" height="24.9756098"></rect>
|
||||||
|
<path d="M23.3560976,13.9707317 L20.4097561,9.54146341 C20.3317073,9.42439024 20.2146341,9.36585366 20.0780488,9.36585366 L17.1707317,9.36585366 L17.1707317,5.46341463 C17.1707317,5.03414634 16.8195122,4.68292683 16.3902439,4.68292683 L2.34146341,4.68292683 C1.91219512,4.68292683 1.56097561,5.03414634 1.56097561,5.46341463 L1.56097561,16.3902439 C1.56097561,16.8195122 1.91219512,17.1707317 2.34146341,17.1707317 L3.12195122,17.1707317 C3.12195122,18.8878049 4.52682927,20.2926829 6.24390244,20.2926829 C7.96097561,20.2926829 9.36585366,18.8878049 9.36585366,17.1707317 L15.6097561,17.1707317 C15.6097561,18.8878049 17.0146341,20.2926829 18.7317073,20.2926829 C20.4487805,20.2926829 21.8536585,18.8878049 21.8536585,17.1707317 L22.6341463,17.1707317 C23.0634146,17.1707317 23.4146341,16.8195122 23.4146341,16.3902439 L23.4146341,14.1853659 C23.4146341,14.1073171 23.395122,14.0292683 23.3560976,13.9707317 Z M6.24390244,18.7317073 C5.38536585,18.7317073 4.68292683,18.0292683 4.68292683,17.1707317 C4.68292683,16.3121951 5.38536585,15.6097561 6.24390244,15.6097561 C7.10243902,15.6097561 7.80487805,16.3121951 7.80487805,17.1707317 C7.80487805,18.0292683 7.10243902,18.7317073 6.24390244,18.7317073 Z M15.6097561,15.6097561 L8.93658537,15.6097561 C8.3902439,14.6731707 7.39512195,14.0487805 6.24390244,14.0487805 C5.09268293,14.0487805 4.07804878,14.6731707 3.55121951,15.6097561 L3.12195122,15.6097561 L3.12195122,6.24390244 L15.6097561,6.24390244 L15.6097561,15.6097561 Z M18.7317073,18.7317073 C17.8731707,18.7317073 17.1707317,18.0292683 17.1707317,17.1707317 C17.1707317,16.3121951 17.8731707,15.6097561 18.7317073,15.6097561 C19.5902439,15.6097561 20.2926829,16.3121951 20.2926829,17.1707317 C20.2926829,18.0292683 19.5902439,18.7317073 18.7317073,18.7317073 Z M21.8536585,15.6097561 L21.4243902,15.6097561 C20.8780488,14.6731707 19.8829268,14.0487805 18.7317073,14.0487805 C18.1658537,14.0487805 17.6390244,14.204878 17.1707317,14.4780488 L17.1707317,10.9268293 L19.4926829,10.9268293 C19.6292683,10.9268293 19.7463415,10.9853659 19.804878,11.102439 L21.7756098,13.9512195 C21.8146341,14.0097561 21.8536585,14.0878049 21.8536585,14.1658537 L21.8536585,15.6097561 Z" id="形状"></path>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 826 B After Width: | Height: | Size: 835 B |
14
static/icons/tabbar/home-checked.svg
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>204首页</title>
|
||||||
|
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<g id="首页修改" transform="translate(-50.000000, -860.000000)" fill="#327DFB" fill-rule="nonzero">
|
||||||
|
<g id="底部" transform="translate(0.000000, 853.000000)">
|
||||||
|
<g id="204首页" transform="translate(50.000000, 7.000000)">
|
||||||
|
<rect id="矩形" opacity="0" x="0" y="0" width="25" height="25"></rect>
|
||||||
|
<path d="M22.4414063,10.234375 L12.96875,3.45703125 C12.6953125,3.26171875 12.3242188,3.26171875 12.0703125,3.45703125 L2.5390625,10.234375 C2.2265625,10.4492188 2.3828125,10.9375 2.7734375,10.9375 L4.6875,10.9375 L4.6875,21.484375 C4.6875,21.6992188 4.86328125,21.875 5.078125,21.875 L9.765625,21.875 C9.98046875,21.875 10.15625,21.6992188 10.15625,21.484375 L10.15625,15.625 L14.84375,15.625 L14.84375,21.484375 C14.84375,21.6992188 15.0195313,21.875 15.234375,21.875 L19.921875,21.875 C20.1367188,21.875 20.3125,21.6992188 20.3125,21.484375 L20.3125,10.9375 L22.2265625,10.9375 C22.5976563,10.9375 22.7539063,10.4492188 22.4414063,10.234375 Z" id="路径"></path>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.5 KiB |
16
static/icons/tabbar/my.svg
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>个人</title>
|
||||||
|
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<g id="首页修改" transform="translate(-300.000000, -860.000000)" fill="#444444" fill-rule="nonzero">
|
||||||
|
<g id="底部" transform="translate(0.000000, 853.000000)">
|
||||||
|
<g id="Tab-3" transform="translate(250.000000, 0.000000)">
|
||||||
|
<g id="个人" transform="translate(50.000000, 7.000000)">
|
||||||
|
<rect id="矩形" opacity="0" x="0" y="0" width="24.9756098" height="24.9756098"></rect>
|
||||||
|
<path d="M12.4878049,5.46341463 C11.1940683,5.46341463 10.1463415,6.51239024 10.1463415,7.80487805 L10.1463415,8.8451122 C10.1463415,10.1382667 11.1946503,11.1865756 12.4878049,11.1865756 C13.7809594,11.1865756 14.8292683,10.1382667 14.8292683,8.8451122 L14.8292683,7.80487805 C14.8292683,6.51114146 13.7802927,5.46341463 12.4878049,5.46341463 Z M15.1976585,11.6536195 C18.4090225,12.8004939 20.5526302,15.8424372 20.5524293,19.2524488 C20.5524293,20.2577171 19.7369756,21.0731707 18.7317073,21.0731707 L6.24390244,21.0731707 C5.23834547,21.0731707 4.42318049,20.2580057 4.42318049,19.2524488 C4.42297956,15.8424372 6.56658728,12.8004939 9.77795122,11.6536195 C9.01465278,10.9188471 8.58396957,9.90459938 8.58536585,8.8451122 L8.58536585,7.80487805 C8.58536585,5.64962049 10.3325473,3.90243902 12.4878049,3.90243902 C14.6430624,3.90243902 16.3902439,5.64962049 16.3902439,7.80487805 L16.3902439,8.8451122 C16.3902439,9.94778537 15.9331902,10.9430634 15.1976585,11.6536195 L15.1976585,11.6536195 Z M12.4878049,12.7475512 C10.7627136,12.7475512 9.1082958,13.4329265 7.88858916,14.6528673 C6.66888251,15.8728082 5.98382486,17.5273575 5.98415598,19.2524488 C5.98415598,19.3960585 6.10029268,19.5121951 6.24390244,19.5121951 L18.7317073,19.5121951 C18.8751613,19.5121951 18.9914538,19.3959027 18.9914538,19.2524488 C18.9917849,17.5273575 18.3067272,15.8728082 17.0870206,14.6528673 C15.867314,13.4329265 14.2128962,12.7475512 12.4878049,12.7475512 Z" id="形状"></path>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.3 KiB |
BIN
static/msgV.mp3
Normal file
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@ -5,7 +5,7 @@ import config from '@/config'
|
|||||||
export function tabBarconnect(userId) {
|
export function tabBarconnect(userId) {
|
||||||
console.log("通知socket链接", userId);
|
console.log("通知socket链接", userId);
|
||||||
var socketTask = uni.connectSocket({
|
var socketTask = uni.connectSocket({
|
||||||
url: config.wsUrl + '/websocket/userAnnouncement/' + userId,
|
url: config.wsUrl + '/websocket/announcement/' + userId,
|
||||||
success(res) {
|
success(res) {
|
||||||
|
|
||||||
},
|
},
|
||||||
|