Coder Social home page Coder Social logo

kennylbj / patrick-wechat Goto Github PK

View Code? Open in Web Editor NEW
87.0 4.0 24.0 5.85 MB

⭐️🐟 questionnaire wechat app built with taro, taro-ui and heart. 微信问卷小程序

License: MIT License

JavaScript 86.58% HTML 2.48% SCSS 10.94%
questionnaire question-answering taro wechat-mini-program wechat

patrick-wechat's People

Contributors

kennylbj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

patrick-wechat's Issues

没能run成功生成app.json

求教如何解决!执行yarn run dev:weapp之后会有如下提示:

yarn run v1.22.5
$ npm run build:weapp -- --watch

[email protected] build:weapp D:\Document\Works\WeChat\example\patrick-wechat-master
taro build --type weapp "--watch"

👽 Taro v3.2.1

(node:4040) UnhandledPromiseRejectionWarning: Error: Cannot find module '@tarojs/plugin-platform-weapp' from 'D:\Document\Works\WeChat\example\patrick-wechat-master'
at Function.resolveSync [as sync] (C:\Users\Aquamarine\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\service\node_modules\resolve\lib\sync.js:81:15)
at C:\Users\Aquamarine\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\service\dist\utils\index.js:46:31
at Array.map ()
at Object.resolvePresetsOrPlugins (C:\Users\Aquamarine\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\service\dist\utils\index.js:45:30)
at Kernel.resolvePlugins (C:\Users\Aquamarine\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\service\dist\Kernel.js:90:36)
at Kernel.initPresetsAndPlugins (C:\Users\Aquamarine\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\service\dist\Kernel.js:81:14)
at Kernel. (C:\Users\Aquamarine\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\service\dist\Kernel.js:40:18)
at Generator.next ()
at C:\Users\Aquamarine\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\service\dist\Kernel.js:8:71
at new Promise ()
(Use node --trace-warnings ... to show where the warning was created)
(node:4040) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:4040) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 3.52s.

小白问

用微信小程序编译报错:
“未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。”

能看到app.json文件在scr下,但是还是报错

Roadmap

The roadmap for patrick-wechat is:

  • Bump to Taro V3.

  • Refactor components with react hooks.

  • Release patrick-server as backend server using nest.js.

  • Release patrick-admin based on React/Ant-design-pro for managing questionnaire and result.

  • Login / Logout support.

It will take a few months to implement the features above, but I will release new updates continuously.

文件咨询

您好,请问压缩包里是不是少了app.json文件啊

请问是否有办法将该项目中f2-canvase画出的图设置为随View组件移动?

项目中result部分基于f2画出的图像似乎只能按屏幕百分比设定位置,而不能被随着View组件的排列移动位置?比如我改成如下的代码,希望画出来的图表能出现在text1和text2之间,但是并不能成功,text1和text2会被布局到相邻的位置,但图表却会出现在页面正中间。求教需要如何设置才能实现目标布局?

<View>text1</View> <View style='width:100%;height:100px'><chart-canvas className='chart' opts={opts} /></View> <View>text2</View>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.