This commit is contained in:
zoujiandong
2025-07-30 13:43:14 +08:00
parent 4ca1b9cf42
commit afc79a0f26
405 changed files with 765 additions and 27730 deletions
@@ -1,89 +0,0 @@
"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
@@ -1,7 +0,0 @@
{
"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"
}
}
@@ -1 +0,0 @@
<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>
@@ -1,91 +0,0 @@
/**
* 这里是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;
}
@@ -1,54 +0,0 @@
"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
@@ -1,7 +0,0 @@
{
"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"
}
}
@@ -1 +0,0 @@
<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>
@@ -1,88 +0,0 @@
/**
* 这里是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;
}
@@ -1,40 +0,0 @@
"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
@@ -1,6 +0,0 @@
{
"component": true,
"usingComponents": {
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon"
}
}
@@ -1 +0,0 @@
<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>
@@ -1,77 +0,0 @@
/**
* 这里是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
@@ -1,103 +0,0 @@
"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
@@ -1,7 +0,0 @@
{
"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"
}
}
@@ -1 +0,0 @@
<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>
@@ -1,80 +0,0 @@
/**
* 这里是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;
}
@@ -41,12 +41,16 @@ const _sfc_main = {
placeholder.value = "输入医生姓名";
} else if (newVal === "hospital") {
placeholder.value = "输入医院名称";
} else if (newVal === "video" || newVal === "article") {
} else if (newVal === "video") {
placeholder.value = "疾病名称、标题、作者搜索";
} else if (newVal === "article") {
placeholder.value = "搜索疾病、症状、医院";
} else if (newVal === "case") {
placeholder.value = "输入疾病名称";
placeholder.value = "输入疾病名称";
} else if (newVal === "myCase") {
placeholder.value = "输入疾病名称、标题搜索";
} else if (newVal === "cert") {
placeholder.value = "疾病名称、标题搜索";
}
}, { immediate: true });
common_vendor.watch(() => props.searchWord, (newVal) => {
@@ -1,8 +0,0 @@
{
"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"
}
}
@@ -1 +0,0 @@
<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>
@@ -1,87 +0,0 @@
/**
* 这里是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;
}
+47 -45
View File
@@ -41,8 +41,8 @@ const _sfc_main = {
const showTitle = common_vendor.ref(false);
const props = __props;
common_vendor.watch(() => props.editorType, (newVal) => {
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:162", 11111111);
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:163", newVal);
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:168", 11111111);
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:169", newVal);
if (newVal == "info") {
placeholder.value = "患者基本情况,检查结果,诊疗图片或视频";
} else {
@@ -70,13 +70,13 @@ const _sfc_main = {
showTitle.value = false;
};
const ready = (e) => {
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:191", e);
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:197", e);
editorCtx.value = e;
if (props.editorType == "info") {
if (props.editorCotent) {
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
let res = "";
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
const fox = common_assets.videoface;
res = await editorCtx.value.createCoverThumbnail(fox);
showEditor.value = false;
return res;
@@ -89,7 +89,7 @@ const _sfc_main = {
if (props.editorCotent) {
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
let res = "";
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
const fox = common_assets.videoface;
res = await editorCtx.value.createCoverThumbnail(fox);
showEditor.value = false;
return res;
@@ -105,7 +105,7 @@ const _sfc_main = {
emits("closeEditor");
});
const confirm = async () => {
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:246", "qqq");
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:252", "qqq");
const res = await editorCtx.value.getLastContent();
emits("changeEditor", {
type: props.editorType,
@@ -150,7 +150,7 @@ const _sfc_main = {
return randomNumber;
};
const getImageFormat = (imageUrl) => {
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:297", imageUrl);
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:303", imageUrl);
const lastDotIndex = imageUrl.lastIndexOf(".");
if (lastDotIndex !== -1) {
return imageUrl.substring(lastDotIndex + 1);
@@ -187,7 +187,7 @@ const _sfc_main = {
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:337", err);
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:343", err);
}
});
});
@@ -253,8 +253,7 @@ const _sfc_main = {
async success(res2) {
if (res2.statusCode === 204) {
let url = host + "/" + dir + filename + imgType;
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:410", editorCtx2);
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
let imgUrl = common_assets.videoface;
const fileThumbnail = await editorCtx2.createCoverThumbnail(
imgUrl
);
@@ -267,7 +266,7 @@ const _sfc_main = {
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:425", err);
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:430", err);
}
});
});
@@ -276,7 +275,7 @@ const _sfc_main = {
});
});
if (videos) {
common_vendor.index.showLoading();
common_vendor.index.hideLoading();
common_vendor.index.showToast({ title: "添加视频成功", icon: "none" });
} else {
common_vendor.index.showToast({ title: "添加视频失败", icon: "none" });
@@ -290,7 +289,7 @@ const _sfc_main = {
//从相册选择
extension: [".mp4", ".webm", ".ogg"],
success: function(res) {
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:447", res.tempFilePath);
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:452", res.tempFilePath);
HandleAddVideo(res.tempFilePath);
}
});
@@ -302,7 +301,7 @@ const _sfc_main = {
showTitle.value = true;
};
const alertTitle = () => {
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:461", "qqqqqq");
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:466", "qqqqqq");
showTitle.value = true;
};
return (_ctx, _cache) => {
@@ -315,69 +314,72 @@ const _sfc_main = {
b: common_vendor.o((...args) => common_vendor.unref(closeSv) && common_vendor.unref(closeSv)(...args)),
c: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
d: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
e: __props.editorType == "info"
e: __props.editorType == "result"
}, __props.editorType == "result" ? {} : {}, {
f: __props.editorType == "info"
}, __props.editorType == "info" ? {
f: common_vendor.p({
g: common_vendor.p({
name: "trash",
color: "#6B7280",
size: "18"
}),
g: common_vendor.o(clearMuBan)
h: common_vendor.o(clearMuBan)
} : {}, {
h: common_vendor.o(ready),
i: common_vendor.o(_ctx.focus),
j: common_vendor.o(blur),
k: common_vendor.p({
i: common_vendor.o(ready),
j: common_vendor.o(_ctx.focus),
k: common_vendor.o(blur),
l: common_vendor.p({
placeholder: placeholder.value,
eid: "peditor",
pasteMode: "origin"
}),
l: common_vendor.p({
m: common_vendor.p({
src: common_vendor.unref(common_assets.photoImg),
width: "32rpx",
height: "32rpx"
}),
m: common_vendor.o(insertImage),
n: common_vendor.p({
n: !isIOS.value ? 1 : "",
o: common_vendor.o(insertImage),
p: common_vendor.p({
src: common_vendor.unref(common_assets.videoImg$1),
width: "32rpx",
height: "32rpx"
}),
o: common_vendor.o(insertVideo),
p: __props.editorType == "info"
q: !isIOS.value ? 1 : "",
r: common_vendor.o(insertVideo),
s: __props.editorType == "info"
}, __props.editorType == "info" ? {
q: common_vendor.p({
t: common_vendor.p({
src: common_vendor.unref(common_assets.addImg),
width: "32rpx",
height: "32rpx"
}),
r: common_vendor.o(alertTitle)
v: !isIOS.value ? 1 : "",
w: common_vendor.o(alertTitle)
} : {}, {
s: common_vendor.o(confirm),
t: keyboardHeight.value > 0,
v: isIOS.value ? keyboardHeight.value : "0px",
w: common_vendor.p({
x: common_vendor.o(confirm),
y: common_vendor.p({
name: "close",
color: "#4B5563",
size: "20"
}),
x: common_vendor.o(closeTitle),
y: common_vendor.o(insertAllWord),
z: common_vendor.p({
z: common_vendor.o(closeTitle),
A: common_vendor.o(insertAllWord),
B: common_vendor.p({
name: "plus-circle",
color: "#3CC7C0",
size: "20"
}),
A: common_vendor.o(insertAllWord),
B: common_vendor.o(($event) => insertWord("患者信息")),
C: common_vendor.o(($event) => insertWord("主诉")),
D: common_vendor.o(($event) => insertWord("现病史及既往史")),
E: common_vendor.o(($event) => insertWord("检查")),
F: common_vendor.o(($event) => insertWord("临床诊断")),
G: common_vendor.o(($event) => insertWord("治疗经过及结果")),
H: common_vendor.o(closeTitle),
I: common_vendor.o(openTitle),
J: common_vendor.p({
C: common_vendor.o(insertAllWord),
D: common_vendor.o(($event) => insertWord("患者信息")),
E: common_vendor.o(($event) => insertWord("主诉")),
F: common_vendor.o(($event) => insertWord("现病史及既往史")),
G: common_vendor.o(($event) => insertWord("检查")),
H: common_vendor.o(($event) => insertWord("临床诊断")),
I: common_vendor.o(($event) => insertWord("治疗经过及结果")),
J: common_vendor.o(closeTitle),
K: common_vendor.o(openTitle),
L: common_vendor.p({
round: 10,
zIndex: "999999",
show: showTitle.value,
@@ -1,10 +0,0 @@
{
"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"
}
}
@@ -1 +1 @@
<view class="page data-v-a6a7913a"><view class="navbox data-v-a6a7913a"><view class="bg data-v-a6a7913a"></view><view class="namebox data-v-a6a7913a"><view class="back data-v-a6a7913a" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-a6a7913a" u-i="a6a7913a-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="name data-v-a6a7913a">{{c}}</view></view></view><view class="container data-v-a6a7913a"><view class="row data-v-a6a7913a"><view class="left data-v-a6a7913a">{{d}}</view><view wx:if="{{e}}" class="right data-v-a6a7913a" bindtap="{{g}}"><u-icon wx:if="{{f}}" class="data-v-a6a7913a" u-i="a6a7913a-1" bind:__l="__l" u-p="{{f}}"></u-icon> 清除模板 </view></view><view class="editorbox data-v-a6a7913a"><sv-editor wx:if="{{k}}" class="ql-container data-v-a6a7913a" bindready="{{h}}" bindfocus="{{i}}" bindblur="{{j}}" u-i="a6a7913a-2" bind:__l="__l" u-p="{{k}}"></sv-editor></view></view><view class="toolbar data-v-a6a7913a" hidden="{{!t}}" style="{{'bottom:' + v}}"><view class="toolbox data-v-a6a7913a"><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{m}}"><up--image wx:if="{{l}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-3" bind:__l="__l" u-p="{{l}}"></up--image><view class="name data-v-a6a7913a">添加图片</view></view><view class="cell data-v-a6a7913a" bindtap="{{o}}"><up--image wx:if="{{n}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-4" bind:__l="__l" u-p="{{n}}"></up--image><view class="name data-v-a6a7913a">添加视频</view></view><view wx:if="{{p}}" class="cell data-v-a6a7913a" bindtap="{{r}}"><up--image wx:if="{{q}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-5" bind:__l="__l" u-p="{{q}}"></up--image><view class="name data-v-a6a7913a">添加小标题</view></view></view><view class="btn data-v-a6a7913a" bindtap="{{s}}">确定</view></view></view><up-popup wx:if="{{J}}" class="data-v-a6a7913a" u-s="{{['d']}}" bindclose="{{H}}" bindopen="{{I}}" u-i="a6a7913a-6" bind:__l="__l" u-p="{{J}}"><view class="draftpop titlepop data-v-a6a7913a"><view class="titlebox data-v-a6a7913a">添加小标题 <view class="close data-v-a6a7913a" bindtap="{{x}}"><up-icon wx:if="{{w}}" class="data-v-a6a7913a" u-i="a6a7913a-7,a6a7913a-6" bind:__l="__l" u-p="{{w}}"></up-icon></view></view><view class="con data-v-a6a7913a"><view class="top data-v-a6a7913a"><up-icon wx:if="{{z}}" class="data-v-a6a7913a" bindclick="{{y}}" u-i="a6a7913a-8,a6a7913a-6" bind:__l="__l" u-p="{{z}}"></up-icon><view class="desc data-v-a6a7913a" bindtap="{{A}}">一键添加全部</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{B}}">患者信息</view><view class="cell data-v-a6a7913a" bindtap="{{C}}">主诉</view><view class="cell data-v-a6a7913a" bindtap="{{D}}">现病史及既往史</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{E}}">检查</view><view class="cell data-v-a6a7913a" bindtap="{{F}}">临床诊断</view><view class="cell data-v-a6a7913a" bindtap="{{G}}">治疗经过及结果</view></view></view></view></up-popup></view>
<view class="page data-v-a6a7913a"><view class="navbox data-v-a6a7913a"><view class="bg data-v-a6a7913a"></view><view class="namebox data-v-a6a7913a"><view class="back data-v-a6a7913a" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-a6a7913a" u-i="a6a7913a-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="name data-v-a6a7913a">{{c}}</view></view></view><view class="container data-v-a6a7913a"><view class="row data-v-a6a7913a"><view class="left data-v-a6a7913a">{{d}}<text wx:if="{{e}}" class="tip data-v-a6a7913a">(可不填)</text></view><view wx:if="{{f}}" class="right data-v-a6a7913a" bindtap="{{h}}"><u-icon wx:if="{{g}}" class="data-v-a6a7913a" u-i="a6a7913a-1" bind:__l="__l" u-p="{{g}}"></u-icon> 清除模板 </view></view><view class="editorbox data-v-a6a7913a"><sv-editor wx:if="{{l}}" class="data-v-a6a7913a" bindready="{{i}}" bindfocus="{{j}}" bindblur="{{k}}" u-i="a6a7913a-2" bind:__l="__l" u-p="{{l}}"></sv-editor></view></view><view class="toolbar data-v-a6a7913a"><view class="toolbox data-v-a6a7913a"><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{o}}"><view class="{{['imgbox', 'data-v-a6a7913a', n && 'active']}}"><up--image wx:if="{{m}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-3" bind:__l="__l" u-p="{{m}}"></up--image></view><view class="name data-v-a6a7913a">添加图片</view></view><view class="cell data-v-a6a7913a" bindtap="{{r}}"><view class="{{['imgbox', 'data-v-a6a7913a', q && 'active']}}"><up--image wx:if="{{p}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-4" bind:__l="__l" u-p="{{p}}"></up--image></view><view class="name data-v-a6a7913a">添加视频</view></view><view wx:if="{{s}}" class="cell data-v-a6a7913a" bindtap="{{w}}"><view class="{{['imgbox', 'data-v-a6a7913a', v && 'active']}}"><up--image wx:if="{{t}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-5" bind:__l="__l" u-p="{{t}}"></up--image></view><view class="name data-v-a6a7913a">添加小标题</view></view></view><view class="btn data-v-a6a7913a" bindtap="{{x}}">确定</view></view></view><up-popup wx:if="{{L}}" class="data-v-a6a7913a" u-s="{{['d']}}" bindclose="{{J}}" bindopen="{{K}}" u-i="a6a7913a-6" bind:__l="__l" u-p="{{L}}"><view class="draftpop titlepop data-v-a6a7913a"><view class="titlebox data-v-a6a7913a">添加小标题 <view class="close data-v-a6a7913a" bindtap="{{z}}"><up-icon wx:if="{{y}}" class="data-v-a6a7913a" u-i="a6a7913a-7,a6a7913a-6" bind:__l="__l" u-p="{{y}}"></up-icon></view></view><view class="con data-v-a6a7913a"><view class="top data-v-a6a7913a"><up-icon wx:if="{{B}}" class="data-v-a6a7913a" bindclick="{{A}}" u-i="a6a7913a-8,a6a7913a-6" bind:__l="__l" u-p="{{B}}"></up-icon><view class="desc data-v-a6a7913a" bindtap="{{C}}">一键添加全部</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{D}}">患者信息</view><view class="cell data-v-a6a7913a" bindtap="{{E}}">主诉</view><view class="cell data-v-a6a7913a" bindtap="{{F}}">现病史及既往史</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{G}}">检查</view><view class="cell data-v-a6a7913a" bindtap="{{H}}">临床诊断</view><view class="cell data-v-a6a7913a" bindtap="{{I}}">治疗经过及结果</view></view></view></view></up-popup></view>
@@ -33,6 +33,10 @@
font-size: 38rpx;
color: #000000;
}
.row .tip.data-v-a6a7913a {
color: #9ca3af;
font-size: 32rpx;
}
.row .right.data-v-a6a7913a {
display: flex;
align-items: center;
@@ -95,16 +99,14 @@
position: absolute;
top: 180rpx;
left: 0;
bottom: 250rpx;
bottom: 200rpx;
width: 100%;
}
.editorbox.data-v-a6a7913a {
height: 100%;
width: 100%;
height: 100%;
font-size: 16px;
box-sizing: border-box;
line-height: 1.5;
overflow-y: scroll;
padding: 10rpx 30rpx 10rpx;
}
@@ -168,8 +170,15 @@
align-items: center;
/* justify-content: space-between; */
}
.toolbox .imgbox.data-v-a6a7913a {
width: 32rpx;
height: 32rpx;
}
.toolbox .imgbox.active.data-v-a6a7913a {
margin-top: -9rpx;
}
.toolbox .cell.data-v-a6a7913a {
width: 132rpx;
width: 134rpx;
margin-right: 20rpx;
display: flex;
flex-wrap: nowrap;
@@ -290,4 +299,24 @@
align-items: center;
background: #e5e7eb78;
font-size: 24rpx;
}
.upage.data-v-a6a7913a .ql-container {
padding-bottom: 25rpx;
height: calc(100vh - 600rpx) !important;
}
.upage.data-v-a6a7913a .ql-container {
padding-bottom: 25rpx;
height: calc(100vh - 700rpx);
}
.upage.data-v-a6a7913a .ql-container img {
max-width: 100%;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.upage.data-v-a6a7913a .ql-container image {
max-width: 100%;
position: relative;
left: 50%;
transform: translateX(-50%);
}
@@ -1,72 +0,0 @@
"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
@@ -1,7 +0,0 @@
{
"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"
}
}
@@ -1 +0,0 @@
<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>
@@ -1,35 +0,0 @@
/**
* 这里是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;
}