Skip to content

Commit 771e295

Browse files
goldhan韩金
authored andcommitted
Feat: 修改bug,完善代码,具体见文档
1 parent 18edf21 commit 771e295

File tree

32 files changed

+510
-113
lines changed

32 files changed

+510
-113
lines changed

README.md

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,26 @@
11
# 链滴微信小程序
22

33
![img](./design/扫码_搜索联合传播样式-标准色版.png)
4-
#### 介绍
5-
黑科派,链滴小程序
64

7-
<center class="half">
8-
<img src="./design/ld1.png" />
9-
<img src="./design/ld2.png" />
10-
<img src="./design/ld3.png" />
11-
<img src="./design/ld4.png" />
12-
<img src="./design/ld5.png" />
13-
<img src="./design/ld6.png" />
14-
<img src="./design/ld7.png" />
15-
<img src="./design/ld8.png" />
16-
<img src="./design/ld9.jpg" />
17-
<img src="./design/ld10.jpg" />
18-
<img src="./design/ld11.jpg" />
19-
<img src="./design/ld12.jpg" />
20-
</center>
5+
#### 版本
216

22-
#### 技术栈
7+
- 0.0.1
8+
- 第一次提交
9+
- 0.0.2
10+
- 支持两部验证登录
11+
- 增加尾巴定制
12+
- 优化消息通知获取业务逻辑
13+
- 修复标签显示问题
14+
- 增加新主题一套
2315

24-
`Taro`
25-
26-
`React`
16+
#### 介绍
17+
黑科派,链滴小程序
18+
19+
![img](./design/ld1.png)![img](./design/ld2.png)![img](./design/ld3.png)![img](./design/ld4.png)![img](./design/ld5.png)![img](./design/ld6.png)![img](./design/ld7.png)![img](./design/ld8.png)![img](./design/ld9.jpg)![img](./design/ld10.jpg)![img](./design/ld11.jpg)![img](./design/ld12.jpg)
2720

28-
`Taro-UI`
21+
#### 技术栈
2922

30-
`Node.js`
23+
`Taro` `React` `Taro-UI` `Node.js`
3124

3225
#### 结构
3326

@@ -68,13 +61,19 @@ src
6861

6962
在 ld246 目录下
7063

71-
1. yarn global add @tarojs/cli
72-
2. yarn install
73-
3. yarn dev:weapp
64+
1. `yarn global add @tarojs/cli`
65+
2. `yarn install`
66+
3. `yarn dev:weapp`
7467

7568
注意:需要自己去搭建小程序开发环境,有用到云函数。
7669

77-
#### TODO
70+
#### 正式包编译
71+
72+
`yarn build:weapp`
73+
74+
> 可以使用 npm 不过本人并没试过,理论上讲没问题
75+
76+
#### 主要功能实现
7877

7978
- [x] 登录/验证码
8079
- [x] 回帖
@@ -92,4 +91,4 @@ src
9291

9392
#### About
9493

95-
第一次尝试用 ts 写的。本人并不是一个专业的 H5 开发,从事 iOS 开发(虽然现在被公司压迫的做 H5 开发),如有迷惑行为请多多鞭策😏。
94+
第一次尝试用 ts 写的。本人并不是一个专业的 H5 开发,从事 iOS 开发(虽然现在被公司压迫的做 H5 开发),如有迷惑代码行为请多多鞭策😏。

design/ld10.jpg

-148 KB
Loading

design/ld11.jpg

-142 KB
Loading

design/ld12.jpg

-85.6 KB
Loading

design/ld9.jpg

-153 KB
Loading

ld246/cloud_functions/gkRequest/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,4 @@ exports.main = async (event, context) => {
210210

211211
const reqs_ = reqs.map((r) => req_(r));
212212
return Promise.all(reqs_);
213-
214-
215213
}

ld246/project.config.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,20 @@
2121
"checkSiteMap": true,
2222
"uploadWithSourceMap": true,
2323
"compileHotReLoad": false,
24+
"useMultiFrameRuntime": false,
25+
"useApiHook": true,
2426
"babelSetting": {
2527
"ignore": [],
2628
"disablePlugins": [],
2729
"outputPath": ""
2830
},
31+
"enableEngineNative": false,
2932
"useIsolateContext": true,
3033
"useCompilerModule": false,
3134
"userConfirmedUseCompilerModuleSwitch": false,
32-
"useMultiFrameRuntime": false,
33-
"useApiHook": true
35+
"packNpmManually": false,
36+
"packNpmRelationList": [],
37+
"minifyWXSS": true
3438
},
3539
"compileType": "miniprogram",
3640
"simulatorType": "wechat",

ld246/src/components/alert/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
padding: 10px 40px;
4343
border: 1px solid themed('iconColor');
4444
color: themed('iconColor');
45-
border-radius: 25px;
45+
border-radius: themed('cardRadius');
4646
}
4747

4848
.alert-cancel {

ld246/src/components/commentEdit/index.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../../pages/style.scss';
22
@import "taro-ui/dist/style/components/float-layout.scss";
3-
@import "~taro-ui/dist/style/components/textarea.scss";
3+
@import "taro-ui/dist/style/components/textarea.scss";
44

55
@include themeify {
66
.commentEdit {
@@ -30,28 +30,30 @@
3030

3131
.commentEdit-body {
3232
.input-content {
33-
margin: 20px 0;
33+
margin-bottom: 20px;
3434

3535
.at-textarea {
3636
border-color: themed('iconColor');
3737
background: themed('whiteColor');
3838
color: themed('titleColor');
3939
height: 300px;
40+
border-radius: themed('cardRadius');
4041
}
4142
}
4243

4344
.ok-buttons {
4445
text-align: end;
4546

46-
text {
47+
text,
48+
taro-text-core {
4749
display: inline-block;
4850
height: 25px;
4951
line-height: 25px;
5052
padding: 10px 40px;
5153
margin: 0 20px;
5254
border: 1px solid themed('iconColor');
5355
color: themed('iconColor');
54-
border-radius: 25px;
56+
border-radius: themed('cardRadius');
5557
}
5658
}
5759
}

ld246/src/components/commentEdit/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { View, Text, Image } from '@tarojs/components'
2+
import { View } from '@tarojs/components'
33
import { AtFloatLayout, AtTextarea } from 'taro-ui';
44
import './index.scss';
55

0 commit comments

Comments
 (0)