LGX 8 months ago
parent 971a1604fe
commit ea9633b5bc
  1. 18
      pages.json
  2. 2
      pages/index/index.vue
  3. 23
      pages/login/index.vue
  4. 155
      pages/user/process/certificate/certificate.vue
  5. 178
      pages/user/process/make/make.vue
  6. 22
      uni_modules/liu-poster/changelog.md
  7. 377
      uni_modules/liu-poster/components/liu-poster/liu-poster.vue
  8. 6
      uni_modules/liu-poster/license.md
  9. 85
      uni_modules/liu-poster/package.json
  10. 260
      uni_modules/liu-poster/readme.md
  11. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  12. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  13. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  14. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/index.js.map
  15. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/process/certificate/certificate.js.map
  16. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/process/make/make.js.map
  17. 1
      unpackage/dist/dev/mp-weixin/app.json
  18. 2
      unpackage/dist/dev/mp-weixin/common/runtime.js
  19. 10
      unpackage/dist/dev/mp-weixin/common/vendor.js
  20. 2
      unpackage/dist/dev/mp-weixin/pages/index/index.wxss
  21. 2
      unpackage/dist/dev/mp-weixin/pages/user/process/certificate/certificate.js
  22. 3
      unpackage/dist/dev/mp-weixin/pages/user/process/certificate/certificate.json
  23. 2
      unpackage/dist/dev/mp-weixin/pages/user/process/certificate/certificate.wxml
  24. 2
      unpackage/dist/dev/mp-weixin/pages/user/process/make/make.js
  25. 3
      unpackage/dist/dev/mp-weixin/pages/user/process/make/make.json
  26. 2
      unpackage/dist/dev/mp-weixin/pages/user/process/make/make.wxml
  27. 37
      unpackage/dist/dev/mp-weixin/pages/user/process/make/make.wxss
  28. 33
      unpackage/dist/dev/mp-weixin/project.config.json
  29. 2
      unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.js
  30. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.js
  31. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.js
  32. 2
      unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
  33. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uni-table/components/uni-tr/table-checkbox.js
  34. 2
      unpackage/dist/dev/mp-weixin/uni_modules/uni-table/components/uni-tr/uni-tr.js
  35. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js
  36. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js
  37. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-overlay/u-overlay.js
  38. 2
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-popup/u-popup.js
  39. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js
  40. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-status-bar/u-status-bar.js
  41. 4
      unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-transition/u-transition.js

