|
|
|
@ -4,161 +4,168 @@ |
|
|
|
<div class="card"> |
|
|
|
<div class="report" :style="style"> |
|
|
|
<!-- 01 --> |
|
|
|
<view class="export"> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" :src="configList.report_page_01" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 02 --> |
|
|
|
<view class="export"> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" :src="configList.report_page_02" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 03 --> |
|
|
|
<view class="export"> |
|
|
|
<div class="export"> |
|
|
|
<img class="img" :src="configList.report_page_03" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 122rpx; left: 144rpx; width: 132rpx; height: 165rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<div class="text" style="top: 128rpx; left: 330rpx;">姓名</div> |
|
|
|
<div class="text" style="top: 128rpx; left: 476rpx;">性别</div> |
|
|
|
<div class="text" style="top: 192rpx; left: 330rpx;">年龄</div> |
|
|
|
<div class="text" style="top: 192rpx; left: 476rpx;">学段</div> |
|
|
|
<div class="text" style="top: 256rpx; left: 330rpx;">学校</div> |
|
|
|
<div class="text" style="top: 300rpx; left: 190rpx;">城市</div> |
|
|
|
<div class="text" style="top: 344rpx; left: 220rpx;">出勤情况</div> |
|
|
|
</view> |
|
|
|
<img class="img fg" style="top: 76rpx; left: 90rpx; width: 82rpx; height: 104rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<div class="text" style="top: 76rpx; left: 206rpx;">姓名</div> |
|
|
|
<div class="text" style="top: 76rpx; left: 298rpx;">性别</div> |
|
|
|
<div class="text" style="top: 116rpx; left: 206rpx;">年龄</div> |
|
|
|
<div class="text" style="top: 116rpx; left: 298rpx;">学段</div> |
|
|
|
<div class="text" style="top: 156rpx; left: 206rpx;">学校</div> |
|
|
|
<div class="text" style="top: 180rpx; left: 118rpx;">城市</div> |
|
|
|
<div class="text" style="top: 208rpx; left: 138rpx;">出勤情况</div> |
|
|
|
</div> |
|
|
|
<!-- 04 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: 112rpx; left: 193rpx; width: 414rpx; height: 246rpx; border-radius: 12rpx; overflow: hidden;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 70rpx; left: 120rpx; width: 258rpx; height: 154rpx; border-radius: 8rpx; overflow: hidden;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_04" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 05 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: 344rpx; left: 100rpx; width: 96rpx; height: 96rpx; transform: rotate(14deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 278rpx; left: 20rpx; width: 96rpx; height: 96rpx; transform: rotate(-7deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 49rpx; left: 92rpx; width: 118rpx; height: 118rpx; transform: rotate(15deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 134rpx; left: 138rpx; width: 118rpx; height: 118rpx; transform: rotate(-6deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 194rpx; left: 316rpx; width: 134rpx; height: 134rpx; transform: rotate(-14deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 280rpx; left: 430rpx; width: 134rpx; height: 134rpx; transform: rotate(14deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 40rpx; left: unset; right: -38rpx; width: 213rpx; height: 213rpx; transform: rotate(14deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 216rpx; left: 62rpx; width: 60rpx; height: 60rpx; transform: rotate(14deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 170rpx; left: 12rpx; width: 60rpx; height: 60rpx; transform: rotate(-7deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 30rpx; left: 56rpx; width: 74rpx; height: 74rpx; transform: rotate(15deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 80rpx; left: 84rpx; width: 74rpx; height: 74rpx; transform: rotate(-6deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 120rpx; left: 196rpx; width: 84rpx; height: 84rpx; transform: rotate(-14deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 174rpx; left: 262rpx; width: 84rpx; height: 84rpx; transform: rotate(14deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 26rpx; left: unset; right: -24rpx; width: 134rpx; height: 134rpx; transform: rotate(14deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_05" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
<div class="text text-5" style="top: 228rpx; left: 6rpx; transform: rotate(-7deg);">标签1</div> |
|
|
|
<div class="text text-5" style="top: 160rpx; left: 136rpx; transform: rotate(7deg);">标签2</div> |
|
|
|
<div class="text text-5" style="top: 266rpx; left: 318rpx; transform: rotate(7deg);">标签3</div> |
|
|
|
<div class="text text-5" style="top: 42rpx; left: unset; right: 100rpx; transform: rotate(-7deg);">标签4</div> |
|
|
|
</div> |
|
|
|
<!-- 06 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: 190rpx; left: 146rpx; width: 126rpx; height: 80rpx; transform: skew(50deg, -34deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 176rpx; left: 390rpx; width: 110rpx; height: 96rpx; transform: skew(50deg, 317deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 120rpx; left: 276rpx; width: 110rpx; height: 74rpx; transform: skew(50deg, -34deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 280rpx; left: 260rpx; width: 148rpx; height: 96rpx; transform: skew(54deg, 324deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 118rpx; left: 92rpx; width: 78rpx; height: 50rpx; transform: skew(50deg, -34deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 110rpx; left: 244rpx; width: 68rpx; height: 60rpx; transform: skew(50deg, 317deg);" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 76rpx; left: 173rpx; width: 68rpx; height: 46rpx; transform: skew(50deg, -34deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 176rpx; left: 162rpx; width: 92rpx; height: 60rpx; transform: skew(54deg, 324deg);" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_06" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 07 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: 86rpx; left: 168rpx; width: 154rpx; height: 118rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 86rpx; left: 326rpx; width: 154rpx; height: 118rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 86rpx; left: 478rpx; width: 154rpx; height: 118rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 244rpx; left: 138rpx; width: 226rpx; height: 154rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 244rpx; left: 402rpx; width: 226rpx; height: 154rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 54rpx; left: 106rpx; width: 96rpx; height: 74rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 54rpx; left: 204rpx; width: 96rpx; height: 74rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 54rpx; left: 300rpx; width: 96rpx; height: 74rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 152rpx; left: 84rpx; width: 142rpx; height: 96rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 152rpx; left: 250rpx; width: 142rpx; height: 96rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_07" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 08 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: 76rpx; left: 112rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 194rpx; left: 112rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 76rpx; left: 242rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 194rpx; left: 242rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 312rpx; left: 242rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 138rpx; left: 372rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 258rpx; left: 372rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 194rpx; left: 504rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 312rpx; left: 504rpx; width: 110rpx; height: 110rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 46rpx; left: 68rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 118rpx; left: 68rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 46rpx; left: 148rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 118rpx; left: 148rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 192rpx; left: 148rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 86rpx; left: 228rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 158rpx; left: 228rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 118rpx; left: 310rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 192rpx; left: 310rpx; width: 70rpx; height: 70rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_08" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 09 --> |
|
|
|
<view class="export"> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 0; left: unset; right: 0; width: auto; height: 100%;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="width: 260rpx; height: 180rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="width: 162rpx; height: 112rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img img-08 fg" :src="configList.report_page_09" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 10 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: 126rpx; left: 106rpx; width: 158rpx; height: 106rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 132rpx; left: 450rpx; width: 148rpx; height: 100rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 132rpx; left: 604rpx; width: 90rpx; height: 100rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 238rpx; left: 54rpx; width: 210rpx; height: 140rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 242rpx; left: 450rpx; width: 122rpx; height: 80rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 242rpx; left: 576rpx; width: 120rpx; height: 200rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 326rpx; left: 270rpx; width: 156rpx; height: 106rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 68rpx; left: 274rpx; width: 170rpx; height: 256rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 78rpx; left: 64rpx; width: 98rpx; height: 66rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 80rpx; left: 276rpx; width: 94rpx; height: 64rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 80rpx; left: 372rpx; width: 56rpx; height: 62rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 148rpx; left: 32rpx; width: 132rpx; height: 88rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 148rpx; left: 276rpx; width: 76rpx; height: 50rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 148rpx; left: 356rpx; width: 75rpx; height: 125rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 202rpx; left: 166rpx; width: 98rpx; height: 66rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 42rpx; left: 166rpx; width: 108rpx; height: 160rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_10" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 11 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: unset; bottom: 268rpx; left: 54rpx; width: 118rpx; height: 80rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: unset; bottom: 268rpx; left: 180rpx; width: 78rpx; height: 110rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: unset; bottom: 268rpx; left: 262rpx; width: 210rpx; height: 160rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 240rpx; left: 54rpx; width: 170rpx; height: 142rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 240rpx; left: 380rpx; width: 118rpx; height: 80rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: unset; bottom: 164rpx; left: 34rpx; width: 74rpx; height: 50rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: unset; bottom: 164rpx; left: 112rpx; width: 48rpx; height: 70rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: unset; bottom: 164rpx; left: 164rpx; width: 135rpx; height: 100rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 148rpx; left: 34rpx; width: 106rpx; height: 88rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 148rpx; left: 232rpx; width: 74rpx; height: 50rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_11" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 12 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: 130rpx; left: 122rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 130rpx; left: 224rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 130rpx; left: 328rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 130rpx; left: 432rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 130rpx; left: 536rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 264rpx; left: 122rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 264rpx; left: 224rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 264rpx; left: 328rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 264rpx; left: 432rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 264rpx; left: 536rpx; width: 80rpx; height: 100rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 82rpx; left: 76rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 82rpx; left: 140rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 82rpx; left: 206rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 82rpx; left: 270rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 82rpx; left: 336rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 166rpx; left: 76rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 166rpx; left: 140rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 166rpx; left: 206rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 166rpx; left: 270rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" style="top: 166rpx; left: 336rpx; width: 50rpx; height: 62rpx;" src="@/static/image/temp-14.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_12" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 13 --> |
|
|
|
<view class="export"> |
|
|
|
<div class="export"> |
|
|
|
<img class="img" :src="configList.report_page_13" crossorigin=“anonymous /> |
|
|
|
<div class="text text-12" style="top: 134rpx; left: 160rpx;">技能01</div> |
|
|
|
<div class="text text-12" style="top: 134rpx; left: 260rpx;">技能01描述</div> |
|
|
|
<div class="text text-12" style="top: 182rpx; left: 160rpx;">技能02</div> |
|
|
|
<div class="text text-12" style="top: 182rpx; left: 260rpx;">技能02描述</div> |
|
|
|
<div class="text text-12" style="top: 232rpx; left: 160rpx;">技能03</div> |
|
|
|
<div class="text text-12" style="top: 232rpx; left: 260rpx;">技能03描述</div> |
|
|
|
<div class="text text-12" style="top: 282rpx; left: 160rpx;">技能04</div> |
|
|
|
<div class="text text-12" style="top: 282rpx; left: 260rpx;">技能04描述</div> |
|
|
|
<div class="text text-12" style="top: 330rpx; left: 160rpx;">技能05</div> |
|
|
|
<div class="text text-12" style="top: 330rpx; left: 260rpx;">技能05描述</div> |
|
|
|
</view> |
|
|
|
<div class="text text-12" style="top: 84rpx; left: 100rpx;">技能01</div> |
|
|
|
<progressSegment class="progress" style="top: 80rpx; left: 162rpx;" :value="20"></progressSegment> |
|
|
|
<div class="text text-12" style="top: 114rpx; left: 100rpx;">技能02</div> |
|
|
|
<progressSegment class="progress" style="top: 112rpx; left: 162rpx;" :value="40"></progressSegment> |
|
|
|
<div class="text text-12" style="top: 146rpx; left: 100rpx;">技能03</div> |
|
|
|
<progressSegment class="progress" style="top: 144rpx; left: 162rpx;" :value="60"></progressSegment> |
|
|
|
<div class="text text-12" style="top: 176rpx; left: 100rpx;">技能04</div> |
|
|
|
<progressSegment class="progress" style="top: 174rpx; left: 162rpx;" :value="80"></progressSegment> |
|
|
|
<div class="text text-12" style="top: 206rpx; left: 100rpx;">技能05</div> |
|
|
|
<progressSegment class="progress" style="top: 204rpx; left: 162rpx;" :value="100"></progressSegment> |
|
|
|
</div> |
|
|
|
<!-- 14 --> |
|
|
|
<view class="export"> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" :src="configList.report_page_14" crossorigin=“anonymous /> |
|
|
|
<div class="text text-13" style="top: 150rpx; left: 116rpx;">同学寄语同学寄语同学寄语同学寄语同学寄语同学寄语同学寄语同学寄语</div> |
|
|
|
<div class="text text-13" style="top: 260rpx; left: 400rpx;">导师寄语导师寄语导师寄语导师寄语导师寄语导师寄语导师寄语导师寄语导师寄语</div> |
|
|
|
</view> |
|
|
|
<div class="text text-13" style="top: 94rpx; left: 74rpx;">同学寄语同学寄语同学寄语同学寄语同学寄语同学寄语同学寄语同学寄语</div> |
|
|
|
<div class="text text-13" style="top: 162rpx; left: 248rpx;">导师寄语导师寄语导师寄语导师寄语导师寄语导师寄语导师寄语导师寄语导师寄语</div> |
|
|
|
</div> |
|
|
|
<!-- 15 --> |
|
|
|
<view class="export"> |
|
|
|
<img class="img fg" style="top: 46rpx; left: unset; right: 30rpx; width: 506rpx; height: 390rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" style="top: 28rpx; left: unset; right: 18rpx; width: 316rpx; height: 244rpx;" src="@/static/image/temp-20.png" crossorigin=“anonymous /> |
|
|
|
<img class="img fg" :src="configList.report_page_15" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
<!-- 00 --> |
|
|
|
<view class="export"> |
|
|
|
<div class="export"> |
|
|
|
<img class="img fg" :src="configList.report_page_00" crossorigin=“anonymous /> |
|
|
|
</view> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<img v-if="current > 0" class="img turn left" src="@/static/image/icon-left.png" @click="prev" /> |
|
|
|
<img v-if="current < 15" class="img turn right" src="@/static/image/icon-right.png" @click="next" /> |
|
|
|
|
|
|
|
<div class="flex bottom"> |
|
|
|
<button class="btn" @click="createPdf">生成pdf</button> |
|
|
|
</div> |
|
|
|
<!-- <img v-if="current > 0" class="img turn left" src="@/static/image/icon-left.png" @click="prev" /> |
|
|
|
<img v-if="current < 15" class="img turn right" src="@/static/image/icon-right.png" @click="next" /> --> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import html2canvas from 'html2canvas' |
|
|
|
// import html2canvas from 'html2canvas' |
|
|
|
import html2canvas from '@wtto00/html2canvas' |
|
|
|
import { jsPDF } from "jspdf"; |
|
|
|
|
|
|
|
import progressSegment from '@/components/progressSegment.vue'; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
progressSegment, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
mode: null, |
|
|
|
id: null, |
|
|
|
details: {}, |
|
|
|
current: 0, |
|
|
|
@ -166,8 +173,7 @@ |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
style() { |
|
|
|
|
|
|
|
return `transform: translateX(calc(-${this.current}*(100vw - 24rpx * 2)))` |
|
|
|
// return `transform: translateX(calc(-${this.current}*(100vh * 841.89 / 595.28)))` |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(arg) { |
|
|
|
@ -178,15 +184,24 @@ |
|
|
|
}); |
|
|
|
}) |
|
|
|
|
|
|
|
const { id, token } = arg |
|
|
|
const { id, mode, token } = arg |
|
|
|
token && uni.setStorageSync('token', token) |
|
|
|
this.id = id |
|
|
|
this.mode = mode |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.getData(this.id) |
|
|
|
async mounted() { |
|
|
|
await this.getData(this.id) |
|
|
|
console.log('mode', this.mode) |
|
|
|
|
|
|
|
if (this.mode === 'export') { |
|
|
|
// todo: await load image |
|
|
|
setTimeout(() => { |
|
|
|
this.createPdf() |
|
|
|
}, 3000) |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getData(id) { |
|
|
|
async getData(id) { |
|
|
|
// todo |
|
|
|
}, |
|
|
|
prev() { |
|
|
|
@ -253,11 +268,14 @@ |
|
|
|
// 将 PDF 文件转换为 Blob 对象 |
|
|
|
const pdfBlob = PDF.output('blob'); |
|
|
|
return this.upload(pdfBlob) |
|
|
|
}).then(url => { |
|
|
|
}).then(pdfUrl => { |
|
|
|
this.$jWeixin.miniProgram.postMessage({ |
|
|
|
data: url |
|
|
|
data: pdfUrl |
|
|
|
}); |
|
|
|
this.$jWeixin.miniProgram.navigateBack() |
|
|
|
// this.$jWeixin.miniProgram.navigateBack() |
|
|
|
this.$jWeixin.miniProgram.redirectTo({ |
|
|
|
url: `/pages_order/growing/activity/applyEmail?id=${this.id}&pdfUrl=${pdfUrl}` |
|
|
|
}) |
|
|
|
}).catch(err => { |
|
|
|
console.log('err', err) |
|
|
|
}).finally(() => { |
|
|
|
@ -272,8 +290,10 @@ |
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|
|
|
$pages: 16; |
|
|
|
$w: calc(100vw - 24rpx * 2); |
|
|
|
$h: calc(#{$w} / 841.89 * 595.28); |
|
|
|
// $w: calc(100vw - 24rpx * 2); |
|
|
|
// $h: calc(#{$w} / 841.89 * 595.28); |
|
|
|
$h: 100vh; |
|
|
|
$w: calc(#{$h} * 841.89 / 595.28); |
|
|
|
|
|
|
|
.page__view { |
|
|
|
width: 100vw; |
|
|
|
@ -287,20 +307,26 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.card { |
|
|
|
position: absolute; |
|
|
|
top: 50vh; |
|
|
|
transform: translateY(-50%); |
|
|
|
width: $w; |
|
|
|
margin: 0 24rpx; |
|
|
|
padding: 250rpx 0; |
|
|
|
overflow: hidden; |
|
|
|
background: #FFFFFF; |
|
|
|
// padding: 0 calc((100vw - #{$w}) / 2); |
|
|
|
overflow-x: auto; |
|
|
|
|
|
|
|
// position: absolute; |
|
|
|
// top: 50vh; |
|
|
|
// transform: translateY(-50%); |
|
|
|
// width: $w; |
|
|
|
// margin: 0 24rpx; |
|
|
|
// padding: 250rpx 0; |
|
|
|
// overflow: hidden; |
|
|
|
// background: #FFFFFF; |
|
|
|
} |
|
|
|
|
|
|
|
.report { |
|
|
|
width: calc(#{$pages}*#{$w}); |
|
|
|
height: auto; |
|
|
|
overflow-x: visible; |
|
|
|
height: 100vh; |
|
|
|
// overflow-x: visible; |
|
|
|
padding: 0 calc((100vw - #{$w}) / 2); |
|
|
|
// overflow-x: auto; |
|
|
|
overflow-y: hidden; |
|
|
|
} |
|
|
|
|
|
|
|
.export { |
|
|
|
@ -321,6 +347,7 @@ |
|
|
|
display: block; |
|
|
|
width: $w; |
|
|
|
height: auto; |
|
|
|
object-fit: cover; |
|
|
|
|
|
|
|
&-08 { |
|
|
|
width: auto; |
|
|
|
@ -330,23 +357,33 @@ |
|
|
|
|
|
|
|
.text { |
|
|
|
position: absolute; |
|
|
|
font-size: 20rpx; |
|
|
|
font-size: 16rpx; |
|
|
|
font-weight: 600; |
|
|
|
color: #FFFFFF; |
|
|
|
|
|
|
|
&-5 { |
|
|
|
font-size: 8rpx; |
|
|
|
color: #000000; |
|
|
|
} |
|
|
|
|
|
|
|
&-12 { |
|
|
|
font-size: 14rpx; |
|
|
|
font-size: 8rpx; |
|
|
|
color: #000000; |
|
|
|
} |
|
|
|
|
|
|
|
&-13 { |
|
|
|
width: 206rpx; |
|
|
|
width: 118rpx; |
|
|
|
white-space: pre-wrap; |
|
|
|
font-size: 14rpx; |
|
|
|
font-size: 8rpx; |
|
|
|
color: #000000; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.progress { |
|
|
|
position: absolute; |
|
|
|
width: 200rpx; |
|
|
|
} |
|
|
|
|
|
|
|
// .export__view { |
|
|
|
// position: fixed; |
|
|
|
// top: 100vh; |
|
|
|
|