Angularjs 如何消除角引导模式中的子弹?

Angularjs 如何消除角引导模式中的子弹?,angularjs,twitter-bootstrap,Angularjs,Twitter Bootstrap,我想去掉角引导模式中的子弹。您可以在此处看到演示代码: http://plnkr.co/edit/iv9KjOW2CIfRUZW7y8sP?p=preview 以下是问题样本的一部分: <script type="text/ng-template" id="myModalContent.html"> <div class="modal-header"> <h3 class="modal-title">I'm a modal!</

我想去掉角引导模式中的子弹。您可以在此处看到演示代码:

http://plnkr.co/edit/iv9KjOW2CIfRUZW7y8sP?p=preview
以下是问题样本的一部分:

<script type="text/ng-template" id="myModalContent.html">
    <div class="modal-header">
        <h3 class="modal-title">I'm a modal!</h3>
    </div>
    <div class="modal-body">
        <ul>
            <li ng-repeat="item in items">
                <a ng-click="selected.item = item">{{ item }}</a>
            </li>
        </ul>
        Selected: <b>{{ selected.item }}</b>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" ng-click="ok()">OK</button>
        <button class="btn btn-warning" ng-click="cancel()">Cancel</button>
    </div>
</script>

我是模态的!
  • {{item}}
选定:{{Selected.item} 好啊 取消

如果单击模式并将其打开,则模式中的项目旁边会出现项目符号。我想更改这些,以及项目是右对齐、左对齐、对齐还是居中对齐。

只需使用此自定义CSS即可。以模态框内的所有无序列表为目标

.modal-body ul {
  list-style: none;
}

无法正确链接。应该是特定于您的plunkr的代码…更改列表样式?请在我上面编辑的plunkr链接上道歉。哈哈:是的。关于项目是右对齐、左对齐、对齐还是居中,您可以将引导的text right、text left、text center类与列表项目一起使用。