修改今日提出的问题
@ -20,6 +20,7 @@
|
|||||||
<uni-easyinput
|
<uni-easyinput
|
||||||
:inputBorder="false"
|
:inputBorder="false"
|
||||||
:clearable="false"
|
:clearable="false"
|
||||||
|
:adjust-position="false"
|
||||||
:focus="inputFocus"
|
:focus="inputFocus"
|
||||||
v-model="sendVal"
|
v-model="sendVal"
|
||||||
trim="both"
|
trim="both"
|
||||||
@ -57,6 +58,11 @@
|
|||||||
inputFocus.value = false
|
inputFocus.value = false
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
inputFocus.value = true
|
inputFocus.value = true
|
||||||
|
if (useScoketMsg().msgList.length < 7) {
|
||||||
|
uni.pageScrollTo({
|
||||||
|
offsetTop: 0
|
||||||
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -172,7 +172,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="footer-box">
|
<view class="footer-box">
|
||||||
<Apps />
|
<!-- <Apps /> -->
|
||||||
<view class="operation-box">
|
<view class="operation-box">
|
||||||
<view @click="tabsChange(2)">
|
<view @click="tabsChange(2)">
|
||||||
{{$t('common.sendInquiry')}}
|
{{$t('common.sendInquiry')}}
|
||||||
@ -214,6 +214,7 @@
|
|||||||
tabsActive.value = index
|
tabsActive.value = index
|
||||||
uni.pageScrollTo({
|
uni.pageScrollTo({
|
||||||
scrollTop: anchorTop.value[index].top,
|
scrollTop: anchorTop.value[index].top,
|
||||||
|
duration: 0
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -296,6 +297,10 @@
|
|||||||
}
|
}
|
||||||
const submit = () => {
|
const submit = () => {
|
||||||
dataFormRef.value.validate().then(() => {
|
dataFormRef.value.validate().then(() => {
|
||||||
|
uni.showLoading({
|
||||||
|
title: `${t('common.Loading')}`,
|
||||||
|
mask: true
|
||||||
|
})
|
||||||
submitFormApi(dataForm.value).then(() => {
|
submitFormApi(dataForm.value).then(() => {
|
||||||
uni.$showTost(t('common.submitSuccess'))
|
uni.$showTost(t('common.submitSuccess'))
|
||||||
dataForm.value.name = ''
|
dataForm.value.name = ''
|
||||||
@ -305,6 +310,8 @@
|
|||||||
dataForm.value.tel = ''
|
dataForm.value.tel = ''
|
||||||
dataForm.value.content = ''
|
dataForm.value.content = ''
|
||||||
dataFormRef.value.clearValidate()
|
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>
|
<template>
|
||||||
<view class="suspension-btn">
|
<view class="suspension-btn">
|
||||||
<button @click="emits('clickMsg')">
|
<view @click="emits('clickMsg')">
|
||||||
<image src="@/assets/images/icon/msg-box.png"></image>
|
<image src="@/assets/images/icon/msg-box.png" mode="widthFix"></image>
|
||||||
</button>
|
</view>
|
||||||
<button @click="emits('ClickTop')">
|
<view @click="emits('ClickTop')">
|
||||||
<image src="@/assets/images/icon/top.png"></image>
|
<image src="@/assets/images/icon/top.png" mode="widthFix"></image>
|
||||||
</button>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -23,7 +23,7 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
right: 26rpx;
|
right: 26rpx;
|
||||||
bottom: 130rpx;
|
bottom: 130rpx;
|
||||||
button {
|
view {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 96rpx;
|
height: 96rpx;
|
||||||
margin-bottom: 20rpx !important;
|
margin-bottom: 20rpx !important;
|
||||||
@ -35,16 +35,14 @@
|
|||||||
background: linear-gradient( 180deg, #FFC157 0%, #FC8815 100%);
|
background: linear-gradient( 180deg, #FFC157 0%, #FC8815 100%);
|
||||||
box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(165,93,31,0.25);
|
box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(165,93,31,0.25);
|
||||||
image {
|
image {
|
||||||
width: 42rpx;
|
width: 56rpx;
|
||||||
height: 38rpx;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:last-child {
|
&:last-child {
|
||||||
background: linear-gradient( 180deg, #53B0FF 0%, #3573FF 100%);
|
background: linear-gradient( 180deg, #53B0FF 0%, #3573FF 100%);
|
||||||
box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(76,109,176,0.25);
|
box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(76,109,176,0.25);
|
||||||
image {
|
image {
|
||||||
width: 44rpx;
|
width: 46rpx;
|
||||||
height: 44rpx;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,6 +59,7 @@
|
|||||||
bottom: -15rpx;
|
bottom: -15rpx;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
background: url('@/assets/images/icon/select-common.png') no-repeat;
|
background: url('@/assets/images/icon/select-common.png') no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -56,7 +56,8 @@
|
|||||||
"appUpdate": "Updating",
|
"appUpdate": "Updating",
|
||||||
"confirm": "confirm",
|
"confirm": "confirm",
|
||||||
"cancel": "cancel",
|
"cancel": "cancel",
|
||||||
"KindReminder": "KindReminder"
|
"KindReminder": "KindReminder",
|
||||||
|
"Loading": "Loading"
|
||||||
},
|
},
|
||||||
"menu": {
|
"menu": {
|
||||||
"Home": "Home",
|
"Home": "Home",
|
||||||
|
|||||||
@ -56,7 +56,8 @@
|
|||||||
"appUpdate": "更新中",
|
"appUpdate": "更新中",
|
||||||
"confirm": "确认",
|
"confirm": "确认",
|
||||||
"cancel": "取消",
|
"cancel": "取消",
|
||||||
"KindReminder": "温馨提示"
|
"KindReminder": "温馨提示",
|
||||||
|
"Loading": "加载中"
|
||||||
},
|
},
|
||||||
"menu": {
|
"menu": {
|
||||||
"Home": "首页",
|
"Home": "首页",
|
||||||
|
|||||||
@ -220,6 +220,10 @@
|
|||||||
}
|
}
|
||||||
const submit = () => {
|
const submit = () => {
|
||||||
dataFormRef.value.validate().then(() => {
|
dataFormRef.value.validate().then(() => {
|
||||||
|
uni.showLoading({
|
||||||
|
title: `${t('common.Loading')}`,
|
||||||
|
mask: true
|
||||||
|
})
|
||||||
submitFormApi(dataForm.value).then(() => {
|
submitFormApi(dataForm.value).then(() => {
|
||||||
uni.$showTost(t('common.submitSuccess'))
|
uni.$showTost(t('common.submitSuccess'))
|
||||||
dataForm.value.name = ''
|
dataForm.value.name = ''
|
||||||
@ -229,6 +233,8 @@
|
|||||||
dataForm.value.tel = ''
|
dataForm.value.tel = ''
|
||||||
dataForm.value.content = ''
|
dataForm.value.content = ''
|
||||||
dataFormRef.value.clearValidate()
|
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 callback = ref(null)
|
||||||
|
|
||||||
const getAppInfo = () => {
|
const getAppInfo = () => {
|
||||||
|
// #ifdef H5
|
||||||
|
return
|
||||||
|
// #endif
|
||||||
if (loading.value) {
|
if (loading.value) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,11 +12,8 @@ $http.interceptors.request.use(async (config) => { // 可使用async await 做
|
|||||||
config.header = {
|
config.header = {
|
||||||
...config.header
|
...config.header
|
||||||
}
|
}
|
||||||
config.params = {...config.params, tenantId: 'main'}
|
config.params = {...config.params, tenantId: 'main',equipment: 'App'}
|
||||||
uni.showLoading({
|
config.data = {...config.data, tenantId: 'main', equipment: 'App'}
|
||||||
title: '加载中...',
|
|
||||||
mask: true
|
|
||||||
})
|
|
||||||
return config
|
return config
|
||||||
|
|
||||||
}, config => { // 可使用async await 做异步操作
|
}, config => { // 可使用async await 做异步操作
|
||||||
@ -25,7 +22,6 @@ $http.interceptors.request.use(async (config) => { // 可使用async await 做
|
|||||||
|
|
||||||
// 响应拦截器
|
// 响应拦截器
|
||||||
$http.interceptors.response.use((response) => {
|
$http.interceptors.response.use((response) => {
|
||||||
uni.hideLoading()
|
|
||||||
switch(response.data.code) {
|
switch(response.data.code) {
|
||||||
case 200:
|
case 200:
|
||||||
break;
|
break;
|
||||||
|
|||||||