Commit d4e5d19fdd885911049fd361fb6d01e73b328dc2

Authored by vking
1 parent 105d7d6d

deatil style

... ... @@ -55,12 +55,14 @@ Component({
data: {
},
lifetimes: {
attached: function () {this.init()},
attached: function () {},
moved: function () { },
detached: function () { },
},
attached(){
observers:{
'seller':function(seller){
this.init()
}
},
/**
* 组件的方法列表
... ...
... ... @@ -16,7 +16,7 @@
<view class="text flex-ll">
<view class="text-item" wx:if="{{seller.cate[0].name}}">{{seller.cate[0].name}}</view>
<view class="text-item" wx:if="{{seller.room_num>0}}">{{seller.room_num}}个包间</view>
<view class="text-item" wx:if="{{se.distanceStr}}">距您{{se.distanceStr}}</view>
<view class="text-item" wx:if="{{se.distanceStr}}">{{se.distanceStr}}</view>
</view>
<view wx:if="{{hasStat}}" class="stat">
<stat stat="{{seller.score}}"></stat>
... ...
... ... @@ -21,7 +21,7 @@
}
},
"compileType": "miniprogram",
"libVersion": "2.4.2",
"libVersion": "2.6.1",
"appid": "wxd3dc4206c76f14fc",
"projectname": "xcx-book",
"isGameTourist": false,
... ...