fix: 联调白模

This commit is contained in:
wam
2022-12-24 15:21:40 +08:00
parent f835ab8e4b
commit 7a5288e4a6
12 changed files with 208 additions and 57 deletions

View File

@@ -193,29 +193,38 @@ const factorys = [
{
type: THREE_D_TYPE.EMPTY_3D,
build(data){
var url = data.fileList[0].response.url;
var key = new Date().getTime();
return {
...data,
"planetid": "ware1-1",
"name": "伊利",
"surveyWare": {
"id": "ware1-1",
"type": 1,
"commodity": {
"url": ""
},
"texture": null,
"urlThumb": ""
data: {
"id": `model-${key}`,
"name": `${data.title}`,
"url":url,
"urlThumb": "",
"uvGroup": "uv0001"
},
"surveyLogo": "",
"surveyPrice": 190
};
}
},
{
type: THREE_D_TYPE.CHARTLET,
build(data){
var url = data.fileList[0].response.url;
var key = new Date().getTime();
return {
...data
...data,
data: {
"id": `texture-${key}`,
"name": `${data.title}`,
"relUvGroup": "uv0001",
"url": url,
"urlSmall": url,
"relCommodityId": "vB8DxY"
}
};
}
},