我想单击该按钮。但是我找不到代码。
<li class="rtbItem rtbBtn"><a class="rtbWrap" href="#">
<span class="rtbOut"><span class="rtbMid"><span class="rtbIn">
<img alt="" src="icons/Export.png" class="rtbIcon">
<span class="rtbText">Export</span></span></span></span></a></li>
这是cc代码。
答案 0 :(得分:0)
import Eureka
class ViewController: FormViewController {
override func viewDidLoad() {
super.viewDidLoad()
title = "Multivalued Examples"
form +++
MultivaluedSection(multivaluedOptions: [.Insert, .Delete]) {
$0.tag = "textfields"
$0.addButtonProvider = { section in
return ButtonRow(){
$0.title = "Add New Tag"
}.cellUpdate { cell, row in
cell.textLabel?.textAlignment = .left
}
}
$0.multivaluedRowToInsertAt = { index in
return NameRow() {
$0.placeholder = "Tag Name"
}
}
$0 <<< NameRow() {
$0.placeholder = "Tag Name"
}
}
}
我尝试了这个。而不看我问的代码。该代码位于网站上的列表中。对不起,不好。 This is web site and button picture