liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<apex:page showHeader="false" sidebar="false" id="allPage" title="任务管理表" lightningStylesheets="true">
 <apex:includeLightning />
 
 <div style="width:100%;height:100%;" id="TaskManageAppOutContainer" />
 
 <script>
 $Lightning.use("c:TaskManageApp", function() {
 $Lightning.createComponent("c:taskManage",
 { 
 },
 "TaskManageAppOutContainer",
 function(cmp) {
 console.log('Component created, do something cool here');
 });
 });
 </script>
 <style>
    .slds-theme--error {
        --slds-g-color-error-base-40: #ba0517 !important;
    }
    .slds-theme--success {
        --slds-g-color-success-base-50: #2E844A !important;
    }
    .slds-theme--warning {
        --slds-g-color-warning-base-60: #DD7A01 !important;
    }
    .slds-theme--info {
        --slds-g-color-neutral-base-50: #747474 !important;
    }
 </style>
</apex:page>