浏览代码

增加项目清单静态页面

guohh 5 年之前
父节点
当前提交
c779db41ae

+ 215 - 1
2020/x-3/biz/css/base-ghh.css

3800
  padding-top: .1rem;
3800
  padding-top: .1rem;
3801
  padding-bottom: 0;
3801
  padding-bottom: 0;
3802
}
3802
}
3803
.pages-project-task .ipu-toolbar-title{
3803
3804
.pages-project-phase .ipu-toolbar-title {
3804
  left: .55rem;
3805
  left: .55rem;
3805
  right: 1.5rem;
3806
  right: 1.5rem;
3806
  width: auto;
3807
  width: auto;
3808
}
3809
3810
.project-phase-current {
3811
  font-size: .12rem;
3812
  line-height: .32rem;
3813
  color: #4A5568;
3814
}
3815
3816
.project-phase-current .icon-flag {
3817
  margin-left: .05rem;
3818
  font-size: .18rem;
3819
  color: #A0AEC0;
3820
}
3821
3822
.project-phase-block {
3823
  position: absolute;
3824
  top: .86rem;
3825
  left: 0;
3826
  right: 0;
3827
  bottom: 0;
3828
  background-color: rgba(0, 0, 0, 0.3);
3829
  display: none;
3830
}
3831
3832
.project-phase-block .list-head-title {
3833
  font-size: .14rem;
3834
  line-height: .22rem;
3835
  color: #718096;
3836
  padding: .1rem .2rem;
3837
}
3838
3839
.project-phase-block .list-head-link {
3840
  font-size: .14rem;
3841
  line-height: .22rem;
3842
  color: #0B69FF;
3843
  padding: .1rem .2rem;
3844
}
3845
3846
.project-phase-block .list-item {
3847
  margin-left: .2rem;
3848
}
3849
3850
.project-phase-block .list-item .item-title {
3851
  font-size: .14rem;
3852
  color: #1A202C;
3853
  line-height: .425rem;
3854
  padding-right: .2rem;
3855
}
3856
3857
.project-phase-block .item-slt-flag .icon-flag {
3858
  font-size: .2rem;
3859
  color: #0B69FF;
3860
  padding-right: .2rem;
3861
  display: none;
3862
}
3863
3864
.project-phase-block .list-item.slt .icon-flag {
3865
  display: block;
3866
}
3867
3868
.project-phase-block .list-foot {
3869
  padding: .15rem .2rem;
3870
  font-size: .14rem;
3871
  line-height: .22rem;
3872
  color: #0B69FF;
3873
}
3874
3875
.project-phase-block .list-foot .icon-flag {
3876
  font-size: .2rem;
3877
}
3878
3879
.project-phase-content {
3880
  background-color: #fff;
3881
}
3882
3883
.pages-project-phase .ipu-carousel {
3884
  width: 3.15rem;
3885
  margin: 0 auto;
3886
  overflow: visible;
3887
  height: 100%;
3888
  padding-bottom: .4rem;
3889
}
3890
3891
.pages-project-phase .ipu-hammer-carousel .ipu-carousel-wrapper {
3892
  height: 100%;
3893
}
3894
3895
.pages-project-phase .ipu-hammer-carousel .ipu-carousel-wrapper > li {
3896
  height: 100%;
3897
  overflow: auto;
3898
}
3899
3900
.project-phase-item {
3901
  margin: 0 .1rem;
3902
}
3903
3904
.pages-project-phase .ipu-checkbox input[type=checkbox]:before {
3905
  border-color: #CBD5E0;
3906
}
3907
3908
.pages-project-phase .ipu-checkbox input[type=checkbox] {
3909
  margin-left: 0;
3910
}
3911
3912
.pages-project-phase .ipu-checkbox {
3913
  padding: 0 .1rem;
3914
}
3915
3916
.project-task-item {
3917
  background-color: #fff;
3918
  border-left: .05rem solid #0B69FF;
3919
  border-radius: .04rem;
3920
  padding: .13rem .15rem .13rem 0;
3921
  margin: .1rem 0;
3922
}
3923
3924
.project-task-executor .img {
3925
  width: .24rem;
3926
  height: .24rem;
3927
  border-radius: 50%;
3928
}
3929
3930
.project-task-item .project-task-title {
3931
  font-weight: 500;
3932
  font-size: .14rem;
3933
  line-height: .22rem;
3934
  color: #1A202C;
3935
  padding-right: .1rem;
3936
}
3937
3938
.project-task-time-state {
3939
  margin-top: .04rem;
3940
  border-radius: .04rem;
3941
  line-height: .2rem;
3942
  font-size: .12rem;
3943
  color: #718096;
3944
  background-color: #F2F3F7;
3945
  border-radius: .04rem;
3946
  padding: 0 .05rem;
3947
}
3948
3949
.project-task-time-state.time-out {
3950
  background-color: rgba(243, 88, 107, .1);
3951
  color: #F3586B;
3952
}
3953
3954
.project-task-time-state.time-limit {
3955
  color: #ED8936;
3956
  background-color: rgba(237, 137, 54, .1);
3957
}
3958
3959
.link-task-add {
3960
  height: .4rem;
3961
  background-color: #fff;
3962
  font-size: .14rem;
3963
  line-height: .22rem;
3964
  color: #718096;
3965
}
3966
3967
.link-task-add .icon-flag {
3968
  font-size: .2rem;
3969
  padding-right: .03rem;
3970
}
3971
3972
.project-phase-item .item-state {
3973
  font-weight: 500;
3974
  font-size: .14rem;
3975
  line-height: .22rem;
3976
  color: #1A202C;
3977
  padding: .2rem 0 .06rem;
3978
}
3979
3980
.project-phase-item .item-state .num {
3981
  padding-left: .05rem;
3982
  font-weight: normal;
3983
  color: #718096;
3984
}
3985
3986
.carousel-block {
3987
  overflow: hidden;
3988
}
3989
3990
.project-task-item-white {
3991
  border-left-color: #fff;
3992
}
3993
3994
.project-task-item-red {
3995
  border-left-color: #F56565;
3996
}
3997
3998
.project-task-item-yellow {
3999
  border-left-color: #F6AD55;
4000
}
4001
4002
.pages-project-phase .ipu-carousel-indicator li {
4003
  width: .07rem;
4004
  height: .07rem;
4005
  background-color: #A0AEC0;
4006
  opacity: .3;
4007
}
4008
4009
.pages-project-phase .ipu-carousel-indicator li.ipu-current {
4010
  opacity: 1;
4011
}
4012
4013
.project-phase-list .ipu-list-item-title {
4014
  font-size: .16rem;
4015
  line-height: .32rem;
4016
  color: #1A202C;
4017
}
4018
4019
.project-phase-list .ipu-list-item {
4020
  padding-left: .2rem;
3807
}
4021
}

