111117.29
This commit is contained in:
@@ -45,6 +45,8 @@ const _sfc_main = {
|
||||
placeholder.value = "搜索疾病、症状、医院";
|
||||
} else if (newVal === "case") {
|
||||
placeholder.value = "请输入疾病名称";
|
||||
} else if (newVal === "myCase") {
|
||||
placeholder.value = "输入疾病名称、标题搜索";
|
||||
}
|
||||
}, { immediate: true });
|
||||
common_vendor.watch(() => props.searchWord, (newVal) => {
|
||||
|
||||
@@ -0,0 +1,392 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_throttle = require("../../utils/throttle.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__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
||||
(_easycom_u_icon2 + _easycom_up__image2 + _easycom_up_icon2 + _easycom_up_popup2)();
|
||||
}
|
||||
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + svEditor + _easycom_up__image + _easycom_up_icon + _easycom_up_popup)();
|
||||
}
|
||||
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
|
||||
const _sfc_main = {
|
||||
__name: "pEditor",
|
||||
props: {
|
||||
editorType: {
|
||||
type: String,
|
||||
default: "info"
|
||||
},
|
||||
editorCotent: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
emits: ["closeEditor", "changeEditor"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const editorCtx = common_vendor.ref(null);
|
||||
const keyboardHeight = common_vendor.ref(0);
|
||||
const editorHeight = common_vendor.ref(300);
|
||||
common_vendor.ref("病例信息");
|
||||
const placeholder = common_vendor.ref("患者基本情况,检查结果,诊疗图片或视频");
|
||||
const showTitle = common_vendor.ref(false);
|
||||
const props = __props;
|
||||
common_vendor.watch(() => props.editorType, (newVal) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:162", 11111111);
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:163", newVal);
|
||||
if (newVal == "info") {
|
||||
placeholder.value = "患者基本情况,检查结果,诊疗图片或视频";
|
||||
} else {
|
||||
placeholder.value = "分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等";
|
||||
}
|
||||
}, { immediate: true });
|
||||
const emits = __emit;
|
||||
const isIOS = common_vendor.ref(false);
|
||||
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 ready = (e) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:191", e);
|
||||
editorCtx.value = e;
|
||||
if (props.editorType == "info") {
|
||||
if (props.editorCotent) {
|
||||
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
||||
let res = "";
|
||||
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||
showEditor.value = false;
|
||||
return res;
|
||||
});
|
||||
} else {
|
||||
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);
|
||||
}
|
||||
} else {
|
||||
if (props.editorCotent) {
|
||||
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
||||
let res = "";
|
||||
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||
showEditor.value = false;
|
||||
return res;
|
||||
});
|
||||
} else {
|
||||
let html = "";
|
||||
editorCtx.value.initHtml(html);
|
||||
}
|
||||
}
|
||||
common_vendor.index.hideLoading();
|
||||
};
|
||||
const closeSv = utils_throttle.throttle(() => {
|
||||
emits("closeEditor");
|
||||
});
|
||||
const confirm = async () => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:246", "qqq");
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
emits("changeEditor", {
|
||||
type: props.editorType,
|
||||
content: res.html
|
||||
});
|
||||
};
|
||||
const blur = () => {
|
||||
};
|
||||
const clearMuBan = () => {
|
||||
editorCtx.value.initHtml("");
|
||||
};
|
||||
const updatePosition = (c_keyboardHeight) => {
|
||||
const toolbarHeight = 50;
|
||||
const { windowHeight, platform } = common_vendor.index.getSystemInfoSync();
|
||||
let c_editorHeight = keyboardHeight > 0 ? windowHeight - keyboardHeight - toolbarHeight : windowHeight;
|
||||
editorHeight.value = c_editorHeight;
|
||||
keyboardHeight.value = c_keyboardHeight;
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
const platform = common_vendor.index.getSystemInfoSync().platform;
|
||||
isIOS.value = platform === "ios";
|
||||
updatePosition(0);
|
||||
let keyboardHeight2 = 0;
|
||||
common_vendor.index.onKeyboardHeightChange((res) => {
|
||||
if (res.height === keyboardHeight2)
|
||||
return;
|
||||
const duration = res.height > 0 ? res.duration * 1e3 : 0;
|
||||
keyboardHeight2 = res.height;
|
||||
setTimeout(() => {
|
||||
common_vendor.index.pageScrollTo({
|
||||
scrollTop: 0,
|
||||
success() {
|
||||
updatePosition(keyboardHeight2);
|
||||
editorCtx.value.scrollView();
|
||||
}
|
||||
});
|
||||
}, duration);
|
||||
});
|
||||
});
|
||||
const generateRandomNumber = () => {
|
||||
let randomNumber = Math.floor(1e3 + Math.random() * 9e3);
|
||||
return randomNumber;
|
||||
};
|
||||
const getImageFormat = (imageUrl) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:297", imageUrl);
|
||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||
if (lastDotIndex !== -1) {
|
||||
return imageUrl.substring(lastDotIndex + 1);
|
||||
}
|
||||
return "unknown";
|
||||
};
|
||||
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;
|
||||
uni_modules_svEditor_components_common_utils.addImage([url]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:337", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
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 insertImage = (file) => {
|
||||
common_vendor.index.chooseImage({
|
||||
count: 9,
|
||||
//默认9
|
||||
sizeType: ["original", "compressed"],
|
||||
//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".jpg", ".png", ".jpeg"],
|
||||
success: function(res) {
|
||||
pFun(res.tempFilePaths);
|
||||
}
|
||||
});
|
||||
};
|
||||
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 components/pEditor/pEditor.vue:410", 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 components/pEditor/pEditor.vue:425", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
if (videos) {
|
||||
common_vendor.index.showLoading();
|
||||
common_vendor.index.showToast({ title: "添加视频成功", icon: "none" });
|
||||
} else {
|
||||
common_vendor.index.showToast({ title: "添加视频失败", icon: "none" });
|
||||
}
|
||||
};
|
||||
const insertVideo = (file) => {
|
||||
common_vendor.index.chooseVideo({
|
||||
count: 5,
|
||||
//默认9//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".mp4", ".webm", ".ogg"],
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:447", res.tempFilePath);
|
||||
HandleAddVideo(res.tempFilePath);
|
||||
}
|
||||
});
|
||||
};
|
||||
const closeTitle = () => {
|
||||
showTitle.value = false;
|
||||
};
|
||||
const openTitle = () => {
|
||||
showTitle.value = true;
|
||||
};
|
||||
const alertTitle = () => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:461", "qqqqqq");
|
||||
showTitle.value = true;
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
color: "#000",
|
||||
size: "24"
|
||||
}),
|
||||
b: common_vendor.o((...args) => common_vendor.unref(closeSv) && common_vendor.unref(closeSv)(...args)),
|
||||
c: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
||||
d: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
||||
e: __props.editorType == "info"
|
||||
}, __props.editorType == "info" ? {
|
||||
f: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#6B7280",
|
||||
size: "18"
|
||||
}),
|
||||
g: common_vendor.o(clearMuBan)
|
||||
} : {}, {
|
||||
h: common_vendor.o(ready),
|
||||
i: common_vendor.o(_ctx.focus),
|
||||
j: common_vendor.o(blur),
|
||||
k: common_vendor.p({
|
||||
placeholder: placeholder.value,
|
||||
eid: "peditor",
|
||||
pasteMode: "origin"
|
||||
}),
|
||||
l: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.photoImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
m: common_vendor.o(insertImage),
|
||||
n: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.videoImg$1),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
o: common_vendor.o(insertVideo),
|
||||
p: __props.editorType == "info"
|
||||
}, __props.editorType == "info" ? {
|
||||
q: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.addImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
r: common_vendor.o(alertTitle)
|
||||
} : {}, {
|
||||
s: common_vendor.o(confirm),
|
||||
t: keyboardHeight.value > 0,
|
||||
v: isIOS.value ? keyboardHeight.value : "0px",
|
||||
w: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
x: common_vendor.o(closeTitle),
|
||||
y: common_vendor.o(insertAllWord),
|
||||
z: common_vendor.p({
|
||||
name: "plus-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
A: common_vendor.o(insertAllWord),
|
||||
B: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
C: common_vendor.o(($event) => insertWord("主诉")),
|
||||
D: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
E: common_vendor.o(($event) => insertWord("检查")),
|
||||
F: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
G: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
H: common_vendor.o(closeTitle),
|
||||
I: common_vendor.o(openTitle),
|
||||
J: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "999999",
|
||||
show: showTitle.value,
|
||||
mode: "bottom"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a6a7913a"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/pEditor/pEditor.js.map
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
|
||||
"sv-editor": "../../uni_modules/sv-editor/components/sv-editor/sv-editor"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="page data-v-a6a7913a"><view class="navbox data-v-a6a7913a"><view class="bg data-v-a6a7913a"></view><view class="namebox data-v-a6a7913a"><view class="back data-v-a6a7913a" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-a6a7913a" u-i="a6a7913a-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="name data-v-a6a7913a">{{c}}</view></view></view><view class="container data-v-a6a7913a"><view class="row data-v-a6a7913a"><view class="left data-v-a6a7913a">{{d}}</view><view wx:if="{{e}}" class="right data-v-a6a7913a" bindtap="{{g}}"><u-icon wx:if="{{f}}" class="data-v-a6a7913a" u-i="a6a7913a-1" bind:__l="__l" u-p="{{f}}"></u-icon> 清除模板 </view></view><view class="editorbox data-v-a6a7913a"><sv-editor wx:if="{{k}}" class="ql-container data-v-a6a7913a" bindready="{{h}}" bindfocus="{{i}}" bindblur="{{j}}" u-i="a6a7913a-2" bind:__l="__l" u-p="{{k}}"></sv-editor></view></view><view class="toolbar data-v-a6a7913a" hidden="{{!t}}" style="{{'bottom:' + v}}"><view class="toolbox data-v-a6a7913a"><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{m}}"><up--image wx:if="{{l}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-3" bind:__l="__l" u-p="{{l}}"></up--image><view class="name data-v-a6a7913a">添加图片</view></view><view class="cell data-v-a6a7913a" bindtap="{{o}}"><up--image wx:if="{{n}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-4" bind:__l="__l" u-p="{{n}}"></up--image><view class="name data-v-a6a7913a">添加视频</view></view><view wx:if="{{p}}" class="cell data-v-a6a7913a" bindtap="{{r}}"><up--image wx:if="{{q}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-5" bind:__l="__l" u-p="{{q}}"></up--image><view class="name data-v-a6a7913a">添加小标题</view></view></view><view class="btn data-v-a6a7913a" bindtap="{{s}}">确定</view></view></view><up-popup wx:if="{{J}}" class="data-v-a6a7913a" u-s="{{['d']}}" bindclose="{{H}}" bindopen="{{I}}" u-i="a6a7913a-6" bind:__l="__l" u-p="{{J}}"><view class="draftpop titlepop data-v-a6a7913a"><view class="titlebox data-v-a6a7913a">添加小标题 <view class="close data-v-a6a7913a" bindtap="{{x}}"><up-icon wx:if="{{w}}" class="data-v-a6a7913a" u-i="a6a7913a-7,a6a7913a-6" bind:__l="__l" u-p="{{w}}"></up-icon></view></view><view class="con data-v-a6a7913a"><view class="top data-v-a6a7913a"><up-icon wx:if="{{z}}" class="data-v-a6a7913a" bindclick="{{y}}" u-i="a6a7913a-8,a6a7913a-6" bind:__l="__l" u-p="{{z}}"></up-icon><view class="desc data-v-a6a7913a" bindtap="{{A}}">一键添加全部</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{B}}">患者信息</view><view class="cell data-v-a6a7913a" bindtap="{{C}}">主诉</view><view class="cell data-v-a6a7913a" bindtap="{{D}}">现病史及既往史</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{E}}">检查</view><view class="cell data-v-a6a7913a" bindtap="{{F}}">临床诊断</view><view class="cell data-v-a6a7913a" bindtap="{{G}}">治疗经过及结果</view></view></view></view></up-popup></view>
|
||||
@@ -0,0 +1,293 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.row.data-v-a6a7913a {
|
||||
padding: 30rpx 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.row .left.data-v-a6a7913a {
|
||||
font-size: 38rpx;
|
||||
color: #000000;
|
||||
}
|
||||
.row .right.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #6b7280;
|
||||
font-size: 31rpx;
|
||||
}
|
||||
.navbox.data-v-a6a7913a {
|
||||
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-a6a7913a {
|
||||
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-a6a7913a {
|
||||
padding-top: 102rpx;
|
||||
justify-content: center;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
}
|
||||
.navbox .namebox .back.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.navbox .namebox .name.data-v-a6a7913a {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
}
|
||||
.navbox .search.data-v-a6a7913a {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.navbox .search .searchwrap.data-v-a6a7913a {
|
||||
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-a6a7913a {
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.container.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
top: 180rpx;
|
||||
left: 0;
|
||||
bottom: 250rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.editorbox.data-v-a6a7913a {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
box-sizing: border-box;
|
||||
line-height: 1.5;
|
||||
overflow-y: scroll;
|
||||
padding: 10rpx 30rpx 10rpx;
|
||||
}
|
||||
.ql-active.data-v-a6a7913a {
|
||||
color: #22C704;
|
||||
}
|
||||
.btn.data-v-a6a7913a {
|
||||
flex: 1;
|
||||
width: 180rpx;
|
||||
background: #3cc7c0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
color: #fff;
|
||||
height: 60rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
.iconfont.data-v-a6a7913a {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
}
|
||||
.toolbar.data-v-a6a7913a {
|
||||
box-sizing: border-box;
|
||||
padding: 0 10px;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 100%;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: 1px solid #ECECEC;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
.page.data-v-a6a7913a {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-color: #fff;
|
||||
bottom: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
.toolbox.data-v-a6a7913a {
|
||||
/* border-top: 2rpx solid #f3f4f6; */
|
||||
padding: 22rpx 30rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbox .cellbox.data-v-a6a7913a {
|
||||
width: 480rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
/* justify-content: space-between; */
|
||||
}
|
||||
.toolbox .cell.data-v-a6a7913a {
|
||||
width: 132rpx;
|
||||
margin-right: 20rpx;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbox .cell .name.data-v-a6a7913a {
|
||||
font-size: 25rpx;
|
||||
margin-left: 4rpx;
|
||||
color: #4b5563;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.toolbox .cell.data-v-a6a7913a:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.toolbox .cell.active.data-v-a6a7913a {
|
||||
opacity: 0.65;
|
||||
}
|
||||
.draftpop .titlebox.data-v-a6a7913a {
|
||||
text-align: center;
|
||||
padding: 30rpx;
|
||||
font-size: 31rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
}
|
||||
.draftpop .titlebox .close.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
right: 30rpx;
|
||||
}
|
||||
.draftpop .draftlist.data-v-a6a7913a {
|
||||
height: calc(100vh - 500rpx);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.draftpop .draftlist .cell.data-v-a6a7913a {
|
||||
padding-bottom: 34rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
}
|
||||
.draftpop .draftlist .cell .title.data-v-a6a7913a {
|
||||
margin: 15rpx 30rpx 0;
|
||||
font-size: 36rpx;
|
||||
color: #111827;
|
||||
line-height: 46rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .smalltitle.data-v-a6a7913a {
|
||||
margin: 4px 0rpx 0;
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .con.data-v-a6a7913a {
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal.data-v-a6a7913a {
|
||||
margin: 36rpx 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .time.data-v-a6a7913a {
|
||||
font-size: 26rpx;
|
||||
color: #9ca3af;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .right.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .del.data-v-a6a7913a {
|
||||
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-a6a7913a {
|
||||
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;
|
||||
}
|
||||
.titlepop .top.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin: 0 30rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-size: 30rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.titlepop .con.data-v-a6a7913a {
|
||||
padding-bottom: 50rpx;
|
||||
}
|
||||
.titlepop .cellbox.data-v-a6a7913a {
|
||||
margin: 20rpx 30rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.titlepop .cellbox .cell.data-v-a6a7913a {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 25rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #e5e7eb78;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user