优化
This commit is contained in:
@@ -47,20 +47,6 @@ const saveImage = () => {
|
|||||||
canvas-id="shareCanvas"
|
canvas-id="shareCanvas"
|
||||||
></canvas>
|
></canvas>
|
||||||
</view>
|
</view>
|
||||||
<view class="footer">
|
|
||||||
<button hover-class="none" @click="wxShare">
|
|
||||||
<image src="../static/wechat-outline.png" mode="widthFix" />
|
|
||||||
<text>微信好友</text>
|
|
||||||
</button>
|
|
||||||
<button hover-class="none">
|
|
||||||
<image src="../static/wechat-moment.png" mode="widthFix" />
|
|
||||||
<text>朋友圈</text>
|
|
||||||
</button>
|
|
||||||
<button hover-class="none" @click="saveImage">
|
|
||||||
<image src="../static/download.png" mode="widthFix" />
|
|
||||||
<text>保存到相册</text>
|
|
||||||
</button>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</Container>
|
</Container>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ const onReady = async () => {
|
|||||||
|
|
||||||
async function onReceiveMessage(messages = []) {
|
async function onReceiveMessage(messages = []) {
|
||||||
messages.forEach((msg) => {
|
messages.forEach((msg) => {
|
||||||
console.log(11111, msg);
|
|
||||||
if (msg.constructor === MESSAGETYPES.ShootSyncMeArrowID) {
|
if (msg.constructor === MESSAGETYPES.ShootSyncMeArrowID) {
|
||||||
scores.value.push(msg.target);
|
scores.value.push(msg.target);
|
||||||
currentRound.value += 1;
|
currentRound.value += 1;
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 4.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user