add detail
This commit is contained in:
parent
84a6e02dab
commit
736f1b9210
|
@ -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'
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -55,15 +55,15 @@
|
|||
</view>
|
||||
<view class="content-list">
|
||||
<view class="list-tab">
|
||||
<view class="action">全部商家</view>
|
||||
<view>附近商家</view>
|
||||
<view :class="current==0?'action':''" @click="selectCurrent(0)">全部商家</view>
|
||||
<view :class="current==1?'action':''" @click="selectCurrent(1)">附近商家</view>
|
||||
</view>
|
||||
<view class="list-container">
|
||||
<view class="list-item" v-for="(item,index) in 20" :key='index'>
|
||||
<view class="list-item-left">
|
||||
<image src="../users/static/images/level_avatar.png" mode=""></image>
|
||||
</view>
|
||||
<view class="list-item-right">
|
||||
<view class="list-item-right" @click="navtoDetail()">
|
||||
<view class="item-title">
|
||||
特色餐厅(福田店)
|
||||
</view>
|
||||
|
@ -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'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue