SOURCE

console 命令行工具 X clear

                    
>
console
cola(function (model) {
		 model.set("items", [
                {color: "blue", content: "Blue"},
                {color: "red", content: "Red"},
                {color: "yellow", content: "Yellow"},
                {color: "orange", content: "Orange"}
            ]);      
});
<c-carousel id="carousel1"  height="400">
  <div class="items-wrap">
   <a href="#" class="blue-background">Blue</a>
    <a href="#" class="red-background" >Red</a>
    <a href="#" class="yellow-background">Yellow</a>
    <a href="#" class="orange-background"">Orange</a>
  </div>
</c-carousel>
#carousel1 > .items-wrap > a {
            font-size: 40px;
            color: #fff;
            padding-top: 188px;
  					text-align:center;
          display:block;
}

本项目引用的自定义外部资源