This commit is contained in:
zoujiandong
2025-07-17 17:15:28 +08:00
parent dc39275e6e
commit 75d515fbc6
92 changed files with 1718 additions and 945 deletions
+2
View File
@@ -7,6 +7,7 @@ const photoImg = "/static/photo.png";
const addImg = "/static/add.png";
const videoImg = "/static/videoicon.png";
const voteImg = "/static/vote.png";
const draftImg = "/static/draft.png";
const switchImg = "/static/switch.png";
const arrowrightImg = "/static/arrowright.png";
const headImg = "/static/headImg.png";
@@ -42,6 +43,7 @@ exports.collectImg = collectImg;
exports.collectonImg = collectonImg;
exports.commentImg = commentImg;
exports.doctorImg = doctorImg;
exports.draftImg = draftImg;
exports.group = group;
exports.group_on = group_on;
exports.headImg = headImg;
File diff suppressed because it is too large Load Diff
@@ -3,7 +3,7 @@ const common_vendor = require("../../../../common/vendor.js");
const base64Avatar = "data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYG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";
const _sfc_main = {
name: "u-avatar",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19],
data() {
return {
// 如果配置randomBgColor参数为true,在图标或者文字的模式下,会随机从中取出一个颜色值当做背景色
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-badge",
mixins: [common_vendor.mpMixin, common_vendor.props$31, common_vendor.mixin],
mixins: [common_vendor.mpMixin, common_vendor.props$32, common_vendor.mixin],
computed: {
// 是否将badge中心与父组件右上角重合
boxStyle() {
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-button",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$13],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$14],
data() {
return {};
},
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-cell-group",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$27],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$28],
methods: {
addStyle: common_vendor.addStyle
}
@@ -5,7 +5,7 @@ const _sfc_main = {
data() {
return {};
},
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$20],
computed: {
titleTextStyle() {
return common_vendor.addStyle(this.titleStyle);
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-code",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$12],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$13],
data() {
return {
secNum: this.seconds,
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-dropdown-item",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$8],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$9],
options: {
styleIsolation: "shared"
},
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-dropdown",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$9],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$10],
data() {
return {
showDropdown: true,
@@ -0,0 +1,84 @@
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-empty",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$5],
data() {
return {
icons: {
car: "购物车为空",
page: "页面不存在",
search: "没有搜索结果",
address: "没有收货地址",
wifi: "没有WiFi",
order: "订单为空",
coupon: "没有优惠券",
favor: "暂无收藏",
permission: "无权限",
history: "无历史记录",
news: "无新闻列表",
message: "消息列表为空",
list: "列表为空",
data: "数据为空",
comment: "暂无评论"
}
};
},
computed: {
// 组件样式
emptyStyle() {
const style = {};
style.marginTop = common_vendor.addUnit(this.marginTop);
return common_vendor.deepMerge(common_vendor.addStyle(this.customStyle), style);
},
// 文本样式
textStyle() {
const style = {};
style.color = this.textColor;
style.fontSize = common_vendor.addUnit(this.textSize);
return style;
},
// 判断icon是否图片路径
isSrc() {
return this.icon.indexOf("/") >= 0;
}
},
methods: {
addUnit: common_vendor.addUnit
}
};
if (!Array) {
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
_easycom_u_icon2();
}
const _easycom_u_icon = () => "../u-icon/u-icon.js";
if (!Math) {
_easycom_u_icon();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: _ctx.show
}, _ctx.show ? common_vendor.e({
b: !$options.isSrc
}, !$options.isSrc ? {
c: common_vendor.p({
name: _ctx.mode === "message" ? "chat" : `empty-${_ctx.mode}`,
size: _ctx.iconSize,
color: _ctx.iconColor,
["margin-top"]: "14"
})
} : {
d: $options.addUnit(_ctx.width),
e: $options.addUnit(_ctx.height),
f: _ctx.icon
}, {
g: common_vendor.t(_ctx.text ? _ctx.text : $data.icons[_ctx.mode]),
h: common_vendor.s($options.textStyle),
i: _ctx.$slots.default || _ctx.$slots.$default
}, _ctx.$slots.default || _ctx.$slots.$default ? {} : {}, {
j: common_vendor.s($options.emptyStyle)
}) : {});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-bd84101d"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.js.map
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"u-icon": "../u-icon/u-icon"
}
}
@@ -0,0 +1 @@
<view wx:if="{{a}}" class="u-empty data-v-bd84101d" style="{{j}}"><u-icon wx:if="{{b}}" class="data-v-bd84101d" u-i="bd84101d-0" bind:__l="__l" u-p="{{c}}"></u-icon><image wx:else class="data-v-bd84101d" style="{{'width:' + d + ';' + ('height:' + e)}}" src="{{f}}" mode="widthFix"></image><text class="u-empty__text data-v-bd84101d" style="{{h}}">{{g}}</text><view wx:if="{{i}}" class="u-empty__wrap data-v-bd84101d"><slot/></view></view>
@@ -0,0 +1,70 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-empty.data-v-bd84101d,
.u-empty__wrap.data-v-bd84101d,
.u-tabs.data-v-bd84101d,
.u-tabs__wrapper.data-v-bd84101d,
.u-tabs__wrapper__scroll-view-wrapper.data-v-bd84101d,
.u-tabs__wrapper__scroll-view.data-v-bd84101d,
.u-tabs__wrapper__nav.data-v-bd84101d,
.u-tabs__wrapper__nav__line.data-v-bd84101d,
.up-empty.data-v-bd84101d,
.up-empty__wrap.data-v-bd84101d,
.up-tabs.data-v-bd84101d,
.up-tabs__wrapper.data-v-bd84101d,
.up-tabs__wrapper__scroll-view-wrapper.data-v-bd84101d,
.up-tabs__wrapper__scroll-view.data-v-bd84101d,
.up-tabs__wrapper__nav.data-v-bd84101d,
.up-tabs__wrapper__nav__line.data-v-bd84101d {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.u-empty.data-v-bd84101d {
display: flex;
flex-direction: row;
flex-direction: column;
justify-content: center;
align-items: center;
}
.u-empty__text.data-v-bd84101d {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 20rpx;
}
.u-slot-wrap.data-v-bd84101d {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 20rpx;
}
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-form-item",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$10],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$11],
data() {
return {
// 错误提示语
@@ -26,7 +26,7 @@ const _sfc_main = {
// 组件创建完成时,将当前实例保存到u-form中
computed: {
propsLine() {
return common_vendor.props$11.line;
return common_vendor.props$12.line;
}
},
mounted() {
@@ -4,7 +4,7 @@ common_vendor.Schema.warning = function() {
};
const _sfc_main = {
name: "u-form",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$14],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15],
provide() {
return {
uForm: this
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-gap",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$30],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$31],
computed: {
gapStyle() {
const style = {
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-line",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$28],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$29],
computed: {
lineStyle() {
const style = {};
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-link",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$34],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$35],
computed: {
linkStyle() {
const style = {
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-list-item",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$20],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$21],
data() {
return {
// 节点信息
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-list",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$21],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$22],
watch: {
scrollIntoView(n) {
this.scrollIntoViewById(n);
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-loading-icon",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$29],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$30],
data() {
return {
// Array.form可以通过一个伪数组对象创建指定长度的数组
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-overlay",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$5],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6],
computed: {
overlayStyle() {
const style = {
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-picker",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$17],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
data() {
return {
// 上一次选择的列索引
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-radio-group",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$7],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$8],
computed: {
// 这里computed的变量,都是子组件u-radio需要用到的,由于头条小程序的兼容性差异,子组件无法实时监听父组件参数的变化
// 所以需要手动通知子组件,这里返回一个parentData变量,供watch监听,在其中去通知每一个子组件重新从父组件(u-radio-group)
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-radio",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$7],
data() {
return {
checked: false,
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-safe-bottom",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$25],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$26],
data() {
return {
safeAreaBottomHeight: 0,
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-status-bar",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$24],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$25],
data() {
return {
isH5: false
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-tabbar-item",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$22],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$23],
data() {
return {
isActive: false,
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-tabbar",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$23],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$24],
data() {
return {
placeholderHeight: 0
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-tabs",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$16],
data() {
return {
firstTime: true,
@@ -51,7 +51,7 @@ const _sfc_main = {
};
},
propsBadge() {
return common_vendor.props$11.badge;
return common_vendor.props$12.badge;
}
},
async mounted() {
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "up-text",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$33],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$34],
emits: ["click"],
computed: {
wrapStyle() {
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-toolbar",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$32],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$33],
emits: ["confirm", "cancel"],
created() {
},
@@ -33,7 +33,7 @@ const _sfc_main = {
}
},
// 将mixin挂在到组件中,实际上为一个vue格式对象。
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$26],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$27],
watch: {
show: {
handler(newVal) {
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-upload",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.mixinUpload, common_vendor.props$16],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.mixinUpload, common_vendor.props$17],
data() {
return {
lists: [],
+5 -1
View File
@@ -52,6 +52,10 @@ const _sfc_main = {
doctor_id.value = options.doctor_id;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const goDetail = (url) => {
utils_navTo.navTo({
url: `/pages/certImg/certImg?src=${url}`
@@ -100,7 +104,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/certList/certList.vue:162", 666666);
common_vendor.index.__f__("log", "at pages/certList/certList.vue:165", 666666);
const params = {
page: pageNo,
page_size: pageSize
+12 -11
View File
@@ -147,7 +147,7 @@ const _sfc_main = {
};
const getUserPoint = () => {
api_api.api.getUserPoint().then((res) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:721", res.data.data);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:722", res.data.data);
point.value = res.data.data;
});
};
@@ -327,18 +327,18 @@ const _sfc_main = {
};
const close = () => {
showCommentDialog.value = false;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:919", "close");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:920", "close");
};
const openDeal = () => {
showDeal.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:924", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:925", "open");
};
const closeDeal = () => {
showDeal.value = false;
};
const openMore = () => {
showMore.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:932", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:933", "open");
};
const closeMore = () => {
showMore.value = false;
@@ -376,12 +376,12 @@ const _sfc_main = {
success(res) {
if (res.statusCode === 204) {
let url = host + "/" + dir + filename + imgType;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1283", url);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1284", url);
imgList.value = [url];
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1288", err);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1289", err);
}
});
});
@@ -400,8 +400,8 @@ const _sfc_main = {
return "unknown";
};
const afterRead = (file, lists, name) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1307", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1308", name);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1308", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1309", name);
handleUpload(file);
};
const delImg = (index) => {
@@ -523,7 +523,7 @@ const _sfc_main = {
};
const fromatImg = (val) => {
if (val) {
return val.replace(/\<img/gi, '<img class="imgstyle"');
return val.replace(/\<img|\<\s+img/gi, '<img class="imgstyle"');
} else {
return "";
}
@@ -703,7 +703,8 @@ const _sfc_main = {
}),
c: common_vendor.o(open),
d: common_vendor.p({
disabled: isH5.value ? false : true,
disabled: true,
focus: false,
type: "text",
placeholderClass: "placeholderClass",
placeholder: "对病例发表您的看法"
@@ -937,7 +938,7 @@ const _sfc_main = {
}),
ad: common_vendor.o(($event) => content.value = $event),
ae: common_vendor.p({
focus: "true",
focus: false,
height: "200",
placeholder: placeholder.value,
modelValue: content.value
+6
View File
@@ -400,6 +400,12 @@
.desc.data-v-eca06f3c {
padding-bottom: 80rpx;
}
.desc.data-v-eca06f3c .imgstyle {
max-width: 100%;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.bottom.data-v-eca06f3c {
position: fixed;
display: flex;
+12 -1
View File
@@ -87,6 +87,11 @@ const _sfc_main = {
url: "/pages/searchList/searchList?type=hospital&name=医院&id="
});
};
const goPublish = () => {
utils_navTo.navTo({
url: "/pages/publish/publish"
});
};
common_vendor.onShow(() => {
getStatic();
getData();
@@ -190,7 +195,13 @@ const _sfc_main = {
b: item.doctor_id,
c: common_vendor.o(($event) => goListBy(item.doctor_id, item.doctor_name, "doctor"), item.doctor_id)
};
})
}),
z: common_vendor.p({
name: "plus",
color: "#fff",
size: "18"
}),
A: common_vendor.o(goPublish)
};
};
}
+1 -1
View File
@@ -1 +1 @@
<nav-bar wx:if="{{a}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="page data-v-1cf27b2a"><view class="databox data-v-1cf27b2a"><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{b}}</view><view class="name data-v-1cf27b2a">文章</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{c}}</view><view class="name data-v-1cf27b2a">视频</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{d}}</view><view class="name data-v-1cf27b2a">阅读量</view></view></view><view class="kubox data-v-1cf27b2a"><view class="row data-v-1cf27b2a"><up--image wx:if="{{f}}" class="data-v-1cf27b2a" bindclick="{{e}}" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{f}}"></up--image><up--image wx:if="{{h}}" class="data-v-1cf27b2a" bindclick="{{g}}" u-i="1cf27b2a-2" bind:__l="__l" u-p="{{h}}"></up--image></view><view class="row data-v-1cf27b2a" style="margin-top:30rpx"><up--image wx:if="{{j}}" class="data-v-1cf27b2a" bindclick="{{i}}" u-i="1cf27b2a-3" bind:__l="__l" u-p="{{j}}"></up--image><up--image wx:if="{{l}}" class="data-v-1cf27b2a" bindclick="{{k}}" u-i="1cf27b2a-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最新上线</view><view class="more data-v-1cf27b2a" bindtap="{{n}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{m}}" class="data-v-1cf27b2a" u-i="1cf27b2a-5" bind:__l="__l" u-p="{{m}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最多阅读</view><view class="more data-v-1cf27b2a" bindtap="{{q}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{p}}" class="data-v-1cf27b2a" u-i="1cf27b2a-6" bind:__l="__l" u-p="{{p}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{r}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医院病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{t}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{s}}" class="data-v-1cf27b2a" u-i="1cf27b2a-7" bind:__l="__l" u-p="{{s}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医生病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{x}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{w}}" class="data-v-1cf27b2a" u-i="1cf27b2a-8" bind:__l="__l" u-p="{{w}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{y}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view></view><tab-bar class="data-v-1cf27b2a" u-i="1cf27b2a-9" bind:__l="__l"></tab-bar>
<nav-bar wx:if="{{a}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="page data-v-1cf27b2a"><view class="databox data-v-1cf27b2a"><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{b}}</view><view class="name data-v-1cf27b2a">文章</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{c}}</view><view class="name data-v-1cf27b2a">视频</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{d}}</view><view class="name data-v-1cf27b2a">阅读量</view></view></view><view class="kubox data-v-1cf27b2a"><view class="row data-v-1cf27b2a"><up--image wx:if="{{f}}" class="data-v-1cf27b2a" bindclick="{{e}}" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{f}}"></up--image><up--image wx:if="{{h}}" class="data-v-1cf27b2a" bindclick="{{g}}" u-i="1cf27b2a-2" bind:__l="__l" u-p="{{h}}"></up--image></view><view class="row data-v-1cf27b2a" style="margin-top:30rpx"><up--image wx:if="{{j}}" class="data-v-1cf27b2a" bindclick="{{i}}" u-i="1cf27b2a-3" bind:__l="__l" u-p="{{j}}"></up--image><up--image wx:if="{{l}}" class="data-v-1cf27b2a" bindclick="{{k}}" u-i="1cf27b2a-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最新上线</view><view class="more data-v-1cf27b2a" bindtap="{{n}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{m}}" class="data-v-1cf27b2a" u-i="1cf27b2a-5" bind:__l="__l" u-p="{{m}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最多阅读</view><view class="more data-v-1cf27b2a" bindtap="{{q}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{p}}" class="data-v-1cf27b2a" u-i="1cf27b2a-6" bind:__l="__l" u-p="{{p}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{r}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医院病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{t}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{s}}" class="data-v-1cf27b2a" u-i="1cf27b2a-7" bind:__l="__l" u-p="{{s}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医生病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{x}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{w}}" class="data-v-1cf27b2a" u-i="1cf27b2a-8" bind:__l="__l" u-p="{{w}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{y}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view></view><tab-bar class="data-v-1cf27b2a" u-i="1cf27b2a-9" bind:__l="__l"></tab-bar><view class="publish data-v-1cf27b2a" bindtap="{{A}}"><u-icon wx:if="{{z}}" class="data-v-1cf27b2a" u-i="1cf27b2a-10" bind:__l="__l" u-p="{{z}}"></u-icon></view>
+12
View File
@@ -148,4 +148,16 @@
margin-top: 18rpx;
font-size: 28rpx;
color: #4b5563;
}
.publish.data-v-1cf27b2a {
width: 92rpx;
height: 92rpx;
background: #3CC7C0;
border-radius: 50%;
position: fixed;
right: 30rpx;
bottom: 180rpx;
display: flex;
justify-content: center;
align-items: center;
}
+6 -2
View File
@@ -64,6 +64,10 @@ const _sfc_main = {
keyWord.value = options2.keyWord;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changetype1 = (e) => {
type1.value = e;
paging.value.reload();
@@ -77,8 +81,8 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id) => {
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:126", 11111);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:127", id);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:129", 11111);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:130", id);
let type = isArticle.value ? "article" : "video";
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
+4
View File
@@ -110,6 +110,10 @@ const _sfc_main = {
};
common_vendor.onLoad((options) => {
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const formatdate = (date) => {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
+104 -97
View File
@@ -10,10 +10,11 @@ if (!Array) {
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
const _easycom_up_empty2 = common_vendor.resolveComponent("up-empty");
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
(_easycom_u_icon2 + _easycom_up__textarea2 + _easycom_up_icon2 + _easycom_up__image2 + _easycom_up_input2 + _easycom_up_popup2 + _easycom_up_overlay2 + _easycom_up_radio2 + _easycom_up_radio_group2)();
(_easycom_u_icon2 + _easycom_up__textarea2 + _easycom_up_icon2 + _easycom_up__image2 + _easycom_up_input2 + _easycom_up_popup2 + _easycom_up_empty2 + _easycom_up_overlay2 + _easycom_up_radio2 + _easycom_up_radio_group2)();
}
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
const _easycom_up__textarea = () => "../../node-modules/uview-plus/components/u--textarea/u--textarea.js";
@@ -21,11 +22,12 @@ const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
const _easycom_up_input = () => "../../node-modules/uview-plus/components/u-input/u-input.js";
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
const _easycom_up_empty = () => "../../node-modules/uview-plus/components/u-empty/u-empty.js";
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
if (!Math) {
(_easycom_u_icon + _easycom_up__textarea + svEditor + _easycom_up_icon + _easycom_up__image + _easycom_up_input + _easycom_up_popup + _easycom_up_overlay + _easycom_up_radio + _easycom_up_radio_group)();
(_easycom_u_icon + _easycom_up__textarea + svEditor + _easycom_up_icon + _easycom_up__image + _easycom_up_input + _easycom_up_popup + _easycom_up_empty + _easycom_up_overlay + _easycom_up_radio + _easycom_up_radio_group)();
}
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
const _sfc_main = {
@@ -72,7 +74,7 @@ const _sfc_main = {
common_vendor.ref([]);
const editorCtx = common_vendor.ref(null);
const editorCtxResult = common_vendor.ref(null);
const isFocusInfo = common_vendor.ref(true);
const isFocusInfo = common_vendor.ref(false);
const isFocusResult = common_vendor.ref(false);
const labelList = common_vendor.ref([]);
const goBack = () => {
@@ -80,11 +82,15 @@ const _sfc_main = {
delta: 1
});
};
const openDraftList = () => {
getDraftList();
showDraft.value = true;
};
const closeCase = () => {
showCase.value = false;
};
const epaste = (e) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:518", e);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:535", e);
};
const addOption = () => {
voteData.case_exchange_vote_option.push({
@@ -120,7 +126,6 @@ const _sfc_main = {
form.case_exchange_vote.valid_day = 7;
};
const saveVote = () => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:553", voteData);
if (voteData.vote_title == "") {
common_vendor.index.showToast({
title: "请输入投票标题",
@@ -142,30 +147,7 @@ const _sfc_main = {
});
return false;
}
for (let i = 0; i < voteData.case_exchange_vote_option.length; i++) {
if (voteData.case_exchange_vote_option[i].option_value == "") {
common_vendor.index.showToast({
title: "投票选项不能为空",
icon: "none"
});
return false;
}
if (voteData.case_exchange_vote_option[i].option_value.length > 16) {
common_vendor.index.showToast({
title: "第" + (i + 1) + "个投票选项超过16个字符",
icon: "none"
});
return false;
}
}
if (voteData.case_exchange_vote_option.length < 2) {
common_vendor.index.showToast({
title: "至少添加两个选项",
icon: "none"
});
return false;
}
Object.assign(form.case_exchange_vote, voteData);
form.case_exchange_vote = voteData;
showVote.value = false;
};
const fromatDay = (value) => {
@@ -178,25 +160,37 @@ const _sfc_main = {
return common_vendor.dayjs(value).format("YYYY-MM-DD");
}
};
const fromatImg = (val) => {
if (val) {
return val.replace(/\<img/gi, '<img class="imgstyle"');
} else {
return "";
}
};
const ready = (e) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:639", e);
editorCtx.value = e;
let html = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
editorCtx.value.initHtml(html);
common_vendor.index.hideKeyboard();
common_vendor.index.pageScrollTo({
scrollTop: 0,
selector: "#form"
// })
});
};
const readyResult = (e) => {
editorCtxResult.value = e;
};
const clearMuBan = () => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:625", "清空模板");
common_vendor.index.__f__("log", "at pages/publish/publish.vue:659", "清空模板");
editorCtx.value.initHtml("");
};
const focusInfo = () => {
isFocusInfo.value = true;
};
const blurInfo = () => {
setTimeout(() => {
isFocusInfo.value = false;
}, 2e3);
isFocusInfo.value = false;
};
const focusResult = () => {
isFocusResult.value = true;
@@ -243,7 +237,7 @@ const _sfc_main = {
isLock.value = true;
const res = await editorCtx.value.getLastContent();
form.exchange_content = res.html;
const resResult = await editorCtx.value.getLastContent();
const resResult = await editorCtxResult.value.getLastContent();
form.exchange_summary = resResult.html;
if (labelList.value.length > 0) {
form.case_exchange_label = labelList.value;
@@ -273,7 +267,7 @@ const _sfc_main = {
labelList.value = exchange_label;
form.exchange_summary = exchange_summary;
form.case_exchange_vote = exchange_vote;
editorCtxResult.value.initHtml(exchange_content);
editorCtxResult.value.initHtml(exchange_summary);
Object.assign(voteData, draft);
showDraft.value = false;
};
@@ -284,6 +278,7 @@ const _sfc_main = {
};
const confirmDel = () => {
showModal.value = false;
common_vendor.index.__f__("log", "at pages/publish/publish.vue:776", delType.value);
if (delType.value == "delDraft") {
delDraft(delId.value);
} else if (delType.value == "saveDraft") {
@@ -310,8 +305,9 @@ const _sfc_main = {
goBack();
} else {
const res = await editorCtx.value.getLastContent();
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p>";
const resContent = await editorCtxResult.value.getLastContent();
if (form.exchange_title || res.html || resContent.html || form.case_exchange_vote && form.case_exchange_vote.vote_title && form.case_exchange_label && form.case_exchange_label.length > 0) {
if (form.exchange_title || res.html != initInfo || resContent.text || form.case_exchange_vote && form.case_exchange_vote.vote_title && form.case_exchange_label && form.case_exchange_label.length > 0) {
delType.value = "saveDraft";
showModal.value = true;
} else {
@@ -320,7 +316,7 @@ const _sfc_main = {
}
};
const publish = async () => {
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p>";
if (form.exchange_title == "") {
common_vendor.index.showToast({
title: "请输入标题",
@@ -393,7 +389,7 @@ const _sfc_main = {
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:861", err);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:905", err);
}
});
});
@@ -423,7 +419,7 @@ const _sfc_main = {
return randomNumber;
};
const getImageFormat = (imageUrl) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:891", imageUrl);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:935", imageUrl);
const lastDotIndex = imageUrl.lastIndexOf(".");
if (lastDotIndex !== -1) {
return imageUrl.substring(lastDotIndex + 1);
@@ -455,7 +451,7 @@ const _sfc_main = {
//从相册选择
extension: [".mp4", ".webm", ".ogg"],
success: function(res) {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:918", res.tempFilePath);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:962", res.tempFilePath);
HandleAddVideo(res.tempFilePath);
}
});
@@ -493,7 +489,7 @@ const _sfc_main = {
async success(res2) {
if (res2.statusCode === 204) {
let url = host + "/" + dir + filename + imgType;
common_vendor.index.__f__("log", "at pages/publish/publish.vue:960", editorCtx2);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1004", editorCtx2);
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
const fileThumbnail = await editorCtx2.createCoverThumbnail(
imgUrl
@@ -507,7 +503,7 @@ const _sfc_main = {
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:975", err);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1019", err);
}
});
});
@@ -529,7 +525,7 @@ const _sfc_main = {
};
const getCaseLabel = (lev, pid = 0) => {
api_api.api.getCaseLabel({
pid
pId: pid
}).then((res) => {
if (lev == 1) {
labelObj.list1 = res.data.data;
@@ -557,7 +553,7 @@ const _sfc_main = {
showCase.value = false;
if (level.value == 1) {
let label = labelObj.list1.find((item) => item.app_iden == caseValue1.value);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1025", label);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1069", label);
labelList.value.push({
app_iden: label.app_iden,
label_name: label.label_name
@@ -609,7 +605,6 @@ const _sfc_main = {
getCaseLabel(1, 0);
};
common_vendor.onLoad(() => {
getDraftList();
});
return (_ctx, _cache) => {
return common_vendor.e({
@@ -687,7 +682,7 @@ const _sfc_main = {
}),
B: !isFocusInfo.value ? 1 : "",
C: common_vendor.o(alertTitle),
D: common_vendor.o(($event) => showDraft.value = true),
D: common_vendor.o(openDraftList),
E: common_vendor.p({
src: common_vendor.unref(common_assets.voteImg),
width: "47rpx",
@@ -748,16 +743,27 @@ const _sfc_main = {
size: "20"
}),
Y: common_vendor.o(closeDraft),
Z: common_vendor.f(draftList.value, (item, index, i0) => {
Z: draftList.value.length == 0
}, draftList.value.length == 0 ? {
aa: common_vendor.p({
marginTop: "120rpx",
text: "草稿箱为空",
mode: "list",
icon: common_vendor.unref(common_assets.draftImg)
})
} : {}, {
ab: draftList.value.length > 0
}, draftList.value.length > 0 ? {
ac: common_vendor.f(draftList.value, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.exchange_title ? item.exchange_title : "无标题"),
b: item.exchange_content
}, item.exchange_content ? {
c: item.exchange_content
c: fromatImg(item.exchange_content)
} : item.exchange_summary ? common_vendor.e({
e: item.exchange_summary
}, item.exchange_summary ? {
f: item.exchange_summary
f: fromatImg(item.exchange_summary)
} : {}) : item.exchange_label && item.exchange_label.length > 0 ? common_vendor.e({
h: item.exchange_summary
}, item.exchange_summary ? {} : {}, {
@@ -774,74 +780,75 @@ const _sfc_main = {
g: item.exchange_label && item.exchange_label.length > 0,
j: item.exchange_vote,
l: common_vendor.t(fromatDay(item.updated_at)),
m: "bfce3555-18-" + i0 + ",bfce3555-16",
m: "bfce3555-19-" + i0 + ",bfce3555-16",
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
o: "bfce3555-19-" + i0 + ",bfce3555-16",
o: "bfce3555-20-" + i0 + ",bfce3555-16",
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
q: item.draft_id
});
}),
aa: common_vendor.p({
ad: common_vendor.p({
name: "trash",
color: "#4B5563",
size: "16"
}),
ab: common_vendor.p({
ae: common_vendor.p({
name: "edit-pen",
color: "#fff",
size: "17"
}),
ac: common_vendor.o(closeDraft),
ad: common_vendor.o(openDraft),
ae: common_vendor.p({
})
} : {}, {
af: common_vendor.o(closeDraft),
ag: common_vendor.o(openDraft),
ah: common_vendor.p({
round: 10,
zIndex: "9",
show: showDraft.value,
mode: "bottom"
}),
af: common_vendor.p({
ai: common_vendor.p({
name: "close",
color: "#4B5563",
size: "20"
}),
ag: common_vendor.o(closeTitle),
ah: common_vendor.o(insertAllWord),
ai: common_vendor.p({
aj: common_vendor.o(closeTitle),
ak: common_vendor.o(insertAllWord),
al: common_vendor.p({
name: "plus-circle",
color: "#3CC7C0",
size: "20"
}),
aj: common_vendor.o(insertAllWord),
ak: common_vendor.o(($event) => insertWord("患者信息")),
al: common_vendor.o(($event) => insertWord("主诉")),
am: common_vendor.o(($event) => insertWord("现病史及既往史")),
an: common_vendor.o(($event) => insertWord("检查")),
ao: common_vendor.o(($event) => insertWord("临床诊断")),
ap: common_vendor.o(($event) => insertWord("治疗经过及结果")),
aq: common_vendor.o(closeTitle),
ar: common_vendor.o(openTitle),
as: common_vendor.p({
am: common_vendor.o(insertAllWord),
an: common_vendor.o(($event) => insertWord("患者信息")),
ao: common_vendor.o(($event) => insertWord("主诉")),
ap: common_vendor.o(($event) => insertWord("现病史及既往史")),
aq: common_vendor.o(($event) => insertWord("检查")),
ar: common_vendor.o(($event) => insertWord("临床诊断")),
as: common_vendor.o(($event) => insertWord("治疗经过及结果")),
at: common_vendor.o(closeTitle),
av: common_vendor.o(openTitle),
aw: common_vendor.p({
round: 10,
zIndex: "9",
show: showTitle.value,
mode: "bottom"
}),
at: delType.value == "delDraft"
ax: delType.value == "delDraft"
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
av: delType.value == "saveDraft",
aw: common_vendor.o(cancelDel),
ax: common_vendor.o(confirmDel),
ay: common_vendor.p({
ay: delType.value == "saveDraft",
az: common_vendor.o(cancelDel),
aA: common_vendor.o(confirmDel),
aB: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
}),
az: common_vendor.o(($event) => showCase.value = false),
aA: common_vendor.o(continueCase),
aB: level.value != 3,
aC: common_vendor.o(confirmCase),
aD: common_vendor.f(labelObj.list1, (item, k0, i0) => {
aC: common_vendor.o(($event) => showCase.value = false),
aD: common_vendor.o(continueCase),
aE: level.value != 3,
aF: common_vendor.o(confirmCase),
aG: common_vendor.f(labelObj.list1, (item, k0, i0) => {
return {
a: "bfce3555-26-" + i0 + ",bfce3555-25",
a: "bfce3555-27-" + i0 + ",bfce3555-26",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -850,16 +857,16 @@ const _sfc_main = {
c: item.app_iden
};
}),
aE: common_vendor.o(($event) => caseValue1.value = $event),
aF: common_vendor.p({
aH: common_vendor.o(($event) => caseValue1.value = $event),
aI: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue1.value
}),
aG: level.value == 1,
aH: common_vendor.f(labelObj.list2, (item, k0, i0) => {
aJ: level.value == 1,
aK: common_vendor.f(labelObj.list2, (item, k0, i0) => {
return {
a: "bfce3555-28-" + i0 + ",bfce3555-27",
a: "bfce3555-29-" + i0 + ",bfce3555-28",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -868,16 +875,16 @@ const _sfc_main = {
c: item.app_iden
};
}),
aI: common_vendor.o(($event) => caseValue2.value = $event),
aJ: common_vendor.p({
aL: common_vendor.o(($event) => caseValue2.value = $event),
aM: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue2.value
}),
aK: level.value == 2,
aL: common_vendor.f(labelObj.list2, (item, k0, i0) => {
aN: level.value == 2,
aO: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "bfce3555-30-" + i0 + ",bfce3555-29",
a: "bfce3555-31-" + i0 + ",bfce3555-30",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -886,15 +893,15 @@ const _sfc_main = {
c: item.app_iden
};
}),
aM: common_vendor.o(($event) => caseValue3.value = $event),
aN: common_vendor.p({
aP: common_vendor.o(($event) => caseValue3.value = $event),
aQ: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue3.value
}),
aO: level.value == 3,
aP: common_vendor.o(closeCase),
aQ: common_vendor.p({
aR: level.value == 3,
aS: common_vendor.o(closeCase),
aT: common_vendor.p({
round: 10,
zIndex: "9",
show: showCase.value,
@@ -8,6 +8,7 @@
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
"up-input": "../../node-modules/uview-plus/components/u-input/u-input",
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
"up-empty": "../../node-modules/uview-plus/components/u-empty/u-empty",
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay",
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
File diff suppressed because one or more lines are too long
+31 -3
View File
@@ -26,7 +26,7 @@
.casepop.data-v-bfce3555 {
display: flex;
flex-direction: column;
max-height: calc(100vh - 750rpx);
max-height: calc(100vh - 400rpx);
}
.casepop .continue.data-v-bfce3555 {
color: #2878ff !important;
@@ -35,7 +35,16 @@
flex: 1;
overflow-y: scroll;
padding-top: 10rpx;
max-height: calc(100vh - 700rpx);
min-height: 350rpx;
padding-bottom: 20rpx;
}
.casecon.data-v-bfce3555 .u-radio {
margin-bottom: 10px !important;
margin-top: 0px !important;
}
.casecon .casePadding.data-v-bfce3555 {
padding-bottom: 0rpx;
}
.casecon .column.data-v-bfce3555 {
padding: 0 30rpx;
@@ -246,7 +255,7 @@
font-size: 24rpx;
}
#editor.data-v-bfce3555 {
padding: 0 30rpx;
padding: 0 10rpx;
height: calc(100vh - 700rpx);
}
#editorRes.data-v-bfce3555 {
@@ -581,7 +590,7 @@
}
.form .sickbox.data-v-bfce3555 {
display: flex;
padding: 25rpx 25rpx 0;
padding: 25rpx 25rpx 10rpx;
margin-bottom: 20rpx;
}
.form .add.data-v-bfce3555 {
@@ -646,4 +655,23 @@
align-items: center;
color: #6b7280;
font-size: 31rpx;
}
.data-v-bfce3555 .ql-container {
padding-bottom: 25rpx;
height: calc(100vh - 700rpx);
}
.data-v-bfce3555 .ql-container img {
max-width: 100%;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.data-v-bfce3555 .ql-container image {
max-width: 100%;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.con.data-v-bfce3555 .imgstyle {
max-width: 100%;
}
+10 -6
View File
@@ -53,7 +53,7 @@ const _sfc_main = {
value: "desc"
}
]);
const isSearch = common_vendor.ref(false);
const isSearch = common_vendor.ref(true);
const order = common_vendor.reactive({
read_num: "",
push_date: ""
@@ -173,13 +173,17 @@ const _sfc_main = {
canOpenCase.value = true;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:317", e);
common_vendor.index.__f__("log", "at pages/search/search.vue:320", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:322", e);
common_vendor.index.__f__("log", "at pages/search/search.vue:325", e);
order.push_date = "";
paging.value.reload();
};
@@ -187,7 +191,7 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id, isLink, src) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:330", isLink);
common_vendor.index.__f__("log", "at pages/search/search.vue:333", isLink);
if (isLink == 1) {
utils_navTo.navTo({
url: `/pages/web/web?src=${src}`
@@ -325,7 +329,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:478", 666666);
common_vendor.index.__f__("log", "at pages/search/search.vue:481", 666666);
const params = {
page: pageNo,
page_size: pageSize
@@ -472,7 +476,7 @@ const _sfc_main = {
modelValue: caseValue2.value
}),
T: level.value == 2,
U: common_vendor.f(labelObj.list2, (item, k0, i0) => {
U: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "c10c040c-16-" + i0 + ",c10c040c-15",
b: common_vendor.p({
File diff suppressed because one or more lines are too long
+7 -1
View File
@@ -121,10 +121,16 @@
}
.casecon.data-v-c10c040c {
flex: 1;
max-height: calc(100vh - 800rpx);
overflow-y: scroll;
padding-top: 10rpx;
padding-top: 22rpx;
padding-bottom: 20rpx;
min-height: 350rpx;
}
.casecon.data-v-c10c040c .u-radio {
margin-bottom: 10px !important;
margin-top: 0px !important;
}
.casecon .column.data-v-c10c040c {
padding: 0 30rpx;
border-bottom: 2rpx solid #e5e7eb;
@@ -62,6 +62,10 @@ const _sfc_main = {
order.read_num = "desc";
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const change = (e) => {
paging.value.reload();
};
@@ -135,7 +139,7 @@ const _sfc_main = {
});
};
const changeWord = (value) => {
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:259", value);
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:262", value);
if (value) {
navName.value = value + "临床病例库";
keyWord.value = value;
+8 -4
View File
@@ -62,13 +62,17 @@ const _sfc_main = {
order.article_num = "desc";
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:136", e);
order.read_num = "";
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:139", e);
order.article_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:141", e);
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:144", e);
order.push_date = "";
paging.value.reload();
};
@@ -112,7 +116,7 @@ const _sfc_main = {
});
};
const changeWord = (value) => {
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:191", value);
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:194", value);
if (value) {
navName.value = value + "临床病例库";
keyWord.value = value;
@@ -59,13 +59,17 @@ const _sfc_main = {
is_selected.value = options2.is_selected;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:201", e);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:205", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:206", e);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:210", e);
order.push_date = "";
paging.value.reload();
};
@@ -88,7 +92,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:228", 666666);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:232", 666666);
const params = {
page: pageNo,
page_size: pageSize
+9 -5
View File
@@ -80,13 +80,17 @@ const _sfc_main = {
getStaticDoctor(hospital_id.value);
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:156", e);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:159", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:161", e);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:164", e);
order.push_date = "";
paging.value.reload();
};
@@ -94,8 +98,8 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:169", 11111);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:170", id);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:172", 11111);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:173", id);
let type = isArticle.value ? "article" : "video";
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
@@ -168,7 +172,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:245", 666666);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:248", 666666);
const params = {
page: pageNo,
page_size: pageSize
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

@@ -117,7 +117,6 @@ function addImage(imgs, options = {}) {
if (!upRes || upRes.length == 0)
return;
noKeyboardEffect(() => {
editorCtx.insertText({ text: "\n" });
upRes == null ? void 0 : upRes.forEach((item) => {
common_vendor.index.__f__("log", "at uni_modules/sv-editor/components/common/utils.js:51", "item");
common_vendor.index.__f__("log", "at uni_modules/sv-editor/components/common/utils.js:52", item);
@@ -126,7 +125,6 @@ function addImage(imgs, options = {}) {
src: options.srcFiled ? item[options.srcFiled] : item
});
});
editorCtx.insertText({ text: "\n" });
});
return upRes;
}
@@ -140,7 +138,6 @@ async function addVideo(uploadFunc, options = {}) {
if (!upRes || !(upRes == null ? void 0 : upRes.length))
return;
noKeyboardEffect(() => {
editorCtx.insertText({ text: "\n" });
upRes == null ? void 0 : upRes.forEach((item) => {
editorCtx.insertImage({
...options,
@@ -149,7 +146,6 @@ async function addVideo(uploadFunc, options = {}) {
data: { url: item.videoUrl }
});
});
editorCtx.insertText({ text: "\n" });
});
return upRes;
}
@@ -141,6 +141,7 @@ const _sfc_main = {
html: transHtml,
success: () => {
this.editorCtx.changeInput();
this.editorCtx.blur();
}
});
});