buli
2023-06-05 e9b970ea36eea5dcf93fd5b965bf13d7010ce0ad
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
<aura:component implements="flexipage:availableForAllPageTypes,forceCommunity:availableForAllPageTypes,lightning:isUrlAddressable"
    access="global" controller ="eSignHomePageController">
 
    <aura:attribute name="DNName" type="String"
                    description="用来从父对象接收传递过来的DN号"
                    default=""/>
    <aura:attribute name="floatWidth" type="String"
                    description="用来从父对象接收传递过来的屏幕宽度"
                    default=""/>
    <aura:attribute name="QRWidth" type="String"
                    description="用来从父对象接收传递过来的屏幕宽度"
                    default=""/>
    <aura:attribute name="QRHeight" type="String"
                    description="用来从父对象接收传递过来的屏幕宽度"
                    default=""/>
 
    <!-- 引入第三方支持库 -->
    <ltng:require scripts="{!$Resource.qrcode}" afterScriptsLoaded="{!c.setScriptLoaded}"/>
    <aura:attribute name="isJqueryLoaded" type="Boolean" description=""/>
    <aura:attribute name="needToProcessReRenderLogic" type="Boolean" description=""/>
 
    <!-- 二维码 -->
    <!-- position: absolute;left: 43%; ;margin-left: -100px;bottom:250px;-->
        <div id="In" style="{!'width:'+v.QRWidth+'px;margin: 0 auto;height:280px;'}" >
                <p style="{!'text-align:center;border: solid 10px #fff;text-align: center;width:200px;'}" align="center" class="QRColor" >医院二维码</p>
                <div id="qrcode" class="slds-float_center" style="text-align:center;border: solid 10px #fff;text-align: center;position: absolute;left: 20%;"></div>
        </div>
           
 
</aura:component>