修改审核问题

This commit is contained in:
张凯 2025-05-01 19:11:36 +08:00
parent 796cc0ff52
commit 7b88406ada
4 changed files with 73 additions and 34 deletions

View File

@ -1,11 +1,11 @@
{
"name": "举报页面模板,开箱即用",
"name": "zz",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "举报页面模板,开箱即用",
"name": "zz",
"version": "1.0.0",
"dependencies": {
"uview-ui": "^2.0.37",

View File

@ -50,13 +50,16 @@
</span>
</view>
<view class="third-center">
<qrcode-swiper :images="['/static/index/about.png','/static/index/about.png','/static/index/about.png']"> </qrcode-swiper>
<!-- <qrcode-swiper :images="qrimages"> </qrcode-swiper> -->
<l-painter v-for="qrcodesurl in detailAny.ordercode">
<l-painter-view css="margin-top: 20rpx;margin-bottom: 20rpx;">
<l-painter-qrcode css="width: 200rpx; height: 200rpx;margin:0 auto;" :text="qrcodesurl.miniurl"></l-painter-qrcode>
</l-painter-view>
</l-painter>
<!-- <view wx:for="{{qrList}}" wx:key="index" style="display:none;">
<canvas canvas-id="qrcode_{{index}}" />
<image src="{{item.imgPath}}" style="width: 200px; height: 200px;" />
</view> -->
</view>
</view>
@ -211,7 +214,8 @@
<script>
import dayjs from 'dayjs';
import qrcodeSwiper from "components/qrcodeSwiper.vue" // tabBar
import qrcodeSwiper from '@/packageA/qrcodeSwiper.vue'
import uQRCode from '@/utils/uqrcode.js'
import {
dateWeek
} from '../../utils/dateFormat'
@ -292,7 +296,9 @@
titleStyle: {
color: '#FFFFFF'
},
// qrcodesurl:'' //
qrList:[],//
//
// qrimages:[]
};
},
@ -303,7 +309,6 @@
query: `id=${this.id}`
}
},
onLoad(options) {
this.userInfo = uni.getStorageSync("userInfo")
this.id = options.id
@ -326,6 +331,39 @@
},
methods: {
//
// generateAllQRCodes() {
// this.qrList.forEach((item, index) => {
// this.generateQRCode(item.miniurl, index);
// });
// },
//
// generateQRCode(text, index) {
// uQRCode.make({
// canvasId: 'qrcode1',
// text: text,
// size: 200,
// backgroundColor: '#ffffff',
// foregroundColor: '#000000',
// success: (res) => {
// console.log(res)
// debugger
// // Canvas
// wx.canvasToTempFilePath({
// canvasId: 'qrcode1',
// success: (res) => {
// console.log(res)
// const tempPath = res.tempFilePath;
// const qrList = this.qrList;
// qrList[index].imgPath = tempPath;
// this.setData({ qrLists });
// this.qrimages.push(tempPath);
// },
// fail: (err) => console.error(':', err)
// });
// }
// });
// },
//
dateWeeks(timestamp) {
return dateWeek(timestamp)
@ -479,8 +517,9 @@
}).then(res => {
if (res.code == 1) {
this.detail = res.data.detail.detail;
// this.qrcodesurl = res.data.detail.ordercode[0].miniurl;
this.qrList = res.data.detail.ordercode;
this.detailAny = res.data.detail;
this.generateAllQRCodes()
} else {
uni.showToast({
title: res.msg,

View File

@ -160,7 +160,7 @@
<view class="popup_tkall">
<view class="popup_tk"> 选择退款政策</view>
<view class="closetk" @click="closetuikuan">取消</view>
<view class="confirmtk"@click="closetuikuan">确认</view>
<view class="confirmtk" @click="closetuikuan">确认</view>
<scroll-view scroll-y="true" class="popup-content">
<view class="popup-content-item flex align-items" :class="[{ active: currents === index }]" v-for="(item,index) in refund_list" :key="index" @click="selectItem(index,item)">
<view style="width: 540rpx;">
@ -349,30 +349,6 @@
this.getitembq();
},
onShow() {
this.form = {
cate_ids: '',
//
cate_idsName:"",
content: '',
refund_id:'',
refund_idn:'',
price:1,
stock:'',
sign_time:'',
time:'',
images:'',
title: '',
address: '',
latitude: '',
longitude: '',
address_detail: '', //
date: '', //
date1: '', //
birth: '', //
birth1: '', //
}
},
filters: {
formatTimestamp(value) {
if (!value) return '';
@ -948,8 +924,32 @@
url: "/pages/my/index"
})
}, 2000);
//
this.form = {
cate_ids: '',
//
cate_idsName:"",
content: '',
refund_id:'',
refund_idn:'',
price:1,
stock:'',
sign_time:'',
time:'',
images:'',
title: '',
address: '',
latitude: '',
longitude: '',
address_detail: '', //
date: '', //
date1: '', //
birth: '', //
birth1: '', //
}
}
});
} else {
uni.showToast({
title: res.msg,
@ -1346,7 +1346,7 @@
}
.popup-content{
height: 900rpx;
// overflow-y: auto;
overflow-y: auto;
}
.popup-content-item{
width: 690rpx;