@ -1,15 +1,15 @@
{
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
// {
// "path" : "pages/login/index",
// "style" :
// {
// "navigationBarTitleText": "",
// "enablePullDownRefresh": false,
// "navigationStyle": "custom"
// }
{
"path" : "pages/login/index",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
// },
},
{
"path": "pages/index/index",
"style": {

@ -269,6 +269,8 @@
background: #FFFFFF;
display: flex;
justify-content: center;
position: absolute;
bottom: 10rpx;
.text4 {
margin-top: 20upx;

@ -11,14 +11,15 @@
</view>
<view class="logtext">弹射者|震东风华田径巡回赛</view>
<view>
<button class="btn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
<button class="btn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
<view class="">
<image src="@/static/微信.png" style="width: 40rpx;height: 40rpx;margin-right: 20rpx;" mode=""></image>
<image src="@/static/微信.png" style="width: 40rpx;height: 40rpx;margin-right: 20rpx;" mode="">
</image>
</view>
<view class="">点击授权登录</view>
</button>
</button>
</view>
<view class="btn1" @click="toLogin">返回</view>
<view class="btn1" @click="fanhui">返回</view>
</view>
</template>
@ -31,26 +32,30 @@
Username: "",
Password: "",
Type: 1,
wxcode:''
wxcode: ''
};
},
onLoad() {
const that = this;
uni.login({
success(res) {
console.log(787,res)
console.log(787, res)
that.wxcode = res.code
}
})
},
methods: {
fanhui() {
console.log(123);
uni.exitMiniProgram()
},
handleBack() {},
toToggle() {
this.isClick = !this.isClick;
},
getPhoneNumber(e) {
console.log(123455,e);
if(e.detail.errMsg == 'getPhoneNumber:ok'){
console.log(123455, e);
if (e.detail.errMsg == 'getPhoneNumber:ok') {
uni.request({
url: 'https://sports.njrenzhou.cn/api/wxMinLogin',
method: 'post',
@ -68,7 +73,7 @@
}
})
}
},
toLogin() {
console.log(1233);

@ -10,12 +10,13 @@
</view>
</view>
<view class="">
<image class="imgbg" src="@/static/bg (4).png" mode=""></image>
<image class="imgbg" :src="url" mode=""></image>
</view>
<view class="buts">
<button class="buts1">关闭</button>
<button class="buts2">保存证书</button>
<button class="buts1" @click="guanbi">关闭</button>
<button class="buts2" @click="baocun">保存证书</button>
</view>
<liu-poster ref="liuPoster" :width="750" :height="1300" @change="change"></liu-poster>
</view>
</template>
@ -23,10 +24,156 @@
export default {
data() {
return {
title: '成绩证书'
title: '成绩证书',
canvasList: [{
type: 'image', //(color:;image:;text:;line:线),
width: 750, //(rpx)
height: 1300, //(rpx)
x: 0, //x(rpx)
y: 0, //y(rpx)
path: 'https://qiniu.chuanyou.top/462266a730b0c941c.png', //(typeimage)//typecolor
},
{
type: 'image', //(color:;image:;text:;line:线),
width: 670, //(rpx)
height: 670, //(rpx)
x: 40, //x(rpx)
y: 300, //y(rpx)
radius: 20, //(rpx)
lineWidth: 12, //(rpx)
lineColor: '#FFFFFF', //
path: 'https://qiniu.chuanyou.top/462266a730b0c941c.png', //(typeimage)
childs: [{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 100, //x(rpx)
y: 400, //y(rpx)
color: '#FFFFFF', //
fontSize: 36, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '啊赛啊1', //(typetext)
}]
},
{
type: 'image', //(color:;image:;text:;line:线),
width: 150, //(rpx)
height: 150, //(rpx)
x: 550, //x(rpx)
y: 1050, //y(rpx)
radius: 4, //(rpx)
lineWidth: 6, //(rpx)
lineColor: '#FFFFFF', //
path: 'https://qiniu.chuanyou.top/462266a730b0c941c.png', //(typeimage)
childs: [{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 100, //x(rpx)
y: 1150, //y(rpx)
color: '#ff0000', //
fontSize: 30, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '弹射者|震东风华田径巡回赛', //(typetext)
},
{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 100, //x(rpx)
y: 1100, //y(rpx)
color: '#333333', //
fontSize: 24, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '比赛地点:南京体育中心', //(typetext)
},
{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 100, //x(rpx)
y: 1050, //y(rpx)
color: '#333333', //
fontSize: 24, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '比赛时间:2024-02-02 15:00:00', //(typetext)
},
{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 580, //x(rpx)
y: 950, //y(rpx)
color: '#333333', //
fontSize:36, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '李大花', //(typetext)
},
{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 580, //x(rpx)
y: 1000, //y(rpx)
color: '#333333', //
fontSize:36, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '100M', //(typetext)
},
]
},
],
url: ''
}
},
onShow() {
this.open()
},
methods: {
guanbi(){
uni.navigateBack()
},
baocun(){
var that=this
uni.saveImageToPhotosAlbum({
filePath: that.url,
success: function () {
uni.showToast({
title: '图片保存成功'
});
},
fail: function (err) {
uni.showToast({
title: '图片保存失败',
icon: 'none'
});
console.log('saveImageToPhotosAlbum fail', err);
}
});
},
open() {
this.$nextTick(() => {
this.$refs.liuPoster.init(this.canvasList)
})
},
//
change(e) {
this.url = e
},
//
previewImg(url) {
if (!url) return
uni.previewImage({
urls: [url]
})
},
record() {},
qxpop() {
this.$refs.popup.close('center')

@ -10,15 +10,16 @@
</view>
</view>
<view class="">
<image class="imgbg" src="@/static/haibao.png" mode=""></image>
<image class="imgbg" :src="url" mode="" @click="previewImg(url)"></image>
</view>
<view class="bj">
<image v-for="(item,index) in 4" class="imgbgxt" src="@/static/haibao.png" :key="index"
:class="{ active: index === currentIndex }" mode="" @click="changeImage(index)"></image>
</view>
<view class="buts">
<button class="buts1">重新选图</button>
<button class="buts2">生成海报</button>
<button class="buts1" @click="cxxt">重新选图</button>
<button class="buts2" @click="open">生成海报</button>
<liu-poster ref="liuPoster" :width="750" :height="1300" @change="change"></liu-poster>
</view>
</view>
</template>
@ -28,10 +29,138 @@
data() {
return {
currentIndex: 0,
title: '赛会详情'
title: '赛会详情',
canvasList: [{
type: 'image', //(color:;image:;text:;line:线),
width: 750, //(rpx)
height: 1300, //(rpx)
x: 0, //x(rpx)
y: 0, //y(rpx)
radius: 100, //(rpx)
lineWidth: 40, //(rpx)
path: 'https://qiniu.chuanyou.top/462266a730b0c941c.png', //(typeimage)//typecolor
},
{
type: 'image', //(color:;image:;text:;line:线),
width: 670, //(rpx)
height: 670, //(rpx)
x: 40, //x(rpx)
y: 300, //y(rpx)
radius: 20, //(rpx)
lineWidth: 12, //(rpx)
lineColor: '#FFFFFF', //
path: 'https://qiniu.chuanyou.top/462266a730b0c941c.png', //(typeimage)
childs: [{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 100, //x(rpx)
y: 400, //y(rpx)
color: '#FFFFFF', //
fontSize: 36, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '啊赛啊1', //(typetext)
}]
},
{
type: 'image', //(color:;image:;text:;line:线),
width: 150, //(rpx)
height: 150, //(rpx)
x: 550, //x(rpx)
y: 1050, //y(rpx)
radius: 4, //(rpx)
lineWidth: 6, //(rpx)
lineColor: '#FFFFFF', //
path: 'https://qiniu.chuanyou.top/462266a730b0c941c.png', //(typeimage)
childs: [{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 100, //x(rpx)
y: 1150, //y(rpx)
color: '#ff0000', //
fontSize: 30, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '弹射者|震东风华田径巡回赛', //(typetext)
},
{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 100, //x(rpx)
y: 1100, //y(rpx)
color: '#333333', //
fontSize: 24, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '比赛地点:南京体育中心', //(typetext)
},
{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 100, //x(rpx)
y: 1050, //y(rpx)
color: '#333333', //
fontSize: 24, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '比赛时间:2024-02-02 15:00:00', //(typetext)
},
{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 580, //x(rpx)
y: 950, //y(rpx)
color: '#333333', //
fontSize:36, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '李大花', //(typetext)
},
{
type: 'text', //(color:;image:;text:;line:线),
width: 400, //(rpx)
height: 40, //(rpx)
x: 580, //x(rpx)
y: 1000, //y(rpx)
color: '#333333', //
fontSize:36, //(rpx)
lineHeight: 36, //(rpx)
bold: true, //
content: '100M', //(typetext)
},
]
},
],
url: ''
}
},
methods: {
cxxt(){
this.url=''
},
//
open() {
this.$nextTick(() => {
this.$refs.liuPoster.init(this.canvasList)
})
},
//
change(e) {
this.url = e
},
//
previewImg(url) {
if (!url) return
uni.previewImage({
urls: [url]
})
},
changeImage(index) {
this.currentIndex = index;
},
@ -106,7 +235,6 @@
.imgbg {
width: 702rpx;
height: 1258rpx;
background: #FFFFFF;
margin: 24rpx;
}
@ -157,4 +285,44 @@
font-size: 18px;
font-weight: bold;
}
.tab-box {
width: 100%;
height: 100vh;
box-sizing: border-box;
padding-top: 20rpx;
.btn-reset {
width: 100%;
height: 72rpx;
background: #FFFFFF;
border-radius: 40rpx;
border: 2rpx solid #FD430E;
font-size: 30rpx;
color: #3E3E3E;
display: flex;
align-items: center;
justify-content: center;
}
.btn-complete {
width: 98%;
height: 76rpx;
border-radius: 40rpx;
font-size: 30rpx;
color: #FFFFFF;
background-color: #FD430E;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.success-img {
width: 100%;
height: 1300rpx;
margin-top: 20rpx;
border-radius: 8%;
}
}
</style>

@ -0,0 +1,22 @@
## 1.1.0(2023-07-05)
优化APP端生成逻辑
## 1.0.9(2023-07-04)
优化
## 1.0.8(2023-07-04)
增加注意事项
## 1.0.7(2023-07-04)
修改本地图片不显示问题
## 1.0.6(2023-06-26)
优化
## 1.0.5(2023-06-09)
增加子集绘制
## 1.0.4(2023-06-09)
增加子集绘制
## 1.0.3(2023-06-08)
增加预览二维码
## 1.0.2(2023-05-31)
增加license
## 1.0.1(2023-05-30)
增加示例
## 1.0.0(2023-05-30)
初始化发布

@ -0,0 +1,377 @@
<template>
<view class="canvas-main">
<canvas :style="'width:'+width+'rpx;height:'+height+'rpx;'" class="canvas-item" disable-scroll="true"
canvas-id="canvasId" @error="error"></canvas>
</view>
</template>
<script>
export default {
props: {
//(rpx)
width: {
type: Number,
default: 750
},
//(rpx)
height: {
type: Number,
default: 750
},
//(jpgpng)
fileType: {
type: String,
default: 'png'
},
},
data() {
return {
pixelRatio: 0,
context: null,
canvasList: []
}
},
methods: {
async init(list) {
uni.showLoading({
title: '正在绘制...'
})
if (this.context) {
await this.clear()
this.canvasList = []
this.context = null
}
this.canvasList = JSON.parse(JSON.stringify(list))
const systemInfo = uni.getSystemInfoSync()
this.pixelRatio = systemInfo.pixelRatio
this.context = uni.createCanvasContext('canvasId', this)
this.start()
},
clear() {
return new Promise(async (resolve, reject) => {
await this.context.clearRect(0, 0, this.width, this.height)
resolve()
})
},
async start() {
await Promise.all(this.canvasList.map(async res => {
if (res.type == 'color') {
await this.drawBg(res)
} else if (res.type == 'image') {
await this.drawImage(res)
} else if (res.type == 'text') {
await this.drawText(res)
} else if (res.type == 'line') {
await this.drawLine(res)
}
}))
this.save()
},
drawBg(item) {
return new Promise(async (resolve, reject) => {
item.width = uni.upx2px(item.width)
item.height = uni.upx2px(item.height)
item.x = uni.upx2px(item.x)
item.y = uni.upx2px(item.y)
item.radius = uni.upx2px(item.radius)
item.lineWidth = uni.upx2px(item.lineWidth)
let gradient = ''
if (item.colorObj && item.colorObj.colorList) {
if (item.colorObj.colorList.length == 1) {
this.context.fillStyle = item.colorObj.colorList[0]
} else {
if (item.colorObj.direction == 1) {
gradient = this.context.createLinearGradient(0, 0, item.height, 0)
} else if (item.colorObj.direction == 2) {
gradient = this.context.createLinearGradient(0, 0, 0, item.height)
} else if (item.colorObj.direction == 3) {
gradient = this.context.createLinearGradient(0, 0, item.width, item.height)
} else if (item.colorObj.direction == 4) {
gradient = this.context.createLinearGradient(item.width, 0, 0, item.height)
}
gradient.addColorStop(0, item.colorObj.colorList[0])
gradient.addColorStop(1, item.colorObj.colorList[1])
this.context.fillStyle = gradient
}
} else {
this.context.fillStyle = '#FFFFFF'
}
this.context.save()
if (item.radius > 0) {
this.context.beginPath()
this.context.moveTo(item.x + item.radius, item.y)
this.context.arcTo(item.x + item.width, item.y, item.x + item.width, item.y +
item.radius, item.radius)
this.context.lineTo(item.x + item.width, item.y + item.height - item.radius)
this.context.arcTo(item.x + item.width, item.y + item.height, item.x + item
.width - item.radius, item.y + item.height, item.radius)
this.context.lineTo(item.x + item.radius, item.y + item.height)
this.context.arcTo(item.x, item.y + item.height, item.x, item.y + item
.height - item.radius, item.radius)
this.context.lineTo(item.x, item.y + item.radius)
this.context.arcTo(item.x, item.y, item.x + item.radius, item.y, item.radius)
this.context.closePath()
this.context.clip()
}
this.context.fillRect(item.x, item.y, item.width, item.height)
if (item.lineWidth) {
this.context.setLineDash([])
this.context.lineWidth = item.lineWidth
this.context.strokeStyle = item.lineColor
this.context.beginPath()
this.context.moveTo(item.x + item.radius, item.y)
this.context.arcTo(item.x + item.width, item.y, item.x + item.width, item.y +
item.radius, item.radius)
this.context.lineTo(item.x + item.width, item.y + item.height - item.radius)
this.context.arcTo(item.x + item.width, item.y + item.height, item.x + item
.width - item.radius, item.y + item.height, item.radius)
this.context.lineTo(item.x + item.radius, item.y + item.height)
this.context.arcTo(item.x, item.y + item.height, item.x, item.y + item
.height - item.radius, item.radius)
this.context.lineTo(item.x, item.y + item.radius)
this.context.arcTo(item.x, item.y, item.x + item.radius, item.y, item.radius)
this.context.closePath()
this.context.stroke()
}
this.context.restore()
await this.context.draw(true)
if (item.childs && item.childs.length > 0) {
await Promise.all(item.childs.map(async res => {
if (res.type == 'color') {
await this.drawBg(res)
} else if (res.type == 'image') {
await this.drawImage(res)
} else if (res.type == 'text') {
await this.drawText(res)
} else if (res.type == 'line') {
await this.drawLine(res)
}
}))
}
resolve()
})
},
drawImage(item) {
return new Promise(async (resolve, reject) => {
item.width = uni.upx2px(item.width)
item.height = uni.upx2px(item.height)
item.x = uni.upx2px(item.x)
item.y = uni.upx2px(item.y)
item.radius = uni.upx2px(item.radius)
item.lineWidth = uni.upx2px(item.lineWidth)
await this.getImageInfo(item.path).then(async res => {
this.context.save()
if (item.radius > 0) {
this.context.beginPath()
this.context.moveTo(item.x + item.radius, item.y)
this.context.arcTo(item.x + item.width, item.y, item.x + item.width,
item.y +
item.radius, item.radius)
this.context.lineTo(item.x + item.width, item.y + item.height - item
.radius)
this.context.arcTo(item.x + item.width, item.y + item.height, item.x +
item
.width - item.radius, item.y + item.height, item.radius)
this.context.lineTo(item.x + item.radius, item.y + item.height)
this.context.arcTo(item.x, item.y + item.height, item.x, item.y + item
.height - item.radius, item.radius)
this.context.lineTo(item.x, item.y + item.radius)
this.context.arcTo(item.x, item.y, item.x + item.radius, item.y, item
.radius)
this.context.closePath()
this.context.clip()
}
await this.context.drawImage(res, item.x, item.y, item.width, item
.height)
if (item.lineWidth) {
this.context.setLineDash([])
this.context.lineWidth = item.lineWidth
this.context.strokeStyle = item.lineColor
this.context.beginPath()
this.context.moveTo(item.x + item.radius, item.y)
this.context.arcTo(item.x + item.width, item.y, item.x + item.width,
item.y +
item.radius, item.radius)
this.context.lineTo(item.x + item.width, item.y + item.height - item
.radius)
this.context.arcTo(item.x + item.width, item.y + item.height, item.x +
item
.width - item.radius, item.y + item.height, item.radius)
this.context.lineTo(item.x + item.radius, item.y + item.height)
this.context.arcTo(item.x, item.y + item.height, item.x, item.y + item
.height - item.radius, item.radius)
this.context.lineTo(item.x, item.y + item.radius)
this.context.arcTo(item.x, item.y, item.x + item.radius, item.y, item
.radius)
this.context.closePath()
this.context.stroke()
}
this.context.restore()
await this.context.draw(true)
if (item.childs && item.childs.length > 0) {
await Promise.all(item.childs.map(async res => {
if (res.type == 'color') {
await this.drawBg(res)
} else if (res.type == 'image') {
await this.drawImage(res)
} else if (res.type == 'text') {
await this.drawText(res)
} else if (res.type == 'line') {
await this.drawLine(res)
}
}))
}
resolve()
})
})
},
drawText(item) {
return new Promise(async (resolve, reject) => {
item.width = uni.upx2px(item.width)
item.height = uni.upx2px(item.height)
item.x = uni.upx2px(item.x)
item.y = uni.upx2px(item.y)
item.fontSize = uni.upx2px(item.fontSize)
item.lineHeight = uni.upx2px(item.lineHeight)
await this.drawTextInfo(item.content, item.x, item.y, item.fontSize, item.color, item
.width, item.height, item.lineHeight, item.bold, true)
resolve()
})
},
drawLine(item) {
return new Promise(async (resolve, reject) => {
item.width = uni.upx2px(item.width)
item.startX = uni.upx2px(item.startX)
item.startY = uni.upx2px(item.startY)
item.endX = uni.upx2px(item.endX)
item.endY = uni.upx2px(item.endY)
this.context.setStrokeStyle(item.color)
this.context.setLineWidth(item.width)
this.context.setLineCap('round')
if (item.lineType == 'dash') this.context.setLineDash([item.width * 5, item.width * 5], 0)
else this.context.setLineDash([])
this.context.beginPath()
this.context.moveTo(item.startX, item.startY)
this.context.lineTo(item.endX, item.endY)
this.context.stroke()
this.context.closePath()
resolve()
})
},
drawTextInfo(text, x, y, fontSize, color, width, height, lineHeight, bold, ellipsis) {
return new Promise(async (resolve, reject) => {
this.context.setFillStyle(color)
if (bold) this.context.font = 'bold ' + fontSize + 'px Arial'
else this.context.font = fontSize + 'px Arial'
this.context.setTextBaseline('bottom')
let textArray = text.split('')
let line = ''
let lines = []
for (let i = 0; i < textArray.length; i++) {
let testLine = line + textArray[i]
let testWidth = this.context.measureText(testLine).width
if (testWidth > width) {
lines.push(line)
line = textArray[i]
} else {
line = testLine
}
}
lines.push(line)
let firstWidth = this.context.measureText(lines[0]).width
if (height >= lineHeight * lines.length) {
await Promise.all(lines.map(async (res, i) => {
let lineText = res
let lineHeights = lineHeight * (i + 1)
await this.context.fillText(lineText, x, y + lineHeights)
}))
} else {
let sNum = parseInt(height / lineHeight)
lines = lines.slice(0, sNum)
await Promise.all(lines.map(async (res, i) => {
let lineText = res
let lineHeights = lineHeight * (i + 1)
if (i == lines.length - 1) {
if (this.context.measureText('...').width < fontSize) {
lineText = lineText.substring(0, lineText.length - 1)
lineText += '...'
} else {
lineText = lineText.substring(0, lineText.length - 2)
lineText += '...'
}
}
await this.context.fillText(lineText, x, y + lineHeights)
}))
}
resolve()
})
},
getImageInfo(src) {
return new Promise(async (resolve, reject) => {
if (src.indexOf('http') == -1) {
setTimeout(() => {
resolve(src)
})
} else {
// #ifdef APP-PLUS
uni.getImageInfo({
src: src,
success: (res) => {
resolve(res.path)
},
fail(err) {
resolve(src)
}
})
// #endif
// #ifndef APP-PLUS
uni.downloadFile({
url: src,
success: (res) => {
if (res.statusCode === 200) resolve(res.tempFilePath)
},
fail: (err) => {
resolve(src)
}
})
// #endif
}
})
},
save() {
let timer = setTimeout(async () => {
await this.context.draw(true, setTimeout(() => {
uni.canvasToTempFilePath({
canvasId: 'canvasId',
fileType: this.fileType,
quality: 1,
width: this.width,
height: this.height,
destWidth: this.width * this.pixelRatio,
destHeight: this.height * this.pixelRatio,
success: (res) => {
uni.hideLoading()
this.$emit('change', res.tempFilePath)
},
fail: (err) => {
console.log('生成图片失败:', err)
}
}, this)
}, 500))
clearTimeout(timer)
}, 500)
},
error(e) {
console.log('错误信息:', e)
}
}
}
</script>
</script>
<style lang="scss" scoped>
.canvas-main {
position: fixed;
z-index: -999999 !important;
opacity: 0;
top: -5000rpx;
}
</style>

@ -0,0 +1,6 @@
### 1、本插件可免费下载使用;
### 2、未经许可,严禁复制本插件派生同类插件上传插件市场;
### 3、未经许可,严禁在插件市场恶意复制抄袭本插件进行违规获利;
### 4、对本软件的任何使用都必须遵守这些条款,违反这些条款的个人或组织将面临法律追究。

@ -0,0 +1,85 @@
{
"id": "liu-poster",
"displayName": "canvas海报画板、海报生成、海报图",
"version": "1.1.0",
"description": "canvas海报画板、海报生成、海报图组件,配置简单,支持绘制背景色、绘制图片、绘制文本、绘制线条,自由生成海报图片",
"keywords": [
"海报",
"生成海报",
"canvas",
"图片合成",
"图片处理"
],
"repository": "",
"engines": {
"HBuilderX": "^3.1.0"
},
"dcloudext": {
"type": "component-vue",
"sale": {
"regular": {
"price": "0.00"
},
"sourcecode": {
"price": "0.00"
}
},
"contact": {
"qq": ""
},
"declaration": {
"ads": "无",
"data": "无",
"permissions": "无"
},
"npmurl": ""
},
"uni_modules": {
"dependencies": [],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
},
"client": {
"Vue": {
"vue2": "y",
"vue3": "u"
},
"App": {
"app-vue": "u",
"app-nvue": "u"
},
"H5-mobile": {
"Safari": "y",
"Android Browser": "y",
"微信浏览器(Android)": "y",
"QQ浏览器(Android)": "y"
},
"H5-pc": {
"Chrome": "u",
"IE": "u",
"Edge": "u",
"Firefox": "u",
"Safari": "u"
},
"小程序": {
"微信": "y",
"阿里": "u",
"百度": "u",
"字节跳动": "u",
"QQ": "u",
"钉钉": "u",
"快手": "u",
"飞书": "u",
"京东": "u"
},
"快应用": {
"华为": "u",
"联盟": "u"
}
}
}
}
}

@ -0,0 +1,260 @@
# liu-poster适用于uni-app项目的canvas海报画板、海报生成、海报图组件
### 本组件目前兼容微信小程序、H5
### 本组件是canvas海报画板、海报生成、海报图组件,配置简单,支持绘制背景色、绘制图片、绘制文本、绘制线条,自由生成海报图片
# --- 扫码预览、关注我们 ---
## 扫码关注公众号,查看更多插件信息,预览插件效果!
![](https://uni.ckapi.pro/uniapp/publicize.png)
### 属性说明
| 名称 | 类型 | 默认值 | 描述 |
| ----------------------------|--------------- | -------------------- | ---------------|
| width | Number | 750 | 画布宽度(rpx)
| height | Number | 750 | 画布高度(rpx)
| fileType | String | png | 生成的图片格式(jpg或png)
| @change | Function | | 海报绘制成功回调事件
### 使用示例
```
<template>
<view class="tab-box">
<view class="btn-complete" @click="open">一键生成海报</view>
<liu-poster ref="liuPoster" :width="750" :height="1300" @change="change"></liu-poster>
<image class="success-img" :src="url" @click="previewImg(url)"></image>
</view>
</template>
<script>
export default {
data() {
return {
canvasList: [{
type: 'color', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 750, //宽度(rpx)
height: 1300, //高度(rpx)
x: 0, //x轴位置(离左边的距离rpx)
y: 0, //y轴位置(离上边的距离rpx)
radius: 100, //圆角(rpx)
lineWidth: 40, //边框宽度(rpx)
lineColor: '#000000', //边框颜色
colorObj: {
colorList: ['#6900FF', '#FFFFFF'], //传入1个值为纯色,2个值为渐变色
direction: 2 //渐变色绘制方向(1:从左到右;2:从上到下;3:左上角到右下角;4:右上角到左下角)
}, //type为color时必填
}, {
type: 'image', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 132, //宽度(rpx)
height: 132, //高度(rpx)
x: 40, //x轴位置(离左边的距离rpx)
y: 120, //y轴位置(离上边的距离rpx)
radius: 66, //圆角(rpx)
lineWidth: 6, //边框宽度(rpx)
lineColor: '#FFFFFF', //边框颜色
path: 'https://img1.baidu.com/it/u=1471990434,2209509794&fm=253&fmt=auto&app=138&f=JPEG?w=400&h=400', //图片地址(type为image时必填)
}, {
type: 'text', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 400, //文本宽度(rpx)
height: 40, //文本高度(rpx)
x: 200, //x轴位置(离左边的距离rpx)
y: 145, //y轴位置(离上边的距离rpx)
color: '#FFFFFF', //文本颜色
fontSize: 36, //文字大小(rpx)
lineHeight: 36, //文字行高(rpx)
bold: true, //文字是否加粗
content: '好物分享猫猫虫', //文本内容(type为text时必填)
}, {
type: 'text', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 400, //文本宽度(rpx)
height: 40, //文本高度(rpx)
x: 200, //x轴位置(离左边的距离rpx)
y: 195, //y轴位置(离上边的距离rpx)
color: '#FFFFFF', //文本颜色
fontSize: 28, //文字大小(rpx)
lineHeight: 28, //文字行高(rpx)
bold: false, //文字是否加粗
content: '猫猫虫给你分享了一张美图', //文本内容(type为text时必填)
}, {
type: 'image', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 670, //宽度(rpx)
height: 670, //高度(rpx)
x: 40, //x轴位置(离左边的距离rpx)
y: 300, //y轴位置(离上边的距离rpx)
radius: 20, //圆角(rpx)
lineWidth: 12, //边框宽度(rpx)
lineColor: '#FFFFFF', //边框颜色
path: 'https://img1.baidu.com/it/u=1471990434,2209509794&fm=253&fmt=auto&app=138&f=JPEG?w=400&h=400', //图片地址(type为image时必填)
childs: [{
type: 'text', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 400, //文本宽度(rpx)
height: 40, //文本高度(rpx)
x: 100, //x轴位置(离左边的距离rpx)
y: 400, //y轴位置(离上边的距离rpx)
color: '#FFFFFF', //文本颜色
fontSize: 36, //文字大小(rpx)
lineHeight: 36, //文字行高(rpx)
bold: true, //文字是否加粗
content: '好物分享猫猫虫', //文本内容(type为text时必填)
}]
}, {
type: 'line', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 4, //线条宽度(rpx)
color: '#FFFFFF', //线条颜色
startX: 20, //起点x轴位置(离左边的距离rpx)
startY: 270, //起点y轴位置(离上边的距离rpx)
endX: 730, //终点x轴位置(离左边的距离rpx)
endY: 270, //终点y轴位置(离上边的距离rpx)
lineType: 'dash', //线条类型(solid:实线;dash:虚线)
}, {
type: 'line', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 4, //线条宽度(rpx)
color: '#FFFFFF', //线条颜色
startX: 20, //起点x轴位置(离左边的距离rpx)
startY: 1000, //起点y轴位置(离上边的距离rpx)
endX: 730, //终点x轴位置(离左边的距离rpx)
endY: 1000, //终点y轴位置(离上边的距离rpx)
lineType: 'dash', //线条类型(solid:实线;dash:虚线)
}, {
type: 'text', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 500, //文本宽度(rpx)
height: 150, //文本高度(rpx)
x: 40, //x轴位置(离左边的距离rpx)
y: 1050, //y轴位置(离上边的距离rpx)
color: '#9043FD', //文本颜色
fontSize: 32, //文字大小(rpx)
lineHeight: 45, //文字行高(rpx)
bold: true, //文字是否加粗
content: '这个是一段测试文字,这个是一段测试文字,这个是一段测试文字,这个是一段测试文字,这个是一段测试文字。', //文本内容(type为text时必填)
}, {
type: 'image', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 150, //宽度(rpx)
height: 150, //高度(rpx)
x: 550, //x轴位置(离左边的距离rpx)
y: 1050, //y轴位置(离上边的距离rpx)
radius: 4, //圆角(rpx)
lineWidth: 6, //边框宽度(rpx)
lineColor: '#FFFFFF', //边框颜色
path: 'https://img1.baidu.com/it/u=1471990434,2209509794&fm=253&fmt=auto&app=138&f=JPEG?w=400&h=400', //图片地址(type为image时必填)
}],
url: ''
};
},
methods: {
//开始绘制
open() {
this.$nextTick(() => {
this.$refs.liuPoster.init(this.canvasList)
})
},
//绘制成功返回生成的海报图片地址
change(e) {
this.url = e
},
//预览生成的海报图片
previewImg(url) {
if (!url) return
uni.previewImage({
urls: [url]
})
}
}
};
</script>
<style lang="scss" scoped>
.tab-box {
width: 100%;
height: 100vh;
box-sizing: border-box;
background-color: #f0f0f0;
padding-top: 20rpx;
.btn-reset {
width: 100%;
height: 72rpx;
background: #FFFFFF;
border-radius: 40rpx;
border: 2rpx solid #FD430E;
font-size: 30rpx;
color: #3E3E3E;
display: flex;
align-items: center;
justify-content: center;
}
.btn-complete {
width: 98%;
height: 76rpx;
border-radius: 40rpx;
font-size: 30rpx;
color: #FFFFFF;
background-color: #FD430E;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.success-img {
width: 100%;
height: 1300rpx;
margin-top: 20rpx;
}
}
</style>
```
### 传入的canvasList参数说明
### 绘制类型有4种:color:背景色;image:图片;text:文字;line:线条
```
canvasList: [{
type: 'color', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 750, //宽度(rpx)
height: 1500, //高度(rpx)
x: 0, //x轴位置(离左边的距离rpx)
y: 0, //y轴位置(离上边的距离rpx)
radius: 100, //圆角(rpx)
lineWidth: 40, //边框宽度(rpx)
lineColor: '#000000', //边框颜色
colorObj: {
colorList: ['#6900FF', '#FFFFFF'], //传入1个值为纯色,2个值为渐变色
direction: 2 //渐变色绘制方向(1:从左到右;2:从上到下;3:左上角到右下角;4:右上角到左下角)
}, //type为color时必填
childs:[],//在背景色上绘制的内容放在childs里面即可
}, {
type: 'image', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 132, //宽度(rpx)
height: 132, //高度(rpx)
x: 40, //x轴位置(离左边的距离rpx)
y: 150, //y轴位置(离上边的距离rpx)
radius: 66, //圆角(rpx)
lineWidth: 2, //边框宽度(rpx)
lineColor: '#FFFFFF', //边框颜色
path: 'https://img1.baidu.com/it/u=1471990434,2209509794&fm=253&fmt=auto&app=138&f=JPEG?w=400&h=400', //图片地址(type为image时必填)
childs:[],//如果在图片上绘制其他内容则将要绘制的内容放在childs里面即可
}, {
type: 'text', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 400, //文本宽度(rpx)
height: 100, //文本高度(rpx)
x: 200, //x轴位置(离左边的距离rpx)
y: 170, //y轴位置(离上边的距离rpx)
color: '#FFFFFF', //文本颜色
fontSize: 36, //文字大小(rpx)
lineHeight: 45, //文字行高(rpx)
bold: true, //文字是否加粗
content: '好物分享猫猫虫好物分享猫猫虫好物分享猫猫虫好物分享猫猫虫好物分享猫猫虫好物分享猫猫虫好物分享猫猫虫', //文本内容(type为text时必填)
}, {
type: 'line', //绘制类型(color:背景色;image:图片;text:文字;line:线条),
width: 2, //线条宽度(rpx)
color: '#FFFFFF', //线条颜色
startX: 0, //起点x轴位置(离左边的距离rpx)
startY: 310, //起点y轴位置(离上边的距离rpx)
endX: 750, //终点x轴位置(离左边的距离rpx)
endY: 310, //终点y轴位置(离上边的距离rpx)
lineType: 'dash', //线条类型(solid:实线;dash:虚线)
}]
```
### 注意
# 1、H5端使用网络图片需要解决跨域问题;
# 2、小程序使用网络图片需要在微信公众平台配置downloadFile合法域名。

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,5 +1,6 @@
{
"pages": [
"pages/login/index",
"pages/index/index",
"pages/record/record",
"pages/achievement/achievement",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -89,6 +89,8 @@ button.data-v-57280228::after {
background: #FFFFFF;
display: flex;
justify-content: center;
position: absolute;
bottom: 10rpx;
}
.content4 .text4.data-v-57280228 {
margin-top: 20rpx;

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/process/certificate/certificate"],{371:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(372));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},372:function(e,n,t){"use strict";t.r(n);var r=t(373),o=t(375);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);t(377);var i,u=t(32),a=Object(u["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"5c2bd7b4",null,!1,r["components"],i);a.options.__file="pages/user/process/certificate/certificate.vue",n["default"]=a.exports},373:function(e,n,t){"use strict";t.r(n);var r=t(374);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},374:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return r}));try{r={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,459))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement;e._self._c},c=!1,i=[];o._withStripped=!0},375:function(e,n,t){"use strict";t.r(n);var r=t(376),o=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);n["default"]=o.a},376:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{title:"成绩证书"}},methods:{record:function(){},qxpop:function(){this.$refs.popup.close("center")},tuikuan:function(){this.$refs.popup.open("center")},detail:function(){e.navigateTo({url:"/pages/user/myclub/detail/detail"})},handleBack:function(){e.navigateBack()},toPage:function(){console.log(1111232),e.navigateTo({url:"/pages/user/index"})}}};n.default=t}).call(this,t(2)["default"])},377:function(e,n,t){"use strict";t.r(n);var r=t(378),o=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(c);n["default"]=o.a},378:function(e,n,t){}},[[371,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/process/certificate/certificate"],{371:function(e,t,n){"use strict";(function(e,t){var o=n(4);n(26);o(n(25));var i=o(n(372));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n(1)["default"],n(2)["createPage"])},372:function(e,t,n){"use strict";n.r(t);var o=n(373),i=n(375);for(var c in i)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(c);n(377);var r,u=n(32),a=Object(u["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"5c2bd7b4",null,!1,o["components"],r);a.options.__file="pages/user/process/certificate/certificate.vue",t["default"]=a.exports},373:function(e,t,n){"use strict";n.r(t);var o=n(374);n.d(t,"render",(function(){return o["render"]})),n.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(t,"components",(function(){return o["components"]}))},374:function(e,t,n){"use strict";var o;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return r})),n.d(t,"recyclableRender",(function(){return c})),n.d(t,"components",(function(){return o}));try{o={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,459))},liuPoster:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/liu-poster/components/liu-poster/liu-poster")]).then(n.bind(null,610))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,t=e.$createElement;e._self._c},c=!1,r=[];i._withStripped=!0},375:function(e,t,n){"use strict";n.r(t);var o=n(376),i=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=i.a},376:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{title:"成绩证书",canvasList:[{type:"image",width:750,height:1300,x:0,y:0,path:"https://qiniu.chuanyou.top/462266a730b0c941c.png"},{type:"image",width:670,height:670,x:40,y:300,radius:20,lineWidth:12,lineColor:"#FFFFFF",path:"https://qiniu.chuanyou.top/462266a730b0c941c.png",childs:[{type:"text",width:400,height:40,x:100,y:400,color:"#FFFFFF",fontSize:36,lineHeight:36,bold:!0,content:"啊赛啊1"}]},{type:"image",width:150,height:150,x:550,y:1050,radius:4,lineWidth:6,lineColor:"#FFFFFF",path:"https://qiniu.chuanyou.top/462266a730b0c941c.png",childs:[{type:"text",width:400,height:40,x:100,y:1150,color:"#ff0000",fontSize:30,lineHeight:36,bold:!0,content:"弹射者|震东风华田径巡回赛"},{type:"text",width:400,height:40,x:100,y:1100,color:"#333333",fontSize:24,lineHeight:36,bold:!0,content:"比赛地点:南京体育中心"},{type:"text",width:400,height:40,x:100,y:1050,color:"#333333",fontSize:24,lineHeight:36,bold:!0,content:"比赛时间:2024-02-02 15:00:00"},{type:"text",width:400,height:40,x:580,y:950,color:"#333333",fontSize:36,lineHeight:36,bold:!0,content:"李大花"},{type:"text",width:400,height:40,x:580,y:1e3,color:"#333333",fontSize:36,lineHeight:36,bold:!0,content:"100M"}]}],url:""}},onShow:function(){this.open()},methods:{guanbi:function(){e.navigateBack()},baocun:function(){var t=this;e.saveImageToPhotosAlbum({filePath:t.url,success:function(){e.showToast({title:"图片保存成功"})},fail:function(t){e.showToast({title:"图片保存失败",icon:"none"}),console.log("saveImageToPhotosAlbum fail",t)}})},open:function(){var e=this;this.$nextTick((function(){e.$refs.liuPoster.init(e.canvasList)}))},change:function(e){this.url=e},previewImg:function(t){t&&e.previewImage({urls:[t]})},record:function(){},qxpop:function(){this.$refs.popup.close("center")},tuikuan:function(){this.$refs.popup.open("center")},detail:function(){e.navigateTo({url:"/pages/user/myclub/detail/detail"})},handleBack:function(){e.navigateBack()},toPage:function(){console.log(1111232),e.navigateTo({url:"/pages/user/index"})}}};t.default=n}).call(this,n(2)["default"])},377:function(e,t,n){"use strict";n.r(t);var o=n(378),i=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=i.a},378:function(e,t,n){}},[[371,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/user/process/certificate/certificate.js.map

@ -3,6 +3,7 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"usingComponents": {
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons",
"liu-poster": "/uni_modules/liu-poster/components/liu-poster/liu-poster"
}
}

@ -1 +1 @@
<view class="oppo-box data-v-5c2bd7b4"><image style="width:100%;height:247rpx;" src="/static/bg (2).png" class="data-v-5c2bd7b4"></image><view class="custom-navigation-bar data-v-5c2bd7b4"><view data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="left-button data-v-5c2bd7b4" bindtap="__e"><uni-icons vue-id="294f9fd2-1" type="left" color="#fff" size="30" class="data-v-5c2bd7b4" bind:__l="__l"></uni-icons></view><view class="title data-v-5c2bd7b4">{{''+title+''}}</view></view><view class="data-v-5c2bd7b4"><image class="imgbg data-v-5c2bd7b4" src="/static/bg (4).png" mode></image></view><view class="buts data-v-5c2bd7b4"><button class="buts1 data-v-5c2bd7b4">关闭</button><button class="buts2 data-v-5c2bd7b4">保存证书</button></view></view>
<view class="oppo-box data-v-5c2bd7b4"><image style="width:100%;height:247rpx;" src="/static/bg (2).png" class="data-v-5c2bd7b4"></image><view class="custom-navigation-bar data-v-5c2bd7b4"><view data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="left-button data-v-5c2bd7b4" bindtap="__e"><uni-icons vue-id="294f9fd2-1" type="left" color="#fff" size="30" class="data-v-5c2bd7b4" bind:__l="__l"></uni-icons></view><view class="title data-v-5c2bd7b4">{{''+title+''}}</view></view><view class="data-v-5c2bd7b4"><image class="imgbg data-v-5c2bd7b4" src="{{url}}" mode></image></view><view class="buts data-v-5c2bd7b4"><button data-event-opts="{{[['tap',[['guanbi',['$event']]]]]}}" class="buts1 data-v-5c2bd7b4" bindtap="__e">关闭</button><button data-event-opts="{{[['tap',[['baocun',['$event']]]]]}}" class="buts2 data-v-5c2bd7b4" bindtap="__e">保存证书</button></view><liu-poster vue-id="294f9fd2-2" width="{{750}}" height="{{1300}}" data-ref="liuPoster" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-5c2bd7b4 vue-ref" bind:__l="__l"></liu-poster></view>

@ -1,2 +1,2 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/process/make/make"],{387:function(n,e,t){"use strict";(function(n,e){var r=t(4);t(26);r(t(25));var o=r(t(388));n.__webpack_require_UNI_MP_PLUGIN__=t,e(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},388:function(n,e,t){"use strict";t.r(e);var r=t(389),o=t(391);for(var c in o)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(c);t(393);var u,i=t(32),a=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"0514fec4",null,!1,r["components"],u);a.options.__file="pages/user/process/make/make.vue",e["default"]=a.exports},389:function(n,e,t){"use strict";t.r(e);var r=t(390);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},390:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return o})),t.d(e,"staticRenderFns",(function(){return u})),t.d(e,"recyclableRender",(function(){return c})),t.d(e,"components",(function(){return r}));try{r={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,459))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var n=this,e=n.$createElement;n._self._c},c=!1,u=[];o._withStripped=!0},391:function(n,e,t){"use strict";t.r(e);var r=t(392),o=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(c);e["default"]=o.a},392:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{currentIndex:0,title:"赛会详情"}},methods:{changeImage:function(n){this.currentIndex=n},record:function(){},qxpop:function(){this.$refs.popup.close("center")},tuikuan:function(){this.$refs.popup.open("center")},detail:function(){n.navigateTo({url:"/pages/user/myclub/detail/detail"})},handleBack:function(){n.navigateBack()},toPage:function(){console.log(1111232),n.navigateTo({url:"/pages/user/index"})}}};e.default=t}).call(this,t(2)["default"])},393:function(n,e,t){"use strict";t.r(e);var r=t(394),o=t.n(r);for(var c in r)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(c);e["default"]=o.a},394:function(n,e,t){}},[[387,"common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/process/make/make"],{387:function(e,n,t){"use strict";(function(e,n){var i=t(4);t(26);i(t(25));var o=i(t(388));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},388:function(e,n,t){"use strict";t.r(n);var i=t(389),o=t(391);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);t(393);var c,u=t(32),a=Object(u["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,"0514fec4",null,!1,i["components"],c);a.options.__file="pages/user/process/make/make.vue",n["default"]=a.exports},389:function(e,n,t){"use strict";t.r(n);var i=t(390);t.d(n,"render",(function(){return i["render"]})),t.d(n,"staticRenderFns",(function(){return i["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return i["recyclableRender"]})),t.d(n,"components",(function(){return i["components"]}))},390:function(e,n,t){"use strict";var i;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return c})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return i}));try{i={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,459))},liuPoster:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/liu-poster/components/liu-poster/liu-poster")]).then(t.bind(null,610))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement;e._self._c},r=!1,c=[];o._withStripped=!0},391:function(e,n,t){"use strict";t.r(n);var i=t(392),o=t.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(r);n["default"]=o.a},392:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{currentIndex:0,title:"赛会详情",canvasList:[{type:"image",width:750,height:1300,x:0,y:0,radius:100,lineWidth:40,path:"https://qiniu.chuanyou.top/462266a730b0c941c.png"},{type:"image",width:670,height:670,x:40,y:300,radius:20,lineWidth:12,lineColor:"#FFFFFF",path:"https://qiniu.chuanyou.top/462266a730b0c941c.png",childs:[{type:"text",width:400,height:40,x:100,y:400,color:"#FFFFFF",fontSize:36,lineHeight:36,bold:!0,content:"啊赛啊1"}]},{type:"image",width:150,height:150,x:550,y:1050,radius:4,lineWidth:6,lineColor:"#FFFFFF",path:"https://qiniu.chuanyou.top/462266a730b0c941c.png",childs:[{type:"text",width:400,height:40,x:100,y:1150,color:"#ff0000",fontSize:30,lineHeight:36,bold:!0,content:"弹射者|震东风华田径巡回赛"},{type:"text",width:400,height:40,x:100,y:1100,color:"#333333",fontSize:24,lineHeight:36,bold:!0,content:"比赛地点:南京体育中心"},{type:"text",width:400,height:40,x:100,y:1050,color:"#333333",fontSize:24,lineHeight:36,bold:!0,content:"比赛时间:2024-02-02 15:00:00"},{type:"text",width:400,height:40,x:580,y:950,color:"#333333",fontSize:36,lineHeight:36,bold:!0,content:"李大花"},{type:"text",width:400,height:40,x:580,y:1e3,color:"#333333",fontSize:36,lineHeight:36,bold:!0,content:"100M"}]}],url:""}},methods:{cxxt:function(){this.url=""},open:function(){var e=this;this.$nextTick((function(){e.$refs.liuPoster.init(e.canvasList)}))},change:function(e){this.url=e},previewImg:function(n){n&&e.previewImage({urls:[n]})},changeImage:function(e){this.currentIndex=e},record:function(){},qxpop:function(){this.$refs.popup.close("center")},tuikuan:function(){this.$refs.popup.open("center")},detail:function(){e.navigateTo({url:"/pages/user/myclub/detail/detail"})},handleBack:function(){e.navigateBack()},toPage:function(){console.log(1111232),e.navigateTo({url:"/pages/user/index"})}}};n.default=t}).call(this,t(2)["default"])},393:function(e,n,t){"use strict";t.r(n);var i=t(394),o=t.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(r);n["default"]=o.a},394:function(e,n,t){}},[[387,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/user/process/make/make.js.map

@ -3,6 +3,7 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"usingComponents": {
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons",
"liu-poster": "/uni_modules/liu-poster/components/liu-poster/liu-poster"
}
}

@ -1 +1 @@
<view class="oppo-box data-v-0514fec4"><image style="width:100%;height:247rpx;" src="/static/bg (2).png" class="data-v-0514fec4"></image><view class="custom-navigation-bar data-v-0514fec4"><view data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="left-button data-v-0514fec4" bindtap="__e"><uni-icons vue-id="c4e94a7c-1" type="left" color="#fff" size="30" class="data-v-0514fec4" bind:__l="__l"></uni-icons></view><view class="title data-v-0514fec4">{{''+title+''}}</view></view><view class="data-v-0514fec4"><image class="imgbg data-v-0514fec4" src="/static/haibao.png" mode></image></view><view class="bj data-v-0514fec4"><block wx:for="{{4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image class="{{['imgbgxt','data-v-0514fec4',(index===currentIndex)?'active':'']}}" src="/static/haibao.png" mode data-event-opts="{{[['tap',[['changeImage',[index]]]]]}}" bindtap="__e"></image></block></view><view class="buts data-v-0514fec4"><button class="buts1 data-v-0514fec4">重新选图</button><button class="buts2 data-v-0514fec4">生成海报</button></view></view>
<view class="oppo-box data-v-0514fec4"><image style="width:100%;height:247rpx;" src="/static/bg (2).png" class="data-v-0514fec4"></image><view class="custom-navigation-bar data-v-0514fec4"><view data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" class="left-button data-v-0514fec4" bindtap="__e"><uni-icons vue-id="c4e94a7c-1" type="left" color="#fff" size="30" class="data-v-0514fec4" bind:__l="__l"></uni-icons></view><view class="title data-v-0514fec4">{{''+title+''}}</view></view><view class="data-v-0514fec4"><image class="imgbg data-v-0514fec4" src="{{url}}" mode data-event-opts="{{[['tap',[['previewImg',['$0'],['url']]]]]}}" bindtap="__e"></image></view><view class="bj data-v-0514fec4"><block wx:for="{{4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image class="{{['imgbgxt','data-v-0514fec4',(index===currentIndex)?'active':'']}}" src="/static/haibao.png" mode data-event-opts="{{[['tap',[['changeImage',[index]]]]]}}" bindtap="__e"></image></block></view><view class="buts data-v-0514fec4"><button data-event-opts="{{[['tap',[['cxxt',['$event']]]]]}}" class="buts1 data-v-0514fec4" bindtap="__e">重新选图</button><button data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="buts2 data-v-0514fec4" bindtap="__e">生成海报</button><liu-poster vue-id="c4e94a7c-2" width="{{750}}" height="{{1300}}" data-ref="liuPoster" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-0514fec4 vue-ref" bind:__l="__l"></liu-poster></view></view>

@ -64,7 +64,6 @@
.imgbg.data-v-0514fec4 {
width: 702rpx;
height: 1258rpx;
background: #FFFFFF;
margin: 24rpx;
}
.nr.data-v-0514fec4 {
@ -105,4 +104,40 @@
font-size: 18px;
font-weight: bold;
}
.tab-box.data-v-0514fec4 {
width: 100%;
height: 100vh;
box-sizing: border-box;
padding-top: 20rpx;
}
.tab-box .btn-reset.data-v-0514fec4 {
width: 100%;
height: 72rpx;
background: #FFFFFF;
border-radius: 40rpx;
border: 2rpx solid #FD430E;
font-size: 30rpx;
color: #3E3E3E;
display: flex;
align-items: center;
justify-content: center;
}
.tab-box .btn-complete.data-v-0514fec4 {
width: 98%;
height: 76rpx;
border-radius: 40rpx;
font-size: 30rpx;
color: #FFFFFF;
background-color: #FD430E;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.tab-box .success-img.data-v-0514fec4 {
width: 100%;
height: 1300rpx;
margin-top: 20rpx;
border-radius: 8%;
}

@ -1,7 +1,8 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": []
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
@ -9,28 +10,20 @@
"postcss": false,
"minified": false,
"newFeature": true,
"bigPackageSizeSupport": true
"bigPackageSizeSupport": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"compileType": "miniprogram",
"libVersion": "",
"libVersion": "3.5.1",
"appid": "wx3eb7cc79034eb8b9",
"projectname": "体育",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-file-picker/components/uni-file-picker/upload-file"],{673:function(e,t,n){"use strict";n.r(t);var r=n(674),i=n(676);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n(678);var u,l=n(32),d=Object(l["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);d.options.__file="uni_modules/uni-file-picker/components/uni-file-picker/upload-file.vue",t["default"]=d.exports},674:function(e,t,n){"use strict";n.r(t);var r=n(675);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},675:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return u})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return r}));var i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.list.length);e.$mp.data=Object.assign({},{$root:{g0:n}})},o=!1,u=[];i._withStripped=!0},676:function(e,t,n){"use strict";n.r(t);var r=n(677),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},677:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"uploadFile",emits:["uploadFiles","choose","delFile"],props:{filesList:{type:Array,default:function(){return[]}},delIcon:{type:Boolean,default:!0},limit:{type:[Number,String],default:9},showType:{type:String,default:""},listStyles:{type:Object,default:function(){return{border:!0,dividline:!0,borderStyle:{}}}},readonly:{type:Boolean,default:!1}},computed:{list:function(){var e=[];return this.filesList.forEach((function(t){e.push(t)})),e},styles:function(){var e={border:!0,dividline:!0,"border-style":{}};return Object.assign(e,this.listStyles)},borderStyle:function(){var e=this.styles,t=e.borderStyle,n=e.border,r={};if(n){var i=t&&t.width||1;i=this.value2px(i);var o=t&&t.radius||5;o=this.value2px(o),r={"border-width":i,"border-style":t&&t.style||"solid","border-color":t&&t.color||"#eee","border-radius":o}}else r.border="none";var u="";for(var l in r)u+="".concat(l,":").concat(r[l],";");return u},borderLineStyle:function(){var e={},t=this.styles.borderStyle;if(t&&t.color&&(e["border-color"]=t.color),t&&t.width){var n=t&&t.width||1,r=t&&t.style||0;"number"===typeof n?n+="px":n=n.indexOf("px")?n:n+"px",e["border-width"]=n,"number"===typeof r?r+="px":r=r.indexOf("px")?r:r+"px",e["border-top-style"]=r}var i="";for(var o in e)i+="".concat(o,":").concat(e[o],";");return i}},methods:{uploadFiles:function(e,t){this.$emit("uploadFiles",{item:e,index:t})},choose:function(){this.$emit("choose")},delFile:function(e){this.$emit("delFile",e)},value2px:function(e){return"number"===typeof e?e+="px":e=-1!==e.indexOf("px")?e:e+"px",e}}};t.default=r},678:function(e,t,n){"use strict";n.r(t);var r=n(679),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},679:function(e,t,n){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-file-picker/components/uni-file-picker/upload-file"],{680:function(e,t,n){"use strict";n.r(t);var r=n(681),i=n(683);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n(685);var u,l=n(32),d=Object(l["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);d.options.__file="uni_modules/uni-file-picker/components/uni-file-picker/upload-file.vue",t["default"]=d.exports},681:function(e,t,n){"use strict";n.r(t);var r=n(682);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},682:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return u})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return r}));var i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.list.length);e.$mp.data=Object.assign({},{$root:{g0:n}})},o=!1,u=[];i._withStripped=!0},683:function(e,t,n){"use strict";n.r(t);var r=n(684),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={name:"uploadFile",emits:["uploadFiles","choose","delFile"],props:{filesList:{type:Array,default:function(){return[]}},delIcon:{type:Boolean,default:!0},limit:{type:[Number,String],default:9},showType:{type:String,default:""},listStyles:{type:Object,default:function(){return{border:!0,dividline:!0,borderStyle:{}}}},readonly:{type:Boolean,default:!1}},computed:{list:function(){var e=[];return this.filesList.forEach((function(t){e.push(t)})),e},styles:function(){var e={border:!0,dividline:!0,"border-style":{}};return Object.assign(e,this.listStyles)},borderStyle:function(){var e=this.styles,t=e.borderStyle,n=e.border,r={};if(n){var i=t&&t.width||1;i=this.value2px(i);var o=t&&t.radius||5;o=this.value2px(o),r={"border-width":i,"border-style":t&&t.style||"solid","border-color":t&&t.color||"#eee","border-radius":o}}else r.border="none";var u="";for(var l in r)u+="".concat(l,":").concat(r[l],";");return u},borderLineStyle:function(){var e={},t=this.styles.borderStyle;if(t&&t.color&&(e["border-color"]=t.color),t&&t.width){var n=t&&t.width||1,r=t&&t.style||0;"number"===typeof n?n+="px":n=n.indexOf("px")?n:n+"px",e["border-width"]=n,"number"===typeof r?r+="px":r=r.indexOf("px")?r:r+"px",e["border-top-style"]=r}var i="";for(var o in e)i+="".concat(o,":").concat(e[o],";");return i}},methods:{uploadFiles:function(e,t){this.$emit("uploadFiles",{item:e,index:t})},choose:function(){this.$emit("choose")},delFile:function(e){this.$emit("delFile",e)},value2px:function(e){return"number"===typeof e?e+="px":e=-1!==e.indexOf("px")?e:e+"px",e}}};t.default=r},685:function(e,t,n){"use strict";n.r(t);var r=n(686),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},686:function(e,t,n){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uni-file-picker/components/uni-file-picker/upload-file-create-component',
{
'uni_modules/uni-file-picker/components/uni-file-picker/upload-file-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(673))
__webpack_require__('2')['createComponent'](__webpack_require__(680))
})
},
[['uni_modules/uni-file-picker/components/uni-file-picker/upload-file-create-component']]

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-file-picker/components/uni-file-picker/upload-image"],{666:function(e,t,n){"use strict";n.r(t);var i=n(667),r=n(669);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n(671);var u,a=n(32),l=Object(a["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,null,null,!1,i["components"],u);l.options.__file="uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue",t["default"]=l.exports},667:function(e,t,n){"use strict";n.r(t);var i=n(668);n.d(t,"render",(function(){return i["render"]})),n.d(t,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(t,"components",(function(){return i["components"]}))},668:function(e,t,n){"use strict";var i;n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return u})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return i}));var r=function(){var e=this,t=e.$createElement,n=(e._self._c,e.filesList.length<e.limit&&!e.readonly);e.$mp.data=Object.assign({},{$root:{g0:n}})},o=!1,u=[];r._withStripped=!0},669:function(e,t,n){"use strict";n.r(t);var i=n(670),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=r.a},670:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"uploadImage",emits:["uploadFiles","choose","delFile"],props:{filesList:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},disablePreview:{type:Boolean,default:!1},limit:{type:[Number,String],default:9},imageStyles:{type:Object,default:function(){return{width:"auto",height:"auto",border:{}}}},delIcon:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1}},computed:{styles:function(){var e={width:"auto",height:"auto",border:{}};return Object.assign(e,this.imageStyles)},boxStyle:function(){var e=this.styles,t=e.width,n=void 0===t?"auto":t,i=e.height,r=void 0===i?"auto":i,o={};"auto"===r?"auto"!==n?(o.height=this.value2px(n),o["padding-top"]=0):o.height=0:(o.height=this.value2px(r),o["padding-top"]=0),o.width="auto"===n?"auto"!==r?this.value2px(r):"33.3%":this.value2px(n);var u="";for(var a in o)u+="".concat(a,":").concat(o[a],";");return u},borderStyle:function(){var e=this.styles.border,t={},n=1,i=3;if("boolean"===typeof e)t.border=e?"1px #eee solid":"none";else{var r=e&&e.width||n;r=this.value2px(r);var o=e&&e.radius||i;o=this.value2px(o),t={"border-width":r,"border-style":e&&e.style||"solid","border-color":e&&e.color||"#eee","border-radius":o}}var u="";for(var a in t)u+="".concat(a,":").concat(t[a],";");return u}},methods:{uploadFiles:function(e,t){this.$emit("uploadFiles",e)},choose:function(){this.$emit("choose")},delFile:function(e){this.$emit("delFile",e)},prviewImage:function(t,n){var i=[];1===Number(this.limit)&&this.disablePreview&&!this.disabled&&this.$emit("choose"),this.disablePreview||(this.filesList.forEach((function(e){i.push(e.url)})),e.previewImage({urls:i,current:n}))},value2px:function(e){return"number"===typeof e?e+="px":-1===e.indexOf("%")&&(e=-1!==e.indexOf("px")?e:e+"px"),e}}};t.default=n}).call(this,n(2)["default"])},671:function(e,t,n){"use strict";n.r(t);var i=n(672),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=r.a},672:function(e,t,n){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-file-picker/components/uni-file-picker/upload-image"],{673:function(e,t,n){"use strict";n.r(t);var i=n(674),r=n(676);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n(678);var u,a=n(32),l=Object(a["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,null,null,!1,i["components"],u);l.options.__file="uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue",t["default"]=l.exports},674:function(e,t,n){"use strict";n.r(t);var i=n(675);n.d(t,"render",(function(){return i["render"]})),n.d(t,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(t,"components",(function(){return i["components"]}))},675:function(e,t,n){"use strict";var i;n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return u})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return i}));var r=function(){var e=this,t=e.$createElement,n=(e._self._c,e.filesList.length<e.limit&&!e.readonly);e.$mp.data=Object.assign({},{$root:{g0:n}})},o=!1,u=[];r._withStripped=!0},676:function(e,t,n){"use strict";n.r(t);var i=n(677),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=r.a},677:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"uploadImage",emits:["uploadFiles","choose","delFile"],props:{filesList:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},disablePreview:{type:Boolean,default:!1},limit:{type:[Number,String],default:9},imageStyles:{type:Object,default:function(){return{width:"auto",height:"auto",border:{}}}},delIcon:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1}},computed:{styles:function(){var e={width:"auto",height:"auto",border:{}};return Object.assign(e,this.imageStyles)},boxStyle:function(){var e=this.styles,t=e.width,n=void 0===t?"auto":t,i=e.height,r=void 0===i?"auto":i,o={};"auto"===r?"auto"!==n?(o.height=this.value2px(n),o["padding-top"]=0):o.height=0:(o.height=this.value2px(r),o["padding-top"]=0),o.width="auto"===n?"auto"!==r?this.value2px(r):"33.3%":this.value2px(n);var u="";for(var a in o)u+="".concat(a,":").concat(o[a],";");return u},borderStyle:function(){var e=this.styles.border,t={},n=1,i=3;if("boolean"===typeof e)t.border=e?"1px #eee solid":"none";else{var r=e&&e.width||n;r=this.value2px(r);var o=e&&e.radius||i;o=this.value2px(o),t={"border-width":r,"border-style":e&&e.style||"solid","border-color":e&&e.color||"#eee","border-radius":o}}var u="";for(var a in t)u+="".concat(a,":").concat(t[a],";");return u}},methods:{uploadFiles:function(e,t){this.$emit("uploadFiles",e)},choose:function(){this.$emit("choose")},delFile:function(e){this.$emit("delFile",e)},prviewImage:function(t,n){var i=[];1===Number(this.limit)&&this.disablePreview&&!this.disabled&&this.$emit("choose"),this.disablePreview||(this.filesList.forEach((function(e){i.push(e.url)})),e.previewImage({urls:i,current:n}))},value2px:function(e){return"number"===typeof e?e+="px":-1===e.indexOf("%")&&(e=-1!==e.indexOf("px")?e:e+"px"),e}}};t.default=n}).call(this,n(2)["default"])},678:function(e,t,n){"use strict";n.r(t);var i=n(679),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=r.a},679:function(e,t,n){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uni-file-picker/components/uni-file-picker/upload-image-create-component',
{
'uni_modules/uni-file-picker/components/uni-file-picker/upload-image-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(666))
__webpack_require__('2')['createComponent'](__webpack_require__(673))
})
},
[['uni_modules/uni-file-picker/components/uni-file-picker/upload-image-create-component']]

File diff suppressed because one or more lines are too long

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-table/components/uni-tr/table-checkbox"],{659:function(e,t,n){"use strict";n.r(t);var i=n(660),c=n(662);for(var r in c)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(r);n(664);var d,u=n(32),o=Object(u["default"])(c["default"],i["render"],i["staticRenderFns"],!1,null,null,null,!1,i["components"],d);o.options.__file="uni_modules/uni-table/components/uni-tr/table-checkbox.vue",t["default"]=o.exports},660:function(e,t,n){"use strict";n.r(t);var i=n(661);n.d(t,"render",(function(){return i["render"]})),n.d(t,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(t,"components",(function(){return i["components"]}))},661:function(e,t,n){"use strict";var i;n.r(t),n.d(t,"render",(function(){return c})),n.d(t,"staticRenderFns",(function(){return d})),n.d(t,"recyclableRender",(function(){return r})),n.d(t,"components",(function(){return i}));var c=function(){var e=this,t=e.$createElement;e._self._c},r=!1,d=[];c._withStripped=!0},662:function(e,t,n){"use strict";n.r(t);var i=n(663),c=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=c.a},663:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"TableCheckbox",emits:["checkboxSelected"],props:{indeterminate:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean,default:!1},index:{type:Number,default:-1},cellData:{type:Object,default:function(){return{}}}},watch:{checked:function(e){"boolean"===typeof this.checked?this.isChecked=e:this.isChecked=!0},indeterminate:function(e){this.isIndeterminate=e}},data:function(){return{isChecked:!1,isDisabled:!1,isIndeterminate:!1}},created:function(){"boolean"===typeof this.checked&&(this.isChecked=this.checked),this.isDisabled=this.disabled},methods:{selected:function(){this.isDisabled||(this.isIndeterminate=!1,this.isChecked=!this.isChecked,this.$emit("checkboxSelected",{checked:this.isChecked,data:this.cellData}))}}};t.default=i},664:function(e,t,n){"use strict";n.r(t);var i=n(665),c=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=c.a},665:function(e,t,n){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-table/components/uni-tr/table-checkbox"],{666:function(e,t,n){"use strict";n.r(t);var i=n(667),c=n(669);for(var r in c)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(r);n(671);var d,u=n(32),o=Object(u["default"])(c["default"],i["render"],i["staticRenderFns"],!1,null,null,null,!1,i["components"],d);o.options.__file="uni_modules/uni-table/components/uni-tr/table-checkbox.vue",t["default"]=o.exports},667:function(e,t,n){"use strict";n.r(t);var i=n(668);n.d(t,"render",(function(){return i["render"]})),n.d(t,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(t,"components",(function(){return i["components"]}))},668:function(e,t,n){"use strict";var i;n.r(t),n.d(t,"render",(function(){return c})),n.d(t,"staticRenderFns",(function(){return d})),n.d(t,"recyclableRender",(function(){return r})),n.d(t,"components",(function(){return i}));var c=function(){var e=this,t=e.$createElement;e._self._c},r=!1,d=[];c._withStripped=!0},669:function(e,t,n){"use strict";n.r(t);var i=n(670),c=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=c.a},670:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"TableCheckbox",emits:["checkboxSelected"],props:{indeterminate:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean,default:!1},index:{type:Number,default:-1},cellData:{type:Object,default:function(){return{}}}},watch:{checked:function(e){"boolean"===typeof this.checked?this.isChecked=e:this.isChecked=!0},indeterminate:function(e){this.isIndeterminate=e}},data:function(){return{isChecked:!1,isDisabled:!1,isIndeterminate:!1}},created:function(){"boolean"===typeof this.checked&&(this.isChecked=this.checked),this.isDisabled=this.disabled},methods:{selected:function(){this.isDisabled||(this.isIndeterminate=!1,this.isChecked=!this.isChecked,this.$emit("checkboxSelected",{checked:this.isChecked,data:this.cellData}))}}};t.default=i},671:function(e,t,n){"use strict";n.r(t);var i=n(672),c=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=c.a},672:function(e,t,n){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-table/components/uni-tr/table-checkbox.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uni-table/components/uni-tr/table-checkbox-create-component',
{
'uni_modules/uni-table/components/uni-tr/table-checkbox-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(659))
__webpack_require__('2')['createComponent'](__webpack_require__(666))
})
},
[['uni_modules/uni-table/components/uni-tr/table-checkbox-create-component']]

@ -1,4 +1,4 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-table/components/uni-tr/uni-tr"],{503:function(t,e,n){"use strict";n.r(e);var r=n(504),i=n(506);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n(508);var u,c=n(32),s=Object(c["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);s.options.__file="uni_modules/uni-table/components/uni-tr/uni-tr.vue",e["default"]=s.exports},504:function(t,e,n){"use strict";n.r(e);var r=n(505);n.d(e,"render",(function(){return r["render"]})),n.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(e,"components",(function(){return r["components"]}))},505:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"render",(function(){return i})),n.d(e,"staticRenderFns",(function(){return u})),n.d(e,"recyclableRender",(function(){return o})),n.d(e,"components",(function(){return r}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=!1,u=[];i._withStripped=!0},506:function(t,e,n){"use strict";n.r(e);var r=n(507),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},507:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){n.e("uni_modules/uni-table/components/uni-tr/table-checkbox").then(function(){return resolve(n(659))}.bind(null,n)).catch(n.oe)},i={name:"uniTr",components:{tableCheckbox:r},props:{disabled:{type:Boolean,default:!1},keyValue:{type:[String,Number],default:""}},options:{virtualHost:!0},data:function(){return{value:!1,border:!1,selection:!1,widthThArr:[],ishead:!0,checked:!1,indeterminate:!1}},created:function(){var t=this;this.root=this.getTable(),this.head=this.getTable("uniThead"),this.head&&(this.ishead=!1,this.head.init(this)),this.border=this.root.border,this.selection=this.root.type,this.root.trChildren.push(this);var e=this.root.data.find((function(e){return e[t.root.rowKey]===t.keyValue}));e&&(this.rowData=e),this.root.isNodata()},mounted:function(){if(this.widthThArr.length>0){var t="selection"===this.selection?50:0;this.root.minWidth=Number(this.widthThArr.reduce((function(t,e){return Number(t)+Number(e)})))+t}},destroyed:function(){var t=this,e=this.root.trChildren.findIndex((function(e){return e===t}));this.root.trChildren.splice(e,1),this.root.isNodata()},methods:{getRow:function(){this.$emit("rowClick")},minWidthUpdate:function(t){if(this.widthThArr.push(t),this.widthThArr.length>0){var e="selection"===this.selection?50:0;this.root.minWidth=Number(this.widthThArr.reduce((function(t,e){return Number(t)+Number(e)})))+e}},checkboxSelected:function(t){var e=this,n=this.root.data.find((function(t){return t[e.root.rowKey]===e.keyValue}));this.checked=t.checked,this.root.check(n||this,t.checked,n?this.keyValue:null)},change:function(t){var e=this;this.root.trChildren.forEach((function(n){n===e&&e.root.check(e,t.detail.value.length>0)}))},getTable:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniTable",e=this.$parent,n=e.$options.name;while(n!==t){if(e=e.$parent,!e)return!1;n=e.$options.name}return e}}};e.default=i},508:function(t,e,n){"use strict";n.r(e);var r=n(509),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},509:function(t,e,n){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-table/components/uni-tr/uni-tr"],{503:function(t,e,n){"use strict";n.r(e);var r=n(504),i=n(506);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n(508);var u,c=n(32),s=Object(c["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);s.options.__file="uni_modules/uni-table/components/uni-tr/uni-tr.vue",e["default"]=s.exports},504:function(t,e,n){"use strict";n.r(e);var r=n(505);n.d(e,"render",(function(){return r["render"]})),n.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(e,"components",(function(){return r["components"]}))},505:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"render",(function(){return i})),n.d(e,"staticRenderFns",(function(){return u})),n.d(e,"recyclableRender",(function(){return o})),n.d(e,"components",(function(){return r}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=!1,u=[];i._withStripped=!0},506:function(t,e,n){"use strict";n.r(e);var r=n(507),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},507:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){n.e("uni_modules/uni-table/components/uni-tr/table-checkbox").then(function(){return resolve(n(666))}.bind(null,n)).catch(n.oe)},i={name:"uniTr",components:{tableCheckbox:r},props:{disabled:{type:Boolean,default:!1},keyValue:{type:[String,Number],default:""}},options:{virtualHost:!0},data:function(){return{value:!1,border:!1,selection:!1,widthThArr:[],ishead:!0,checked:!1,indeterminate:!1}},created:function(){var t=this;this.root=this.getTable(),this.head=this.getTable("uniThead"),this.head&&(this.ishead=!1,this.head.init(this)),this.border=this.root.border,this.selection=this.root.type,this.root.trChildren.push(this);var e=this.root.data.find((function(e){return e[t.root.rowKey]===t.keyValue}));e&&(this.rowData=e),this.root.isNodata()},mounted:function(){if(this.widthThArr.length>0){var t="selection"===this.selection?50:0;this.root.minWidth=Number(this.widthThArr.reduce((function(t,e){return Number(t)+Number(e)})))+t}},destroyed:function(){var t=this,e=this.root.trChildren.findIndex((function(e){return e===t}));this.root.trChildren.splice(e,1),this.root.isNodata()},methods:{getRow:function(){this.$emit("rowClick")},minWidthUpdate:function(t){if(this.widthThArr.push(t),this.widthThArr.length>0){var e="selection"===this.selection?50:0;this.root.minWidth=Number(this.widthThArr.reduce((function(t,e){return Number(t)+Number(e)})))+e}},checkboxSelected:function(t){var e=this,n=this.root.data.find((function(t){return t[e.root.rowKey]===e.keyValue}));this.checked=t.checked,this.root.check(n||this,t.checked,n?this.keyValue:null)},change:function(t){var e=this;this.root.trChildren.forEach((function(n){n===e&&e.root.check(e,t.detail.value.length>0)}))},getTable:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniTable",e=this.$parent,n=e.$options.name;while(n!==t){if(e=e.$parent,!e)return!1;n=e.$options.name}return e}}};e.default=i},508:function(t,e,n){"use strict";n.r(e);var r=n(509),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},509:function(t,e,n){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-table/components/uni-tr/uni-tr.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uni-table/components/uni-tr/uni-tr-create-component',

File diff suppressed because one or more lines are too long

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-icon/u-icon"],{636:function(t,n,e){"use strict";e.r(n);var i=e(637),u=e(639);for(var o in u)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e(643);var r,l=e(32),s=Object(l["default"])(u["default"],i["render"],i["staticRenderFns"],!1,null,"2ee87dc9",null,!1,i["components"],r);s.options.__file="uni_modules/uview-ui/components/u-icon/u-icon.vue",n["default"]=s.exports},637:function(t,n,e){"use strict";e.r(n);var i=e(638);e.d(n,"render",(function(){return i["render"]})),e.d(n,"staticRenderFns",(function(){return i["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return i["recyclableRender"]})),e.d(n,"components",(function(){return i["components"]}))},638:function(t,n,e){"use strict";var i;e.r(n),e.d(n,"render",(function(){return u})),e.d(n,"staticRenderFns",(function(){return r})),e.d(n,"recyclableRender",(function(){return o})),e.d(n,"components",(function(){return i}));var u=function(){var t=this,n=t.$createElement,e=(t._self._c,t.isImg?t.__get_style([t.imgStyle,t.$u.addStyle(t.customStyle)]):null),i=t.isImg?null:t.__get_style([t.iconStyle,t.$u.addStyle(t.customStyle)]),u=""!==t.label?t.$u.addUnit(t.labelSize):null,o=""!==t.label&&"right"==t.labelPos?t.$u.addUnit(t.space):null,r=""!==t.label&&"bottom"==t.labelPos?t.$u.addUnit(t.space):null,l=""!==t.label&&"left"==t.labelPos?t.$u.addUnit(t.space):null,s=""!==t.label&&"top"==t.labelPos?t.$u.addUnit(t.space):null;t.$mp.data=Object.assign({},{$root:{s0:e,s1:i,g0:u,g1:o,g2:r,g3:l,g4:s}})},o=!1,r=[];u._withStripped=!0},639:function(t,n,e){"use strict";e.r(n);var i=e(640),u=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=u.a},640:function(t,n,e){"use strict";(function(t){var i=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=i(e(641)),o=i(e(642)),r={name:"u-icon",data:function(){return{}},mixins:[t.$u.mpMixin,t.$u.mixin,o.default],computed:{uClasses:function(){var n=[];return n.push(this.customPrefix+"-"+this.name),this.color&&t.$u.config.type.includes(this.color)&&n.push("u-icon__icon--"+this.color),n},iconStyle:function(){var n={};return n={fontSize:t.$u.addUnit(this.size),lineHeight:t.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:t.$u.addUnit(this.top)},this.color&&!t.$u.config.type.includes(this.color)&&(n.color=this.color),n},isImg:function(){return-1!==this.name.indexOf("/")},imgStyle:function(){var n={};return n.width=this.width?t.$u.addUnit(this.width):t.$u.addUnit(this.size),n.height=this.height?t.$u.addUnit(this.height):t.$u.addUnit(this.size),n},icon:function(){return u.default["uicon-"+this.name]||this.name}},methods:{clickHandler:function(t){this.$emit("click",this.index),this.stop&&this.preventEvent(t)}}};n.default=r}).call(this,e(2)["default"])},643:function(t,n,e){"use strict";e.r(n);var i=e(644),u=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=u.a},644:function(t,n,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-icon/u-icon"],{643:function(t,n,e){"use strict";e.r(n);var i=e(644),u=e(646);for(var o in u)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e(650);var r,l=e(32),s=Object(l["default"])(u["default"],i["render"],i["staticRenderFns"],!1,null,"2ee87dc9",null,!1,i["components"],r);s.options.__file="uni_modules/uview-ui/components/u-icon/u-icon.vue",n["default"]=s.exports},644:function(t,n,e){"use strict";e.r(n);var i=e(645);e.d(n,"render",(function(){return i["render"]})),e.d(n,"staticRenderFns",(function(){return i["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return i["recyclableRender"]})),e.d(n,"components",(function(){return i["components"]}))},645:function(t,n,e){"use strict";var i;e.r(n),e.d(n,"render",(function(){return u})),e.d(n,"staticRenderFns",(function(){return r})),e.d(n,"recyclableRender",(function(){return o})),e.d(n,"components",(function(){return i}));var u=function(){var t=this,n=t.$createElement,e=(t._self._c,t.isImg?t.__get_style([t.imgStyle,t.$u.addStyle(t.customStyle)]):null),i=t.isImg?null:t.__get_style([t.iconStyle,t.$u.addStyle(t.customStyle)]),u=""!==t.label?t.$u.addUnit(t.labelSize):null,o=""!==t.label&&"right"==t.labelPos?t.$u.addUnit(t.space):null,r=""!==t.label&&"bottom"==t.labelPos?t.$u.addUnit(t.space):null,l=""!==t.label&&"left"==t.labelPos?t.$u.addUnit(t.space):null,s=""!==t.label&&"top"==t.labelPos?t.$u.addUnit(t.space):null;t.$mp.data=Object.assign({},{$root:{s0:e,s1:i,g0:u,g1:o,g2:r,g3:l,g4:s}})},o=!1,r=[];u._withStripped=!0},646:function(t,n,e){"use strict";e.r(n);var i=e(647),u=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=u.a},647:function(t,n,e){"use strict";(function(t){var i=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=i(e(648)),o=i(e(649)),r={name:"u-icon",data:function(){return{}},mixins:[t.$u.mpMixin,t.$u.mixin,o.default],computed:{uClasses:function(){var n=[];return n.push(this.customPrefix+"-"+this.name),this.color&&t.$u.config.type.includes(this.color)&&n.push("u-icon__icon--"+this.color),n},iconStyle:function(){var n={};return n={fontSize:t.$u.addUnit(this.size),lineHeight:t.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:t.$u.addUnit(this.top)},this.color&&!t.$u.config.type.includes(this.color)&&(n.color=this.color),n},isImg:function(){return-1!==this.name.indexOf("/")},imgStyle:function(){var n={};return n.width=this.width?t.$u.addUnit(this.width):t.$u.addUnit(this.size),n.height=this.height?t.$u.addUnit(this.height):t.$u.addUnit(this.size),n},icon:function(){return u.default["uicon-"+this.name]||this.name}},methods:{clickHandler:function(t){this.$emit("click",this.index),this.stop&&this.preventEvent(t)}}};n.default=r}).call(this,e(2)["default"])},650:function(t,n,e){"use strict";e.r(n);var i=e(651),u=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=u.a},651:function(t,n,e){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uview-ui/components/u-icon/u-icon-create-component',
{
'uni_modules/uview-ui/components/u-icon/u-icon-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(636))
__webpack_require__('2')['createComponent'](__webpack_require__(643))
})
},
[['uni_modules/uview-ui/components/u-icon/u-icon-create-component']]

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-overlay/u-overlay"],{610:function(n,e,t){"use strict";t.r(e);var r=t(611),o=t(613);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);t(616);var i,c=t(32),a=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"1625041b",null,!1,r["components"],i);a.options.__file="uni_modules/uview-ui/components/u-overlay/u-overlay.vue",e["default"]=a.exports},611:function(n,e,t){"use strict";t.r(e);var r=t(612);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},612:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return o})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return u})),t.d(e,"components",(function(){return r}));try{r={uTransition:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-transition/u-transition")]).then(t.bind(null,618))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var n=this,e=n.$createElement;n._self._c},u=!1,i=[];o._withStripped=!0},613:function(n,e,t){"use strict";t.r(e);var r=t(614),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=o.a},614:function(n,e,t){"use strict";(function(n){var r=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(t(615)),u={name:"u-overlay",mixins:[n.$u.mpMixin,n.$u.mixin,o.default],computed:{overlayStyle:function(){var e={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":"rgba(0, 0, 0, ".concat(this.opacity,")")};return n.$u.deepMerge(e,n.$u.addStyle(this.customStyle))}},methods:{clickHandler:function(){this.$emit("click")}}};e.default=u}).call(this,t(2)["default"])},616:function(n,e,t){"use strict";t.r(e);var r=t(617),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=o.a},617:function(n,e,t){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-overlay/u-overlay"],{617:function(n,e,t){"use strict";t.r(e);var r=t(618),o=t(620);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);t(623);var i,c=t(32),a=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"1625041b",null,!1,r["components"],i);a.options.__file="uni_modules/uview-ui/components/u-overlay/u-overlay.vue",e["default"]=a.exports},618:function(n,e,t){"use strict";t.r(e);var r=t(619);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},619:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return o})),t.d(e,"staticRenderFns",(function(){return i})),t.d(e,"recyclableRender",(function(){return u})),t.d(e,"components",(function(){return r}));try{r={uTransition:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-transition/u-transition")]).then(t.bind(null,625))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var n=this,e=n.$createElement;n._self._c},u=!1,i=[];o._withStripped=!0},620:function(n,e,t){"use strict";t.r(e);var r=t(621),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=o.a},621:function(n,e,t){"use strict";(function(n){var r=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(t(622)),u={name:"u-overlay",mixins:[n.$u.mpMixin,n.$u.mixin,o.default],computed:{overlayStyle:function(){var e={position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":"rgba(0, 0, 0, ".concat(this.opacity,")")};return n.$u.deepMerge(e,n.$u.addStyle(this.customStyle))}},methods:{clickHandler:function(){this.$emit("click")}}};e.default=u}).call(this,t(2)["default"])},623:function(n,e,t){"use strict";t.r(e);var r=t(624),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=o.a},624:function(n,e,t){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-overlay/u-overlay.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uview-ui/components/u-overlay/u-overlay-create-component',
{
'uni_modules/uview-ui/components/u-overlay/u-overlay-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(610))
__webpack_require__('2')['createComponent'](__webpack_require__(617))
})
},
[['uni_modules/uview-ui/components/u-overlay/u-overlay-create-component']]

