修改详情页面手机端展示问题
parent
8c0e11b0a8
commit
b3f85504f6
|
|
@ -24,29 +24,30 @@
|
||||||
<option name="hideEmptyMiddlePackages" value="true" />
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
<option name="showLibraryContents" value="true" />
|
<option name="showLibraryContents" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">{
|
<component name="PropertiesComponent"><![CDATA[{
|
||||||
"keyToString": {
|
"keyToString": {
|
||||||
"RequestMappingsPanelOrder0": "0",
|
"RequestMappingsPanelOrder0": "0",
|
||||||
"RequestMappingsPanelOrder1": "1",
|
"RequestMappingsPanelOrder1": "1",
|
||||||
"RequestMappingsPanelWidth0": "75",
|
"RequestMappingsPanelWidth0": "75",
|
||||||
"RequestMappingsPanelWidth1": "75",
|
"RequestMappingsPanelWidth1": "75",
|
||||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
"WebServerToolWindowFactoryState": "false",
|
"WebServerToolWindowFactoryState": "false",
|
||||||
"git-widget-placeholder": "main",
|
"git-widget-placeholder": "main",
|
||||||
"last_opened_file_path": "/Users/kangwenjing/Downloads/crm/unis_crm",
|
"last_opened_file_path": "/Users/kangwenjing/Downloads/crm/unis_crm",
|
||||||
"node.js.detected.package.eslint": "true",
|
"node.js.detected.package.eslint": "true",
|
||||||
"node.js.detected.package.tslint": "true",
|
"node.js.detected.package.tslint": "true",
|
||||||
"node.js.selected.package.eslint": "(autodetect)",
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"nodejs_package_manager_path": "npm",
|
"nodejs_package_manager_path": "npm",
|
||||||
"project.structure.last.edited": "模块",
|
"project.structure.last.edited": "项目",
|
||||||
"project.structure.proportion": "0.0",
|
"project.structure.proportion": "0.14450866",
|
||||||
"project.structure.side.proportion": "0.0",
|
"project.structure.side.proportion": "0.18800648",
|
||||||
"ts.external.directory.path": "/Users/kangwenjing/Downloads/crm/unis_crm/frontend/node_modules/typescript/lib",
|
"settings.editor.selected.configurable": "configurable.group.appearance",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"ts.external.directory.path": "/Users/kangwenjing/Downloads/crm/unis_crm/frontend/node_modules/typescript/lib",
|
||||||
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}</component>
|
}]]></component>
|
||||||
<component name="RunManager" selected="Spring Boot.UnisCrmBackendApplication">
|
<component name="RunManager" selected="Spring Boot.UnisCrmBackendApplication">
|
||||||
<configuration name="unis-crm-backend中的所有" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
<configuration name="unis-crm-backend中的所有" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||||
<module name="unis-crm-backend" />
|
<module name="unis-crm-backend" />
|
||||||
|
|
@ -92,6 +93,7 @@
|
||||||
<workItem from="1775200047785" duration="3902000" />
|
<workItem from="1775200047785" duration="3902000" />
|
||||||
<workItem from="1775541962012" duration="805000" />
|
<workItem from="1775541962012" duration="805000" />
|
||||||
<workItem from="1775611219527" duration="1273000" />
|
<workItem from="1775611219527" duration="1273000" />
|
||||||
|
<workItem from="1775721940000" duration="8576000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="修改定位信息 0323">
|
<task id="LOCAL-00001" summary="修改定位信息 0323">
|
||||||
<option name="closed" value="true" />
|
<option name="closed" value="true" />
|
||||||
|
|
|
||||||
|
|
@ -2263,7 +2263,7 @@ export default function Expansion() {
|
||||||
animate={{ x: 0, y: 0 }}
|
animate={{ x: 0, y: 0 }}
|
||||||
exit={{ x: "100%", y: 0 }}
|
exit={{ x: "100%", y: 0 }}
|
||||||
transition={{ type: "spring", damping: 25, stiffness: 200 }}
|
transition={{ type: "spring", damping: 25, stiffness: 200 }}
|
||||||
className={`fixed inset-x-0 bottom-0 z-50 flex h-[88dvh] w-full flex-col rounded-t-3xl border border-slate-200 bg-white shadow-2xl transition-opacity dark:border-slate-800 dark:bg-slate-900 sm:inset-y-0 sm:right-0 sm:left-auto sm:h-full sm:max-w-2xl lg:max-w-3xl sm:rounded-none sm:rounded-l-3xl sm:border-l ${
|
className={`fixed inset-x-0 bottom-0 z-50 flex h-[88dvh] w-full flex-col overflow-hidden rounded-t-3xl border border-slate-200 bg-white shadow-2xl transition-opacity dark:border-slate-800 dark:bg-slate-900 sm:inset-y-0 sm:right-0 sm:left-auto sm:h-full sm:max-w-2xl lg:max-w-3xl sm:rounded-none sm:rounded-l-3xl sm:border-l ${
|
||||||
hasForegroundModal ? "pointer-events-none opacity-20" : ""
|
hasForegroundModal ? "pointer-events-none opacity-20" : ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
|
@ -2277,7 +2277,7 @@ export default function Expansion() {
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex-1 overflow-y-auto px-5 py-5 sm:px-6">
|
<div className="min-h-0 flex-1 overflow-y-auto px-5 py-5 sm:px-6">
|
||||||
<div className="crm-modal-stack">
|
<div className="crm-modal-stack">
|
||||||
<div>
|
<div>
|
||||||
{selectedItem.type === "sales" ? (
|
{selectedItem.type === "sales" ? (
|
||||||
|
|
@ -2480,18 +2480,20 @@ export default function Expansion() {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="sticky bottom-0 bg-slate-50/95 px-4 pb-[calc(1rem+env(safe-area-inset-bottom))] pt-4 backdrop-blur sm:static sm:p-4 dark:bg-slate-900/90">
|
<div className="w-full shrink-0 border-t border-slate-200/80 bg-slate-50/95 backdrop-blur dark:border-slate-800/80 dark:bg-slate-900/90">
|
||||||
|
<div className="px-4 pb-[calc(1rem+env(safe-area-inset-bottom))] pt-4 sm:p-4">
|
||||||
{!canEditSelectedItem ? (
|
{!canEditSelectedItem ? (
|
||||||
<p className="mb-3 text-xs text-slate-400 dark:text-slate-500">当前记录非本人创建,仅支持查看详情,不能编辑。</p>
|
<p className="mb-3 text-xs text-slate-400 dark:text-slate-500">当前记录非本人创建,仅支持查看详情,不能编辑。</p>
|
||||||
) : null}
|
) : null}
|
||||||
<div className="flex">
|
<div className="grid grid-cols-1 gap-3">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => void handleOpenEdit()}
|
onClick={() => void handleOpenEdit()}
|
||||||
disabled={!canEditSelectedItem}
|
disabled={!canEditSelectedItem}
|
||||||
title={canEditSelectedItem ? "编辑资料" : "仅本人可操作"}
|
title={canEditSelectedItem ? "编辑资料" : "仅本人可操作"}
|
||||||
className="crm-btn-sm crm-btn-secondary flex-1 disabled:cursor-not-allowed disabled:opacity-60"
|
className="crm-btn crm-btn-secondary inline-flex h-11 w-full items-center justify-center disabled:cursor-not-allowed disabled:opacity-60"
|
||||||
>
|
>
|
||||||
{canEditSelectedItem ? "编辑资料" : "仅本人可操作"}
|
{canEditSelectedItem ? "编辑资料" : "仅本人可操作"}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
|
|
@ -2506,7 +2506,7 @@ export default function Opportunities() {
|
||||||
animate={{ x: 0, y: 0 }}
|
animate={{ x: 0, y: 0 }}
|
||||||
exit={{ x: "100%", y: 0 }}
|
exit={{ x: "100%", y: 0 }}
|
||||||
transition={{ type: "spring", damping: 25, stiffness: 200 }}
|
transition={{ type: "spring", damping: 25, stiffness: 200 }}
|
||||||
className={`fixed inset-x-0 bottom-0 z-50 flex h-[90dvh] w-full flex-col rounded-t-3xl border border-slate-200 bg-white shadow-2xl transition-opacity dark:border-slate-800 dark:bg-slate-900 sm:inset-y-0 sm:right-0 sm:left-auto sm:h-full sm:w-[min(840px,92vw)] sm:max-w-none sm:rounded-none sm:rounded-l-3xl sm:border-l lg:w-[min(960px,90vw)] ${hasForegroundModal ? "pointer-events-none opacity-20" : ""}`}
|
className={`fixed inset-x-0 bottom-0 z-50 flex h-[90dvh] w-full flex-col overflow-hidden rounded-t-3xl border border-slate-200 bg-white shadow-2xl transition-opacity dark:border-slate-800 dark:bg-slate-900 sm:inset-y-0 sm:right-0 sm:left-auto sm:h-full sm:w-[min(840px,92vw)] sm:max-w-none sm:rounded-none sm:rounded-l-3xl sm:border-l lg:w-[min(960px,90vw)] ${hasForegroundModal ? "pointer-events-none opacity-20" : ""}`}
|
||||||
>
|
>
|
||||||
<div className="flex items-center justify-between border-b border-slate-100 px-5 py-4 dark:border-slate-800 sm:px-6">
|
<div className="flex items-center justify-between border-b border-slate-100 px-5 py-4 dark:border-slate-800 sm:px-6">
|
||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center gap-3">
|
||||||
|
|
@ -2518,7 +2518,7 @@ export default function Opportunities() {
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex-1 overflow-y-auto px-4 py-4 sm:px-6 sm:py-5">
|
<div className="min-h-0 flex-1 overflow-y-auto px-4 py-4 sm:px-6 sm:py-5">
|
||||||
<div className="crm-modal-stack">
|
<div className="crm-modal-stack">
|
||||||
<div>
|
<div>
|
||||||
<div className="mb-2 flex items-center gap-2">
|
<div className="mb-2 flex items-center gap-2">
|
||||||
|
|
@ -2671,7 +2671,8 @@ export default function Opportunities() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="sticky bottom-0 bg-slate-50/95 px-4 pb-[calc(1rem+env(safe-area-inset-bottom))] pt-4 backdrop-blur sm:static sm:p-4 dark:bg-slate-900/90">
|
<div className="w-full shrink-0 border-t border-slate-200/80 bg-slate-50/95 backdrop-blur dark:border-slate-800/80 dark:bg-slate-900/90">
|
||||||
|
<div className="px-4 pb-[calc(1rem+env(safe-area-inset-bottom))] pt-4 sm:p-4">
|
||||||
{error ? <div className="crm-alert crm-alert-error mb-3">{error}</div> : null}
|
{error ? <div className="crm-alert crm-alert-error mb-3">{error}</div> : null}
|
||||||
{!canEditSelectedItem ? (
|
{!canEditSelectedItem ? (
|
||||||
<p className="mb-3 text-xs text-slate-400 dark:text-slate-500">当前商机非本人负责,仅支持查看详情,不能编辑或推送。</p>
|
<p className="mb-3 text-xs text-slate-400 dark:text-slate-500">当前商机非本人负责,仅支持查看详情,不能编辑或推送。</p>
|
||||||
|
|
@ -2708,6 +2709,7 @@ export default function Opportunities() {
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 210 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 212 KiB |
|
|
@ -0,0 +1,54 @@
|
||||||
|
{
|
||||||
|
"opportunityMetrics": {
|
||||||
|
"initialMetrics": {
|
||||||
|
"viewportHeight": 932,
|
||||||
|
"panelBottom": 932,
|
||||||
|
"scrollBottom": 822,
|
||||||
|
"footerTop": 822,
|
||||||
|
"footerBottom": 931,
|
||||||
|
"overlap": 0,
|
||||||
|
"safeBottom": "16px",
|
||||||
|
"scrollHeight": 1268,
|
||||||
|
"clientHeight": 640,
|
||||||
|
"scrollTop": 0
|
||||||
|
},
|
||||||
|
"bottomMetrics": {
|
||||||
|
"viewportHeight": 932,
|
||||||
|
"panelBottom": 932,
|
||||||
|
"scrollBottom": 822,
|
||||||
|
"footerTop": 822,
|
||||||
|
"footerBottom": 931,
|
||||||
|
"overlap": 0,
|
||||||
|
"safeBottom": "16px",
|
||||||
|
"scrollHeight": 1268,
|
||||||
|
"clientHeight": 640,
|
||||||
|
"scrollTop": 628
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"channelMetrics": {
|
||||||
|
"initialMetrics": {
|
||||||
|
"viewportHeight": 932,
|
||||||
|
"panelBottom": 932,
|
||||||
|
"scrollBottom": 931,
|
||||||
|
"footerTop": 181.84375,
|
||||||
|
"footerBottom": 931,
|
||||||
|
"overlap": 749.15625,
|
||||||
|
"safeBottom": "20px",
|
||||||
|
"scrollHeight": 1316,
|
||||||
|
"clientHeight": 749,
|
||||||
|
"scrollTop": 0
|
||||||
|
},
|
||||||
|
"bottomMetrics": {
|
||||||
|
"viewportHeight": 932,
|
||||||
|
"panelBottom": 932,
|
||||||
|
"scrollBottom": 931,
|
||||||
|
"footerTop": 181.84375,
|
||||||
|
"footerBottom": 931,
|
||||||
|
"overlap": 749.15625,
|
||||||
|
"safeBottom": "20px",
|
||||||
|
"scrollHeight": 1316,
|
||||||
|
"clientHeight": 749,
|
||||||
|
"scrollTop": 567
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 228 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 221 KiB |
Loading…
Reference in New Issue