在Phonegap 5.4中的启动画面上的装载机

时间:2016-02-01 12:36:56

标签: cordova phonegap-plugins splash-screen

我刚开始使用CLI在phonegap 5.4.1(最新版本)中创建应用程序,phonegap创建unishkuri --id“com.abp.unishkuri” - name“unishkuri” 它已在User下成功创建。在文件夹结构中,我找到了钩子,平台,插件,www和config.xml。在www --->下,平台和插件是空的css,img,js,res,spec,icon.png,index.html,spec.html都有。 我可以从config.xml文件中添加一个启动画面。 现在,我的问题是如果我想在启动画面上添加自定义加载器,它将如何实现。请帮帮我。提前谢谢。

1 个答案:

答案 0 :(得分:0)

如果您使用最新版本的启动画面插件(3.1.0),则可以添加一个微调器,将此行添加到config.xml

SELECT DATE_FORMAT(vtiger_crmentity.createdtime,'%d/%m/%Y') as "Tanggal Transaksi",DATE_FORMAT(due_date ,'%d/%m/%Y') as "Tanggal Jatuh Tempo",campaignname as "No. Kartu Kredit",contact_no as "Customer ID",concat(firstname," ", lastname) as "Nama",FORMAT(vtiger_servicecontractscf.cf_1107, 0, 'de_DE') as "Tagihan Bank",FORMAT(vtiger_servicecontractscf.cf_1095, 0, 'de_DE') as "Gesek",FORMAT(vtiger_servicecontractscf.cf_1101, 0, 'de_DE') as "Titip Bayar",if (cf_1101-accountingpaidamount>0,FORMAT(cf_1101-accountingpaidamount, 0, 'de_DE'),0) as "Hutang TB", if (cf_1101-accountingpaidamount>0,"Belum Lunas","Sudah Lunas") as "Status Lunas TB",vtiger_accounting.description as "Keterangan" 
FROM vtiger_servicecontracts, vtiger_crmentity, vtiger_servicecontractscf, vtiger_campaign, vtiger_contactdetails, vtiger_sqlreportscf, vtiger_sqlreports

LEFT JOIN vtiger_accounting
on vtiger_accounting.accountingrelated2=vtiger_servicecontracts.servicecontractsid
LEFT JOIN vtiger_accounting_payments
on vtiger_accounting_payments.idtransaction=vtiger_accounting.accountingid

WHERE vtiger_contactdetails.contactid=vtiger_servicecontracts.contactid and
vtiger_campaign.campaignid=cf_1155
and vtiger_crmentity.crmid=vtiger_servicecontracts.servicecontractsid
and vtiger_servicecontractscf.servicecontractsid=vtiger_servicecontracts.servicecontractsid
and vtiger_sqlreports.sqlreportsid=204
and vtiger_sqlreports.sqlreportsid=vtiger_sqlreportscf.sqlreportsid
AND (vtiger_crmentity.createdtime BETWEEN cf_1157 and cf_1159)

group by campaignname

但是,如果不更改插件的本机代码,则无法自定义