优化代码
This commit is contained in:
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello",Select:!1}),onLoad(){},methods:{MakeAppointmentPK(){this.Select=!1,this.$emit("MakeAppointmentPK")},RealTimePk(){this.Select=!0,this.$emit("RealTimePk")},screening(){this.$emit("screening")},Search(){this.$emit("Search")}}};const n=e._export_sfc(t,[["render",function(t,n,i,c,o,a){return{a:e.o(((...e)=>a.MakeAppointmentPK&&a.MakeAppointmentPK(...e))),b:o.Select?"":1,c:o.Select?1:"",d:e.o(((...e)=>a.RealTimePk&&a.RealTimePk(...e))),e:o.Select?1:"",f:o.Select?"":1,g:e.o(((...e)=>a.screening&&a.screening(...e)))}}],["__scopeId","data-v-492a9904"]]);wx.createComponent(n);
|
||||
"use strict";const e=require("../../common/vendor.js"),t={data:()=>({title:"Hello",Select:!0}),onLoad(){},methods:{MakeAppointmentPK(){this.Select=!1,this.$emit("MakeAppointmentPK")},RealTimePk(){this.Select=!0,this.$emit("RealTimePk")},screening(){this.$emit("screening")},Search(){this.$emit("Search")}}};const n=e._export_sfc(t,[["render",function(t,n,i,c,o,s){return{a:e.o(((...e)=>s.RealTimePk&&s.RealTimePk(...e))),b:o.Select?1:"",c:o.Select?"":1,d:e.o(((...e)=>s.MakeAppointmentPK&&s.MakeAppointmentPK(...e))),e:o.Select?"":1,f:o.Select?1:"",g:e.o(((...e)=>s.screening&&s.screening(...e)))}}],["__scopeId","data-v-380f6f58"]]);wx.createComponent(n);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="topNavigation data-v-492a9904"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-492a9904']}}">今日PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-492a9904']}}">PK大厅</view><view bindtap="{{g}}" class="Screening data-v-492a9904">筛选</view></view>
|
||||
<view class="topNavigation data-v-380f6f58"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-380f6f58']}}">PK大厅</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-380f6f58']}}">今日PK</view><view bindtap="{{g}}" class="Screening data-v-380f6f58">筛选</view></view>
|
||||
@@ -1 +1 @@
|
||||
.topNavigation.data-v-492a9904{width:100%;height:114.5rpx;display:flex;align-items:center}.Screening.data-v-492a9904{width:120rpx;height:50rpx;background:#5bced1;font-size:23rpx;font-weight:700;color:#fff;text-align:center;line-height:50rpx;border-radius:15rpx}.filter-icon.data-v-492a9904{width:33rpx;height:33rpx}.RealTime.data-v-492a9904{margin:0 39rpx 0 41rpx}.MakeAppointment.data-v-492a9904{margin-right:270rpx}.Screening.data-v-492a9904{margin-right:20rpx}.Selectcss.data-v-492a9904{width:146rpx;height:39rpx;font-size:42rpx;color:#0e1011;font-weight:600}.NoSelectcss.data-v-492a9904{font-weight:600;height:29rpx;color:#727a7b}
|
||||
.topNavigation.data-v-380f6f58{width:100%;height:114.5rpx;display:flex;align-items:center}.Screening.data-v-380f6f58{width:120rpx;height:50rpx;background:#5bced1;font-size:23rpx;font-weight:700;color:#fff;text-align:center;line-height:50rpx;border-radius:15rpx}.filter-icon.data-v-380f6f58{width:33rpx;height:33rpx}.RealTime.data-v-380f6f58{margin:0 39rpx 0 41rpx}.MakeAppointment.data-v-380f6f58{margin-right:270rpx}.Screening.data-v-380f6f58{margin-right:20rpx}.Selectcss.data-v-380f6f58{width:146rpx;height:39rpx;font-size:42rpx;color:#0e1011;font-weight:600}.NoSelectcss.data-v-380f6f58{font-weight:600;height:29rpx;color:#727a7b}
|
||||
|
||||
Reference in New Issue
Block a user