This commit is contained in:
pengxiaolong
2025-05-12 21:23:37 +08:00
parent ab626be4b4
commit 033cb649f8
52 changed files with 9183 additions and 6 deletions

View File

@@ -0,0 +1,45 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
data() {
return {
title: "Hello",
Select: true
};
},
onLoad() {
},
methods: {
RealTimePk() {
this.Select = true;
this.$emit("RealTimePk");
},
MakeAppointmentPK() {
this.Select = false;
this.$emit("MakeAppointmentPK");
},
screening() {
this.$emit("screening");
},
Search() {
this.$emit("Search");
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o((...args) => $options.RealTimePk && $options.RealTimePk(...args)),
b: $data.Select ? 1 : "",
c: !$data.Select ? 1 : "",
d: common_vendor.o((...args) => $options.MakeAppointmentPK && $options.MakeAppointmentPK(...args)),
e: !$data.Select ? 1 : "",
f: $data.Select ? 1 : "",
g: common_vendor.o((...args) => $options.screening && $options.screening(...args)),
h: common_vendor.o((...args) => $options.Search && $options.Search(...args)),
i: common_assets._imports_0$2
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ce2f6748"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/topNavigation/topNavigation.js.map

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="topNavigation data-v-ce2f6748"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-ce2f6748']}}">实时PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-ce2f6748']}}">预约PK</view><view bindtap="{{g}}" class="Screening data-v-ce2f6748">筛选</view><image bindtap="{{h}}" src="{{i}}" class="filter-icon data-v-ce2f6748"/></view>

View File

@@ -0,0 +1,42 @@
.topNavigation.data-v-ce2f6748 {
width: 100%;
height: 114.5rpx;
display: flex;
align-items: center;
}
.Screening.data-v-ce2f6748 {
width: 93rpx;
height: 50rpx;
background: #ffffff;
border-radius: 4rpx;
font-size: 23rpx;
color: #3b3b3b;
text-align: center;
line-height: 50rpx;
}
.filter-icon.data-v-ce2f6748 {
width: 33rpx;
height: 33rpx;
}
.RealTime.data-v-ce2f6748 {
margin: 0 39rpx 0 41rpx;
}
.MakeAppointment.data-v-ce2f6748 {
margin-right: 233rpx;
}
.Screening.data-v-ce2f6748 {
margin-right: 20rpx;
}
.Selectcss.data-v-ce2f6748 {
width: 146rpx;
height: 39rpx;
font-size: 42rpx;
color: #0e1011;
}
.NoSelectcss.data-v-ce2f6748 {
width: 108rpx;
height: 29rpx;
font-size: 31rpx;
color: #727a7b;
}