+ 19 - 12
2020/x-3/biz/js/common/PanCarousel.js

1
define(["jquery"], function ($) {
1
define(["jquery"], function ($) {
2
2
  // 非循环时,限制滚动范围,滚动结束处理有问题
3
  // 参考 HammerCarousel组件改造,功能类似HammerCarousel
3
  // 参考 HammerCarousel组件改造,功能类似HammerCarousel
4
  /**
4
  /**
5
   * @class ipuUI.HammerCarousel
5
   * @class ipuUI.HammerCarousel
89
89
90
      this.enable = true;
90
      this.enable = true;
91
      this.startIndex = Math.ceil(this.option.startIndex);   // 起始位置,表明0不会显示,因为没法显示0
91
      this.startIndex = Math.ceil(this.option.startIndex);   // 起始位置,表明0不会显示,因为没法显示0
92
      this.endIndex = this.startIndex + this.itemSize;       // 结束位置展现同起始位置,只是索引不同
92
      this.endIndex = this.itemSize + (this.option.loop ? this.startIndex : -1);       // 结束位置展现同起始位置,只是索引不同
93
      this.carouselItemWides = []; // 子项宽度尺寸
93
      this.carouselItemWides = []; // 子项宽度尺寸
94
94
95
      /**
95
      /**
115
        if (cloneItem.size() < this.showItemSize) {
115
        if (cloneItem.size() < this.showItemSize) {
116
          this.carouselItems.slice(0, 1).clone().appendTo(this.wrapper).removeClass("ipu-current");
116
          this.carouselItems.slice(0, 1).clone().appendTo(this.wrapper).removeClass("ipu-current");
117
        }
117
        }
118
      } else { // 限制最大滚动距离
119
118
      }
120
      }
119
121
120
      var that = this;
122
      var that = this;
139
      }
141
      }
140
142
141
      this._show(this.currentIndex, false);
143
      this._show(this.currentIndex, false);
144
      console.log(this);
142
    },
145
    },
143
    /**
146
    /**
144
     * 停止自动滚动
147
     * 停止自动滚动
274
        move = this.moveLen - moveLen;
277
        move = this.moveLen - moveLen;
275
        if (move < 0) {
278
        if (move < 0) {
276
          move = move / 2;
279
          move = move / 2;
280
          //move = 0;
277
        } else if (move > this.endSize) {
281
        } else if (move > this.endSize) {
278
          move = this.endSize + (move - this.endSize) / 2;
282
          move = this.endSize + (move - this.endSize) / 2;
283
          //move = this.endSzie;
279
        }
284
        }
280
      }
285
      }
281
286
282
      this.displayMoveLen = move;
287
      this.displayMoveLen = move;
283
      $(this.wrapper).css("transform", "translate3d(-" + move + "px, 0, 0)");
288
      move = -move;
289
      $(this.wrapper).css("transform", "translate3d(" + move + "px, 0, 0)");  // css里面负负时不能识别如 --3px
284
    },
290
    },
285
    _show: function (index, animate) { // index = realIndex
291
    _show: function (index, animate) { // index = realIndex
286
      if (animate !== false) { // 默认值为true
292
      if (animate !== false) { // 默认值为true
297
303
298
      var realIndex = index;
304
      var realIndex = index;
299
305
300
      if ((index == this.startIndex || index == this.endIndex) && this.displayMoveLen) { // 对于重复位置,需要根据最靠近移动
301
        var moveSize = Math.abs(this.displayMoveLen / this.itemWidth);
302
        if (Math.abs(this.startIndex - moveSize) > Math.abs(this.endIndex - moveSize)) {
303
          index = this.endIndex;
304
        } else {
305
          index = this.startIndex;
306
      if (this.option.loop) {
307
        if ((index == this.startIndex || index == this.endIndex) && this.displayMoveLen) { // 对于重复位置,需要根据最靠近移动
308
          var moveSize = Math.abs(this.displayMoveLen / this.itemWidth);
309
          if (Math.abs(this.startIndex - moveSize) > Math.abs(this.endIndex - moveSize)) {
310
            index = this.endIndex;
311
          } else {
312
            index = this.startIndex;
313
          }
306
        }
314
        }
307
      }
315
      }
308
316
326
      $(this.wrapper).css("transform", "translate3d(-" + this.moveLen + "px, 0, 0)");
334
      $(this.wrapper).css("transform", "translate3d(-" + this.moveLen + "px, 0, 0)");
327
335
328
      if (this.indicator) {
336
      if (this.indicator) {
329
        this.indicatorIndexs.eq(currentIndex).addClass("ipu-current").siblings().removeClass("ipu-current");
337
        this.indicatorIndexs.eq(this.currentIndex).addClass("ipu-current").siblings().removeClass("ipu-current");
330
      }
338
      }
331
339
332
      if (this.displayMoveLen) {  // 这个值只在pancancel时使用,否则清0
340
      if (this.displayMoveLen) {  // 这个值只在pancancel时使用,否则清0
389
397
390
      function touchStartLister(e) {
398
      function touchStartLister(e) {
391
        // 组件内,有子组件嵌套的情况,由子组件自己处理
399
        // 组件内,有子组件嵌套的情况,由子组件自己处理
392
        if ($(e.target).parents(".ipu-hammer-carousel").get(0) != _this.el) {
400
        if (!$(e.target).is(_this.el) && $(e.target).parents(".ipu-hammer-carousel").get(0) != _this.el) { // 排除直拉点在组件的情况
393
          return;
401
          return;
394
        }
402
        }
395
403
449
          endPanLister();
457
          endPanLister();
450
        }
458
        }
451
      }
459
      }
452
453
    }
460
    }
454
  });
461
  });
455
462

+ 1 - 1
2020/x-3/biz/js/page/project-list.js

6
    });
6
    });
7
7
8
    $(".list-project").on("click", ".ipu-list-item", function () {
8
    $(".list-project").on("click", ".ipu-list-item", function () {
9
      location.href = "project-task.html";
9
      location.href = "project-phase.html";
10
    });
10
    });
11
11
12
    $("list-project").on("click", ".link-more", function () {
12
    $("list-project").on("click", ".link-more", function () {

+ 52 - 0
2020/x-3/biz/js/page/project-phase.js

1
require(["ipuUI", "jquery", "tool", "PanCarousel"], function (ipuUI, $, tool, PanCarousel) {
2
  $(function () {
3
    var carousel = new PanCarousel(".ipu-carousel", { // 第一页设置幻灯片
4
      indicator: true, // 是否生成指示器(右下角的小圆点)
5
      indicatorPosition: 'center',
6
      loop: false,       // 是否循环
7
      callBack: function (index, oldIndex) {
8
        if (index != oldIndex) {
9
          console.log(index, oldIndex);
10
          var sltPhase = $(".project-phase-content .list-item-slt:eq(" + index + ")").addClass("slt");
11
          sltPhase.siblings(".slt").removeClass("slt");
12
          $(".project-phase-current span").text($.trim(sltPhase.text()));
13
        }
14
      }
15
    });
16
17
18
    // 项目阶段操作
19
    $(".project-phase-current").click(function () {
20
      $(".project-phase-block").toggle();
21
    });
22
23
    // 选择不同项目阶段
24
    $(".project-phase-content").on("click", " .list-item-slt", function () {
25
      if (!$(this).hasClass("slt")) {
26
        console.log($(this).index() - 1);
27
        carousel.show($(this).index() - 1);
28
        $(".project-phase-block").toggle();
29
      }
30
    });
31
32
    // 选择不同项目阶段
33
    $(".project-phase-content").on("click", " .list-item-all", function () {
34
      ipuUI.toast("进入全部任务页面");     // 进入全部任务页面
35
    });
36
37
    // 新建任务
38
    $(".carousel-block").on("click", ".link-task-add", function () {
39
      location.href = "project-phase-add.html";
40
    });
41
42
    // 新建清单
43
    $(".project-phase-content").on("click", ".list-foot", function () {
44
      location.href = "project-phase-add.html";
45
    });
46
47
    // 清单列表
48
    $(".project-phase-content").on("click", ".list-item-all", function () {
49
      location.href = "project-phase-list.html";
50
    })
51
  });
52
});

+ 85 - 0
2020/x-3/project-phase-add.html

1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
  <title>项目-清单-添加</title>
5
6
  <meta charset="utf-8">
7
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
8
9
  <link rel="stylesheet" type="text/css" href="ipu/ui/css/ipuUI.css">
10
  <link rel="stylesheet" type="text/css" href="biz/lib/remixicon/remixicon.css">
11
  <link rel="stylesheet" type="text/css" href="biz/css/base.css">
12
13
  <script src="ipu/lib/requirejs/require.js"></script>
14
  <script src="biz/js/require-config.js"></script>
15
</head>
16
<body class="pages-project-phase-add">
17
18
<div class="ipu-flex-row ipu-flex-vertical common-bg-gray">
19
20
  <div class="ipu-flex-col common-bg-white">
21
    <header class="ipu-toolbar ">
22
      <h1 class="ipu-toolbar-title ipu-fn-row">创建清单</h1>
23
      <a class="ipu-fn-left page-back" href="javascript:history.back();">
24
        <i class="ipu-icon ri-arrow-left-s-line"></i>
25
      </a>
26
      <a class="ipu-fn-right link-finish common-color-blue " href="javascript:;">
27
        完成
28
      </a>
29
    </header>
30
  </div>
31
32
  <div class="ipu-flex-col ipu-flex-col-auto">
33
    <div class="ipu-list ipu-list-form common-list common-list-padding form-block common-m-t-0">
34
      <ul>
35
        <li class="ipu-list-item">
36
          <div class="ipu-list-item-inner ipu-flex-vertical">
37
            <div class="ipu-list-item-label">
38
              清单名称
39
            </div>
40
            <div class="ipu-list-item-input-wrap">
41
              <input class="ipu-list-item-input" type="text" placeholder="请输入清单名称">
42
            </div>
43
          </div>
44
        </li>
45
46
        <li class="ipu-list-item">
47
          <div class="ipu-list-item-inner ipu-flex-vertical">
48
            <div class="ipu-list-item-label">
49
              清单描述
50
            </div>
51
            <div class="ipu-list-item-input-wrap">
52
              <input class="ipu-list-item-input" type="text" placeholder="请输入清单描述">
53
            </div>
54
          </div>
55
        </li>
56
57
        <li class="ipu-list-item">
58
          <div class="ipu-list-item-inner ipu-flex-vertical">
59
            <div class="ipu-flex ipu-flex-justify-space">
60
              <div class="ipu-list-item-label">
61
                开始时间
62
              </div>
63
              <div class="ipu-list-item-label">
64
                结束时间
65
              </div>
66
            </div>
67
            <div class="ipu-flex ipu-flex-justify-space">
68
              <div class="ipu-list-item-input-wrap ipu-flex-grow-1">
69
                <input class="ipu-list-item-input" type="text" placeholder="请选择开始时间" readonly id="begin">
70
              </div>
71
              <div class="ipu-list-item-input-wrap ipu-flex-grow-1">
72
                <input class="ipu-list-item-input ipu-txt-right" type="text" placeholder="请选择开始时间" readonly>
73
              </div>
74
            </div>
75
          </div>
76
        </li>
77
      </ul>
78
    </div>
79
  </div>
80
81
</div>
82
83
84
</body>
85
</html>

+ 85 - 0
2020/x-3/project-phase-edit.html

1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
  <title>项目-清单-添加</title>
5
6
  <meta charset="utf-8">
7
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
8
9
  <link rel="stylesheet" type="text/css" href="ipu/ui/css/ipuUI.css">
10
  <link rel="stylesheet" type="text/css" href="biz/lib/remixicon/remixicon.css">
11
  <link rel="stylesheet" type="text/css" href="biz/css/base.css">
12
13
  <script src="ipu/lib/requirejs/require.js"></script>
14
  <script src="biz/js/require-config.js"></script>
15
</head>
16
<body class="pages-project-phase-edit">
17
18
<div class="ipu-flex-row ipu-flex-vertical common-bg-gray">
19
20
  <div class="ipu-flex-col common-bg-white">
21
    <header class="ipu-toolbar ">
22
      <h1 class="ipu-toolbar-title ipu-fn-row">创建清单</h1>
23
      <a class="ipu-fn-left page-back" href="javascript:history.back();">
24
        <i class="ipu-icon ri-arrow-left-s-line"></i>
25
      </a>
26
      <a class="ipu-fn-right link-finish common-color-blue " href="javascript:;">
27
        完成
28
      </a>
29
    </header>
30
  </div>
31
32
  <div class="ipu-flex-col ipu-flex-col-auto">
33
    <div class="ipu-list ipu-list-form common-list common-list-padding form-block common-m-t-0">
34
      <ul>
35
        <li class="ipu-list-item">
36
          <div class="ipu-list-item-inner ipu-flex-vertical">
37
            <div class="ipu-list-item-label">
38
              清单名称
39
            </div>
40
            <div class="ipu-list-item-input-wrap">
41
              <input class="ipu-list-item-input" type="text" placeholder="请输入清单名称" value="二阶段工作">
42
            </div>
43
          </div>
44
        </li>
45
46
        <li class="ipu-list-item">
47
          <div class="ipu-list-item-inner ipu-flex-vertical">
48
            <div class="ipu-list-item-label">
49
              清单描述
50
            </div>
51
            <div class="ipu-list-item-input-wrap">
52
              <input class="ipu-list-item-input" type="text" placeholder="请输入清单描述">
53
            </div>
54
          </div>
55
        </li>
56
57
        <li class="ipu-list-item">
58
          <div class="ipu-list-item-inner ipu-flex-vertical">
59
            <div class="ipu-flex ipu-flex-justify-space">
60
              <div class="ipu-list-item-label">
61
                开始时间
62
              </div>
63
              <div class="ipu-list-item-label">
64
                结束时间
65
              </div>
66
            </div>
67
            <div class="ipu-flex ipu-flex-justify-space">
68
              <div class="ipu-list-item-input-wrap ipu-flex-grow-1">
69
                <input class="ipu-list-item-input" type="text" placeholder="请选择开始时间" readonly id="begin" value="6月25日">
70
              </div>
71
              <div class="ipu-list-item-input-wrap ipu-flex-grow-1">
72
                <input class="ipu-list-item-input ipu-txt-right" type="text" placeholder="请选择开始时间" value="6月31日" readonly>
73
              </div>
74
            </div>
75
          </div>
76
        </li>
77
      </ul>
78
    </div>
79
  </div>
80
81
</div>
82
83
84
</body>
85
</html>

+ 58 - 0
2020/x-3/project-phase-list.html

1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
  <title>项目-清单-列表</title>
5
6
  <meta charset="utf-8">
7
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
8
9
  <link rel="stylesheet" type="text/css" href="ipu/ui/css/ipuUI.css">
10
  <link rel="stylesheet" type="text/css" href="biz/lib/remixicon/remixicon.css">
11
  <link rel="stylesheet" type="text/css" href="biz/css/base.css">
12
13
  <script src="ipu/lib/requirejs/require.js"></script>
14
  <script src="biz/js/require-config.js"></script>
15
  <script src="biz/js/page/project-phase-list.js"></script>
16
</head>
17
<body class="pages-project-phase-list">
18
19
<div class="ipu-flex-row ipu-flex-vertical">
20
21
  <div class="ipu-flex-col ">
22
    <header class="ipu-toolbar ">
23
      <h1 class="ipu-toolbar-title ipu-fn-row">清单</h1>
24
      <a class="ipu-fn-left page-back" href="javascript:history.back();">
25
        <i class="ipu-icon ri-arrow-left-s-line"></i>
26
      </a>
27
      <a class="ipu-fn-right" href="javascript:;">
28
        <i class="ipu-icon ri-record-circle-line"></i>
29
      </a>
30
    </header>
31
  </div>
32
33
  <div class="ipu-flex-col ipu-flex-col-auto">
34
    <div class="ipu-list common-list project-phase-list">
35
      <ul>
36
        <li>
37
          <a class="ipu-list-item ipu-list-item-link" href="javascript:;">
38
            <div class="ipu-list-item-inner">
39
              <div class="ipu-list-item-title">一阶段工作</div>
40
            </div>
41
          </a>
42
        </li>
43
        <li>
44
          <a class="ipu-list-item ipu-list-item-link" href="javascript:;">
45
            <div class="ipu-list-item-inner">
46
              <div class="ipu-list-item-title">二阶段工作</div>
47
            </div>
48
          </a>
49
        </li>
50
      </ul>
51
    </div>
52
  </div>
53
54
</div>
55
56
57
</body>
58
</html>

+ 205 - 0
2020/x-3/project-phase.html

1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
  <title>项目-清单-任务</title>
5
6
  <meta charset="utf-8">
7
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
8
9
  <link rel="stylesheet" type="text/css" href="ipu/ui/css/ipuUI.css">
10
  <link rel="stylesheet" type="text/css" href="biz/lib/remixicon/remixicon.css">
11
  <link rel="stylesheet" type="text/css" href="biz/css/base.css">
12
13
  <script src="ipu/lib/requirejs/require.js"></script>
14
  <script src="biz/js/require-config.js"></script>
15
  <script src="biz/js/page/project-phase.js"></script>
16
</head>
17
<body class="pages-project-phase">
18
19
<div class="ipu-flex-row ipu-flex-vertical common-bg-gray">
20
21
  <div class="ipu-flex-col common-bg-white">
22
    <header class="ipu-toolbar ">
23
      <h1 class="ipu-toolbar-title ipu-fn-row">AI Design AI Design AI Design </h1>
24
      <a class="ipu-fn-left page-back" href="javascript:history.back();">
25
        <i class="ipu-icon ri-arrow-left-s-line"></i>
26
      </a>
27
      <a class="ipu-fn-right" href="javascript:;">
28
        <i class="ipu-icon ri-record-circle-line"></i>
29
      </a>
30
      <a class="ipu-fn-right" href="javascript:;">
31
        <i class="ipu-icon ri-user-line"></i>
32
      </a>
33
      <a class="ipu-fn-right" href="javascript:;">
34
        <i class="ipu-icon ri-search-line"></i>
35
      </a>
36
    </header>
37
    <div class="ipu-flex-center-middle project-phase-current">
38
      <span>一阶段工作</span>
39
      <i class="icon-flag ri-arrow-down-s-line"></i>
40
    </div>
41
  </div>
42
43
  <div class="ipu-flex-col ipu-flex-col-auto">
44
    <div class="ipu-flex-content carousel-block">
45
      <div class="ipu-carousel ipu-hammer-carousel">
46
        <ul class="ipu-carousel-wrapper">
47
48
          <li>
49
            <div class="project-phase-item">
50
              <div class="item-state">
51
                进行中<span class="num">4</span>
52
              </div>
53
54
              <div class="project-task-list">
55
56
                <div class="ipu-flex project-task-item ">
57
                  <label class="ipu-checkbox ipu-checkbox-s ipu-checkbox-square">
58
                    <input type="checkbox">
59
                  </label>
60
                  <div class="ipu-flex-grow-1">
61
                    <div class="project-task-title">
62
                      AI Design 产品规划AI Design 产品规划AI Design 产品规划
63
                    </div>
64
                    <div class="ipu-flex ">
65
                      <div class="ipu-flex-grow-0 project-task-time-state time-out"> 已超时</div>
66
                    </div>
67
                  </div>
68
                  <div class="ipu-flex-grow-0 project-task-executor">
69
                    <img src="./temp/1.png" alt="" class="img"/>
70
                  </div>
71
                </div>
72
73
                <div class="ipu-flex project-task-item project-task-item-white">
74
                  <label class="ipu-checkbox ipu-checkbox-s ipu-checkbox-square">
75
                    <input type="checkbox">
76
                  </label>
77
                  <div class="ipu-flex-grow-1">
78
                    <div class="project-task-title">
79
                      AI Design 产品规划
80
                    </div>
81
                    <div class="ipu-flex ">
82
                      <div class="ipu-flex-grow-0 project-task-time-state time-limit">
83
                        今天14:00截止
84
                      </div>
85
                    </div>
86
                  </div>
87
                  <div class="ipu-flex-grow-0 project-task-executor">
88
                    <img src="./temp/1.png" alt="" class="img"/>
89
                  </div>
90
                </div>
91
92
                <div class="ipu-flex project-task-item project-task-item-red">
93
                  <label class="ipu-checkbox ipu-checkbox-s ipu-checkbox-square">
94
                    <input type="checkbox">
95
                  </label>
96
                  <div class="ipu-flex-grow-1">
97
                    <div class="project-task-title">
98
                      AI Design 产品规划
99
                    </div>
100
                    <div class="ipu-flex ">
101
                      <div class="ipu-flex-grow-0 project-task-time-state ">
102
                        距离截止时间:还剩4天
103
                      </div>
104
                    </div>
105
                  </div>
106
                </div>
107
108
                <div class="ipu-flex project-task-item project-task-item-yellow">
109
                  <label class="ipu-checkbox ipu-checkbox-s ipu-checkbox-square">
110
                    <input type="checkbox">
111
                  </label>
112
                  <div class="ipu-flex-grow-1">
113
                    <div class="project-task-title">
114
                      AI Design 产品规划
115
                    </div>
116
                    <div class="ipu-flex ">
117
                      <div class="ipu-flex-grow-0 project-task-time-state ">
118
                        距离截止时间:还剩4天
119
                      </div>
120
                    </div>
121
                  </div>
122
                </div>
123
124
              </div>
125
126
              <div class="ipu-flex-center-middle link-task-add">
127
                <i class="icon-flag ri-add-fill"></i>
128
                添加新的任务
129
              </div>
130
            </div>
131
          </li>
132
133
          <li>
134
            <div class="project-phase-item">
135
              <div class="item-state">
136
                进行中<span class="num">4</span>
137
              </div>
138
              <div class="project-task-list">
139
140
                <div class="ipu-flex project-task-item ">
141
                  <label class="ipu-checkbox ipu-checkbox-s ipu-checkbox-square">
142
                    <input type="checkbox">
143
                  </label>
144
                  <div class="ipu-flex-grow-1">
145
                    <div class="project-task-title">
146
                      AI Design 产品规划AI Design 产品规划AI Design 产品规划
147
                    </div>
148
                    <div class="ipu-flex ">
149
                      <div class="ipu-flex-grow-0 project-task-time-state time-out"> 已超时</div>
150
                    </div>
151
                  </div>
152
                  <div class="ipu-flex-grow-0 project-task-executor">
153
                    <img src="./temp/1.png" alt="" class="img"/>
154
                  </div>
155
                </div>
156
              </div>
157
            </div>
158
          </li>
159
160
        </ul>
161
      </div>
162
    </div>
163
  </div>
164
165
166
  <!-- 阶段选择 -->
167
  <div class="project-phase-block">
168
    <div class="project-phase-content">
169
      <div class="list-block">
170
        <div class="ipu-flex-middle list-head ipu-fn-bd-t ipu-fn-bd-b">
171
          <div class="ipu-flex-grow-1 list-head-title">清单</div>
172
          <div class="ipu-flex-grow-0 list-head-link">编辑</div>
173
        </div>
174
        <ul>
175
          <li class="ipu-flex-middle ipu-fn-bd-b list-item list-item-all">
176
            <div class="ipu-flex-grow-1 item-title ipu-fn-row">全部</div>
177
            <div class="ipu-flex-grow-0 item-slt-flag">
178
              <i class="icon-flag ri-check-fill"></i>
179
            </div>
180
          </li>
181
          <li class="ipu-flex-middle ipu-fn-bd-b list-item list-item-slt slt">
182
            <div class="ipu-flex-grow-1 item-title ipu-fn-row">一阶段工作</div>
183
            <div class="ipu-flex-grow-0 item-slt-flag">
184
              <i class="icon-flag ri-check-fill"></i>
185
            </div>
186
          </li>
187
          <li class="ipu-flex-middle ipu-fn-bd-b list-item list-item-slt ">
188
            <div class="ipu-flex-grow-1 item-title ipu-fn-row">二阶段工作</div>
189
            <div class="ipu-flex-grow-0 item-slt-flag">
190
              <i class="icon-flag ri-check-fill"></i>
191
            </div>
192
          </li>
193
        </ul>
194
        <div class="ipu-flex-middle list-foot">
195
          <i class="icon-flag ri-add-fill"></i>
196
          新建清单
197
        </div>
198
      </div>
199
    </div>
200
  </div>
201
</div>
202
203
204
</body>
205
</html>

+ 0 - 144
2020/x-3/project-task.html

1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
  <title>项目-项目-列表</title>
5
6
  <meta charset="utf-8">
7
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
8
9
  <link rel="stylesheet" type="text/css" href="ipu/ui/css/ipuUI.css">
10
  <link rel="stylesheet" type="text/css" href="biz/lib/remixicon/remixicon.css">
11
  <link rel="stylesheet" type="text/css" href="biz/css/base.css">
12
13
  <script src="ipu/lib/requirejs/require.js"></script>
14
  <script src="biz/js/require-config.js"></script>
15
  <script src="biz/js/page/project-list.js"></script>
16
</head>
17
<body class="pages-project-task">
18
19
<div class="ipu-flex-row ipu-flex-vertical">
20
21
  <div class="ipu-flex-col">
22
    <header class="ipu-toolbar common-bg-white">
23
      <h1 class="ipu-toolbar-title ipu-fn-row">AI Design AI Design AI Design </h1>
24
      <a class="ipu-fn-left page-back" href="javascript:history.back();">
25
        <i class="ipu-icon ri-arrow-left-s-line"></i>
26
      </a>
27
      <a class="ipu-fn-right" href="javascript:history.back();">
28
        <i class="ipu-icon ri-record-circle-line"></i>
29
      </a>
30
      <a class="ipu-fn-right" href="javascript:history.back();">
31
        <i class="ipu-icon ri-user-line"></i>
32
      </a>
33
      <a class="ipu-fn-right" href="javascript:history.back();">
34
        <i class="ipu-icon ri-search-line"></i>
35
      </a>
36
    </header>
37
38
    <div class="common-search">
39
      <div class="ipu-flex common-search-content">
40
        <div class="ipu-flex-center-middle  common-search-tip">
41
          <i class="common-search-icon ri-search-2-line"></i>
42
          <span class="common-search-tip-msg">搜索</span>
43
        </div>
44
45
        <div class="ipu-flex-grow-1 common-search-wrap">
46
          <input class="common-search-input" placeholder="">
47
        </div>
48
        <i class="ipu-flex-grow-0 common-search-input-clear ri-close-circle-fill"></i>
49
      </div>
50
    </div>
51
52
  </div>
53
54
  <div class="ipu-flex-col ipu-flex-col-auto">
55
    <div class="ipu-list ipu-list-media common-list-noborder-all list-project">
56
      <div class="ipu-flex list-head">
57
        <div class="ipu-flex-grow-1 list-head-title">我的项目</div>
58
        <a class="ipu-flex-grow-0 list-head-link" href="javascript;">全部任务</a>
59
      </div>
60
      <ul>
61
        <li class="ipu-list-item">
62
          <div class="ipu-list-item-media">
63
            <img src="./temp/2.png" alt="">
64
          </div>
65
          <div class="ipu-list-item-inner">
66
            <div class="ipu-list-item-title-row">
67
              <div class="ipu-list-item-title">
68
                AI Design 项目1
69
              </div>
70
            </div>
71
            <div class="ipu-list-item-subtitle ipu-fn-row">
72
              项目简介项目简介项目简介项目简介项目简介项目简介项目简介项目简介
73
            </div>
74
          </div>
75
          <div class="ipu-flex-grow-0 ipu-flex-middle link-more">
76
            <i class="ri-more-fill"></i>
77
          </div>
78
        </li>
79
        <li class="ipu-list-item">
80
          <div class="ipu-list-item-media">
81
            <img src="./temp/2.png" alt="">
82
          </div>
83
          <div class="ipu-list-item-inner">
84
            <div class="ipu-list-item-title-row">
85
              <div class="ipu-list-item-title">
86
                AI Design 项目1
87
              </div>
88
            </div>
89
            <div class="ipu-list-item-subtitle ipu-fn-row">
90
              项目简介项目简介项目简介项目简介项目简介项目简介项目简介项目简介
91
            </div>
92
          </div>
93
          <div class="ipu-flex-grow-0 ipu-flex-middle link-more">
94
            <i class="ri-more-fill"></i>
95
          </div>
96
        </li>
97
        <li class="ipu-list-item">
98
          <div class="ipu-list-item-media">
99
            <img src="./temp/2.png" alt="">
100
          </div>
101
          <div class="ipu-list-item-inner">
102
            <div class="ipu-list-item-title-row">
103
              <div class="ipu-list-item-title">
104
                AI Design 项目1
105
              </div>
106
            </div>
107
            <div class="ipu-list-item-subtitle ipu-fn-row">
108
              项目简介项目简介项目简介项目简介项目简介项目简介项目简介项目简介
109
            </div>
110
          </div>
111
          <div class="ipu-flex-grow-0 ipu-flex-middle link-more">
112
            <i class="ri-more-fill"></i>
113
          </div>
114
        </li>
115
        <li class="ipu-list-item">
116
          <div class="ipu-list-item-media">
117
            <img src="./temp/2.png" alt="">
118
          </div>
119
          <div class="ipu-list-item-inner">
120
            <div class="ipu-list-item-title-row">
121
              <div class="ipu-list-item-title">
122
                AI Design 项目1
123
              </div>
124
            </div>
125
            <div class="ipu-list-item-subtitle ipu-fn-row">
126
              项目简介项目简介项目简介项目简介项目简介项目简介项目简介项目简介
127
            </div>
128
          </div>
129
          <div class="ipu-flex-grow-0 ipu-flex-middle link-more">
130
            <i class="ri-more-fill"></i>
131
          </div>
132
        </li>
133
      </ul>
134
      <div class="ipu-flex-middle list-foot link-project-add">
135
        <i class="icon-flag ri-add-fill"></i>
136
        <div class="list-foot-title">新建项目</div>
137
      </div>
138
    </div>
139
  </div>
140
</div>
141
142
143
</body>
144
</html>