修改今日提出的问题
@ -20,6 +20,7 @@
|
||||
<uni-easyinput
|
||||
:inputBorder="false"
|
||||
:clearable="false"
|
||||
:adjust-position="false"
|
||||
:focus="inputFocus"
|
||||
v-model="sendVal"
|
||||
trim="both"
|
||||
@ -57,6 +58,11 @@
|
||||
inputFocus.value = false
|
||||
nextTick(() => {
|
||||
inputFocus.value = true
|
||||
if (useScoketMsg().msgList.length < 7) {
|
||||
uni.pageScrollTo({
|
||||
offsetTop: 0
|
||||
})
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
@ -172,7 +172,7 @@
|
||||
</view>
|
||||
|
||||
<view class="footer-box">
|
||||
<Apps />
|
||||
<!-- <Apps /> -->
|
||||
<view class="operation-box">
|
||||
<view @click="tabsChange(2)">
|
||||
{{$t('common.sendInquiry')}}
|
||||
@ -214,6 +214,7 @@
|
||||
tabsActive.value = index
|
||||
uni.pageScrollTo({
|
||||
scrollTop: anchorTop.value[index].top,
|
||||
duration: 0
|
||||
})
|
||||
}
|
||||
|
||||
@ -296,6 +297,10 @@
|
||||
}
|
||||
const submit = () => {
|
||||
dataFormRef.value.validate().then(() => {
|
||||
uni.showLoading({
|
||||
title: `${t('common.Loading')}`,
|
||||
mask: true
|
||||
})
|
||||
submitFormApi(dataForm.value).then(() => {
|
||||
uni.$showTost(t('common.submitSuccess'))
|
||||
dataForm.value.name = ''
|
||||
@ -305,6 +310,8 @@
|
||||
dataForm.value.tel = ''
|
||||
dataForm.value.content = ''
|
||||
dataFormRef.value.clearValidate()
|
||||
}).finally(() => {
|
||||
uni.hideLoading()
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 817 B After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 799 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 943 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 661 B |
Before Width: | Height: | Size: 446 B After Width: | Height: | Size: 819 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 676 B |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 893 B |
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 527 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 609 B |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 427 B |
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 731 KiB |
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<view class="suspension-btn">
|
||||
<button @click="emits('clickMsg')">
|
||||
<image src="@/assets/images/icon/msg-box.png"></image>
|
||||
</button>
|
||||
<button @click="emits('ClickTop')">
|
||||
<image src="@/assets/images/icon/top.png"></image>
|
||||
</button>
|
||||
<view @click="emits('clickMsg')">
|
||||
<image src="@/assets/images/icon/msg-box.png" mode="widthFix"></image>
|
||||
</view>
|
||||
<view @click="emits('ClickTop')">
|
||||
<image src="@/assets/images/icon/top.png" mode="widthFix"></image>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
position: fixed;
|
||||
right: 26rpx;
|
||||
bottom: 130rpx;
|
||||
button {
|
||||
view {
|
||||
width: 100%;
|
||||
height: 96rpx;
|
||||
margin-bottom: 20rpx !important;
|
||||
@ -35,16 +35,14 @@
|
||||
background: linear-gradient( 180deg, #FFC157 0%, #FC8815 100%);
|
||||
box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(165,93,31,0.25);
|
||||
image {
|
||||
width: 42rpx;
|
||||
height: 38rpx;
|
||||
width: 56rpx;
|
||||
}
|
||||
}
|
||||
&:last-child {
|
||||
background: linear-gradient( 180deg, #53B0FF 0%, #3573FF 100%);
|
||||
box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(76,109,176,0.25);
|
||||
image {
|
||||
width: 44rpx;
|
||||
height: 44rpx;
|
||||
width: 46rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -59,6 +59,7 @@
|
||||
bottom: -15rpx;
|
||||
transform: translateX(-50%);
|
||||
background: url('@/assets/images/icon/select-common.png') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,7 +56,8 @@
|
||||
"appUpdate": "Updating",
|
||||
"confirm": "confirm",
|
||||
"cancel": "cancel",
|
||||
"KindReminder": "KindReminder"
|
||||
"KindReminder": "KindReminder",
|
||||
"Loading": "Loading"
|
||||
},
|
||||
"menu": {
|
||||
"Home": "Home",
|
||||
|
@ -56,7 +56,8 @@
|
||||
"appUpdate": "更新中",
|
||||
"confirm": "确认",
|
||||
"cancel": "取消",
|
||||
"KindReminder": "温馨提示"
|
||||
"KindReminder": "温馨提示",
|
||||
"Loading": "加载中"
|
||||
},
|
||||
"menu": {
|
||||
"Home": "首页",
|
||||
|
@ -220,6 +220,10 @@
|
||||
}
|
||||
const submit = () => {
|
||||
dataFormRef.value.validate().then(() => {
|
||||
uni.showLoading({
|
||||
title: `${t('common.Loading')}`,
|
||||
mask: true
|
||||
})
|
||||
submitFormApi(dataForm.value).then(() => {
|
||||
uni.$showTost(t('common.submitSuccess'))
|
||||
dataForm.value.name = ''
|
||||
@ -229,6 +233,8 @@
|
||||
dataForm.value.tel = ''
|
||||
dataForm.value.content = ''
|
||||
dataFormRef.value.clearValidate()
|
||||
}).finally(() => {
|
||||
uni.hideLoading()
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 921 B |
Before Width: | Height: | Size: 551 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 950 B |
Before Width: | Height: | Size: 571 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 750 B |
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 1.1 KiB |
@ -177,6 +177,9 @@ export const useAppUpdate = defineStore('appUpdate', () => {
|
||||
const callback = ref(null)
|
||||
|
||||
const getAppInfo = () => {
|
||||
// #ifdef H5
|
||||
return
|
||||
// #endif
|
||||
if (loading.value) {
|
||||
return
|
||||
}
|
||||
|
@ -12,11 +12,8 @@ $http.interceptors.request.use(async (config) => { // 可使用async await 做
|
||||
config.header = {
|
||||
...config.header
|
||||
}
|
||||
config.params = {...config.params, tenantId: 'main'}
|
||||
uni.showLoading({
|
||||
title: '加载中...',
|
||||
mask: true
|
||||
})
|
||||
config.params = {...config.params, tenantId: 'main',equipment: 'App'}
|
||||
config.data = {...config.data, tenantId: 'main', equipment: 'App'}
|
||||
return config
|
||||
|
||||
}, config => { // 可使用async await 做异步操作
|
||||
@ -25,7 +22,6 @@ $http.interceptors.request.use(async (config) => { // 可使用async await 做
|
||||
|
||||
// 响应拦截器
|
||||
$http.interceptors.response.use((response) => {
|
||||
uni.hideLoading()
|
||||
switch(response.data.code) {
|
||||
case 200:
|
||||
break;
|
||||
|