This commit is contained in:
zoujiandong
2025-07-30 13:58:39 +08:00
parent afc79a0f26
commit 43abd1f3d6
360 changed files with 27253 additions and 0 deletions
@@ -0,0 +1,89 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const utils_navTo = require("../../utils/navTo.js");
const common_assets = require("../../common/assets.js");
if (!Array) {
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
(_easycom_u_icon2 + _easycom_up__image2)();
}
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
if (!Math) {
(_easycom_u_icon + _easycom_up__image)();
}
const _sfc_main = {
__name: "backDetailNav",
props: {
navName: {
type: String,
default: "我的"
}
},
setup(__props) {
const props = __props;
const useImg = common_vendor.ref("");
const goBack = () => {
common_vendor.index.navigateBack({
delta: 1
});
};
const goHome = () => {
common_vendor.index.__f__("log", "at components/backDetailNav/backDetailNav.vue:62", props.navName);
if (props.navName == "肝胆相照病例交流园地") {
common_vendor.index.reLaunch({
url: "/pages/caseTalk/caseTalk"
});
} else {
common_vendor.index.reLaunch({
url: "/pages/index/index"
});
}
};
const goMy = () => {
utils_navTo.navTo({
url: "/pages/my/my"
});
};
common_vendor.onMounted(() => {
let userInfo = common_vendor.index.getStorageSync("userInfo");
if (userInfo && userInfo.avatar) {
useImg.value = userInfo.avatar;
}
});
return (_ctx, _cache) => {
return {
a: common_vendor.p({
name: "arrow-left",
color: "#000",
size: "24"
}),
b: common_vendor.o(goBack),
c: common_vendor.p({
src: common_vendor.unref(common_assets.logoImg),
width: "62rpx",
height: "62rpx",
radius: "50%"
}),
d: common_vendor.o(goHome),
e: common_vendor.t(__props.navName),
f: common_vendor.p({
src: common_vendor.unref(common_assets.navbg),
width: "100rpx",
height: "31rpx"
}),
g: common_vendor.o(goHome),
h: common_vendor.p({
src: useImg.value ? useImg.value : common_vendor.unref(common_assets.headImg),
width: "62rpx",
height: "62rpx",
radius: "50%"
}),
i: common_vendor.o(goMy)
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5cef096a"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/backDetailNav/backDetailNav.js.map
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
"up--image": "../../node-modules/uview-plus/components/u--image/u--image"
}
}
@@ -0,0 +1 @@
<view class="navbox data-v-5cef096a"><view class="bg data-v-5cef096a"></view><view class="namebox data-v-5cef096a"><view class="back data-v-5cef096a" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-5cef096a" u-i="5cef096a-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="logo data-v-5cef096a" bindtap="{{d}}"><up--image wx:if="{{c}}" class="data-v-5cef096a" u-i="5cef096a-1" bind:__l="__l" u-p="{{c}}"></up--image></view><view class="name data-v-5cef096a" bindtap="{{g}}">{{e}} <view class="navbg data-v-5cef096a"><up--image wx:if="{{f}}" class="data-v-5cef096a" u-i="5cef096a-2" bind:__l="__l" u-p="{{f}}"></up--image></view></view><view class="user data-v-5cef096a" bindtap="{{i}}"><up--image wx:if="{{h}}" class="data-v-5cef096a" u-i="5cef096a-3" bind:__l="__l" u-p="{{h}}"></up--image></view></view></view>
@@ -0,0 +1,91 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.navbox.data-v-5cef096a {
padding-bottom: 20rpx;
background-color: #f9fafb;
position: relative;
height: 200rpx;
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
}
.bg.data-v-5cef096a {
z-index: 0;
top: 0;
bottom: 0;
width: 100%;
position: absolute;
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
}
.namebox.data-v-5cef096a {
padding-top: 102rpx;
margin: 0rpx 30rpx 0rpx;
display: flex;
align-items: center;
display: flex;
align-items: center;
}
.namebox .logo.data-v-5cef096a {
margin-left: 35rpx;
}
.namebox .back.data-v-5cef096a {
position: absolute;
left: 0;
}
.namebox .user.data-v-5cef096a {
margin-left: 55rpx;
}
.namebox .name.data-v-5cef096a {
margin-left: 16rpx;
font-size: 30rpx;
color: #111827;
position: relative;
}
.namebox .name .navbg.data-v-5cef096a {
position: absolute;
z-index: -1;
top: 10rpx;
left: 18rpx;
}
.search.data-v-5cef096a {
margin: 40rpx 30rpx 0rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.search .searchwrap.data-v-5cef096a {
display: flex;
align-items: center;
flex: 1;
padding-left: 28rpx;
margin-right: 23rpx;
height: 80rpx;
background: #fbfbfb;
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
border-radius: 40rpx;
}
.search .searchwrap .ipt.data-v-5cef096a {
margin-left: 15rpx;
font-size: 28rpx;
}
@@ -0,0 +1,54 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
if (!Array) {
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
(_easycom_u_icon2 + _easycom_up__image2)();
}
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
if (!Math) {
(_easycom_u_icon + _easycom_up__image)();
}
const _sfc_main = {
__name: "backLogoNav",
props: {
navName: {
type: String,
default: "我的"
}
},
setup(__props) {
const goBack = () => {
common_vendor.index.navigateBack({
delta: 1
});
};
return (_ctx, _cache) => {
return {
a: common_vendor.p({
name: "arrow-left",
color: "#000",
size: "24"
}),
b: common_vendor.o(goBack),
c: common_vendor.p({
src: common_vendor.unref(common_assets.logoImg),
width: "62rpx",
height: "62rpx",
radius: "50%"
}),
d: common_vendor.t(__props.navName),
e: common_vendor.p({
src: common_vendor.unref(common_assets.navbg),
width: "100rpx",
height: "31rpx"
})
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8850a534"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/backLogoNav/backLogoNav.js.map
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
"up--image": "../../node-modules/uview-plus/components/u--image/u--image"
}
}
@@ -0,0 +1 @@
<view class="navbox data-v-8850a534"><view class="bg data-v-8850a534"></view><view class="namebox data-v-8850a534"><view class="back data-v-8850a534" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-8850a534" u-i="8850a534-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="logo data-v-8850a534"><up--image wx:if="{{c}}" class="data-v-8850a534" u-i="8850a534-1" bind:__l="__l" u-p="{{c}}"></up--image></view><view class="name data-v-8850a534">{{d}} <view class="navbg data-v-8850a534"><up--image wx:if="{{e}}" class="data-v-8850a534" u-i="8850a534-2" bind:__l="__l" u-p="{{e}}"></up--image></view></view></view></view>
@@ -0,0 +1,88 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.navbox.data-v-8850a534 {
padding-bottom: 20rpx;
background-color: #f9fafb;
position: relative;
height: 200rpx;
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
}
.bg.data-v-8850a534 {
z-index: 0;
top: 0;
bottom: 0;
width: 100%;
position: absolute;
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
}
.namebox.data-v-8850a534 {
padding-top: 102rpx;
margin: 0rpx 30rpx 0rpx;
display: flex;
align-items: center;
display: flex;
align-items: center;
}
.namebox .logo.data-v-8850a534 {
margin-left: 35rpx;
}
.namebox .back.data-v-8850a534 {
position: absolute;
left: 0;
}
.namebox .name.data-v-8850a534 {
margin-left: 16rpx;
font-size: 30rpx;
color: #111827;
position: relative;
}
.namebox .name .navbg.data-v-8850a534 {
position: absolute;
z-index: -1;
top: 10rpx;
left: 18rpx;
}
.search.data-v-8850a534 {
margin: 40rpx 30rpx 0rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.search .searchwrap.data-v-8850a534 {
display: flex;
align-items: center;
flex: 1;
padding-left: 28rpx;
margin-right: 23rpx;
height: 80rpx;
background: #fbfbfb;
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
border-radius: 40rpx;
}
.search .searchwrap .ipt.data-v-8850a534 {
margin-left: 15rpx;
font-size: 28rpx;
}
@@ -0,0 +1,40 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
_easycom_u_icon2();
}
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
if (!Math) {
_easycom_u_icon();
}
const _sfc_main = {
__name: "backNav",
props: {
navName: {
type: String,
default: "我的"
}
},
setup(__props) {
const goBack = () => {
common_vendor.index.navigateBack({
delta: 1
});
};
return (_ctx, _cache) => {
return {
a: common_vendor.p({
name: "arrow-left",
color: "#000",
size: "24"
}),
b: common_vendor.o(goBack),
c: common_vendor.t(__props.navName)
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-62c96af9"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/backNav/backNav.js.map
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon"
}
}
@@ -0,0 +1 @@
<view class="navbox data-v-62c96af9"><view class="bg data-v-62c96af9"></view><view class="namebox data-v-62c96af9"><view class="back data-v-62c96af9" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-62c96af9" u-i="62c96af9-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="name data-v-62c96af9">{{c}}</view></view></view>
@@ -0,0 +1,77 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.navbox.data-v-62c96af9 {
padding-bottom: 20rpx;
background-color: #f9fafb;
position: relative;
height: 200rpx;
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
}
.navbox .bg.data-v-62c96af9 {
z-index: 0;
top: 0;
bottom: 0;
width: 100%;
position: absolute;
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
}
.navbox .namebox.data-v-62c96af9 {
padding-top: 102rpx;
justify-content: center;
margin: 0rpx 30rpx 0rpx;
position: relative;
display: flex;
}
.navbox .namebox .back.data-v-62c96af9 {
position: absolute;
left: 0;
}
.navbox .namebox .name.data-v-62c96af9 {
margin-left: 16rpx;
font-size: 30rpx;
color: #111827;
}
.navbox .search.data-v-62c96af9 {
margin: 40rpx 30rpx 0rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.navbox .search .searchwrap.data-v-62c96af9 {
display: flex;
align-items: center;
flex: 1;
padding-left: 28rpx;
margin-right: 23rpx;
height: 80rpx;
background: #fbfbfb;
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
border-radius: 40rpx;
}
.navbox .search .searchwrap .ipt.data-v-62c96af9 {
margin-left: 15rpx;
font-size: 28rpx;
}
+103
View File
@@ -0,0 +1,103 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const utils_navTo = require("../../utils/navTo.js");
if (!Array) {
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
(_easycom_up__image2 + _easycom_up_icon2)();
}
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
if (!Math) {
(_easycom_up__image + _easycom_up_icon)();
}
const _sfc_main = {
__name: "navBar",
props: {
searchWord: {
type: String,
default: ""
},
type: {
type: String,
default: "home"
},
navName: {
type: String,
default: "肝胆相照临床病例库"
}
},
emits: ["changeWord"],
setup(__props, { emit: __emit }) {
const userHeadImg = common_vendor.ref("");
const keyWord = common_vendor.ref("");
const props = __props;
const placeholder = common_vendor.ref("输入疾病名称、标题、作者搜索");
common_vendor.watch(() => props.type, (newVal) => {
}, { immediate: true });
common_vendor.watch(() => props.searchWord, (newVal) => {
keyWord.value = newVal;
});
const goMy = () => {
utils_navTo.navTo({
url: "/pages/my/my"
});
};
const search = () => {
if (props.type == "home") {
utils_navTo.navTo({
url: `/pages/search/search?keyWord=${keyWord.value}&from=home`
});
} else if (props.type == "caseTalk") {
utils_navTo.navTo({
url: `/pages/specialList/specialList?keyWord=${keyWord.value}&from=talkHome`
});
}
};
common_vendor.onLoad(() => {
let userInfo = common_vendor.index.getStorageSync("userInfo");
if (userInfo && userInfo.avatar) {
userHeadImg.value = userInfo.avatar;
} else {
userHeadImg.value = common_assets.headImg;
}
});
return (_ctx, _cache) => {
return {
a: common_vendor.p({
src: common_vendor.unref(common_assets.logoImg),
width: "62rpx",
height: "62rpx",
radius: "50%"
}),
b: common_vendor.t(__props.navName),
c: common_vendor.p({
src: common_vendor.unref(common_assets.navbg),
width: "100rpx",
height: "31rpx"
}),
d: placeholder.value,
e: keyWord.value,
f: common_vendor.o(($event) => keyWord.value = $event.detail.value),
g: common_vendor.o(search),
h: common_vendor.p({
name: "search",
size: "26",
color: "#999"
}),
i: common_vendor.o(goMy),
j: common_vendor.p({
src: userHeadImg.value,
mode: "widthFix",
width: "62rpx",
height: "62rpx",
radius: "50%"
})
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-fba290dc"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/navBar/navBar.js.map
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon"
}
}
@@ -0,0 +1 @@
<view class="navbox data-v-fba290dc"><view class="bg data-v-fba290dc"></view><view class="namebox data-v-fba290dc"><view class="logo data-v-fba290dc"><up--image wx:if="{{a}}" class="data-v-fba290dc" u-i="fba290dc-0" bind:__l="__l" u-p="{{a}}"></up--image></view><view class="name data-v-fba290dc">{{b}} <view class="navbg data-v-fba290dc"><up--image wx:if="{{c}}" class="data-v-fba290dc" u-i="fba290dc-1" bind:__l="__l" u-p="{{c}}"></up--image></view></view></view><view class="search data-v-fba290dc"><view class="searchwrap data-v-fba290dc"><input type="text" class="ipt data-v-fba290dc" placeholder="{{d}}" value="{{e}}" bindinput="{{f}}"/><up-icon wx:if="{{h}}" class="data-v-fba290dc" bindclick="{{g}}" u-i="fba290dc-2" bind:__l="__l" u-p="{{h}}"></up-icon></view><up--image wx:if="{{j}}" class="data-v-fba290dc" bindclick="{{i}}" u-i="fba290dc-3" bind:__l="__l" u-p="{{j}}"></up--image></view></view>
@@ -0,0 +1,80 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.navbox.data-v-fba290dc {
padding-bottom: 20rpx;
background-color: #f9fafb;
position: relative;
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
}
.bg.data-v-fba290dc {
z-index: -1;
top: 0;
bottom: 0;
width: 100%;
position: absolute;
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
}
.namebox.data-v-fba290dc {
padding-top: 102rpx;
margin: 0rpx 30rpx 0rpx;
display: flex;
align-items: center;
}
.namebox .name.data-v-fba290dc {
margin-left: 16rpx;
font-size: 30rpx;
color: #111827;
position: relative;
}
.namebox .name .navbg.data-v-fba290dc {
position: absolute;
z-index: -1;
top: 10rpx;
left: 18rpx;
}
.search.data-v-fba290dc {
margin: 40rpx 30rpx 0rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.search .searchwrap.data-v-fba290dc {
display: flex;
padding-right: 35rpx;
align-items: center;
flex: 1;
padding-left: 28rpx;
margin-right: 23rpx;
height: 80rpx;
background: #fbfbfb;
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
border-radius: 40rpx;
}
.search .searchwrap .ipt.data-v-fba290dc {
flex: 1;
margin-left: 15rpx;
font-size: 28rpx;
}
@@ -0,0 +1,8 @@
{
"component": true,
"usingComponents": {
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon"
}
}
@@ -0,0 +1 @@
<view class="navbox data-v-4eb3cf28"><view class="bg data-v-4eb3cf28"></view><view class="namebox data-v-4eb3cf28"><view class="back data-v-4eb3cf28" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-4eb3cf28" u-i="4eb3cf28-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="logo data-v-4eb3cf28"><up--image wx:if="{{c}}" class="data-v-4eb3cf28" u-i="4eb3cf28-1" bind:__l="__l" u-p="{{c}}"></up--image></view><view class="name data-v-4eb3cf28">{{d}} <view class="navbg data-v-4eb3cf28"><up--image wx:if="{{e}}" class="data-v-4eb3cf28" u-i="4eb3cf28-2" bind:__l="__l" u-p="{{e}}"></up--image></view></view></view><view class="search data-v-4eb3cf28"><view class="searchwrap data-v-4eb3cf28"><input type="text" class="ipt data-v-4eb3cf28" placeholder="{{f}}" value="{{g}}" bindinput="{{h}}"/><up-icon wx:if="{{j}}" class="data-v-4eb3cf28" bindclick="{{i}}" u-i="4eb3cf28-3" bind:__l="__l" u-p="{{j}}"></up-icon></view><up--image wx:if="{{l}}" class="data-v-4eb3cf28" bindclick="{{k}}" u-i="4eb3cf28-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view>
@@ -0,0 +1,87 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.navbox.data-v-4eb3cf28 {
padding-bottom: 20rpx;
background-color: #f9fafb;
position: relative;
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
}
.bg.data-v-4eb3cf28 {
z-index: -1;
top: 0;
bottom: 0;
width: 100%;
position: absolute;
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
}
.data-v-4eb3cf28 .u-image {
background: none !important;
}
.namebox.data-v-4eb3cf28 {
padding-top: 102rpx;
margin: 0rpx 30rpx 0rpx;
display: flex;
align-items: center;
}
.namebox .logo.data-v-4eb3cf28 {
margin-left: 35rpx;
}
.namebox .name.data-v-4eb3cf28 {
margin-left: 16rpx;
font-size: 30rpx;
margin-right: 200rpx;
color: #111827;
position: relative;
}
.namebox .name .navbg.data-v-4eb3cf28 {
position: absolute;
z-index: -1;
top: 10rpx;
left: 18rpx;
}
.search.data-v-4eb3cf28 {
margin: 40rpx 30rpx 0rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.search .searchwrap.data-v-4eb3cf28 {
display: flex;
padding-right: 35rpx;
align-items: center;
flex: 1;
padding-left: 28rpx;
margin-right: 23rpx;
height: 80rpx;
background: #fbfbfb;
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
border-radius: 40rpx;
}
.search .searchwrap .ipt.data-v-4eb3cf28 {
flex: 1;
margin-left: 15rpx;
font-size: 28rpx;
}
@@ -0,0 +1,10 @@
{
"component": true,
"usingComponents": {
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
"sv-editor": "../../uni_modules/sv-editor/components/sv-editor/sv-editor"
}
}
@@ -0,0 +1,72 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const utils_navTo = require("../../utils/navTo.js");
if (!Array) {
const _easycom_up_tabbar_item2 = common_vendor.resolveComponent("up-tabbar-item");
const _easycom_up_tabbar2 = common_vendor.resolveComponent("up-tabbar");
(_easycom_up_tabbar_item2 + _easycom_up_tabbar2)();
}
const _easycom_up_tabbar_item = () => "../../node-modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js";
const _easycom_up_tabbar = () => "../../node-modules/uview-plus/components/u-tabbar/u-tabbar.js";
if (!Math) {
(_easycom_up_tabbar_item + _easycom_up_tabbar)();
}
const _sfc_main = {
__name: "tabBar",
props: {
value: {
type: Number,
default: 0
}
},
setup(__props) {
const handleClick = (e) => {
if (e == 0) {
utils_navTo.navTo({
url: "/pages/index/index"
});
} else if (e == 1) {
utils_navTo.navTo({
url: "/pages/case/case"
});
} else if (e == 2) {
utils_navTo.navTo({
url: "/pages/caseTalk/caseTalk"
});
}
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(handleClick),
b: common_vendor.p({
text: "临床病例库",
activeIcon: common_vendor.unref(common_assets.ku_on),
inactiveIcon: common_vendor.unref(common_assets.ku)
}),
c: common_vendor.o(handleClick),
d: common_vendor.p({
text: "互动病例",
activeIcon: common_vendor.unref(common_assets.group_on),
inactiveIcon: common_vendor.unref(common_assets.group)
}),
e: common_vendor.o(handleClick),
f: common_vendor.p({
text: "病例交流",
activeIcon: common_vendor.unref(common_assets.talk_on),
inactiveIcon: common_vendor.unref(common_assets.talk)
}),
g: common_vendor.p({
value: __props.value,
fixed: true,
zIndex: 99,
placeholder: false,
activeColor: "#3CC7C0",
safeAreaInsetBottom: true
})
};
};
}
};
wx.createComponent(_sfc_main);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/tabBar/tabBar.js.map
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"up-tabbar-item": "../../node-modules/uview-plus/components/u-tabbar-item/u-tabbar-item",
"up-tabbar": "../../node-modules/uview-plus/components/u-tabbar/u-tabbar"
}
}
@@ -0,0 +1 @@
<up-tabbar wx:if="{{g}}" u-s="{{['d']}}" class="u-page" u-i="64ed1d6c-0" bind:__l="__l" u-p="{{g}}"><up-tabbar-item wx:if="{{b}}" bindclick="{{a}}" u-i="64ed1d6c-1,64ed1d6c-0" bind:__l="__l" u-p="{{b}}"></up-tabbar-item><up-tabbar-item wx:if="{{d}}" bindclick="{{c}}" u-i="64ed1d6c-2,64ed1d6c-0" bind:__l="__l" u-p="{{d}}"></up-tabbar-item><up-tabbar-item wx:if="{{f}}" bindclick="{{e}}" u-i="64ed1d6c-3,64ed1d6c-0" bind:__l="__l" u-p="{{f}}"></up-tabbar-item></up-tabbar>
@@ -0,0 +1,35 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-page__item__slot-icon {
width: 47rpx;
height: 47rpx;
}
.u-tabbar__content__item-wrapper {
border-top: 2rpx solid #f3f4f6 !important;
}
.u-tabbar-item__text {
margin-bottom: 20rpx !important;
}