更新
This commit is contained in:
parent
0b6d442840
commit
dc9ab1589e
@ -3,6 +3,9 @@ module.exports = {
|
|||||||
baseUrl: 'http://10.16.13.40:8880/',
|
baseUrl: 'http://10.16.13.40:8880/',
|
||||||
wsUrl:'ws://10.16.13.40:8880',
|
wsUrl:'ws://10.16.13.40:8880',
|
||||||
imagesUrl: 'http://192.168.1.5:8880',
|
imagesUrl: 'http://192.168.1.5:8880',
|
||||||
|
// baseUrl: 'http://192.168.1.36:8880/',
|
||||||
|
// wsUrl:'ws://192.168.1.36:8880',
|
||||||
|
// imagesUrl: 'http://192.168.1.36:8880',
|
||||||
peopleIcon:'http://47.243.63.30:88/resource/行人.png',
|
peopleIcon:'http://47.243.63.30:88/resource/行人.png',
|
||||||
varStop:'http://47.243.63.30:88/resource/途径站点.png',
|
varStop:'http://47.243.63.30:88/resource/途径站点.png',
|
||||||
endStopIcon:'http://47.243.63.30:88/resource/公交终点.png',
|
endStopIcon:'http://47.243.63.30:88/resource/公交终点.png',
|
||||||
@ -14,6 +17,7 @@ module.exports = {
|
|||||||
payUrl:'http://47.243.63.30:88/resource/payInfo.html',
|
payUrl:'http://47.243.63.30:88/resource/payInfo.html',
|
||||||
publicUrl:'http://flintown.cn:8080/',
|
publicUrl:'http://flintown.cn:8080/',
|
||||||
taxiIcon:'http://47.243.63.30:88/resource/e.png',
|
taxiIcon:'http://47.243.63.30:88/resource/e.png',
|
||||||
|
translatorImageUploadUrl:'http://47.243.63.30:8080/v1/files/upload',
|
||||||
|
|
||||||
// 应用信息
|
// 应用信息
|
||||||
appInfo: {
|
appInfo: {
|
||||||
|
@ -82,9 +82,9 @@
|
|||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<submit @inputs="inputs" @heights="heights" :title="this.info.title"></submit>
|
<submit @inputs="inputs" @heights="heights" :title="this.info.title"></submit>
|
||||||
<u-picker :show="langShow" ref="langPicker" :defaultIndex="[11]" :columns="columns" @confirm="langConfirm"
|
<u-picker :show="langShow" ref="langPicker" :defaultIndex="langIndex" :columns="columns" @confirm="langConfirm"
|
||||||
@cancel="langCancel"></u-picker>
|
@cancel="langCancel"></u-picker>
|
||||||
<u-picker :show="sayLangShow" ref="langPicker" :defaultIndex="[1]" keyName="label" :columns="[sayLangColumns]"
|
<u-picker :show="sayLangShow" ref="langPicker" :defaultIndex="sayLangIndex" keyName="label" :columns="[sayLangColumns]"
|
||||||
@confirm="sayLangConfirm"
|
@confirm="sayLangConfirm"
|
||||||
@cancel="sayLangCancel"></u-picker>
|
@cancel="sayLangCancel"></u-picker>
|
||||||
</view>
|
</view>
|
||||||
@ -115,6 +115,8 @@ export default {
|
|||||||
//是否长按事件
|
//是否长按事件
|
||||||
timer: null,//长按计时器
|
timer: null,//长按计时器
|
||||||
show: '0',
|
show: '0',
|
||||||
|
sayLangIndex : [1],
|
||||||
|
langIndex: [11],
|
||||||
columns: [
|
columns: [
|
||||||
['Arabic-阿拉伯语',
|
['Arabic-阿拉伯语',
|
||||||
'German-德语',
|
'German-德语',
|
||||||
@ -894,8 +896,8 @@ page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sm-text {
|
.sm-text {
|
||||||
font-size: 12px;
|
font-size: 20rpx;
|
||||||
margin-left: 5px;
|
//margin-left: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
line-height: 29px;
|
line-height: 29px;
|
||||||
|
@ -64,6 +64,7 @@ import {pathToBase64, base64ToPath} from 'image-tools';
|
|||||||
import request from '../../../utils/request'
|
import request from '../../../utils/request'
|
||||||
import {fileToBase64} from '@/uni_modules/lime-file-utils'
|
import {fileToBase64} from '@/uni_modules/lime-file-utils'
|
||||||
import upload from "@/utils/upload";
|
import upload from "@/utils/upload";
|
||||||
|
import config from "@/config";
|
||||||
// 录音
|
// 录音
|
||||||
const recorderManager = uni.getRecorderManager();
|
const recorderManager = uni.getRecorderManager();
|
||||||
|
|
||||||
@ -79,7 +80,8 @@ export default {
|
|||||||
// 直接引用地址可能出不来,需要用require
|
// 直接引用地址可能出不来,需要用require
|
||||||
toc: "/static/chat/language.png",
|
toc: "/static/chat/language.png",
|
||||||
timer: '', //计时器
|
timer: '', //计时器
|
||||||
vlength: 0
|
vlength: 0,
|
||||||
|
translatorImageUploadUrl: config.translatorImageUploadUrl,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
Loading…
Reference in New Issue
Block a user