diff --git a/components/uni-popup/message.js b/components/uni-popup/message.js new file mode 100644 index 0000000..0ff9a02 --- /dev/null +++ b/components/uni-popup/message.js @@ -0,0 +1,22 @@ +export default { + created() { + if (this.type === 'message') { + // 不显示遮罩 + this.maskShow = false + // 获取子组件对象 + this.childrenMsg = null + } + }, + methods: { + customOpen() { + if (this.childrenMsg) { + this.childrenMsg.open() + } + }, + customClose() { + if (this.childrenMsg) { + this.childrenMsg.close() + } + } + } +} diff --git a/components/uni-popup/popup.js b/components/uni-popup/popup.js new file mode 100644 index 0000000..2a7f22f --- /dev/null +++ b/components/uni-popup/popup.js @@ -0,0 +1,25 @@ +import message from './message.js'; +// 定义 type 类型:弹出类型:top/bottom/center +const config = { + // 顶部弹出 + top:'top', + // 底部弹出 + bottom:'bottom', + // 居中弹出 + center:'center', + // 消息提示 + message:'top', + // 对话框 + dialog:'center', + // 分享 + share:'bottom', +} + +export default { + data(){ + return { + config:config + } + }, + mixins: [message], +} diff --git a/components/uni-popup/uni-popup-dialog.vue b/components/uni-popup/uni-popup-dialog.vue new file mode 100644 index 0000000..c91123c --- /dev/null +++ b/components/uni-popup/uni-popup-dialog.vue @@ -0,0 +1,243 @@ + + + + + diff --git a/components/uni-popup/uni-popup-message.vue b/components/uni-popup/uni-popup-message.vue new file mode 100644 index 0000000..a32bd00 --- /dev/null +++ b/components/uni-popup/uni-popup-message.vue @@ -0,0 +1,116 @@ + + + + diff --git a/components/uni-popup/uni-popup-share.vue b/components/uni-popup/uni-popup-share.vue new file mode 100644 index 0000000..4c11a13 --- /dev/null +++ b/components/uni-popup/uni-popup-share.vue @@ -0,0 +1,165 @@ + + + + diff --git a/components/uni-popup/uni-popup.vue b/components/uni-popup/uni-popup.vue new file mode 100644 index 0000000..2d15d5f --- /dev/null +++ b/components/uni-popup/uni-popup.vue @@ -0,0 +1,294 @@ + + + + diff --git a/components/uni-transition/uni-transition.vue b/components/uni-transition/uni-transition.vue new file mode 100644 index 0000000..908a939 --- /dev/null +++ b/components/uni-transition/uni-transition.vue @@ -0,0 +1,279 @@ + + + + + diff --git a/pages/stampingRecordList/index.scss b/pages/stampingRecordList/index.scss index bf8b2ac..281531a 100644 --- a/pages/stampingRecordList/index.scss +++ b/pages/stampingRecordList/index.scss @@ -89,4 +89,44 @@ } } +} + +.card-pop{ + @include wh(600upx,auto); + padding: 30upx; + margin: auto; + background: white; + + border-radius: 10upx; + margin: auto; + .pop-list{ + @include flex(center,space-between); + margin-top: 30upx; + text{ + @include fonts(26upx,#333) + } + input{ + font-size: 26upx; + text-align: right; + } + .right-pic{ + @include flex(center,flex-start); + text{ + @include fonts(26upx,#333) + } + image{ + @include wh(22upx,33upx); + } + } + } + .submit{ + @include wh(300upx,60upx); + line-height: 60upx; + border-radius: 10upx; + background: #007AFF; + @include fonts(26upx,#fff); + text-align: center; + margin: auto; + margin-top: 50upx; + } } \ No newline at end of file diff --git a/pages/stampingRecordList/stampingRecordList.vue b/pages/stampingRecordList/stampingRecordList.vue index 2de9061..2fee383 100644 --- a/pages/stampingRecordList/stampingRecordList.vue +++ b/pages/stampingRecordList/stampingRecordList.vue @@ -6,7 +6,7 @@ 物料名称:{{item.product_name}} - + 人员统计 @@ -25,20 +25,52 @@ - 开线 + 开线 停线 下线 不良品统计 返修 + + + + + 班次: + + {{frequency[froms.frequency]}} + + + + + + 上线人数: + + + + 工时投入: + + + + + 状态: + + {{status[froms.frequency]}} + + + + + 提交 + +