<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>
|