[最新更新]

This commit is contained in:
2024-03-04 15:13:17 +08:00
parent 51a04d53ce
commit ee98f5921d
42 changed files with 1853 additions and 74 deletions

View File

@@ -88,8 +88,8 @@ Page({
mask : true
})
wx.request({
// url : 'https://api.xhtest.douhuofalv.com/api/mall/goods/' + this.data.goodsId,
url : 'https://api.xuanhuojk.com/api/mall/goods/' + this.data.goodsId,
url : 'https://api.xhtest.douhuofalv.com/api/mall/goods/' + this.data.goodsId,
// url : 'https://api.xuanhuojk.com/api/mall/goods/' + this.data.goodsId,
header : {
"Accept" : "application/json",
"channel" : "client",
@@ -138,9 +138,12 @@ Page({
this.setData({
[temp1]: valueid
})
let newlist = []
let str = ''
for (var i in this.data.specselect) {
console.log(this.data.specselect)
if (i == index) {
newlist.push(valueid);
if (i == 0) {
@@ -164,6 +167,8 @@ Page({
})
break;
}
console.log(this.data.selectSkusValues)
}
this.setData({
specselect: newlist