diff --git a/config/app.js b/config/app.js index e87e172..5dc8628 100644 --- a/config/app.js +++ b/config/app.js @@ -6,8 +6,8 @@ let VUE_APP_WS_URL = `ws://${location.hostname}?type=user` let openPlantGrass = '-openPlantGrass-' // 网络接口修改此字符 小程序域名要求https -let httpApi = 'http://many.shop.lo' //测试 -// let httpApi = 'https://plus.hwms.shop' //生产 +// let httpApi = 'http://many.shop.lo' //测试 +let httpApi = 'https://plus.hwms.shop' //生产 // 聊天接口修改此字符 小程序聊天要求wss 例如:wss://mer. .net // let wsApi = 'ws://192.168.3.20:8324' diff --git a/pages/shop/css/shop.css b/pages/shop/css/shop.css index 5eab198..82d54a7 100644 --- a/pages/shop/css/shop.css +++ b/pages/shop/css/shop.css @@ -92,7 +92,6 @@ .content .content-list .list-container .list-item .list-item-left image{ width: 160rpx; height: 160rpx; - border: solid 1px red; border-radius: 20rpx; } .content .content-list .list-container .list-item .list-item-right{ diff --git a/pages/shop/index.vue b/pages/shop/index.vue index 8cce8f4..6513780 100644 --- a/pages/shop/index.vue +++ b/pages/shop/index.vue @@ -55,15 +55,15 @@ - 全部商家 - 附近商家 + 全部商家 + 附近商家 - + 特色餐厅(福田店) @@ -97,55 +97,21 @@ }, data(){ return{ - // tabList:[ - // { - // url:'@/static/images/shop/tab1/png', - // name:'餐饮美食' - // }, - // { - // url:'@/static/images/shop/tab2/png', - // name:'丽人美妆' - // }, - // { - // url:'@/static/images/shop/tab3/png', - // name:'休息娱乐' - // }, - // { - // url:'@/static/images/shop/tab4/png', - // name:'运动健身' - // }, - // { - // url:'@/static/images/shop/tab5/png', - // name:'婚庆服务' - // }, - // { - // url:'@/static/images/shop/tab6/png', - // name:'亲子' - // }, - // { - // url:'@/static/images/shop/tab7/png', - // name:'教育培训' - // }, - // { - // url:'@/static/images/shop/tab8/png', - // name:'汽车服务' - // }, - // { - // url:'@/static/images/shop/tab9/png', - // name:'家装' - // }, - // { - // url:'@/static/images/shop/tab10/png', - // name:'生活服务' - // }, - // ] + tabList:[], + current:0, } }, onLoad(){ - this.init(); - this.loadScript(); }, methods:{ + selectCurrent(val){ + this.current=val; + }, + navtoDetail(){ + uni.navigateTo({ + url:'/pages/shop_details/index' + }) + } } }