This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: 更新了 README,加了一些后来的想法,做了一些 canvas 的尝试
- Loading branch information
Showing
6 changed files
with
76 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# Postwall-MiniApp | ||
A QQ MiniApp for Postwall posting | ||
## 概述 | ||
|
||
一个用于贴贴墙发单的小程序 | ||
|
||
|
||
|
||
## 后续功能前瞻 | ||
|
||
+ 单发 | ||
+ 配合 Mirai 机器人来审核是否单发 | ||
+ 单独做一个可折叠按钮 | ||
+ 视频 | ||
+ 想办法可以做到可发视频 | ||
+ 集合一个寻物启事的功能 | ||
+ 有人发了寻物启事,可以选择是否贴到寻物墙上 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ | |
</block> | ||
|
||
<view qq:if="{{imageList.length<9}}"class="upload-wrap__item upload-wrap__item_default" bindtap="chooseImage"> | ||
<image class="image-block" src="../../images/[email protected]" mode="aspectFill" /> | ||
<image class="image-combine" src="../../images/[email protected]" mode="aspectFill" /> | ||
</view> | ||
|
||
<view class="section"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,8 @@ | ||
<!-- index.qml --> | ||
|
||
<view>{{message}}</view> | ||
<view qq:for="{{array}}">{{item}}</view> | ||
<!-- if --> | ||
<view qq:if="{{view == 'MINA'}}">1</view> | ||
<view qq:if="{{view == 'APP'}}">2</view> | ||
<view qq:if="{{view == 'WEBVIEW'}}">3</view> | ||
|
||
<template name="staffName"> | ||
<view> | ||
FirstName: {{firstName}}, | ||
LastName: {{lastName}} | ||
</view> | ||
</template> | ||
|
||
<template is="staffName" data="{{...staffA}}"></template> | ||
<template is="staffName" data="{{...staffB}}"></template> | ||
<template is="staffName" data="{{...staffC}}"></template> | ||
<view class="page-preview"> 订单效果预览 </view> | ||
<canvas canvas-id="submit-canvas" class="canvas"> | ||
<view> 测试一下 </view> | ||
</canvas> | ||
<view bindtap="test">测试</view> | ||
<image class="test-class" src="{{tmp_path}}" bindtap="previewImage" mode="aspectFill" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
|
||
page { | ||
background-color: #F5F6FA !important; | ||
} | ||
.page-preview { | ||
display: block; | ||
width: 400rpx; | ||
margin: 20rpx 140rpx 0 auto; | ||
font-size: 50rpx; | ||
color: #8A8A8A; | ||
} | ||
|
||
.canvas { | ||
width: 670rpx; | ||
height: 800rpx; | ||
margin: 50rpx auto 0 auto; | ||
background-color: red; | ||
} | ||
.test-class { | ||
width: 300rpx; | ||
height: 300rpx; | ||
} |