Commit aa962f44 authored by youjie's avatar youjie

no message

parent e7c79752
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
.orcodeBox{ .orcodeBox{
background: #fff; background: #fff;
border-radius: 8rpx; border-radius: 8rpx;
position: relative;
z-index: 2;
} }
.Title{ .Title{
...@@ -33,7 +35,13 @@ ...@@ -33,7 +35,13 @@
margin-top: 40rpx; margin-top: 40rpx;
margin-bottom: 0; margin-bottom: 0;
} }
.sty-box {
width: 750px;
height: 1344px;
position: absolute;
top: -2000px;
left: -1500px;
}
</style> </style>
<template> <template>
<u-popup mode="center" border-radius="20" <u-popup mode="center" border-radius="20"
...@@ -60,6 +68,7 @@ ...@@ -60,6 +68,7 @@
<view class="flex1 PY20 text-center" @click="close">取消</view> <view class="flex1 PY20 text-center" @click="close">取消</view>
<view class="flex1 PY20 text-center" @click="preservation">保存</view> <view class="flex1 PY20 text-center" @click="preservation">保存</view>
</view> </view>
<canvas canvas-id="firstCanvas" class="sty-box" @error="canvasIdErrorCallback"></canvas>
</view> </view>
</u-popup> </u-popup>
</template> </template>
...@@ -203,6 +212,9 @@ export default { ...@@ -203,6 +212,9 @@ export default {
); );
}, },
canvasIdErrorCallback: function(e) {
console.error(e.detail.errMsg);
}
} }
} }
</script> </script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment