diff --git a/App.vue b/App.vue index b08ce22..9b543d8 100644 --- a/App.vue +++ b/App.vue @@ -757,6 +757,9 @@ export default { // /deep/.uni-scroll-view-content{ // height: 350px !important; // } +/deep/.uni-picker-view-wrapper uni-picker-view-column:nth-child(1) { + display: none !important; + } /deep/uni-page-body { background-color: #f7f7f7 !important; } diff --git a/common/config.js b/common/config.js index c6fc01f..7f347d9 100644 --- a/common/config.js +++ b/common/config.js @@ -1,12 +1,12 @@ //生产环境 const PROT = "https://"//生产需替换 -const ROOTHOST = "admin.sjajk.com";//生产需替换 +// const ROOTHOST = "admin.sjajk.com";//生产需替换 //测试环境 // const PROT = "http://" // const ROOTHOST = "47.75.182.93:8090"; // const ROOTHOST = "1.92.152.160"; // const ROOTHOST = "1.92.152.160"; -// const ROOTHOST1 = "sausers.blxinchuang.com"; +const ROOTHOST = "sausers.blxinchuang.com"; // const ROOTHOST = "192.168.2.15:8187"; // const ROOTHOST = "120.46.52.165"; // const ROOTHOST = "192.168.0.115:8187"; diff --git a/components/h-timePicker/h-timePicker.vue b/components/h-timePicker/h-timePicker.vue index 4d7a2f1..245d982 100644 --- a/components/h-timePicker/h-timePicker.vue +++ b/components/h-timePicker/h-timePicker.vue @@ -126,6 +126,7 @@ export default { data.multiArray[0] = monthDay; data.multiArray[1] = hours; data.multiArray[2] = minute; + this.multiArray = data.multiArray; this.multiIndex = data.multiIndex; }, @@ -194,13 +195,11 @@ export default { } }, bindStartMultiPickerChange(e) { - console.log(e); this.multiIndex = e.detail.value; let da = this.multiArray; let di = e.detail.value; let caseDate = da[1][di[1]].replace('时', ':') + this.timeFormat(da[2][di[2]].replace('分', '')); - let appointTime = new Date(caseDate.replace(/-/g,'/')).getTime() / 1000; if (appointTime < new Date().getTime() / 1000) { uni.showToast({ diff --git a/components/pretty-times/pretty-times.vue b/components/pretty-times/pretty-times.vue index 97641e5..8116ca4 100644 --- a/components/pretty-times/pretty-times.vue +++ b/components/pretty-times/pretty-times.vue @@ -89,7 +89,7 @@ }, beginTime: { type: String, - default: "00:30" + default: "00:00" }, endTime: { type: String, @@ -113,7 +113,9 @@ handler(val) { if (val && val.length) { this.initOnload() + console.log('11111',val) }else{ + console.log('22222',val) this.orderTimeArr={} this.initOnload() } @@ -248,7 +250,6 @@ // 时间选择事件 selectTimeEvent(index, item) { if (this.isQuantum) { - console.log("333333") return this.handleSelectQuantum(index, item) } diff --git a/pages/my/mangshi.vue b/pages/my/mangshi.vue index 6c726a2..b5d3849 100644 --- a/pages/my/mangshi.vue +++ b/pages/my/mangshi.vue @@ -3,103 +3,524 @@ 是否接单 - + 选择接单时问 - - 开始时间 - {{starTime}} - - - 结束时间 - - 次日 - {{endTime}} - - + + + 开始时间 + {{starTime}} + + + + + 结束时间 + + 次日 + {{endTime}} + + + - - - - 不可接单时间 - - - {{item}} - x + + 设置不可接单时间 + (只能设置近3天的时间) + + + +
+ + {{item.week}} + {{item.date}} + +
+
+
+ + + + {{item.artificerTime}} + {{item.title}} - 保存选择1 - 保存选择2 + 保存选择