拆分发布商品代码

This commit is contained in:
mabo
2021-07-05 16:08:12 +08:00
parent c403fce786
commit 9b9295ea94
8 changed files with 1342 additions and 1474 deletions

View File

@@ -90,7 +90,7 @@
<template v-if="detail.goodsParamsDTOList && detail.goodsParamsDTOList.length">
<div class="goods-params" v-for="item in detail.goodsParamsDTOList" :key="item.groupId">
<span class="ml_10">{{item.groupName}}</span>
<table class="mb_10" cellpadding='0' border="1" cellspacing="0" >
<table class="mb_10" cellpadding='0' cellspacing="0" >
<tr v-for="param in item.goodsParamsItemDTOList" :key="param.paramId">
<td style="text-align:right">{{param.paramName}}</td><td>{{param.paramValue}}</td>
</tr>
@@ -491,12 +491,13 @@ export default {
table{
border-color:#efefef;
color: #999;
min-width: 30%;
width: 40%;
margin-left: 10px;
margin-bottom: 10px;
font-size: 12px;
tr{
td:nth-child(1){
min-width: 70px;
width: 70px;
}
td:nth-child(2){
padding-left: 10px;

View File

@@ -17,15 +17,15 @@ export default {
* @description api请求基础路径
*/
api_dev: {
// common: 'http://192.168.0.100:8890',
// buyer: 'http://192.168.0.100:8888',
// seller: 'http://192.168.0.100:8889',
// manager: 'http://192.168.0.100:8887'
common: 'http://192.168.0.105:8890',
buyer: 'http://192.168.0.105:8888',
seller: 'http://192.168.0.105:8889',
manager: 'http://192.168.0.105:8887'
common: 'https://common-api.pickmall.cn',
buyer: 'https://buyer-api.pickmall.cn',
seller: 'https://store-api.pickmall.cn',
manager: 'https://admin-api.pickmall.cn'
// common: 'https://common-api.pickmall.cn',
// buyer: 'https://buyer-api.pickmall.cn',
// seller: 'https://store-api.pickmall.cn',
// manager: 'https://admin-api.pickmall.cn'
},
api_prod: {
common: 'https://common-api.pickmall.cn',

View File

@@ -5,11 +5,8 @@
<div v-if="list.length">
<template v-for="(item) in list">
<div class="goodsItem" :key="item.skuId">
<div class="goodsImg hover-pointer">
<img
:src="params.type === 'GOODS'? item.image : item.logo"
alt=""
/>
<div class="goodsImg hover-pointer" v-if="params.type === 'GOODS'">
<img :src="item.image" />
</div>
<div class="goodsTitle hover-pointer">
{{params.type === 'GOODS'? item.goodsName : item.storeName}}