我已经做了一个代码,以将图像和文本一起附加到离子视图的标题栏。这是代码片段:离子AngularJS:将图像和文本附加到离子视图的标题栏不显示
<ion-view align-title="left">
<h1 style="margin-left:100px" class="title">
<img class="title-image" src="http://www.ionicframework.com/img/ionic-logo-white.svg" width="123" height="43" />
</h1>
<h1 class="title">Titled Text</h1>
<ion-content class="padding">
<div class="list list-inset">
<label style="border: 3px solid red; border-radius:5px;" class="item item-input">
<input focus-on="focusMe" type="text" ng-model="register.username" placeholder="Choose username">
</label>
<label style="margin-top: 10px; border: 3px solid red; border-radius:5px;" class="item item-input">
<input type="password" placeholder="Choose password" ng-model="register.password">
</label>
</div>
<a style="margin-top: 100px; border: 3px solid red; border-radius:5px; background-color: #ff6000 class="button button-block button-positive">Next</a>
</ion-content>
</ion-view>
这就是我所做的普拉克。
请我怎样才能使图像和文字看起来离子视图的标题栏?
问题是什么? – user1697575
你的佣金完全损坏...... – Makoto
这就是挑战。 – Blaze