Commit 8f8775f0 authored by 罗超's avatar 罗超

1

parent 8364803b
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<view @click="goback"> <view @click="goback">
<u-icon name="arrow-left" size="44"></u-icon> <u-icon name="arrow-left" size="44"></u-icon>
</view> </view>
<view style="flex: 1;margin-left: 30rpx; text-align: left;">{{details.Name}}</view> <view style="flex: 1;margin-left: 30rpx; text-align: left;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{details.Name}}</view>
</view> </view>
<view class="restaurant-content"> <view class="restaurant-content">
<view class="restaurant-base"> <view class="restaurant-base">
......
...@@ -70,6 +70,12 @@ ...@@ -70,6 +70,12 @@
space:0//周几占位个数 例如 周二占位2个 space:0//周几占位个数 例如 周二占位2个
} }
}, },
watch:{
defaultSelect(val){
console.log(75,val)
this.getDefaultData(val)
}
},
mounted() { mounted() {
this.today = new Date(); this.today = new Date();
this.nowMonth = { this.nowMonth = {
......
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
this.datePrice = datePrice this.datePrice = datePrice
let list = this.datePrice.filter(item=>item.date==this.dateStr); let list = this.datePrice.filter(item=>item.date==this.dateStr);
this.price=list[0].price this.price=list[0].price
console.log(144,list,this.datePrice,this.dateStr) console.log(144,list)
} }
); );
}, },
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<view @click="goback"> <view @click="goback">
<u-icon name="arrow-left" size="44"></u-icon> <u-icon name="arrow-left" size="44"></u-icon>
</view> </view>
<view style="flex: 1;margin-left: 30rpx; text-align: left;'background-color':'#000'">{{details.Name}} <view style="flex: 1;margin-left: 30rpx; text-align: left;'background-color':'#000';white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{{details.Name}}
</view> </view>
</view> </view>
<view style="position: relative;z-index: 2;"> <view style="position: relative;z-index: 2;">
...@@ -246,7 +246,6 @@ ...@@ -246,7 +246,6 @@
this.ID = options.id this.ID = options.id
this.getDetail() this.getDetail()
} }
this.imgBaseUrl = "http://192.168.20.214:8130"
uni.getSystemInfo({ uni.getSystemInfo({
success(res) { success(res) {
that.titleStyle = { that.titleStyle = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment