修改审核问题
This commit is contained in:
parent
796cc0ff52
commit
7b88406ada
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "举报页面模板,开箱即用",
|
"name": "zz",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "举报页面模板,开箱即用",
|
"name": "zz",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"uview-ui": "^2.0.37",
|
"uview-ui": "^2.0.37",
|
||||||
|
@ -50,13 +50,16 @@
|
|||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="third-center">
|
<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 v-for="qrcodesurl in detailAny.ordercode">
|
||||||
<l-painter-view css="margin-top: 20rpx;margin-bottom: 20rpx;">
|
<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-qrcode css="width: 200rpx; height: 200rpx;margin:0 auto;" :text="qrcodesurl.miniurl"></l-painter-qrcode>
|
||||||
</l-painter-view>
|
</l-painter-view>
|
||||||
</l-painter>
|
</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>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -211,7 +214,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import qrcodeSwiper from "components/qrcodeSwiper.vue" // 引入 自己定义的tabBar组件
|
import qrcodeSwiper from '@/packageA/qrcodeSwiper.vue'
|
||||||
|
import uQRCode from '@/utils/uqrcode.js'
|
||||||
import {
|
import {
|
||||||
dateWeek
|
dateWeek
|
||||||
} from '../../utils/dateFormat'
|
} from '../../utils/dateFormat'
|
||||||
@ -292,7 +296,9 @@
|
|||||||
titleStyle: {
|
titleStyle: {
|
||||||
color: '#FFFFFF'
|
color: '#FFFFFF'
|
||||||
},
|
},
|
||||||
// qrcodesurl:'' //二维码地址
|
qrList:[],//二维码地址列表
|
||||||
|
//二维码图片列表
|
||||||
|
// qrimages:[]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -303,7 +309,6 @@
|
|||||||
query: `id=${this.id}`
|
query: `id=${this.id}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
this.userInfo = uni.getStorageSync("userInfo")
|
this.userInfo = uni.getStorageSync("userInfo")
|
||||||
this.id = options.id
|
this.id = options.id
|
||||||
@ -326,6 +331,39 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
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) {
|
dateWeeks(timestamp) {
|
||||||
return dateWeek(timestamp)
|
return dateWeek(timestamp)
|
||||||
@ -479,8 +517,9 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 1) {
|
if (res.code == 1) {
|
||||||
this.detail = res.data.detail.detail;
|
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.detailAny = res.data.detail;
|
||||||
|
this.generateAllQRCodes()
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.msg,
|
title: res.msg,
|
||||||
|
@ -160,7 +160,7 @@
|
|||||||
<view class="popup_tkall">
|
<view class="popup_tkall">
|
||||||
<view class="popup_tk"> 选择退款政策</view>
|
<view class="popup_tk"> 选择退款政策</view>
|
||||||
<view class="closetk" @click="closetuikuan">取消</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">
|
<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 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;">
|
<view style="width: 540rpx;">
|
||||||
@ -349,30 +349,6 @@
|
|||||||
this.getitembq();
|
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: {
|
filters: {
|
||||||
formatTimestamp(value) {
|
formatTimestamp(value) {
|
||||||
if (!value) return '';
|
if (!value) return '';
|
||||||
@ -948,8 +924,32 @@
|
|||||||
url: "/pages/my/index"
|
url: "/pages/my/index"
|
||||||
})
|
})
|
||||||
}, 2000);
|
}, 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 {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.msg,
|
title: res.msg,
|
||||||
@ -1346,7 +1346,7 @@
|
|||||||
}
|
}
|
||||||
.popup-content{
|
.popup-content{
|
||||||
height: 900rpx;
|
height: 900rpx;
|
||||||
// overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.popup-content-item{
|
.popup-content-item{
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user