Commit b5770471 authored by chuan.liu's avatar chuan.liu

创意酒api处理

parent 733dc164
......@@ -149,32 +149,32 @@
"Action": "guanying.customcategory.list.get",
...this.signParams
}
// const res = await apiGetCategory(params)
const res2 = {
Data: {
CategoryList: [{
TemplateCategoryID: "7",
CategoryName: "婚庆定制"
},
{
TemplateCategoryID: "8",
CategoryName: "商务科技"
},
{
TemplateCategoryID: "9",
CategoryName: "宴会类别"
},
{
TemplateCategoryID: "10",
CategoryName: "自定义"
}
],
GoodsImage: "http://att.c0331.dev.guanyingyun.com/attachment/works/frontimagepath/2022/03/28/16484637403730.png",
},
ErrCode: "0",
ErrMsg: "",
Status: "Success"
}
const res2 = await apiGetCategory(params)
// const res2 = {
// Data: {
// CategoryList: [{
// TemplateCategoryID: "7",
// CategoryName: "婚庆定制"
// },
// {
// TemplateCategoryID: "8",
// CategoryName: "商务科技"
// },
// {
// TemplateCategoryID: "9",
// CategoryName: "宴会类别"
// },
// {
// TemplateCategoryID: "10",
// CategoryName: "自定义"
// }
// ],
// GoodsImage: "http://att.c0331.dev.guanyingyun.com/attachment/works/frontimagepath/2022/03/28/16484637403730.png",
// },
// ErrCode: "0",
// ErrMsg: "",
// Status: "Success"
// }
this.tabs = res2.Data.CategoryList
this.goodsBottleImage = res2.Data.GoodsImage
this.activeTabItem = res2.Data.CategoryList[0]
......@@ -188,34 +188,34 @@
},
async getCategoryDetail() {
const params = {
"OutsideGoodsID": "432608038931800064",
"Action": "guanying.customtemplate.list.get",
"OutsideGoodsID": "432608038931800064",
"TemplateCategoryID": this.activeTabItem.TemplateCategoryID,
"PageID": "1",
"Pagesize": "100",
"Pagesize": "99",
...this.signParams
}
const res = await apiGetCategoryDetail(params)
const res2 = {
Data: [{
"TemplateID": "2",
"OriginImageWidth": "803",
"OriginImageHeight": "2516",
"OriginImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/52Origin08.png",
"ThumbImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/Thumb08.png",
}, {
"TemplateID": "2",
"OriginImageWidth": "803",
"OriginImageHeight": "2516",
"OriginImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/52Origin08.png",
"ThumbImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/Thumb08.png",
}],
ErrCode: "0",
ErrMsg: "",
Status: "Success"
}
const res2 = await apiGetCategoryDetail(params)
// const res2 = {
// Data: [{
// "TemplateID": "2",
// "OriginImageWidth": "803",
// "OriginImageHeight": "2516",
// "OriginImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/52Origin08.png",
// "ThumbImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/Thumb08.png",
// }, {
// "TemplateID": "2",
// "OriginImageWidth": "803",
// "OriginImageHeight": "2516",
// "OriginImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/52Origin08.png",
// "ThumbImagePath": "https://att.wuliangcreart.com/attachment/works/custom/2019/08/02/Thumb08.png",
// }],
// ErrCode: "0",
// ErrMsg: "",
// Status: "Success"
// }
this.templateCategoryDetail = res2.Data
},
......@@ -230,24 +230,24 @@
"Action": "guanying.goodstemplate.detail.query",
...this.signParams
}
const res = await apiGetCategoryDetailById(params)
const res2 = {
Data: {
"TemplateID": '1',
"ThumbImagePath": '',
"OriginImagePath": '',
"OriginImageWidth": '',
"OriginImageHeight": '',
"ConfigContent": {
"InitImgList": [{
"imgID": 1
}],
},
},
ErrCode: "0",
ErrMsg: "",
Status: "Success"
}
const res2 = await apiGetCategoryDetailById(params)
// const res2 = {
// Data: {
// "TemplateID": '1',
// "ThumbImagePath": '',
// "OriginImagePath": '',
// "OriginImageWidth": '',
// "OriginImageHeight": '',
// "ConfigContent": {
// "InitImgList": [{
// "imgID": 1
// }],
// },
// },
// ErrCode: "0",
// ErrMsg: "",
// Status: "Success"
// }
this.activeTemplateItemDetail = res2.Data.ConfigContent.InitImgList[0]
},
async handleSave() {
......
......@@ -48,7 +48,7 @@
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode="aspectFit"></image>
</view>
</view>
<view class="text-block" v-if="condition.ZZFLD000099===1">
<view class="text-block">
<text class="middle-date">喷码方式</text>
<view class="middle-date-des uni-list picker-year">
<view class="uni-list-cell">
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment