This commit is contained in:
GaoHao
2025-03-10 17:26:39 +08:00
parent 490c513f48
commit cc97b6acca
26 changed files with 258 additions and 305 deletions

View File

@@ -40,7 +40,7 @@
</view>
</view>
<view class="u-m-t-24">
<template v-if="data.skuList.length>=1">
<template v-if="data.type == 'sku' && data.skuList.length>=1">
<view class="u-flex u-flex-wrap w-full gap-10 u-col-top" :style="skuStyle">
<view class="u-font-24 info-p-l u-m-t-6">规格</view>
<view class="skd" v-for="(item,index) in data.skuList" :key="index"

View File

@@ -135,7 +135,7 @@
$updateProductData
} from "@/http/yskApi/goods.js"
import {
getProductList,
getProductPage,
getCategoryList,
updateProduct
} from '@/api/product.js'
@@ -223,7 +223,7 @@
*/
function getGoodsList() {
pageData.hasAjax = false
getProductList(pageData.query).then(res => {
getProductPage(pageData.query).then(res => {
pageData.hasAjax = true
pageData.goodsList = res.records.map(v => {
return {