Commit 6dd3c83b by Lyan

bug 修改

parent 867a0b76
......@@ -44,6 +44,10 @@ const geGuideDetailById = (params = {}) => {
const getPictureById = (params = {}) => {
return GET(`${Prefix}/office/picture/api/info/${params.id}`)
}
// 图片集根据id获取详情flag=2
const getPictureById2 = (params = {}) => {
return GET(`${Prefix}/office/retailpicture/api/info/${params.id}`)
}
// 获取最新动态列表
const getLatestNews = (params = {}) => {
......@@ -58,6 +62,7 @@ export default {
geDetailById,
geGuideDetailById,
getPictureById,
getPictureById2,
getLatestNews,
getPicture
}
\ No newline at end of file
......@@ -40,7 +40,7 @@
<li v-if="loginInfo.isQY === 2">
<p class="content-title">
厂商实名认证(办理“进口商品信息通报、GLN”等业务需先完成此认证)
<label :style="tycpdmFirmInfo.logoutFlag === 0?'color: #50c96b':'color: #ff0033'">{{tycpdmFirmInfo.logoutFlag === 0 ? '(审核中)' : tycpdmFirmInfo.logoutFlag === 2 ? '(审核不通过)' : ''}}</label>
<!-- <label :style="tycpdmFirmInfo.logoutFlag === 0?'color: #50c96b':'color: #ff0033'">{{tycpdmFirmInfo.logoutFlag === 0 ? '(审核中)' : tycpdmFirmInfo.logoutFlag === 2 ? '(审核不通过)' : ''}}</label> -->
</p>
<p>1、进口商品数据服务</p>
<p class="list-cnt">
......
......@@ -136,6 +136,9 @@ export default {
display: flex;
flex-wrap: wrap;
margin-top: 30px;
justify-content: space-between;
display: grid;
grid-template-columns: repeat(auto-fill, 187px);
li {
width: 216px;
background: #ffffff;
......
......@@ -133,9 +133,11 @@ export default {
margin: 0;
}
.picNews-ul {
display: flex;
flex-wrap: wrap;
margin-top: 30px;
justify-content: space-between;
display: grid;
grid-template-columns: repeat(auto-fill, 187px);
li {
width: 216px;
background: #ffffff;
......
......@@ -431,6 +431,7 @@ export default {
query: {
id: item.pictureid,
preTitle: '图片集',
flag:item.flag
}
});
}
......
......@@ -50,7 +50,13 @@ export default {
listRes = await this.$api.sell.geGuideDetailById(params);
} else if (this.preTitle === '图片集') {
console.log(333);
let flag=this.$route.query && this.$route.query.flag ? this.$route.query.flag : '';
if(flag==2){
listRes = await this.$api.sell.getPictureById2(params);
}else{
listRes = await this.$api.sell.getPictureById(params);
}
} else {
console.log(222);
listRes = await this.$api.sell.geDetailById(params);
......
......@@ -6,7 +6,7 @@
<div class="picNews-bottom">
<div class="container">
<ul class="picNews-ul">
<li v-for="(tmp, i) in tableResult.list" :key="i" @click="getInfo(tmp.pictureid,tmp.jumppath)">
<li v-for="(tmp, i) in tableResult.list" :key="i" @click="getInfo(tmp.pictureid,tmp.jumppath)" >
<div class="picNews-li-tp">
<img :src="tmp.picFile" alt="" />
</div>
......@@ -117,11 +117,17 @@ export default {
padding: 0;
margin: 0;
}
.picNews-ul {
display: flex;
flex-wrap: wrap;
margin-top: 30px;
justify-content: space-between;
display: grid;
grid-template-columns: repeat(auto-fill, 187px);
li {
width: 187px;
background: #ffffff;
border-radius: 4px;
......
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