File diff suppressed because one or more lines are too long

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom"],{645:function(e,n,t){"use strict";t.r(n);var u=t(646),r=t(648);for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(o);t(651);var i,c=t(32),a=Object(c["default"])(r["default"],u["render"],u["staticRenderFns"],!1,null,"40b3d0de",null,!1,u["components"],i);a.options.__file="uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue",n["default"]=a.exports},646:function(e,n,t){"use strict";t.r(n);var u=t(647);t.d(n,"render",(function(){return u["render"]})),t.d(n,"staticRenderFns",(function(){return u["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return u["recyclableRender"]})),t.d(n,"components",(function(){return u["components"]}))},647:function(e,n,t){"use strict";var u;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return o})),t.d(n,"components",(function(){return u}));var r=function(){var e=this,n=e.$createElement,t=(e._self._c,e.__get_style([e.style]));e.$mp.data=Object.assign({},{$root:{s0:t}})},o=!1,i=[];r._withStripped=!0},648:function(e,n,t){"use strict";t.r(n);var u=t(649),r=t.n(u);for(var o in u)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(o);n["default"]=r.a},649:function(e,n,t){"use strict";(function(e){var u=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=u(t(650)),o={name:"u-safe-bottom",mixins:[e.$u.mpMixin,e.$u.mixin,r.default],data:function(){return{safeAreaBottomHeight:0,isNvue:!1}},computed:{style:function(){var n={};return e.$u.deepMerge(n,e.$u.addStyle(this.customStyle))}},mounted:function(){}};n.default=o}).call(this,t(2)["default"])},651:function(e,n,t){"use strict";t.r(n);var u=t(652),r=t.n(u);for(var o in u)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(o);n["default"]=r.a},652:function(e,n,t){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom"],{652:function(e,n,t){"use strict";t.r(n);var u=t(653),r=t(655);for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(o);t(658);var i,c=t(32),a=Object(c["default"])(r["default"],u["render"],u["staticRenderFns"],!1,null,"40b3d0de",null,!1,u["components"],i);a.options.__file="uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.vue",n["default"]=a.exports},653:function(e,n,t){"use strict";t.r(n);var u=t(654);t.d(n,"render",(function(){return u["render"]})),t.d(n,"staticRenderFns",(function(){return u["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return u["recyclableRender"]})),t.d(n,"components",(function(){return u["components"]}))},654:function(e,n,t){"use strict";var u;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return o})),t.d(n,"components",(function(){return u}));var r=function(){var e=this,n=e.$createElement,t=(e._self._c,e.__get_style([e.style]));e.$mp.data=Object.assign({},{$root:{s0:t}})},o=!1,i=[];r._withStripped=!0},655:function(e,n,t){"use strict";t.r(n);var u=t(656),r=t.n(u);for(var o in u)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(o);n["default"]=r.a},656:function(e,n,t){"use strict";(function(e){var u=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=u(t(657)),o={name:"u-safe-bottom",mixins:[e.$u.mpMixin,e.$u.mixin,r.default],data:function(){return{safeAreaBottomHeight:0,isNvue:!1}},computed:{style:function(){var n={};return e.$u.deepMerge(n,e.$u.addStyle(this.customStyle))}},mounted:function(){}};n.default=o}).call(this,t(2)["default"])},658:function(e,n,t){"use strict";t.r(n);var u=t(659),r=t.n(u);for(var o in u)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(o);n["default"]=r.a},659:function(e,n,t){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom-create-component',
{
'uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(645))
__webpack_require__('2')['createComponent'](__webpack_require__(652))
})
},
[['uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom-create-component']]

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-status-bar/u-status-bar"],{628:function(t,n,e){"use strict";e.r(n);var u=e(629),r=e(631);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);e(634);var a,o=e(32),s=Object(o["default"])(r["default"],u["render"],u["staticRenderFns"],!1,null,"124d52a9",null,!1,u["components"],a);s.options.__file="uni_modules/uview-ui/components/u-status-bar/u-status-bar.vue",n["default"]=s.exports},629:function(t,n,e){"use strict";e.r(n);var u=e(630);e.d(n,"render",(function(){return u["render"]})),e.d(n,"staticRenderFns",(function(){return u["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return u["recyclableRender"]})),e.d(n,"components",(function(){return u["components"]}))},630:function(t,n,e){"use strict";var u;e.r(n),e.d(n,"render",(function(){return r})),e.d(n,"staticRenderFns",(function(){return a})),e.d(n,"recyclableRender",(function(){return i})),e.d(n,"components",(function(){return u}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__get_style([t.style]));t.$mp.data=Object.assign({},{$root:{s0:e}})},i=!1,a=[];r._withStripped=!0},631:function(t,n,e){"use strict";e.r(n);var u=e(632),r=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=r.a},632:function(t,n,e){"use strict";(function(t){var u=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=u(e(633)),i={name:"u-status-bar",mixins:[t.$u.mpMixin,t.$u.mixin,r.default],data:function(){return{}},computed:{style:function(){var n={};return n.height=t.$u.addUnit(t.$u.sys().statusBarHeight,"px"),n.backgroundColor=this.bgColor,t.$u.deepMerge(n,t.$u.addStyle(this.customStyle))}}};n.default=i}).call(this,e(2)["default"])},634:function(t,n,e){"use strict";e.r(n);var u=e(635),r=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=r.a},635:function(t,n,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-status-bar/u-status-bar"],{635:function(t,n,e){"use strict";e.r(n);var u=e(636),r=e(638);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);e(641);var a,o=e(32),s=Object(o["default"])(r["default"],u["render"],u["staticRenderFns"],!1,null,"124d52a9",null,!1,u["components"],a);s.options.__file="uni_modules/uview-ui/components/u-status-bar/u-status-bar.vue",n["default"]=s.exports},636:function(t,n,e){"use strict";e.r(n);var u=e(637);e.d(n,"render",(function(){return u["render"]})),e.d(n,"staticRenderFns",(function(){return u["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return u["recyclableRender"]})),e.d(n,"components",(function(){return u["components"]}))},637:function(t,n,e){"use strict";var u;e.r(n),e.d(n,"render",(function(){return r})),e.d(n,"staticRenderFns",(function(){return a})),e.d(n,"recyclableRender",(function(){return i})),e.d(n,"components",(function(){return u}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__get_style([t.style]));t.$mp.data=Object.assign({},{$root:{s0:e}})},i=!1,a=[];r._withStripped=!0},638:function(t,n,e){"use strict";e.r(n);var u=e(639),r=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=r.a},639:function(t,n,e){"use strict";(function(t){var u=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=u(e(640)),i={name:"u-status-bar",mixins:[t.$u.mpMixin,t.$u.mixin,r.default],data:function(){return{}},computed:{style:function(){var n={};return n.height=t.$u.addUnit(t.$u.sys().statusBarHeight,"px"),n.backgroundColor=this.bgColor,t.$u.deepMerge(n,t.$u.addStyle(this.customStyle))}}};n.default=i}).call(this,e(2)["default"])},641:function(t,n,e){"use strict";e.r(n);var u=e(642),r=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=r.a},642:function(t,n,e){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-status-bar/u-status-bar.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uview-ui/components/u-status-bar/u-status-bar-create-component',
{
'uni_modules/uview-ui/components/u-status-bar/u-status-bar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(628))
__webpack_require__('2')['createComponent'](__webpack_require__(635))
})
},
[['uni_modules/uview-ui/components/u-status-bar/u-status-bar-create-component']]

