| | |
| | | |
| | | <!-- 是否自动发布 --> |
| | | <div class="fboxRow Xstart Ystart" style="width:4rem; padding:0.1rem;"> |
| | | <div class="shuoming font18 font-blue">自动推送</div> |
| | | <div class="shuoming font18 font-blue">预设时间</div> |
| | | <div class="flex1 fboxCol Xstart Ystart"> |
| | | <div class="font23 cursor-pointer" style="margin:5px;" @click="opt.auto=!opt.auto;"> |
| | | <i class="fi" :class="opt.auto==true?'fi-toggle-ok font-green':'fi-toggle-no font-gray'"></i> |
| | | </div> |
| | | <div v-show="opt.auto==true" class="fboxCol Xstart Ystart admin-marginTop"> |
| | | <div class="fboxRow Xstart Ycenter"> |
| | | <div>预设时间:</div> |
| | | <div class="inputShell admin-header-input"><input type="datetime-local" v-model="opt.start"/></div> |
| | | </div> |
| | | </div> |
| | | <div class="inputShell admin-header-input"><input type="datetime-local" v-model="opt.start"/></div> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | |
| | | // 分享设置 |
| | | opt: { |
| | | // 是否自动发布 |
| | | auto: false, |
| | | // 自动发布时间 |
| | | start: "", |
| | | }, |
| | |
| | | vm.version.result.ios = item.listIOS; // 推送版本 |
| | | // 选择的商品 |
| | | vm.goods.list = res.data.listGroup; |
| | | // 获取自动推送设置 |
| | | vm.opt.auto = item.timeTask; |
| | | vm.opt.start = item.controlTime_str; |
| | | } |
| | | } |
| | |
| | | arrayAndroid: vm.version.result.android, |
| | | arrayIOS: vm.version.result.ios, |
| | | idArray: zu_id, |
| | | timeTask: vm.opt.auto, |
| | | controlTime_str: vm.opt.start, |
| | | }, |
| | | success: function (res) |