发表于: 2017-01-03 23:33:20

1 1405


今天完成的事:

1,修真院10期任务审核列表页html和ctrl

2,任务审核详情页htm写好了大致结构,基本完成了弹框

3,修改9期BUG

明天计划的事:

1,任务审核详情页ctrl:用假数据写完

2,日报详情评级弹窗html:按原型图写完

3,日报详情评级弹窗ctrl:用假数据写完

得到UI图:

4,完善任务审核列表页html

5,完善任务审核详情页html

遇到的问题:

1,

var modal = $modal({
html: true,
show: false,
templateUrl: 'views/template/auditDetail.html', //指向上面创建的视图
   controller: function ($scope, $http,$rootScope, commonUtil) 
}
});
modal.$promise.then(modal.show);

html: true,

show: false,这两行代码和最后一行没懂

2,用点击事件触发打开模态框时,提示"a.focus is not function"错误,页面展示没有问题,过了一阵子自然好了,没找到原因

收获:

1,transform,语法:

transform: none|transform-functions;

2,弃用$scope:var vm=$scope.vm=this;

3,模态框的用法

$modal和$modal.open



返回列表 返回列表
评论

    分享到