@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-transition/u-transition"],{618:function(t,n,e){"use strict";e.r(n);var r=e(619),i=e(621);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e(626);var o,c=e(32),a=Object(c["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,"8e60ec6e",null,!1,r["components"],o);a.options.__file="uni_modules/uview-ui/components/u-transition/u-transition.vue",n["default"]=a.exports},619:function(t,n,e){"use strict";e.r(n);var r=e(620);e.d(n,"render",(function(){return r["render"]})),e.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(n,"components",(function(){return r["components"]}))},620:function(t,n,e){"use strict";var r;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return o})),e.d(n,"recyclableRender",(function(){return u})),e.d(n,"components",(function(){return r}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.inited?t.__get_style([t.mergeStyle]):null);t.$mp.data=Object.assign({},{$root:{s0:e}})},u=!1,o=[];i._withStripped=!0},621:function(t,n,e){"use strict";e.r(n);var r=e(622),i=e.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(u);n["default"]=i.a},622:function(t,n,e){"use strict";(function(t){var r=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(11)),u=r(e(623)),o=r(e(624));function c(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?c(Object(e),!0).forEach((function(n){(0,i.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var s={name:"u-transition",data:function(){return{inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}},computed:{mergeStyle:function(){var n=this.viewStyle,e=this.customStyle;return a(a({transitionDuration:"".concat(this.duration,"ms"),transitionTimingFunction:this.timingFunction},t.$u.addStyle(e)),n)}},mixins:[t.$u.mpMixin,t.$u.mixin,o.default,u.default],watch:{show:{handler:function(t){t?this.vueEnter():this.vueLeave()},immediate:!0}}};n.default=s}).call(this,e(2)["default"])},626:function(t,n,e){"use strict";e.r(n);var r=e(627),i=e.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(u);n["default"]=i.a},627:function(t,n,e){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-transition/u-transition"],{625:function(t,n,e){"use strict";e.r(n);var r=e(626),i=e(628);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e(633);var o,c=e(32),a=Object(c["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,"8e60ec6e",null,!1,r["components"],o);a.options.__file="uni_modules/uview-ui/components/u-transition/u-transition.vue",n["default"]=a.exports},626:function(t,n,e){"use strict";e.r(n);var r=e(627);e.d(n,"render",(function(){return r["render"]})),e.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(n,"components",(function(){return r["components"]}))},627:function(t,n,e){"use strict";var r;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return o})),e.d(n,"recyclableRender",(function(){return u})),e.d(n,"components",(function(){return r}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.inited?t.__get_style([t.mergeStyle]):null);t.$mp.data=Object.assign({},{$root:{s0:e}})},u=!1,o=[];i._withStripped=!0},628:function(t,n,e){"use strict";e.r(n);var r=e(629),i=e.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(u);n["default"]=i.a},629:function(t,n,e){"use strict";(function(t){var r=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(11)),u=r(e(630)),o=r(e(631));function c(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?c(Object(e),!0).forEach((function(n){(0,i.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var s={name:"u-transition",data:function(){return{inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}},computed:{mergeStyle:function(){var n=this.viewStyle,e=this.customStyle;return a(a({transitionDuration:"".concat(this.duration,"ms"),transitionTimingFunction:this.timingFunction},t.$u.addStyle(e)),n)}},mixins:[t.$u.mpMixin,t.$u.mixin,o.default,u.default],watch:{show:{handler:function(t){t?this.vueEnter():this.vueLeave()},immediate:!0}}};n.default=s}).call(this,e(2)["default"])},633:function(t,n,e){"use strict";e.r(n);var r=e(634),i=e.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(u);n["default"]=i.a},634:function(t,n,e){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-transition/u-transition.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uview-ui/components/u-transition/u-transition-create-component',
{
'uni_modules/uview-ui/components/u-transition/u-transition-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(618))
__webpack_require__('2')['createComponent'](__webpack_require__(625))
})
},
[['uni_modules/uview-ui/components/u-transition/u-transition-create-component']]

Loading…
Cancel
Save