Commit a950f4b4 by 前端

图标

1 parent 81f5bec4
......@@ -50,12 +50,6 @@ if (systemInfo.platform != "devtools") {
export const env = envName;
export const envIndex = index;
export const ALIYUN = {
AKID: "LTAI5tJday6R4sng1jgrgH3N",
AKKEY: "TWvwaQqwjxw7Tj7RlnTxyEXjOjQgFh",
APPKEY: "a1HmjrmQNv6yT8zb",
URL: "wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1",
};
const createQuotedUrl = {
develop: `http://192.168.1.178:9528/dj-scrm-wx-work-main-zhangls/#/equityPoster?id=`,
trial: `http://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=`,
......@@ -69,6 +63,18 @@ const scoketURL = {
preRelease: `ws://192.168.3.191:7865`,
};
const target = ["ip", "develop", "trial", "release", "preRelease"];
const ALIYUN_LIST = [{
AKID: "LTAI5tJday6R4sng1jgrgH3N", //个人
AKKEY: "TWvwaQqwjxw7Tj7RlnTxyEXjOjQgFh",
APPKEY: "a1HmjrmQNv6yT8zb",
URL: "wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1",
}, {
AKID: "LTAI5tJday6R4sng1jgrgH3N", //公司
AKKEY: "TWvwaQqwjxw7Tj7RlnTxyEXjOjQgFh",
APPKEY: "a1HmjrmQNv6yT8zb",
URL: "wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1",
}];
export const ALIYUN = envIndex == 3 ? ALIYUN_LIST[1] : ALIYUN_LIST[0]
// 报价单图片地址
export const quotedImgUrl = createQuotedUrl[target[envIndex]];
export const scoket_url = scoketURL[target[envIndex]];
......@@ -78,4 +84,4 @@ export const dsnUrl =
// 图片基地址
export const ImgUrl =
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat";
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat";
\ No newline at end of file
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs"
}
}
\ No newline at end of file
......@@ -56,7 +56,7 @@ export default {
getSparringDetail(data) {
return api.post(
"dj.api.carboutique.fun.sparring.record.detail",
data,[],"/rop-dj-pairexc/router",'scrm'
data,[],"/rop-dj-pairexc/router"
);
},
/**
......@@ -65,7 +65,7 @@ export default {
getSparringPage(data) {
return api.post(
"dj.api.carboutique.fun.sparring.record.page",
data,[],"/rop-dj-pairexc/router",'scrm'
data,[],"/rop-dj-pairexc/router"
);
},
/**
......@@ -74,7 +74,7 @@ export default {
setSparringSave(data) {
return api.post(
"dj.api.carboutique.fun.sparring.record.save",
data,[],"/rop-dj-pairexc/router",'scrm'
data,[],"/rop-dj-pairexc/router"
);
},
}
\ No newline at end of file
......@@ -465,7 +465,20 @@ Page({
*/
onUnload() {
duration = 0
clearInterval(timer)
clearInterval(timer);
this.deleteAudio()
},
deleteAudio() {
const audioBox = this.selectComponent('#audioBox');
const chatList = audioBox.data.list;
chatList.forEach(item=>{
if(item.filePath) {
wx.removeSavedFile({
filePath:item.filePath
})
}
})
},
/**
......
......@@ -682,7 +682,7 @@ Component({
if (index_d == -1)
newMenuList.push({
menuText: 'D+趣练',
icon: 'ai_excercise',
icon: 'ai_check',
path: 'packageEquity.start',
default: true,
})
......
......@@ -74,8 +74,7 @@ const domain_items = {
},
uat: {
dj: "https://dj.test.glsx.com.cn",
// scrm: "https://scrm.test.glsx.com.cn",
scrm: "http://192.168.3.226:9585",
scrm: "https://scrm.test.glsx.com.cn",
AI: 'http://192.168.3.191:7864',
merchants: "https://rop-merchant.test.glsx.com.cn",
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!