|
@@ -39,26 +39,31 @@ Page({
|
|
|
{
|
|
|
url:'/',
|
|
|
icon:'icon-dingzhijiaju',
|
|
|
+ src:'../../images/news/nav_01.png',
|
|
|
text:'杯类'
|
|
|
},
|
|
|
{
|
|
|
url: '/',
|
|
|
icon: 'icon-dingzhijiaju',
|
|
|
+ src: '../../images/news/nav_02.png',
|
|
|
text: '行李箱'
|
|
|
},
|
|
|
{
|
|
|
url: '/',
|
|
|
icon: 'icon-dingzhijiaju',
|
|
|
+ src: '../../images/news/nav_03.png',
|
|
|
text: '手机壳'
|
|
|
},
|
|
|
{
|
|
|
url: '/',
|
|
|
icon: 'icon-dingzhijiaju',
|
|
|
+ src: '../../images/news/nav_04.png',
|
|
|
text: '板画'
|
|
|
},
|
|
|
{
|
|
|
url: '/',
|
|
|
icon: 'icon-dingzhijiaju',
|
|
|
+ src: '../../images/news/nav_05.png',
|
|
|
text: '包袋'
|
|
|
}
|
|
|
],
|
|
@@ -88,6 +93,14 @@ Page({
|
|
|
href: '/pages/patternMenu/patternMenu'
|
|
|
}
|
|
|
],
|
|
|
+ specArray:[
|
|
|
+ {
|
|
|
+ src:'../../images/news/spec_01.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ src: '../../images/news/spec_02.png'
|
|
|
+ }
|
|
|
+ ],
|
|
|
navList:["推荐","中秋","改良生活","优化办公","智能科技"],
|
|
|
firstActive: "header_nav_active",
|
|
|
currentItem : '',
|
|
@@ -473,6 +486,7 @@ Page({
|
|
|
page:1,
|
|
|
})
|
|
|
that.getGoodsNews(that)
|
|
|
+ that.getSpecList()
|
|
|
if (wx.getStorageSync('channelIdObj').channelId) {
|
|
|
that.setData({
|
|
|
loginStatic: true,
|
|
@@ -486,6 +500,18 @@ Page({
|
|
|
url : "/pages/find/index"
|
|
|
})
|
|
|
},
|
|
|
+ getSpecList(){
|
|
|
+ wx.request({
|
|
|
+ url: host+'/classifyapi/classifyTwoAll',
|
|
|
+ method:'get',
|
|
|
+ data:{
|
|
|
+ classifyHigher:3072
|
|
|
+ },
|
|
|
+ success:function(res){
|
|
|
+ console.log(res)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
onReachBottom(){
|
|
|
var that = this;
|
|
|
if (that.data.requestState) {
|