...
|
...
|
@@ -125,11 +125,11 @@ |
|
|
var html = ""
|
|
|
var htmls = ""
|
|
|
for (var n in data.goods) {
|
|
|
|
|
|
for(var j in data.goods[n].tag){
|
|
|
|
|
|
for (var j in data.goods[n].tag) {
|
|
|
htmls += `<span>
|
|
|
<img src="${data.goods[n].tag[j].url}">${data.goods[n].tag[j].text}</span>`
|
|
|
|
|
|
|
|
|
}
|
|
|
html += `<li data-good_id="${data.goods[n].good_id}">
|
|
|
<a href="#" >
|
...
|
...
|
@@ -148,10 +148,17 @@ |
|
|
<p class="price">¥${data.goods[n].real_price}</p>
|
|
|
</div>
|
|
|
</li>`
|
|
|
htmls = ""
|
|
|
htmls = ""
|
|
|
}
|
|
|
console.log(htmls)
|
|
|
$(".remg").html(html)
|
|
|
// 相关服务
|
|
|
var htmlTwo = ""
|
|
|
for(let n in data.related_service){
|
|
|
|
|
|
}
|
|
|
// $(".capart2 .camg .center")
|
|
|
|
|
|
} else if (res.code == 0) {
|
|
|
let loading = weui.loading(res.msg)
|
|
|
setTimeout(function () {
|
...
|
...
|
|