打包地址
This commit is contained in:
@@ -0,0 +1,909 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const uni_modules_svEditor_components_common_utils = require("../../uni_modules/sv-editor/components/common/utils.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
const _easycom_up__textarea2 = common_vendor.resolveComponent("up--textarea");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
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_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)();
|
||||
}
|
||||
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";
|
||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
||||
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_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)();
|
||||
}
|
||||
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
|
||||
const _sfc_main = {
|
||||
__name: "publish",
|
||||
setup(__props) {
|
||||
const isLock = common_vendor.ref(false);
|
||||
const isFlag = common_vendor.ref(false);
|
||||
const delId = common_vendor.ref("");
|
||||
const showModal = common_vendor.ref(false);
|
||||
const delType = common_vendor.ref("delDraft");
|
||||
const showCase = common_vendor.ref(false);
|
||||
const caseValue1 = common_vendor.ref("");
|
||||
const caseValue2 = common_vendor.ref("");
|
||||
const caseValue3 = common_vendor.ref("");
|
||||
const level = common_vendor.ref(1);
|
||||
const isPublish = common_vendor.ref(false);
|
||||
const labelObj = common_vendor.reactive({
|
||||
list1: [],
|
||||
list2: [],
|
||||
list3: []
|
||||
});
|
||||
const form = common_vendor.reactive({
|
||||
exchange_title: "",
|
||||
exchange_content: "",
|
||||
exchange_summary: "",
|
||||
case_exchange_vote: {},
|
||||
case_exchange_label: []
|
||||
});
|
||||
const voteData = common_vendor.reactive({
|
||||
vote_title: "",
|
||||
valid_day: 7,
|
||||
case_exchange_vote_option: [
|
||||
{
|
||||
option_value: ""
|
||||
}
|
||||
]
|
||||
});
|
||||
common_vendor.ref("");
|
||||
const showVote = common_vendor.ref(false);
|
||||
const showDraft = common_vendor.ref(false);
|
||||
const showTitle = common_vendor.ref(false);
|
||||
const draftList = common_vendor.ref([]);
|
||||
const imgList = common_vendor.ref([]);
|
||||
common_vendor.ref([]);
|
||||
const editorCtx = common_vendor.ref(null);
|
||||
const editorCtxResult = common_vendor.ref(null);
|
||||
const isFocusInfo = common_vendor.ref(true);
|
||||
const isFocusResult = common_vendor.ref(false);
|
||||
const labelList = common_vendor.ref([]);
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
};
|
||||
const closeCase = () => {
|
||||
showCase.value = false;
|
||||
};
|
||||
const epaste = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:518", e);
|
||||
};
|
||||
const addOption = () => {
|
||||
voteData.case_exchange_vote_option.push({
|
||||
option_value: ""
|
||||
});
|
||||
};
|
||||
const delOption = (index) => {
|
||||
voteData.case_exchange_vote_option.splice(index, 1);
|
||||
};
|
||||
const changeDay = (type) => {
|
||||
if (type === "minus") {
|
||||
if (voteData.valid_day <= 1)
|
||||
return;
|
||||
voteData.valid_day--;
|
||||
} else if (type === "plus") {
|
||||
voteData.valid_day++;
|
||||
}
|
||||
};
|
||||
const clearVote = () => {
|
||||
voteData.vote_title = "";
|
||||
voteData.case_exchange_vote_option = [
|
||||
{
|
||||
option_value: ""
|
||||
}
|
||||
];
|
||||
voteData.valid_day = 7;
|
||||
form.case_exchange_vote.vote_title = "";
|
||||
form.case_exchange_vote.case_exchange_vote_option = [
|
||||
{
|
||||
option_value: ""
|
||||
}
|
||||
];
|
||||
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: "请输入投票标题",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (voteData.vote_title.length > 20) {
|
||||
common_vendor.index.showToast({
|
||||
title: "投票标题不能超过20个字符",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (voteData.case_exchange_vote_option.length == 0) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请添加投票选项",
|
||||
icon: "none"
|
||||
});
|
||||
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);
|
||||
showVote.value = false;
|
||||
};
|
||||
const fromatDay = (value) => {
|
||||
var date = /* @__PURE__ */ new Date();
|
||||
var year = date.getFullYear();
|
||||
let Y = common_vendor.dayjs().format("YYYY");
|
||||
if (year == Y) {
|
||||
return common_vendor.dayjs(value).format("MM-DD");
|
||||
} else {
|
||||
return common_vendor.dayjs(value).format("YYYY-MM-DD");
|
||||
}
|
||||
};
|
||||
const ready = (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);
|
||||
};
|
||||
const readyResult = (e) => {
|
||||
editorCtxResult.value = e;
|
||||
};
|
||||
const clearMuBan = () => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:625", "清空模板");
|
||||
editorCtx.value.initHtml("");
|
||||
};
|
||||
const focusInfo = () => {
|
||||
isFocusInfo.value = true;
|
||||
};
|
||||
const blurInfo = () => {
|
||||
setTimeout(() => {
|
||||
isFocusInfo.value = false;
|
||||
}, 2e3);
|
||||
};
|
||||
const focusResult = () => {
|
||||
isFocusResult.value = true;
|
||||
};
|
||||
const closeVote = () => {
|
||||
showVote.value = false;
|
||||
};
|
||||
const openVote = () => {
|
||||
showVote.value = true;
|
||||
};
|
||||
const closeDraft = () => {
|
||||
showDraft.value = false;
|
||||
};
|
||||
const openDraft = () => {
|
||||
showDraft.value = true;
|
||||
};
|
||||
const closeTitle = () => {
|
||||
showTitle.value = false;
|
||||
};
|
||||
const openTitle = () => {
|
||||
showTitle.value = true;
|
||||
};
|
||||
const alertTitle = () => {
|
||||
if (isFocusInfo.value) {
|
||||
showTitle.value = true;
|
||||
}
|
||||
};
|
||||
const pFun = (files) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在上传图片...",
|
||||
mask: true
|
||||
});
|
||||
let promiseFun = [];
|
||||
for (let i = 0; i < files.length; i++) {
|
||||
promiseFun.push(handleUpload(files[i]));
|
||||
}
|
||||
Promise.all(promiseFun).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
});
|
||||
};
|
||||
const saveDraft = async () => {
|
||||
if (isLock.value)
|
||||
return false;
|
||||
isLock.value = true;
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
form.exchange_content = res.html;
|
||||
const resResult = await editorCtx.value.getLastContent();
|
||||
form.exchange_summary = resResult.html;
|
||||
if (labelList.value.length > 0) {
|
||||
form.case_exchange_label = labelList.value;
|
||||
}
|
||||
api_api.api.saveDraft(form).then((res2) => {
|
||||
isLock.value = false;
|
||||
common_vendor.index.showToast({
|
||||
title: "保存成功",
|
||||
icon: "none"
|
||||
});
|
||||
getDraftList();
|
||||
});
|
||||
};
|
||||
const editDraft = (index) => {
|
||||
let draft = draftList.value[index];
|
||||
let {
|
||||
exchange_content,
|
||||
exchange_title,
|
||||
exchange_label,
|
||||
exchange_summary,
|
||||
exchange_vote
|
||||
} = draft;
|
||||
editorCtx.value.initHtml(exchange_content);
|
||||
form.exchange_content = exchange_content;
|
||||
form.exchange_title = exchange_title;
|
||||
form.case_exchange_label = exchange_label;
|
||||
labelList.value = exchange_label;
|
||||
form.exchange_summary = exchange_summary;
|
||||
form.case_exchange_vote = exchange_vote;
|
||||
editorCtxResult.value.initHtml(exchange_content);
|
||||
Object.assign(voteData, draft);
|
||||
showDraft.value = false;
|
||||
};
|
||||
const willDelDraft = (id) => {
|
||||
delId.value = id;
|
||||
delType.value = "delDraft";
|
||||
showModal.value = true;
|
||||
};
|
||||
const confirmDel = () => {
|
||||
showModal.value = false;
|
||||
if (delType.value == "delDraft") {
|
||||
delDraft(delId.value);
|
||||
} else if (delType.value == "saveDraft") {
|
||||
saveDraft();
|
||||
}
|
||||
};
|
||||
const cancelDel = () => {
|
||||
showModal.value = false;
|
||||
if (delType.value == "saveDraft") {
|
||||
goBack();
|
||||
}
|
||||
};
|
||||
const delDraft = (id) => {
|
||||
api_api.api.delDraft(id).then((res) => {
|
||||
common_vendor.index.showToast({
|
||||
title: "删除成功",
|
||||
icon: "none"
|
||||
});
|
||||
});
|
||||
getDraftList();
|
||||
};
|
||||
const alertSave = async () => {
|
||||
if (isPublish.value) {
|
||||
goBack();
|
||||
} else {
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
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) {
|
||||
delType.value = "saveDraft";
|
||||
showModal.value = true;
|
||||
} else {
|
||||
goBack();
|
||||
}
|
||||
}
|
||||
};
|
||||
const publish = async () => {
|
||||
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
if (form.exchange_title == "") {
|
||||
common_vendor.index.showToast({
|
||||
title: "请输入标题",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
let html = editorCtx.value.exportHtml(res.html);
|
||||
if (html == initInfo) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请编辑病例信息",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (!(form.case_exchange_vote && form.case_exchange_vote.vote_title)) {
|
||||
delete form.case_exchange_vote;
|
||||
}
|
||||
if (!form.case_exchange_label || form.case_exchange_label && form.case_exchange_label.length == 0) {
|
||||
delete form.case_exchange_label;
|
||||
}
|
||||
form.case_exchange_label = labelList.value;
|
||||
if (isLock.value)
|
||||
return false;
|
||||
isFlag.value = true;
|
||||
form.exchange_content = html;
|
||||
const resContent = await editorCtxResult.value.getLastContent();
|
||||
let reshtml = editorCtxResult.value.exportHtml(resContent.html);
|
||||
form.exchange_summary = reshtml == "<p><br></p>" ? "" : reshtml;
|
||||
api_api.api.addExchange(form).then((res2) => {
|
||||
common_vendor.index.showToast({
|
||||
title: "发布成功",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
isFlag.value = false;
|
||||
isPublish.value = true;
|
||||
common_vendor.index.navigateBack();
|
||||
});
|
||||
};
|
||||
const handleUpload = (file) => {
|
||||
api_api.api.getOss({
|
||||
scene: 1
|
||||
}).then((rep) => {
|
||||
let result = rep.data;
|
||||
if (result.code == 200) {
|
||||
let { access_id, dir, policy, signature, host } = result.data;
|
||||
let time = common_vendor.dayjs().format("YYYYMMDDHHmmss");
|
||||
let random = generateRandomNumber();
|
||||
let filename = time + random;
|
||||
let imgType = "." + getImageFormat(file);
|
||||
return new Promise((resolve, reject) => {
|
||||
common_vendor.index.uploadFile({
|
||||
url: host,
|
||||
// 仅为示例,非真实的接口地址
|
||||
filePath: file,
|
||||
name: "file",
|
||||
formData: {
|
||||
OSSAccessKeyId: access_id,
|
||||
policy,
|
||||
key: dir + time + random + imgType,
|
||||
signature
|
||||
},
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
imgList.value.push(url);
|
||||
uni_modules_svEditor_components_common_utils.addImage([url]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:861", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
const insertWord = (word) => {
|
||||
uni_modules_svEditor_components_common_utils.addText(word);
|
||||
showTitle.value = false;
|
||||
};
|
||||
const insertAllWord = () => {
|
||||
let word = [
|
||||
"患者信息",
|
||||
"主诉",
|
||||
"现病史及既往史:",
|
||||
"检查",
|
||||
"临床诊断",
|
||||
"治疗经过及结果"
|
||||
];
|
||||
word.forEach((item) => {
|
||||
uni_modules_svEditor_components_common_utils.addText(item);
|
||||
});
|
||||
showTitle.value = false;
|
||||
};
|
||||
const generateRandomNumber = () => {
|
||||
let randomNumber = Math.floor(1e3 + Math.random() * 9e3);
|
||||
return randomNumber;
|
||||
};
|
||||
const getImageFormat = (imageUrl) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:891", imageUrl);
|
||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||
if (lastDotIndex !== -1) {
|
||||
return imageUrl.substring(lastDotIndex + 1);
|
||||
}
|
||||
return "unknown";
|
||||
};
|
||||
const insertImage = (file) => {
|
||||
if (!(!isFocusInfo.value && !isFocusResult.value)) {
|
||||
common_vendor.index.chooseImage({
|
||||
count: 9,
|
||||
//默认9
|
||||
sizeType: ["original", "compressed"],
|
||||
//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".jpg", ".png", ".jpeg"],
|
||||
success: function(res) {
|
||||
pFun(res.tempFilePaths);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
const insertVideo = (file) => {
|
||||
if (!(!isFocusInfo.value && !isFocusResult.value)) {
|
||||
common_vendor.index.chooseVideo({
|
||||
count: 5,
|
||||
//默认9//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".mp4", ".webm", ".ogg"],
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:918", res.tempFilePath);
|
||||
HandleAddVideo(res.tempFilePath);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
const HandleAddVideo = async (file) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在上传视频...",
|
||||
mask: true
|
||||
});
|
||||
const videos = await uni_modules_svEditor_components_common_utils.addVideo(async (editorCtx2) => {
|
||||
return new Promise((resolve) => {
|
||||
api_api.api.getOss({
|
||||
scene: 2
|
||||
}).then((rep) => {
|
||||
let result = rep.data;
|
||||
if (result.code == 200) {
|
||||
let { access_id, dir, policy, signature, host } = result.data;
|
||||
let time = common_vendor.dayjs().format("YYYYMMDDHHmmss");
|
||||
let random = generateRandomNumber();
|
||||
let filename = time + random;
|
||||
let imgType = "." + getImageFormat(file);
|
||||
return new Promise((res, reject) => {
|
||||
common_vendor.index.uploadFile({
|
||||
url: host,
|
||||
// 仅为示例,非真实的接口地址
|
||||
filePath: file,
|
||||
name: "file",
|
||||
formData: {
|
||||
OSSAccessKeyId: access_id,
|
||||
policy,
|
||||
key: dir + time + random + imgType,
|
||||
signature
|
||||
},
|
||||
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);
|
||||
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
const fileThumbnail = await editorCtx2.createCoverThumbnail(
|
||||
imgUrl
|
||||
);
|
||||
resolve([
|
||||
{
|
||||
videoUrl: url,
|
||||
videoImg: fileThumbnail
|
||||
}
|
||||
]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:975", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
if (videos) {
|
||||
common_vendor.index.showLoading();
|
||||
common_vendor.index.showToast({ title: "添加视频成功", icon: "success" });
|
||||
} else {
|
||||
common_vendor.index.showToast({ title: "添加视频失败", icon: "error" });
|
||||
}
|
||||
};
|
||||
const getDraftList = () => {
|
||||
api_api.api.getDraftList().then((res) => {
|
||||
draftList.value = res.data.data.data;
|
||||
});
|
||||
};
|
||||
const getCaseLabel = (lev, pid = 0) => {
|
||||
api_api.api.getCaseLabel({
|
||||
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 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) {
|
||||
let label = labelObj.list1.find((item) => item.app_iden == caseValue1.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1025", label);
|
||||
labelList.value.push({
|
||||
app_iden: label.app_iden,
|
||||
label_name: label.label_name
|
||||
});
|
||||
}
|
||||
if (level.value == 2) {
|
||||
let label = labelObj.list2.find((item) => item.app_iden == caseValue2.value);
|
||||
labelList.value.push({
|
||||
app_iden: label.app_iden,
|
||||
label_name: label.label_name
|
||||
});
|
||||
}
|
||||
if (level.value == 3) {
|
||||
let label = labelObj.list3.find((item) => item.app_iden == caseValue3.value);
|
||||
labelList.value.push({
|
||||
app_iden: label.app_iden,
|
||||
label_name: label.label_name
|
||||
});
|
||||
}
|
||||
labelList.value = labelList.value.filter((item, index) => labelList.value.findIndex((i) => i.app_iden === item.app_iden) === index);
|
||||
caseValue1.value = "";
|
||||
caseValue2.value = "";
|
||||
caseValue3.value = "";
|
||||
};
|
||||
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);
|
||||
}
|
||||
};
|
||||
const delLabel = (index) => {
|
||||
labelList.value.splice(index, 1);
|
||||
};
|
||||
const openLabelPop = () => {
|
||||
showCase.value = true;
|
||||
getCaseLabel(1, 0);
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
getDraftList();
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
color: "#000",
|
||||
size: "24"
|
||||
}),
|
||||
b: common_vendor.o(alertSave),
|
||||
c: common_vendor.o(($event) => form.exchange_title = $event),
|
||||
d: common_vendor.p({
|
||||
autoHeight: true,
|
||||
placeholder: "输入标题,可包含患者信息、主诉",
|
||||
modelValue: form.exchange_title
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#6B7280",
|
||||
size: "18"
|
||||
}),
|
||||
f: common_vendor.o(clearMuBan),
|
||||
g: common_vendor.o(ready),
|
||||
h: common_vendor.o(focusInfo),
|
||||
i: common_vendor.o(blurInfo),
|
||||
j: common_vendor.o(epaste),
|
||||
k: common_vendor.p({
|
||||
placeholder: "患者基本情况,检查结果,诊疗图片或视频",
|
||||
eid: "editor-id",
|
||||
pasteMode: "origin"
|
||||
}),
|
||||
l: common_vendor.o(readyResult),
|
||||
m: common_vendor.o(focusResult),
|
||||
n: common_vendor.o(focusResult),
|
||||
o: common_vendor.p({
|
||||
placeholder: "分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等",
|
||||
eid: "editorResult"
|
||||
}),
|
||||
p: common_vendor.f(labelList.value, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.label_name),
|
||||
b: "bfce3555-5-" + i0,
|
||||
c: common_vendor.o(($event) => delLabel(index), item.app_iden),
|
||||
d: item.app_iden
|
||||
};
|
||||
}),
|
||||
q: common_vendor.p({
|
||||
name: "close-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
r: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#3CC7C0",
|
||||
size: "16"
|
||||
}),
|
||||
s: common_vendor.o(openLabelPop),
|
||||
t: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.photoImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
v: common_vendor.o(insertImage),
|
||||
w: !isFocusInfo.value && !isFocusResult.value ? 1 : "",
|
||||
x: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.videoImg$1),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
y: common_vendor.o(insertVideo),
|
||||
z: !isFocusInfo.value && !isFocusResult.value ? 1 : "",
|
||||
A: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.addImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
B: !isFocusInfo.value ? 1 : "",
|
||||
C: common_vendor.o(alertTitle),
|
||||
D: common_vendor.o(($event) => showDraft.value = true),
|
||||
E: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.voteImg),
|
||||
width: "47rpx",
|
||||
height: "47rpx"
|
||||
}),
|
||||
F: common_vendor.o(($event) => showVote.value = true),
|
||||
G: common_vendor.o(publish),
|
||||
H: common_vendor.o(closeVote),
|
||||
I: common_vendor.o(saveVote),
|
||||
J: common_vendor.o(($event) => voteData.vote_title = $event),
|
||||
K: common_vendor.p({
|
||||
placeholder: "请输入投票标题",
|
||||
border: "surround",
|
||||
clearable: true,
|
||||
modelValue: voteData.vote_title
|
||||
}),
|
||||
L: common_vendor.f(voteData.case_exchange_vote_option, (item, index, i0) => {
|
||||
return {
|
||||
a: "bfce3555-13-" + i0 + ",bfce3555-11",
|
||||
b: common_vendor.o(($event) => item.option_value = $event, index),
|
||||
c: common_vendor.p({
|
||||
placeholder: "输入选项,建议少于16个字",
|
||||
border: "surround",
|
||||
clearable: true,
|
||||
modelValue: item.option_value
|
||||
}),
|
||||
d: "bfce3555-14-" + i0 + ",bfce3555-11",
|
||||
e: common_vendor.o(($event) => delOption(index), index),
|
||||
f: index
|
||||
};
|
||||
}),
|
||||
M: common_vendor.p({
|
||||
name: "minus-circle",
|
||||
color: "red",
|
||||
size: "28"
|
||||
}),
|
||||
N: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#4B5563",
|
||||
size: "18"
|
||||
}),
|
||||
O: common_vendor.o(addOption),
|
||||
P: common_vendor.o(($event) => changeDay("minus")),
|
||||
Q: common_vendor.t(voteData.valid_day),
|
||||
R: common_vendor.o(($event) => changeDay("plus")),
|
||||
S: common_vendor.o(saveVote),
|
||||
T: common_vendor.o(clearVote),
|
||||
U: common_vendor.o(closeVote),
|
||||
V: common_vendor.o(openVote),
|
||||
W: common_vendor.p({
|
||||
round: 10,
|
||||
show: showVote.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
X: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
Y: common_vendor.o(closeDraft),
|
||||
Z: 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
|
||||
} : item.exchange_summary ? common_vendor.e({
|
||||
e: item.exchange_summary
|
||||
}, item.exchange_summary ? {
|
||||
f: item.exchange_summary
|
||||
} : {}) : item.exchange_label && item.exchange_label.length > 0 ? common_vendor.e({
|
||||
h: item.exchange_summary
|
||||
}, item.exchange_summary ? {} : {}, {
|
||||
i: common_vendor.f(item.exchange_label, (cell, k1, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(cell.label_name),
|
||||
b: cell.label_name
|
||||
};
|
||||
})
|
||||
}) : item.exchange_vote ? {
|
||||
k: common_vendor.t(item.exchange_vote.vote_title)
|
||||
} : {}, {
|
||||
d: item.exchange_summary,
|
||||
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",
|
||||
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
|
||||
o: "bfce3555-19-" + i0 + ",bfce3555-16",
|
||||
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
|
||||
q: item.draft_id
|
||||
});
|
||||
}),
|
||||
aa: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#4B5563",
|
||||
size: "16"
|
||||
}),
|
||||
ab: common_vendor.p({
|
||||
name: "edit-pen",
|
||||
color: "#fff",
|
||||
size: "17"
|
||||
}),
|
||||
ac: common_vendor.o(closeDraft),
|
||||
ad: common_vendor.o(openDraft),
|
||||
ae: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showDraft.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
af: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
ag: common_vendor.o(closeTitle),
|
||||
ah: common_vendor.o(insertAllWord),
|
||||
ai: 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({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showTitle.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
at: 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({
|
||||
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) => {
|
||||
return {
|
||||
a: "bfce3555-26-" + i0 + ",bfce3555-25",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aE: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
aF: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
aG: level.value == 1,
|
||||
aH: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-28-" + i0 + ",bfce3555-27",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aI: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
aJ: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
aK: level.value == 2,
|
||||
aL: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-30-" + i0 + ",bfce3555-29",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aM: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
aN: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
aO: level.value == 3,
|
||||
aP: common_vendor.o(closeCase),
|
||||
aQ: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showCase.value,
|
||||
mode: "bottom"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-bfce3555"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/publish/publish.js.map
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"navigationBarTitleText": "肝胆相照临床病例库",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up--textarea": "../../node-modules/uview-plus/components/u--textarea/u--textarea",
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"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-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",
|
||||
"sv-editor": "../../uni_modules/sv-editor/components/sv-editor/sv-editor"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,649 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.casepop.data-v-bfce3555 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: calc(100vh - 750rpx);
|
||||
}
|
||||
.casepop .continue.data-v-bfce3555 {
|
||||
color: #2878ff !important;
|
||||
}
|
||||
.casecon.data-v-bfce3555 {
|
||||
flex: 1;
|
||||
overflow-y: scroll;
|
||||
padding-top: 10rpx;
|
||||
min-height: 350rpx;
|
||||
}
|
||||
.casecon .column.data-v-bfce3555 {
|
||||
padding: 0 30rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
}
|
||||
.navbox.data-v-bfce3555 {
|
||||
padding-bottom: 20rpx;
|
||||
background-color: #f9fafb;
|
||||
position: relative;
|
||||
height: 200rpx;
|
||||
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.navbox .bg.data-v-bfce3555 {
|
||||
z-index: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.navbox .namebox.data-v-bfce3555 {
|
||||
padding-top: 102rpx;
|
||||
justify-content: center;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
}
|
||||
.navbox .namebox .back.data-v-bfce3555 {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.navbox .namebox .name.data-v-bfce3555 {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
}
|
||||
.navbox .search.data-v-bfce3555 {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.navbox .search .searchwrap.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
padding-left: 28rpx;
|
||||
margin-right: 23rpx;
|
||||
height: 80rpx;
|
||||
background: #fbfbfb;
|
||||
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
|
||||
border-radius: 40rpx;
|
||||
}
|
||||
.navbox .search .searchwrap .ipt.data-v-bfce3555 {
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.zanboxpop.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
.zanboxpop .zanwraper.data-v-bfce3555 {
|
||||
width: 630rpx;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 50rpx;
|
||||
background: #f5f6f9;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
.zanboxpop .zanwraper .title.data-v-bfce3555 {
|
||||
margin-top: 48rpx;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
font-size: 36rpx;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
.zanboxpop .zanwraper .content.data-v-bfce3555 {
|
||||
padding: 30rpx 0;
|
||||
background: #f5f6f9;
|
||||
text-align: center;
|
||||
}
|
||||
.zanboxpop .zanwraper .count.data-v-bfce3555 {
|
||||
margin-top: 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
.zanboxpop .zanwraper .count .num.data-v-bfce3555 {
|
||||
color: #ff0000;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.zanboxpop .zanwraper .count .earn.data-v-bfce3555 {
|
||||
font-size: 32rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox.data-v-bfce3555 {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
margin: 30rpx 0px 40rpx;
|
||||
padding: 0 40rpx;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox .minus.data-v-bfce3555 {
|
||||
flex-shrink: 0;
|
||||
margin-left: 10rp;
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
font-size: 60rpx;
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #ffffff;
|
||||
border-radius: 12rpx;
|
||||
border: 2rpx solid #e9e9e9;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox .add.data-v-bfce3555 {
|
||||
flex-shrink: 0;
|
||||
width: 90rpx;
|
||||
margin-left: 10rpx;
|
||||
height: 90rpx;
|
||||
font-size: 60rpx;
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
background: #3cc7c0;
|
||||
border-radius: 12rpx;
|
||||
border: 2rpx solid #3cc7c0;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox.data-v-bfce3555 .u-input__content__field-wrapper__field {
|
||||
height: 60rpx;
|
||||
font-size: 34rpx !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox.data-v-bfce3555 .u-input {
|
||||
background: #f2f2f2;
|
||||
width: 200rpx !important;
|
||||
flex: none;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox.data-v-bfce3555 .u-input--radius {
|
||||
border-radius: 24rrpx;
|
||||
}
|
||||
.zanboxpop .zanwraper .btnbox.data-v-bfce3555 {
|
||||
margin: 0px 40rpx 0px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.zanboxpop .zanwraper .btnbox .cancle.data-v-bfce3555 {
|
||||
color: rgba(0, 0, 0, 0.3);
|
||||
width: 256rpx;
|
||||
height: 88rpx;
|
||||
background: #f5f6f9;
|
||||
border-radius: 25px;
|
||||
border: 2rpx solid rgba(0, 0, 0, 0.15);
|
||||
font-weight: 500;
|
||||
font-size: 32rpx;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.zanboxpop .zanwraper .btnbox .ok.data-v-bfce3555 {
|
||||
color: #fff;
|
||||
width: 256rpx;
|
||||
height: 88rpx;
|
||||
background: #3cc7c0;
|
||||
border-radius: 25px;
|
||||
border: 2rpx solid #3cc7c0;
|
||||
font-weight: 500;
|
||||
font-size: 32rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.titlepop .top.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin: 0 30rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-size: 30rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.titlepop .con.data-v-bfce3555 {
|
||||
padding-bottom: 50rpx;
|
||||
}
|
||||
.titlepop .cellbox.data-v-bfce3555 {
|
||||
margin: 20rpx 30rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.titlepop .cellbox .cell.data-v-bfce3555 {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 25rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #e5e7eb78;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
#editor.data-v-bfce3555 {
|
||||
padding: 0 30rpx;
|
||||
height: calc(100vh - 700rpx);
|
||||
}
|
||||
#editorRes.data-v-bfce3555 {
|
||||
min-height: 300rpx;
|
||||
}
|
||||
#editorRes.data-v-bfce3555 .sv-editor-wrapper {
|
||||
flex: 1;
|
||||
min-height: 300rpx;
|
||||
}
|
||||
.myVideo.data-v-bfce3555 {
|
||||
width: 100%;
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.imgbox.data-v-bfce3555 {
|
||||
margin: 0 30rpx 30rpx;
|
||||
position: relative;
|
||||
}
|
||||
.imgbox .close.data-v-bfce3555 {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
right: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
.imgbox .imgunit.data-v-bfce3555 {
|
||||
width: 150rpx;
|
||||
height: 150rpx;
|
||||
position: relative;
|
||||
}
|
||||
.imgbox .imgunit .close.data-v-bfce3555 {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
right: 0;
|
||||
}
|
||||
.draftpop .titlebox.data-v-bfce3555 {
|
||||
text-align: center;
|
||||
padding: 30rpx;
|
||||
font-size: 31rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
}
|
||||
.draftpop .titlebox .close.data-v-bfce3555 {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
right: 30rpx;
|
||||
}
|
||||
.draftpop .draftlist.data-v-bfce3555 {
|
||||
height: calc(100vh - 500rpx);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.draftpop .draftlist .cell.data-v-bfce3555 {
|
||||
padding-bottom: 34rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
}
|
||||
.draftpop .draftlist .cell .title.data-v-bfce3555 {
|
||||
margin: 15rpx 30rpx 0;
|
||||
font-size: 36rpx;
|
||||
color: #111827;
|
||||
line-height: 46rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .smalltitle.data-v-bfce3555 {
|
||||
margin: 4px 0rpx 0;
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .con.data-v-bfce3555 {
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal.data-v-bfce3555 {
|
||||
margin: 36rpx 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .time.data-v-bfce3555 {
|
||||
font-size: 26rpx;
|
||||
color: #9ca3af;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .right.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .del.data-v-bfce3555 {
|
||||
width: 138rpx;
|
||||
height: 62rpx;
|
||||
background: #f3f4f6;
|
||||
display: flex;
|
||||
border-radius: 20rpx;
|
||||
align-items: center;
|
||||
font-size: 27rpx;
|
||||
color: #4b5563;
|
||||
justify-content: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .edit.data-v-bfce3555 {
|
||||
margin-left: 23rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 192rpx;
|
||||
height: 62rpx;
|
||||
font-size: 27rpx;
|
||||
color: #ffffff;
|
||||
background: #3cc7c0;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.expire.data-v-bfce3555 {
|
||||
margin-top: 46rpx;
|
||||
padding: 0 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.expire .name.data-v-bfce3555 {
|
||||
font-size: 31rpx;
|
||||
color: #111827;
|
||||
}
|
||||
.expire .right.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.expire .right .day.data-v-bfce3555 {
|
||||
min-width: 50rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.expire .right .minus.data-v-bfce3555 {
|
||||
width: 62rpx;
|
||||
height: 62rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #f5f5f5;
|
||||
border-radius: 50%;
|
||||
font-size: 50rpx;
|
||||
}
|
||||
.expire .right .plus.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 50rpx;
|
||||
justify-content: center;
|
||||
width: 62rpx;
|
||||
height: 62rpx;
|
||||
background: #f5f5f5;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.row.data-v-bfce3555 {
|
||||
padding: 0 30rpx;
|
||||
margin-bottom: 23rpx;
|
||||
}
|
||||
.row.data-v-bfce3555 .u-input {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.row.data-v-bfce3555 .u-input--radius {
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.row.data-v-bfce3555 .u-input__content__field-wrapper__field {
|
||||
height: 92rpx;
|
||||
}
|
||||
.first.data-v-bfce3555 {
|
||||
margin-bottom: 47rpx;
|
||||
}
|
||||
.votepop .confirm.data-v-bfce3555 {
|
||||
margin: 39rpx 30rpx 0;
|
||||
height: 92rpx;
|
||||
background: #3cc7c0;
|
||||
border-radius: 15rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 31rpx;
|
||||
color: #ffffff;
|
||||
justify-content: center;
|
||||
}
|
||||
.votepop .del.data-v-bfce3555 {
|
||||
margin: 30rpx 30rpx 30rpx;
|
||||
height: 92rpx;
|
||||
background: #fff;
|
||||
border-radius: 15rpx;
|
||||
font-size: 31rpx;
|
||||
color: #666666;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.votepop .tips.data-v-bfce3555 {
|
||||
margin-top: 30rpx;
|
||||
font-size: 27rpx;
|
||||
color: #9ca3af;
|
||||
line-height: 38rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.votepop .add.data-v-bfce3555 {
|
||||
margin: 0 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 92rpx;
|
||||
justify-content: center;
|
||||
background: #f5f5f5;
|
||||
border-radius: 15rpx;
|
||||
font-size: 31rpx;
|
||||
color: #4b5563;
|
||||
}
|
||||
.votepop .add .desc.data-v-bfce3555 {
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.votepop .titlebox.data-v-bfce3555 {
|
||||
padding: 0 30rpx;
|
||||
height: 86rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-bottom: 2rpx solid #f3f4f6;
|
||||
}
|
||||
.votepop .titlebox .left.data-v-bfce3555 {
|
||||
font-size: 31rpx;
|
||||
color: #4b5563;
|
||||
}
|
||||
.votepop .titlebox .right.data-v-bfce3555 {
|
||||
font-size: 31rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.votepop .votecon.data-v-bfce3555 {
|
||||
max-height: calc(100vh - 530rpx);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.votepop .votecon .row.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.votepop .votecon .row .iconbox.data-v-bfce3555 {
|
||||
margin-left: 15rpx;
|
||||
align-items: center;
|
||||
}
|
||||
.votepop .votecon .titlebox.data-v-bfce3555 {
|
||||
border: none;
|
||||
margin: 30rpx 0 20rpx;
|
||||
}
|
||||
.votepop .votecon .titlebox .title.data-v-bfce3555 {
|
||||
font-size: 31rpx;
|
||||
color: #111827;
|
||||
}
|
||||
.votepop .votecon .titlebox .desc.data-v-bfce3555 {
|
||||
font-size: 27rpx;
|
||||
color: #9ca3af;
|
||||
}
|
||||
.upage.data-v-bfce3555 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
}
|
||||
.upage.data-v-bfce3555 .u-image {
|
||||
background: transparent !important;
|
||||
}
|
||||
.toolbox.data-v-bfce3555 {
|
||||
border-top: 2rpx solid #f3f4f6;
|
||||
padding: 22rpx 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbox .cell.data-v-bfce3555 {
|
||||
margin-right: 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbox .cell .name.data-v-bfce3555 {
|
||||
font-size: 25rpx;
|
||||
margin-left: 4rpx;
|
||||
color: #4b5563;
|
||||
}
|
||||
.toolbox .cell.active.data-v-bfce3555 {
|
||||
opacity: 0.65;
|
||||
}
|
||||
.bottom.data-v-bfce3555 {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
z-index: 3;
|
||||
background: #ffffff;
|
||||
}
|
||||
.bottom .bottombtn.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-top: 2rpx solid #e5e7eb;
|
||||
height: 133rpx;
|
||||
}
|
||||
.bottom .right.data-v-bfce3555 {
|
||||
margin-right: 30rpx;
|
||||
flex: 1;
|
||||
margin-left: 32rpx;
|
||||
height: 86rpx;
|
||||
background: #3cc7c0;
|
||||
border-radius: 23rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 31rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
.bottom .left.data-v-bfce3555 {
|
||||
margin-left: 30rpx;
|
||||
display: flex;
|
||||
}
|
||||
.bottom .left .draft.data-v-bfce3555 {
|
||||
width: 162rpx;
|
||||
height: 86rpx;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
border-radius: 16rpx;
|
||||
border: 2rpx solid #e5e7eb;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.bottom .left .vote.data-v-bfce3555 {
|
||||
margin-left: 25rpx;
|
||||
width: 162rpx;
|
||||
height: 86rpx;
|
||||
background: rgba(0, 0, 0, 0);
|
||||
border-radius: 16rpx;
|
||||
border: 2rpx solid #e5e7eb;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.form.data-v-bfce3555 {
|
||||
height: calc(100vh - 133rpx);
|
||||
margin: -20rpx 0rpx 134rpx;
|
||||
padding-bottom: 80rpx;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.form .sickbox.data-v-bfce3555 {
|
||||
display: flex;
|
||||
padding: 25rpx 25rpx 0;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.form .add.data-v-bfce3555 {
|
||||
display: flex;
|
||||
font-size: 26rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #3cc7c0;
|
||||
margin-left: 18rpx;
|
||||
}
|
||||
.form .sick.data-v-bfce3555 {
|
||||
position: relative;
|
||||
padding: 0 60rpx 0 30rpx;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #f9f9f9;
|
||||
border-radius: 40rpx;
|
||||
font-size: 25rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.form .sick .del.data-v-bfce3555 {
|
||||
position: absolute;
|
||||
right: 12rpx;
|
||||
}
|
||||
.form .textcon.data-v-bfce3555 {
|
||||
border-bottom: 2rpx solid #f3f4f6;
|
||||
}
|
||||
.form .textbox.data-v-bfce3555 {
|
||||
padding: 0 30rpx;
|
||||
border-bottom: 2rpx solid #f3f4f6;
|
||||
}
|
||||
.form .textbox.data-v-bfce3555 .u-textarea__field {
|
||||
min-height: 55rpx !important;
|
||||
}
|
||||
.form .textcell.data-v-bfce3555 {
|
||||
padding: 0 30rpx;
|
||||
margin-top: 25rpx;
|
||||
}
|
||||
.form .textcell .titlebox.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.form .row.data-v-bfce3555 {
|
||||
padding: 30rpx 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.form .row .left.data-v-bfce3555 {
|
||||
font-size: 38rpx;
|
||||
color: #000000;
|
||||
}
|
||||
.form .row .left .tip.data-v-bfce3555 {
|
||||
color: #9ca3af;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.form .row .right.data-v-bfce3555 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #6b7280;
|
||||
font-size: 31rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user