This commit is contained in:
zoujiandong
2025-07-22 15:56:22 +08:00
parent 89336f5621
commit 1d598d149b
28 changed files with 881 additions and 509 deletions
+147 -147
View File
@@ -7319,7 +7319,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.100.165,127.0.0.1";
const port = "8090";
const id = "mp-weixin_aXLJP2";
const id = "mp-weixin_sl0SNv";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
@@ -14313,6 +14313,74 @@ Schema.register = function register(type2, validator) {
Schema.warning = warning;
Schema.messages = messages;
const props$l = defineMixin({
props: {
// 标题
title: {
type: [String, Number],
default: () => props$B.stepsItem.title
},
// 描述文本
desc: {
type: [String, Number],
default: () => props$B.stepsItem.desc
},
// 图标大小
iconSize: {
type: [String, Number],
default: () => props$B.stepsItem.iconSize
},
// 当前步骤是否处于失败状态
error: {
type: Boolean,
default: () => props$B.stepsItem.error
},
// 自定义样式
itemStyle: {
type: [Object],
default: {}
}
}
});
const props$k = defineMixin({
props: {
// 排列方向
direction: {
type: String,
default: () => props$B.steps.direction
},
// 设置第几个步骤
current: {
type: [String, Number],
default: () => props$B.steps.current
},
// 激活状态颜色
activeColor: {
type: String,
default: () => props$B.steps.activeColor
},
// 未激活状态颜色
inactiveColor: {
type: String,
default: () => props$B.steps.inactiveColor
},
// 激活状态的图标
activeIcon: {
type: String,
default: () => props$B.steps.activeIcon
},
// 未激活状态图标
inactiveIcon: {
type: String,
default: () => props$B.steps.inactiveIcon
},
// 是否显示点类型
dot: {
type: Boolean,
default: () => props$B.steps.dot
}
}
});
const props$j = defineMixin({
props: {
// 滑块的移动过渡时间,单位ms
duration: {
@@ -15484,7 +15552,7 @@ const mixinUpload = {
}
}
};
const props$k = defineMixin({
const props$i = defineMixin({
props: {
// 接受的文件类型, 可选值为all media image file video
accept: {
@@ -15612,74 +15680,6 @@ const props$k = defineMixin({
}
}
});
const props$j = defineMixin({
props: {
// 标题
title: {
type: [String, Number],
default: () => props$B.stepsItem.title
},
// 描述文本
desc: {
type: [String, Number],
default: () => props$B.stepsItem.desc
},
// 图标大小
iconSize: {
type: [String, Number],
default: () => props$B.stepsItem.iconSize
},
// 当前步骤是否处于失败状态
error: {
type: Boolean,
default: () => props$B.stepsItem.error
},
// 自定义样式
itemStyle: {
type: [Object],
default: {}
}
}
});
const props$i = defineMixin({
props: {
// 排列方向
direction: {
type: String,
default: () => props$B.steps.direction
},
// 设置第几个步骤
current: {
type: [String, Number],
default: () => props$B.steps.current
},
// 激活状态颜色
activeColor: {
type: String,
default: () => props$B.steps.activeColor
},
// 未激活状态颜色
inactiveColor: {
type: String,
default: () => props$B.steps.inactiveColor
},
// 激活状态的图标
activeIcon: {
type: String,
default: () => props$B.steps.activeIcon
},
// 未激活状态图标
inactiveIcon: {
type: String,
default: () => props$B.steps.inactiveIcon
},
// 是否显示点类型
dot: {
type: Boolean,
default: () => props$B.steps.dot
}
}
});
const props$h = defineMixin({
props: {
modelValue: {
@@ -16401,83 +16401,6 @@ const props$4 = defineMixin({
}
});
const props$3 = defineMixin({
props: {
// 是否显示圆点
isDot: {
type: Boolean,
default: () => props$B.badge.isDot
},
// 显示的内容
value: {
type: [Number, String],
default: () => props$B.badge.value
},
// 显示的内容
modelValue: {
type: [Number, String],
default: () => props$B.badge.modelValue
},
// 是否显示
show: {
type: Boolean,
default: () => props$B.badge.show
},
// 最大值,超过最大值会显示 '{max}+'
max: {
type: [Number, String],
default: () => props$B.badge.max
},
// 主题类型,error|warning|success|primary
type: {
type: String,
default: () => props$B.badge.type
},
// 当数值为 0 时,是否展示 Badge
showZero: {
type: Boolean,
default: () => props$B.badge.showZero
},
// 背景颜色,优先级比type高,如设置,type参数会失效
bgColor: {
type: [String, null],
default: () => props$B.badge.bgColor
},
// 字体颜色
color: {
type: [String, null],
default: () => props$B.badge.color
},
// 徽标形状,circle-四角均为圆角,horn-左下角为直角
shape: {
type: String,
default: () => props$B.badge.shape
},
// 设置数字的显示方式,overflow|ellipsis|limit
// overflow会根据max字段判断,超出显示`${max}+`
// ellipsis会根据max判断,超出显示`${max}...`
// limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
numberType: {
type: String,
default: () => props$B.badge.numberType
},
// 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
offset: {
type: Array,
default: () => props$B.badge.offset
},
// 是否反转背景和字体颜色
inverted: {
type: Boolean,
default: () => props$B.badge.inverted
},
// 是否绝对定位
absolute: {
type: Boolean,
default: () => props$B.badge.absolute
}
}
});
const props$2 = defineMixin({
props: {
// 主题颜色
type: {
@@ -16666,6 +16589,83 @@ const value = {
}
}
};
const props$2 = defineMixin({
props: {
// 是否显示圆点
isDot: {
type: Boolean,
default: () => props$B.badge.isDot
},
// 显示的内容
value: {
type: [Number, String],
default: () => props$B.badge.value
},
// 显示的内容
modelValue: {
type: [Number, String],
default: () => props$B.badge.modelValue
},
// 是否显示
show: {
type: Boolean,
default: () => props$B.badge.show
},
// 最大值,超过最大值会显示 '{max}+'
max: {
type: [Number, String],
default: () => props$B.badge.max
},
// 主题类型,error|warning|success|primary
type: {
type: String,
default: () => props$B.badge.type
},
// 当数值为 0 时,是否展示 Badge
showZero: {
type: Boolean,
default: () => props$B.badge.showZero
},
// 背景颜色,优先级比type高,如设置,type参数会失效
bgColor: {
type: [String, null],
default: () => props$B.badge.bgColor
},
// 字体颜色
color: {
type: [String, null],
default: () => props$B.badge.color
},
// 徽标形状,circle-四角均为圆角,horn-左下角为直角
shape: {
type: String,
default: () => props$B.badge.shape
},
// 设置数字的显示方式,overflow|ellipsis|limit
// overflow会根据max字段判断,超出显示`${max}+`
// ellipsis会根据max判断,超出显示`${max}...`
// limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
numberType: {
type: String,
default: () => props$B.badge.numberType
},
// 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
offset: {
type: Array,
default: () => props$B.badge.offset
},
// 是否反转背景和字体颜色
inverted: {
type: Boolean,
default: () => props$B.badge.inverted
},
// 是否绝对定位
absolute: {
type: Boolean,
default: () => props$B.badge.absolute
}
}
});
const props$1 = defineMixin({
props: {
// 是否展示工具条
@@ -21,6 +21,7 @@ const _sfc_main = {
}
},
setup(__props) {
const props = __props;
const useImg = common_vendor.ref("");
const goBack = () => {
common_vendor.index.navigateBack({
@@ -28,9 +29,16 @@ const _sfc_main = {
});
};
const goHome = () => {
common_vendor.index.reLaunch({
url: "/pages/index/index"
});
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({
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-badge",
mixins: [common_vendor.mpMixin, common_vendor.props$34, common_vendor.mixin],
mixins: [common_vendor.mpMixin, common_vendor.props$35, common_vendor.mixin],
computed: {
// 是否将badge中心与父组件右上角重合
boxStyle() {
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-steps-item",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$16],
data() {
return {
index: 0,
@@ -2,7 +2,7 @@
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "u-steps",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$17],
data() {
return {};
},
@@ -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$16],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
data() {
return {
firstTime: true,
@@ -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$35],
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-upload",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.mixinUpload, common_vendor.props$17],
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.mixinUpload, common_vendor.props$19],
data() {
return {
lists: [],
+10 -10
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:734", res.data.data);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:732", 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:932", "close");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:930", "close");
};
const openDeal = () => {
showDeal.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:937", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:935", "open");
};
const closeDeal = () => {
showDeal.value = false;
};
const openMore = () => {
showMore.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:945", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:943", "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:1296", url);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1294", url);
imgList.value = [url];
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1301", err);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1299", 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:1320", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1321", name);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1318", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1319", name);
handleUpload(file);
};
const delImg = (index) => {
@@ -426,7 +426,7 @@ const _sfc_main = {
});
};
const collectExchange = (id2) => {
api_api.api.collectExchange(id2).then((res) => {
api_api.api.exchangeCollect(id2).then((res) => {
common_vendor.index.showToast({
icon: "none",
title: "收藏成功"
@@ -693,7 +693,7 @@ const _sfc_main = {
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.p({
navName: "肝胆相照临床病例库"
navName: type.value == "exchange" ? "肝胆相照病例交流园地" : "肝胆相照临床病例库"
}),
b: common_vendor.p({
src: common_vendor.unref(common_assets.chatImg),
+32 -26
View File
@@ -96,88 +96,94 @@ const _sfc_main = {
b: common_vendor.t(userInfo.user_name),
c: common_vendor.t(userInfo.title),
d: common_vendor.t(userInfo.hospital_name),
e: common_vendor.t(numInfo.article_num),
f: common_vendor.t(numInfo.video_num),
g: common_vendor.t(numInfo.video_read_num + numInfo.article_read_num),
h: numInfo.article_num + numInfo.video_num >= 5
e: numInfo.article_num + numInfo.video_num >= 5
}, numInfo.article_num + numInfo.video_num >= 5 ? {
i: common_vendor.p({
f: common_vendor.t(numInfo.article_num),
g: common_vendor.t(numInfo.video_num),
h: common_vendor.t(numInfo.video_read_num + numInfo.article_read_num)
} : {}, {
i: numInfo.article_num + numInfo.video_num >= 5
}, numInfo.article_num + numInfo.video_num >= 5 ? {
j: common_vendor.p({
src: common_vendor.unref(common_assets.myFile),
width: "34rpx",
height: "34rpx"
}),
j: common_vendor.p({
k: common_vendor.p({
name: "arrow-right",
color: "#9CA3AF",
size: "18"
}),
k: common_vendor.o(($event) => goDoctor(userInfo.doctor_id, userInfo.user_name))
l: common_vendor.o(($event) => goDoctor(userInfo.doctor_id, userInfo.user_name))
} : {}, {
l: common_vendor.p({
m: numInfo.article_num + numInfo.video_num >= 5
}, numInfo.article_num + numInfo.video_num >= 5 ? {
n: common_vendor.p({
src: common_vendor.unref(common_assets.myDownload),
width: "42rpx",
height: "42rpx"
}),
m: common_vendor.p({
o: common_vendor.p({
name: "arrow-right",
color: "#9CA3AF",
size: "18"
}),
n: common_vendor.o(goCert),
o: hospitalInfo.video_num + hospitalInfo.article_num >= 10
p: common_vendor.o(goCert)
} : {}, {
q: hospitalInfo.video_num + hospitalInfo.article_num >= 10
}, hospitalInfo.video_num + hospitalInfo.article_num >= 10 ? {
p: common_vendor.p({
r: common_vendor.p({
src: common_vendor.unref(common_assets.myHospital),
width: "39rpx",
height: "39rpx"
}),
q: common_vendor.t(userInfo.hospital_name),
r: common_vendor.p({
s: common_vendor.t(userInfo.hospital_name),
t: common_vendor.p({
name: "arrow-right",
color: "#9CA3AF",
size: "18"
}),
s: common_vendor.o(($event) => goHospital(userInfo.hospital_id, userInfo.hospital_name))
v: common_vendor.o(($event) => goHospital(userInfo.hospital_id, userInfo.hospital_name))
} : {}, {
t: common_vendor.p({
w: common_vendor.p({
src: common_vendor.unref(common_assets.myTalk),
width: "39rpx",
height: "39rpx"
}),
v: common_vendor.p({
x: common_vendor.p({
name: "arrow-right",
color: "#9CA3AF",
size: "18"
}),
w: common_vendor.o(mySpecial),
x: common_vendor.p({
y: common_vendor.o(mySpecial),
z: common_vendor.p({
src: common_vendor.unref(common_assets.myJoin),
width: "39rpx",
height: "39rpx"
}),
y: common_vendor.p({
A: common_vendor.p({
name: "arrow-right",
color: "#9CA3AF",
size: "18"
}),
z: common_vendor.o(goJoin),
A: common_vendor.p({
B: common_vendor.o(goJoin),
C: common_vendor.p({
src: common_vendor.unref(common_assets.myCollect),
width: "39rpx",
height: "39rpx"
}),
B: common_vendor.p({
D: common_vendor.p({
name: "arrow-right",
color: "#9CA3AF",
size: "18"
}),
C: common_vendor.o(goCollect),
D: common_vendor.p({
E: common_vendor.o(goCollect),
F: common_vendor.p({
name: "plus",
color: "#fff",
size: "18"
}),
E: common_vendor.o(goPublish)
G: common_vendor.o(goPublish)
});
};
}
+1 -1
View File
@@ -1 +1 @@
<view class="upage data-v-2f1ef635"><d-nav class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l"></d-nav><view class="con data-v-2f1ef635"><view class="infobox data-v-2f1ef635"><up--image wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{a}}"></up--image><view class="info data-v-2f1ef635"><view class="name data-v-2f1ef635">{{b}}{{c}} </view><view class="hospital data-v-2f1ef635">{{d}}</view></view></view><view class="databox data-v-2f1ef635"><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{e}}</view><view class="name data-v-2f1ef635">文章</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{f}}</view><view class="name data-v-2f1ef635">视频</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{g}}</view><view class="name data-v-2f1ef635">阅读量</view></view></view><view class="listbox data-v-2f1ef635"><view class="titlename data-v-2f1ef635">我的临床病例库</view><view wx:if="{{h}}" class="cell data-v-2f1ef635" bindtap="{{k}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{i}}" class="data-v-2f1ef635" u-i="2f1ef635-2" bind:__l="__l" u-p="{{i}}"></up--image><view class="title data-v-2f1ef635">我的病例库</view></view><u-icon wx:if="{{j}}" class="data-v-2f1ef635" u-i="2f1ef635-3" bind:__l="__l" u-p="{{j}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{n}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{l}}" class="data-v-2f1ef635" u-i="2f1ef635-4" bind:__l="__l" u-p="{{l}}"></up--image><view class="title data-v-2f1ef635">临床病例库收录证书下载</view></view><u-icon wx:if="{{m}}" class="data-v-2f1ef635" u-i="2f1ef635-5" bind:__l="__l" u-p="{{m}}"></u-icon></view><view wx:if="{{o}}" class="cell data-v-2f1ef635" bindtap="{{s}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{p}}" class="data-v-2f1ef635" u-i="2f1ef635-6" bind:__l="__l" u-p="{{p}}"></up--image><view class="title data-v-2f1ef635">{{q}}临床病例库</view></view><u-icon wx:if="{{r}}" class="data-v-2f1ef635" u-i="2f1ef635-7" bind:__l="__l" u-p="{{r}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{w}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-8" bind:__l="__l" u-p="{{t}}"></up--image><view class="title data-v-2f1ef635">我的病例交流</view></view><u-icon wx:if="{{v}}" class="data-v-2f1ef635" u-i="2f1ef635-9" bind:__l="__l" u-p="{{v}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{z}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-10" bind:__l="__l" u-p="{{x}}"></up--image><view class="title data-v-2f1ef635">我的参与互动</view></view><u-icon wx:if="{{y}}" class="data-v-2f1ef635" u-i="2f1ef635-11" bind:__l="__l" u-p="{{y}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{C}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{A}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{A}}"></up--image><view class="title data-v-2f1ef635">浏览与收藏</view></view><u-icon wx:if="{{B}}" class="data-v-2f1ef635" u-i="2f1ef635-13" bind:__l="__l" u-p="{{B}}"></u-icon></view></view></view><view class="publish data-v-2f1ef635" bindtap="{{E}}"><up-icon wx:if="{{D}}" class="data-v-2f1ef635" u-i="2f1ef635-14" bind:__l="__l" u-p="{{D}}"></up-icon></view></view>
<view class="upage data-v-2f1ef635"><d-nav class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l"></d-nav><view class="con data-v-2f1ef635"><view class="infobox data-v-2f1ef635"><up--image wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{a}}"></up--image><view class="info data-v-2f1ef635"><view class="name data-v-2f1ef635">{{b}}{{c}} </view><view class="hospital data-v-2f1ef635">{{d}}</view></view></view><view wx:if="{{e}}" class="databox data-v-2f1ef635"><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{f}}</view><view class="name data-v-2f1ef635">文章</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{g}}</view><view class="name data-v-2f1ef635">视频</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{h}}</view><view class="name data-v-2f1ef635">阅读量</view></view></view><view class="listbox data-v-2f1ef635"><view class="titlename data-v-2f1ef635">我的临床病例库</view><view wx:if="{{i}}" class="cell data-v-2f1ef635" bindtap="{{l}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{j}}" class="data-v-2f1ef635" u-i="2f1ef635-2" bind:__l="__l" u-p="{{j}}"></up--image><view class="title data-v-2f1ef635">我的病例库</view></view><u-icon wx:if="{{k}}" class="data-v-2f1ef635" u-i="2f1ef635-3" bind:__l="__l" u-p="{{k}}"></u-icon></view><view wx:if="{{m}}" class="cell data-v-2f1ef635" bindtap="{{p}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{n}}" class="data-v-2f1ef635" u-i="2f1ef635-4" bind:__l="__l" u-p="{{n}}"></up--image><view class="title data-v-2f1ef635">临床病例库收录证书下载</view></view><u-icon wx:if="{{o}}" class="data-v-2f1ef635" u-i="2f1ef635-5" bind:__l="__l" u-p="{{o}}"></u-icon></view><view wx:if="{{q}}" class="cell data-v-2f1ef635" bindtap="{{v}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{r}}" class="data-v-2f1ef635" u-i="2f1ef635-6" bind:__l="__l" u-p="{{r}}"></up--image><view class="title data-v-2f1ef635">{{s}}临床病例库</view></view><u-icon wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-7" bind:__l="__l" u-p="{{t}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{y}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{w}}" class="data-v-2f1ef635" u-i="2f1ef635-8" bind:__l="__l" u-p="{{w}}"></up--image><view class="title data-v-2f1ef635">我的病例交流</view></view><u-icon wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-9" bind:__l="__l" u-p="{{x}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{B}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{z}}" class="data-v-2f1ef635" u-i="2f1ef635-10" bind:__l="__l" u-p="{{z}}"></up--image><view class="title data-v-2f1ef635">我的参与互动</view></view><u-icon wx:if="{{A}}" class="data-v-2f1ef635" u-i="2f1ef635-11" bind:__l="__l" u-p="{{A}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{E}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{C}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{C}}"></up--image><view class="title data-v-2f1ef635">浏览与收藏</view></view><u-icon wx:if="{{D}}" class="data-v-2f1ef635" u-i="2f1ef635-13" bind:__l="__l" u-p="{{D}}"></u-icon></view></view></view><view class="publish data-v-2f1ef635" bindtap="{{G}}"><up-icon wx:if="{{F}}" class="data-v-2f1ef635" u-i="2f1ef635-14" bind:__l="__l" u-p="{{F}}"></up-icon></view></view>
+11 -4
View File
@@ -26,7 +26,7 @@ const _sfc_main = {
const total = common_vendor.ref(0);
common_vendor.ref("");
const keyWord = common_vendor.ref("");
const isArticle = common_vendor.ref(true);
common_vendor.ref(true);
const isSearch = common_vendor.ref(false);
const navName = common_vendor.ref("肝胆相照临床病例库");
const type1 = common_vendor.ref(0);
@@ -82,9 +82,16 @@ 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:135", 11111);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:135", type1.value);
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:136", id);
let type = isArticle.value ? "article" : "video";
let type = "article";
if (type2.value == 1) {
type = "article";
} else if (type2.value == 2) {
type = "video";
} else if (type2.value == 3) {
type = "exchange";
}
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
});
@@ -177,7 +184,7 @@ const _sfc_main = {
f: common_vendor.t(item.data.collect_num),
g: "1cf734f5-7-" + i0 + ",1cf734f5-0",
h: common_vendor.t(formatdate(item.data.push_date)),
i: common_vendor.o(($event) => goDetail(), item.collect_id),
i: common_vendor.o(($event) => goDetail(item.data.id), item.collect_id),
j: item.collect_id
};
}),
@@ -1 +1 @@
<view class="u-page data-v-1cf734f5"><z-paging wx:if="{{v}}" class="r data-v-1cf734f5" u-s="{{['top','d']}}" u-r="paging" bindquery="{{s}}" u-i="1cf734f5-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-1cf734f5" bindchangeWord="{{a}}" u-i="1cf734f5-1,1cf734f5-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-1cf734f5"><view class="desc data-v-1cf734f5">检索到:<text class="red data-v-1cf734f5">{{d}}篇</text></view><view wx:if="{{e}}" class="desc data-v-1cf734f5">检索词:<text class="red data-v-1cf734f5">{{f}}</text></view></view><view class="filterbox data-v-1cf734f5"><up-dropdown u-s="{{['d']}}" class="u-dropdown r data-v-1cf734f5" u-r="uDropdownRef" u-i="1cf734f5-2,1cf734f5-0" bind:__l="__l"><up-dropdown-item wx:if="{{i}}" class="data-v-1cf734f5" bindchange="{{g}}" u-i="1cf734f5-3,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-dropdown-item><up-dropdown-item wx:if="{{l}}" class="data-v-1cf734f5" bindchange="{{j}}" u-i="1cf734f5-4,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-dropdown-item></up-dropdown></view></view><view wx:for="{{n}}" wx:for-item="item" wx:key="j" class="item data-v-1cf734f5" bindtap="{{item.i}}"><view class="title ellipsis data-v-1cf734f5">{{item.a}}</view><view class="tagsbox data-v-1cf734f5"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf734f5">{{tag.a}}</view></view><view class="deal data-v-1cf734f5"><view class="left data-v-1cf734f5"><view class="eyebox data-v-1cf734f5"><up-icon wx:if="{{o}}" class="data-v-1cf734f5" u-i="{{item.c}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-1cf734f5">{{item.d}}</view></view><view class="collect data-v-1cf734f5"><up-icon wx:if="{{p}}" class="data-v-1cf734f5" u-i="{{item.e}}" bind:__l="__l" u-p="{{p}}"></up-icon><view class="num data-v-1cf734f5">{{item.f}}</view></view></view><view class="time data-v-1cf734f5"><up-icon wx:if="{{q}}" class="data-v-1cf734f5" u-i="{{item.g}}" bind:__l="__l" u-p="{{q}}"></up-icon><view class="num data-v-1cf734f5">{{item.h}}</view></view></view></view></z-paging></view>
<view class="u-page data-v-1cf734f5"><z-paging wx:if="{{v}}" class="r data-v-1cf734f5" u-s="{{['top','d']}}" u-r="paging" bindquery="{{s}}" u-i="1cf734f5-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-1cf734f5" bindchangeWord="{{a}}" u-i="1cf734f5-1,1cf734f5-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-1cf734f5"><view class="desc data-v-1cf734f5">检索到:<text class="red data-v-1cf734f5">{{d}}篇</text></view><view wx:if="{{e}}" class="desc data-v-1cf734f5">检索词:<text class="red data-v-1cf734f5">{{f}}</text></view></view><view class="filterbox data-v-1cf734f5"><up-dropdown u-s="{{['d']}}" class="u-dropdown r data-v-1cf734f5" u-r="uDropdownRef" u-i="1cf734f5-2,1cf734f5-0" bind:__l="__l"><up-dropdown-item wx:if="{{i}}" class="data-v-1cf734f5" bindchange="{{g}}" u-i="1cf734f5-3,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-dropdown-item><up-dropdown-item wx:if="{{l}}" class="data-v-1cf734f5" bindchange="{{j}}" u-i="1cf734f5-4,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-dropdown-item></up-dropdown></view></view><view wx:for="{{n}}" wx:for-item="item" wx:key="j" class="item data-v-1cf734f5" bindtap="{{item.i}}"><view class="title ellipsis-two-lines data-v-1cf734f5">{{item.a}}</view><view class="tagsbox data-v-1cf734f5"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf734f5">{{tag.a}}</view></view><view class="deal data-v-1cf734f5"><view class="left data-v-1cf734f5"><view class="eyebox data-v-1cf734f5"><up-icon wx:if="{{o}}" class="data-v-1cf734f5" u-i="{{item.c}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-1cf734f5">{{item.d}}</view></view><view class="collect data-v-1cf734f5"><up-icon wx:if="{{p}}" class="data-v-1cf734f5" u-i="{{item.e}}" bind:__l="__l" u-p="{{p}}"></up-icon><view class="num data-v-1cf734f5">{{item.f}}</view></view></view><view class="time data-v-1cf734f5"><up-icon wx:if="{{q}}" class="data-v-1cf734f5" u-i="{{item.g}}" bind:__l="__l" u-p="{{q}}"></up-icon><view class="num data-v-1cf734f5">{{item.h}}</view></view></view></view></z-paging></view>
+298 -168
View File
@@ -6,28 +6,34 @@ const utils_navTo = require("../../utils/navTo.js");
if (!Array) {
const _easycom_navBarSearch2 = common_vendor.resolveComponent("navBarSearch");
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
const _easycom_up_dropdown_item2 = common_vendor.resolveComponent("up-dropdown-item");
const _easycom_up_dropdown2 = common_vendor.resolveComponent("up-dropdown");
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
const _easycom_up_steps_item2 = common_vendor.resolveComponent("up-steps-item");
const _easycom_up_steps2 = common_vendor.resolveComponent("up-steps");
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
(_easycom_navBarSearch2 + _easycom_up__image2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_popup2 + _easycom_up_overlay2)();
(_easycom_navBarSearch2 + _easycom_up__image2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_u_icon2 + _easycom_up_steps_item2 + _easycom_up_steps2 + _easycom_up_popup2 + _easycom_up_overlay2)();
}
const _easycom_navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.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";
const _easycom_up_dropdown_item = () => "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item.js";
const _easycom_up_dropdown = () => "../../node-modules/uview-plus/components/u-dropdown/u-dropdown.js";
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.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";
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
const _easycom_up_steps_item = () => "../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js";
const _easycom_up_steps = () => "../../node-modules/uview-plus/components/u-steps/u-steps.js";
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
if (!Math) {
(_easycom_navBarSearch + _easycom_up__image + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_popup + _easycom_up_overlay)();
(_easycom_navBarSearch + _easycom_up__image + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_u_icon + _easycom_up_steps_item + _easycom_up_steps + _easycom_up_popup + _easycom_up_overlay)();
}
const _sfc_main = {
__name: "specialList",
@@ -42,39 +48,161 @@ const _sfc_main = {
const total = common_vendor.ref(0);
const keyWord = common_vendor.ref("");
const vote = common_vendor.ref(null);
const showNum = common_vendor.ref(true);
const showNum = common_vendor.ref(false);
const label_iden = common_vendor.ref("");
const dropTitle = common_vendor.ref("发布时间");
const orderFilter = common_vendor.ref("1");
const uDropdownRef = common_vendor.ref(null);
const options = common_vendor.ref([
{
label: "正序",
value: "asc"
label: "发布时间",
value: "1"
},
{
label: "倒序",
value: "desc"
label: "互动更新时间",
value: "2"
},
{
label: "互动次数",
value: "3"
}
]);
common_vendor.ref(true);
const order = common_vendor.reactive({
read_num: "",
push_date: ""
push_date: "desc"
});
const label_iden = common_vendor.ref("");
const showCase = common_vendor.ref(false);
common_vendor.ref(false);
const caseValue1 = common_vendor.ref("");
const caseValue2 = common_vendor.ref("");
const caseValue3 = common_vendor.ref("");
const caseValue1 = common_vendor.reactive({
value: "",
name: ""
});
const caseValue2 = common_vendor.reactive({
value: "",
name: ""
});
const caseValue3 = common_vendor.reactive({
value: "",
name: ""
});
const level = common_vendor.ref(1);
const dealId = common_vendor.ref("");
const labelObj = common_vendor.reactive({
list1: [],
list2: [],
list3: []
});
const openCaseLevel = (lev) => {
freshKey.value++;
level.value = lev;
if (lev == 1) {
caseValue2.name = "";
caseValue2.value = "";
labelObj.list2 = [];
} else if (lev == 2) {
labelObj.list3 = [];
caseValue3.name = "";
caseValue3.value = "";
}
};
const groupChange1 = (e) => {
caseValue1.value = e;
for (var i = 0; i < labelObj.list1.length; i++) {
if (labelObj.list1[i].app_iden == caseValue1.value) {
caseValue1.name = labelObj.list1[i].label_name;
break;
}
}
getCaseLabel(2, e);
};
const groupChange2 = (e) => {
caseValue2.value = e;
for (var i = 0; i < labelObj.list2.length; i++) {
if (labelObj.list2[i].app_iden == caseValue2.value) {
caseValue2.name = labelObj.list2[i].label_name;
break;
}
}
getCaseLabel(3, e);
};
const groupChange3 = (e) => {
caseValue3.value = e;
level.value = 3;
for (var i = 0; i < labelObj.list3.length; i++) {
if (labelObj.list3[i].app_iden == caseValue3.value) {
caseValue3.name = labelObj.list3[i].label_name;
break;
}
}
};
const getCaseLabel = (lev, pid = 0) => {
api_api.api.getCaseLabel({
pId: pid
}).then((res) => {
level.value = lev;
if (lev == 1) {
labelObj.list1 = res.data.data;
} else if (lev == 2) {
labelObj.list2 = res.data.data;
if (res.data.data.length == 0) {
level.value = 1;
}
} else if (lev == 3) {
labelObj.list3 = res.data.data;
if (res.data.data.length == 0) {
level.value = 2;
}
}
});
};
const openCase = () => {
showCase.value = true;
};
const cancelCase = () => {
showCase.value = false;
level.value = 1;
caseValue1.name = "";
caseValue1.value = "";
caseValue2.name = "";
caseValue2.value = "";
caseValue3.name = "";
caseValue3.value = "";
labelObj.list2 = [];
labelObj.list3 = [];
};
const confirmCase = () => {
if (level.value == 1 && caseValue1.value == "") {
common_vendor.index.showToast({ title: "请选择疾病选项", icon: "none" });
return false;
}
if (level.value == 1) {
label_iden.value = caseValue1.value;
}
if (level.value == 2) {
if (!caseValue2.value) {
label_iden.value = caseValue1.value;
} else {
label_iden.value = caseValue2.value;
}
}
if (level.value == 3) {
if (!caseValue3.value) {
label_iden.value = caseValue2.value;
} else {
label_iden.value = caseValue3.value;
}
}
paging.value.reload();
showCase.value = false;
};
const closeCase = () => {
showCase.value = false;
};
const openDeal = (id, voteObj) => {
showDeal.value = true;
dealId.value = id;
vote.value = voteObj;
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:324", id);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:500", id);
};
const alertDel = () => {
showDeal.value = false;
@@ -93,78 +221,15 @@ const _sfc_main = {
url: "/pages/publish/publish?exchange_id=" + dealId.value
});
};
const htmlToText = (html) => {
return html.replace(/<[^>]*>/g, "").replace(/&nbsp;/gi, " ").replace(/<br\s*\/?>/gi, "\n").replace(/<img\s[^>]*>/gi, "").replace(/<video[^>]*>[\s\S]*?/gi, "");
};
const confirmDel = () => {
showModal.value = false;
};
const closeDealPop = () => {
showDeal.value = false;
};
const getCaseLabel = (lev, pid = 0) => {
api_api.api.getCaseLabel({
pId: pid
}).then((res) => {
if (lev == 1) {
labelObj.list1 = res.data.data;
} else if (lev == 2) {
labelObj.list2 = res.data.data;
} else if (lev == 3) {
labelObj.list3 = res.data.data;
}
level.value = lev;
});
};
const openCase = () => {
getCaseLabel(1, 0);
showCase.value = true;
};
const confirmCase = () => {
if (level.value == 1 && caseValue1.value == "") {
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
return false;
}
if (level.value == 2 && caseValue2.value == "") {
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
return false;
}
if (level.value == 3 && caseValue3.value == "") {
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
return false;
}
showCase.value = false;
if (level.value == 1) {
label_iden.value = caseValue1.value;
}
if (level.value == 2) {
label_iden.value = caseValue2.value;
}
if (level.value == 3) {
label_iden.value = caseValue3.value;
}
paging.value.reload();
};
const continueCase = () => {
if (level.value == 1 && caseValue1.value == "") {
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
return false;
}
if (level.value == 2 && caseValue2.value == "") {
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
return false;
}
if (level.value == 3 && caseValue3.value == "") {
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
return false;
}
if (level.value == 1) {
getCaseLabel(2, caseValue1.value);
} else if (level.value == 2) {
getCaseLabel(3, caseValue2.value);
}
paging.value.reload();
};
const closeCase = () => {
showCase.value = false;
};
const formatdate = (date) => {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
@@ -181,19 +246,31 @@ const _sfc_main = {
if (options2.type == "mine") {
isMine.value = true;
}
getCaseLabel(1, 0);
});
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:444", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:449", e);
order.push_date = "";
if (e == 1) {
order.push_date = "desc";
order.comment_num = "";
order.last_comment_time = "";
dropTitle.value = "发布时间";
} else if (e == 2) {
order.push_date = "";
order.comment_num = "";
order.last_comment_time = "desc";
dropTitle.value = "互动更新时间";
} else {
order.push_date = "";
order.last_comment_time = "";
order.comment_num = "desc";
dropTitle.value = "互动数";
}
orderFilter.value = e;
uDropdownRef.value.close();
paging.value.reload();
};
const videoErrorCallback = (e) => {
@@ -215,7 +292,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:471", 666666);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:599", 666666);
const params = {
page: pageNo,
page_size: pageSize
@@ -228,11 +305,17 @@ const _sfc_main = {
user_id: user_id.value,
label_iden: label_iden.value
};
if (!label_iden.value) {
delete searchForm.label_iden;
}
if (Number(is_selected.value)) {
searchForm.is_selected = Number(is_selected.value);
}
if (!order.read_num) {
delete order.read_num;
if (!order.comment_num) {
delete order.comment_num;
}
if (!order.last_comment_time) {
delete order.last_comment_time;
}
if (!label_iden.value) {
delete searchForm.label_iden;
@@ -240,7 +323,7 @@ const _sfc_main = {
if (!order.push_date) {
delete order.push_date;
}
if (order.read_num || order.push_date) {
if (order.comment_num || order.push_date || order.last_comment_time) {
searchForm.order = order;
}
api_api.api.searchExchage({
@@ -257,7 +340,7 @@ const _sfc_main = {
return common_vendor.e({
a: common_vendor.o(changeWord),
b: common_vendor.p({
navName: "肝胆相照精选病例交流"
navName: "肝胆相照病例交流园地"
}),
c: showNum.value
}, showNum.value ? common_vendor.e({
@@ -272,29 +355,39 @@ const _sfc_main = {
height: "31rpx"
}),
h: common_vendor.o(openCase),
i: common_vendor.o(changeDate),
j: common_vendor.o(($event) => order.push_date = $event),
k: common_vendor.p({
title: "发布时间",
options: options.value,
modelValue: order.push_date
i: common_vendor.f(options.value, (item, k0, i0) => {
return {
a: "b2cb78f4-6-" + i0 + ",b2cb78f4-5",
b: common_vendor.p({
activeColor: "#3CC7C0",
label: item.label,
name: item.value
}),
c: item.value,
d: common_vendor.n(orderFilter.value == item.value ? "active" : "")
};
}),
l: common_vendor.o(changeRead),
m: common_vendor.o(($event) => order.read_num = $event),
n: common_vendor.p({
title: "阅读量",
options: options.value,
modelValue: order.read_num
j: common_vendor.o(changeDate),
k: common_vendor.o(($event) => orderFilter.value = $event),
l: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: orderFilter.value
}),
o: common_vendor.sr("uDropdownRef", "b2cb78f4-3,b2cb78f4-0"),
p: common_vendor.f(dataList.value, (item, k0, i0) => {
m: common_vendor.p({
title: dropTitle.value
}),
n: common_vendor.sr(uDropdownRef, "b2cb78f4-3,b2cb78f4-0", {
"k": "uDropdownRef"
}),
o: common_vendor.f(dataList.value, (item, k0, i0) => {
return common_vendor.e({
a: common_vendor.t(item.exchange_title),
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
}, isMine.value ? {
c: common_vendor.o(($event) => openDeal(item.exchange_id, item.case_exchange_vote), item.exchange_id)
} : {}, {
d: "b2cb78f4-6-" + i0 + ",b2cb78f4-0",
d: "b2cb78f4-7-" + i0 + ",b2cb78f4-0",
e: common_vendor.p({
src: item.avatar ? item.avatar : common_vendor.unref(common_assets.headImg),
width: "46rpx",
@@ -304,13 +397,13 @@ const _sfc_main = {
f: common_vendor.t(item.user_name),
g: common_vendor.t(item.hospital_name),
h: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
i: common_vendor.t(item.exchange_content),
i: common_vendor.t(htmlToText(item.exchange_content)),
j: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
k: item.exchange_content_image && item.exchange_content_image.length > 0
}, item.exchange_content_image && item.exchange_content_image.length > 0 ? {
l: common_vendor.f(item.exchange_content_image, (unit, k1, i1) => {
return {
a: "b2cb78f4-7-" + i0 + "-" + i1 + ",b2cb78f4-0",
a: "b2cb78f4-8-" + i0 + "-" + i1 + ",b2cb78f4-0",
b: common_vendor.p({
src: unit,
radius: "10",
@@ -341,57 +434,87 @@ const _sfc_main = {
}),
r: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
} : {}, {
s: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
s: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
t: common_vendor.t(item.read_num),
v: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
w: common_vendor.t(item.collect_num),
x: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
y: common_vendor.t(item.comment_num),
z: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
A: common_vendor.t(formatdate(item.push_date)),
B: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
C: item.exchange_id
v: item.collect_num > 0
}, item.collect_num > 0 ? {
w: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
x: common_vendor.p({
name: "heart",
color: "#4B5563",
size: "28rpx"
}),
y: common_vendor.t(item.collect_num)
} : {}, {
z: item.comment_num > 0
}, item.comment_num > 0 ? {
A: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
B: common_vendor.p({
name: "chat",
color: "#4B5563",
size: "28rpx"
}),
C: common_vendor.t(item.comment_num)
} : {}, {
D: "b2cb78f4-12-" + i0 + ",b2cb78f4-0",
E: common_vendor.t(formatdate(item.push_date)),
F: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
G: item.exchange_id
});
}),
q: isMine.value,
r: common_vendor.p({
p: isMine.value,
q: common_vendor.p({
name: "eye",
color: "#4B5563",
size: "28rpx"
}),
s: common_vendor.p({
name: "heart",
color: "#4B5563",
size: "28rpx"
}),
t: common_vendor.p({
name: "chat",
color: "#4B5563",
size: "28rpx"
}),
v: common_vendor.p({
r: common_vendor.p({
name: "clock",
color: "#4B5563",
size: "28rpx"
}),
w: common_vendor.sr(paging, "b2cb78f4-0", {
s: common_vendor.sr(paging, "b2cb78f4-0", {
"k": "paging"
}),
x: common_vendor.o(queryList),
y: common_vendor.o(($event) => dataList.value = $event),
z: common_vendor.p({
t: common_vendor.o(queryList),
v: common_vendor.o(($event) => dataList.value = $event),
w: common_vendor.p({
["inside-more"]: true,
["loading-more-no-more-text"]: "咱也是有底线的!",
["auto-show-back-to-top"]: true,
modelValue: dataList.value
}),
A: common_vendor.o(($event) => showCase.value = false),
B: common_vendor.o(continueCase),
C: level.value != 3,
D: common_vendor.o(confirmCase),
E: common_vendor.f(labelObj.list1, (item, k0, i0) => {
x: common_vendor.o(cancelCase),
y: common_vendor.o(confirmCase),
z: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
A: common_vendor.p({
name: "arrow-right"
}),
B: common_vendor.o(($event) => openCaseLevel("1")),
C: caseValue1.name && labelObj.list2.length > 0
}, caseValue1.name && labelObj.list2.length > 0 ? {
D: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
E: common_vendor.p({
name: "arrow-right"
}),
F: common_vendor.o(($event) => openCaseLevel("2"))
} : {}, {
G: caseValue2.name && labelObj.list3.length > 0
}, caseValue2.name && labelObj.list3.length > 0 ? {
H: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
I: common_vendor.p({
name: "arrow-right"
}),
J: common_vendor.o(($event) => openCaseLevel("3"))
} : {}, {
K: _ctx.freshKey,
L: common_vendor.p({
current: level.value - 1,
direction: "column"
}),
M: common_vendor.f(labelObj.list1, (item, k0, i0) => {
return {
a: "b2cb78f4-14-" + i0 + ",b2cb78f4-13",
a: "b2cb78f4-22-" + i0 + ",b2cb78f4-21",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -400,16 +523,18 @@ const _sfc_main = {
c: item.app_iden
};
}),
F: common_vendor.o(($event) => caseValue1.value = $event),
G: common_vendor.p({
N: common_vendor.o(groupChange1),
O: common_vendor.o(($event) => caseValue1.value = $event),
P: common_vendor.p({
name: "group1",
iconPlacement: "right",
placement: "column",
modelValue: caseValue1.value
}),
H: level.value == 1,
I: common_vendor.f(labelObj.list2, (item, k0, i0) => {
Q: level.value == 1,
R: common_vendor.f(labelObj.list2, (item, k0, i0) => {
return {
a: "b2cb78f4-16-" + i0 + ",b2cb78f4-15",
a: "b2cb78f4-24-" + i0 + ",b2cb78f4-23",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -418,16 +543,18 @@ const _sfc_main = {
c: item.app_iden
};
}),
J: common_vendor.o(($event) => caseValue2.value = $event),
K: common_vendor.p({
S: common_vendor.o(groupChange2),
T: common_vendor.o(($event) => caseValue2.value = $event),
U: common_vendor.p({
name: "group2",
iconPlacement: "right",
placement: "column",
modelValue: caseValue2.value
}),
L: level.value == 2,
M: common_vendor.f(labelObj.list3, (item, k0, i0) => {
V: level.value == 2,
W: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "b2cb78f4-18-" + i0 + ",b2cb78f4-17",
a: "b2cb78f4-26-" + i0 + ",b2cb78f4-25",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
@@ -436,25 +563,28 @@ const _sfc_main = {
c: item.app_iden
};
}),
N: common_vendor.o(($event) => caseValue3.value = $event),
O: common_vendor.p({
X: common_vendor.o(groupChange3),
Y: common_vendor.o(($event) => caseValue3.value = $event),
Z: common_vendor.p({
name: "group3",
iconPlacement: "right",
placement: "column",
modelValue: caseValue3.value
}),
P: level.value == 3,
Q: common_vendor.o(closeCase),
R: common_vendor.p({
aa: level.value == 3,
ab: common_vendor.o(closeCase),
ac: common_vendor.p({
round: 10,
zIndex: "9",
closeOnClickOverlay: false,
show: showCase.value,
mode: "bottom"
}),
S: common_vendor.o(goEdit),
T: common_vendor.o(alertDel),
U: common_vendor.o(closeDealPop),
V: common_vendor.o(_ctx.closeDeal),
W: common_vendor.p({
ad: common_vendor.o(goEdit),
ae: common_vendor.o(alertDel),
af: common_vendor.o(closeDealPop),
ag: common_vendor.o(_ctx.closeDeal),
ah: common_vendor.p({
zIndex: 60,
overlayStyle: {
zIndex: 59
@@ -464,9 +594,9 @@ const _sfc_main = {
round: 10,
mode: "bottom"
}),
X: common_vendor.o(($event) => showModal.value = false),
Y: common_vendor.o(confirmDel),
Z: common_vendor.p({
ai: common_vendor.o(($event) => showModal.value = false),
aj: common_vendor.o(confirmDel),
ak: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
})
@@ -4,12 +4,15 @@
"usingComponents": {
"nav-bar-search": "../../components/navBarSearch/navBarSearch",
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
"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",
"up-dropdown-item": "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item",
"up-dropdown": "../../node-modules/uview-plus/components/u-dropdown/u-dropdown",
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"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",
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
"up-steps-item": "../../node-modules/uview-plus/components/u-steps-item/u-steps-item",
"up-steps": "../../node-modules/uview-plus/components/u-steps/u-steps",
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay"
}
File diff suppressed because one or more lines are too long
@@ -23,6 +23,39 @@
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.dropcontent.data-v-b2cb78f4 {
padding-top: 40rpx;
padding-bottom: 20rpx;
background-color: #fff;
}
.dropcontent.data-v-b2cb78f4 .u-radio {
margin-bottom: 6px !important;
margin-top: 16px !important;
}
.dropcontent .column.data-v-b2cb78f4 {
padding: 0 30rpx;
border-top: 2rpx solid #e5e7eb;
}
.dropcontent .column.data-v-b2cb78f4 .u-radio__text {
color: #333 !important;
}
.dropcontent .column.active.data-v-b2cb78f4 .u-radio__text {
color: #3CC7C0 !important;
}
.stepbox.data-v-b2cb78f4 {
padding: 15rpx 30rpx;
border-bottom: 2rpx dotted #f3f4f6;
}
.stepbox.data-v-b2cb78f4 .u-steps-item__content {
margin-top: -5rpx !important;
}
.stepbox .slot-content.data-v-b2cb78f4 {
width: 100%;
margin-bottom: 25rpx;
justify-content: space-between;
align-items: center;
display: flex;
}
.dealbox .dealcell.data-v-b2cb78f4 {
display: flex;
align-items: center;
@@ -41,6 +74,7 @@
}
.filterbox.data-v-b2cb78f4 .u-dropdown__menu__item__text {
font-size: 14px !important;
color: #3c9cff !important;
}
.filterbox .type.data-v-b2cb78f4 {
color: #606266;