     
     //构造scrollView
     public func setUpCircleView(){
-        if imageArray == nil{
+        if isShowPlaceholder == false && imageCount <= 0 {
             return
         }
+        
         //创建scrollView
         //初始化scrollView
         contentScrollView = UIScrollView(frame: CGRectMake(0, 0, screen_width, self.frame.size.height))
         contentScrollView.contentSize = CGSizeMake(screen_width * 3, 0)
-        contentScrollView.scrollEnabled = imageArray.count > 1
+        contentScrollView.scrollEnabled = imageCount > 1
         contentScrollView.delegate = self
         contentScrollView.bounces = false
         contentScrollView.pagingEnabled = true

//

import UIKit

public enum UIPageControlMode : Int {
    case Left

    //MARK:设置属性
    
    //设置数组
    var imageArray:[String]!{
        //监听图片数组的变化，如果有变化立即刷新轮播图中显示的图片
        willSet(newValue){
            self.imageArray = newValue
