diff --git a/packages/ratingQueryDetail/ratingQueryDetail.vue b/packages/ratingQueryDetail/ratingQueryDetail.vue index 8a47598..da542ba 100644 --- a/packages/ratingQueryDetail/ratingQueryDetail.vue +++ b/packages/ratingQueryDetail/ratingQueryDetail.vue @@ -57,9 +57,9 @@ - + @@ -104,8 +104,9 @@ methods: { // 复制拍卖链接 todo 暂时不用 setClipboardData(){ + let that = this; uni.setClipboardData({ - data: '测试' + data: that.details.sub_order.pm_url }) } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 0ef5daf..bfa9e56 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -219,7 +219,9 @@ async getSysInfo(){ let res = await sysInfo(); - console.log("getSysInfo res",res) + //console.log("getSysInfo res",res) + let sysInfoDatas = res.data.datas; + uni.setStorageSync('qxk_sysinfo',sysInfoDatas); let datas = res.data.datas.tips; this.tipsDatas = datas; this.tips = datas.map((item)=>{ diff --git a/pages/write/baseInfo.vue b/pages/write/baseInfo.vue index 90f55d5..c2c4312 100644 --- a/pages/write/baseInfo.vue +++ b/pages/write/baseInfo.vue @@ -83,13 +83,31 @@ - + 是否快评: (价格翻倍) - + + + + {{columnsData[columnsIndex].title}} + + + + + + + + + + {{columnsData[columnsIndex].desc}} + + 打包照片 @@ -120,6 +138,7 @@ + @@ -130,7 +149,7 @@ data() { return { address: {}, - isQuickReview: false, + isQuickReview: 0, sonpingInfo: { name: '', phone: '', @@ -139,11 +158,31 @@ fileList: [], remarks: '', rateIndex: 0, - coupon: '' + coupon: '', + show:false, + columns:[], + columnsData:null, + columnsIndex:0, }; }, + // computed:{ + // columns:()=>{ + // return ['1','2']; + // }, + // }, onLoad(options){ this.rateIndex = options.rate_index || 0; + let d = uni.getStorageSync('qxk_sysinfo') + if(d){ + let options = d.fast_options + this.columnsData =[{id:0,title:'否'},...options] + let texts = this.columnsData.map((item)=>{ + return item.title + }) + //t = [...t,...texts]; + this.columns.push(texts) + + } }, methods: { async afterRead(event){ @@ -154,6 +193,16 @@ deletePic(event){ this.fileList.splice(event.index, 1); }, + pickerShow(v){ + this.show = v + }, + confirmPicker(e){ + console.log("confirmPicker",e) + this.columnsIndex = e.indexs[0] + this.isQuickReview = e.indexs[0] + //e. + this.pickerShow(false) + }, next(){ let sonpingInfo = this.sonpingInfo; if(!this.$isRight(this.address)) return this.$msg('请选择收货地址'); @@ -167,6 +216,21 @@