Giter Site home page Giter Site logo

belinchung / hiapp Goto Github PK

View Code? Open in Web Editor NEW
786.0 61.0 268.0 2.91 MB

A simple and interesting hybrid app. React Native version: http://t.cn/R5LqqLz Demo:

Home Page: https://hi.belinchung.com/

License: MIT License

JavaScript 20.70% HTML 1.60% Vue 65.35% CSS 12.35%
phonegap cordova framework7 vuejs hybrid-apps

hiapp's People

Contributors

belinchung avatar likebamboo 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

hiapp's Issues

如何实现pageInit

你好,感谢你的贡献!
我想要基于该项目结构,自己加入Swiper Slider,Framework7官网介绍说需要在pageInit回调中初始化。请问每个data-page属性对应的页面如何实现pageInit?

Initialize Swiper with JavaScript
(http://framework7.io/docs/swiper.html#swiper-slider-html-layout)

Note that Swiper container should be in DOM on a moment of initialization. So if you use slider not on home page, you need to initialize it within pageInit event

About fileupload vendor plugin

Hi,
I find in main.js, it has such line:

fileUpload:'../vendors/plugin/fileupload',

But in vendors folder, there is no plugin. And I am so curious about this uploading plugin.

Could you provide it, so that I can have a look?

Thank you so much
:-)

(node:1193) UnhandledPromiseRejectionWarning: Error: Source path does not exist: www/static/icons/ios/[email protected]

Hi Team,

I'm following the steps mentioned in order to generate the application but getting below error while running the command: cordova platform add ios --save

Using cordova-fetch for cordova-ios@^4.5.4
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: com.hiliaox.hiapp
Name: HiApp
iOS project created with [email protected]
(node:1193) UnhandledPromiseRejectionWarning: Error: Source path does not exist: www/static/icons/ios/[email protected]
at updatePathInternal (/Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:145:19)
at /Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:223:19
at Array.forEach ()
at Object.updatePaths (/Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:221:33)
at updateIcons (/Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/lib/prepare.js:382:17)
at /Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/lib/prepare.js:62:13
at _fulfilled (/Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/node_modules/q/q.js:854:54)
at self.promiseDispatch.done (/Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/node_modules/q/q.js:883:30)
at Promise.promise.promiseDispatch (/Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/node_modules/q/q.js:816:13)
at /Users/sandeepraulo/Downloads/HiApp-master/hiapp/platforms/ios/cordova/node_modules/q/q.js:570:49
(node:1193) 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(). (rejection id: 1)
(node:1193) [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.

start from "Error Cannot Find module 'Webpack-merge' " why is that sir?

0 info it worked if it ends with ok
1 verbose cli [ 'D:\Program Files\nodejs\node.exe',
1 verbose cli 'D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]predev: [email protected]
6 info lifecycle [email protected]
dev: [email protected]
7 verbose lifecycle [email protected]dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
dev: PATH: D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\Devel\otherhiaap\hiapp\node_modules.bin;C:\Users\Lenovo\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Lenovo\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\PuTTY;C:\ProgramData\ComposerSetup\bin;C:\Program Files\Git\cmd;E:\xampp\php;D:\Program Files\nodejs;C:\Users\Lenovo\AppData\Roaming\Composer\vendor\bin;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps;C:\Users\Lenovo\AppData\Roaming\npm;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
9 verbose lifecycle [email protected]dev: CWD: D:\Devel\otherhiaap\hiapp
10 silly lifecycle [email protected]
dev: Args: [ '/d /s /c', 'node build/dev-server.js' ]
11 silly lifecycle [email protected]dev: Returned: code: 1 signal: null
12 info lifecycle [email protected]
dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: node build/dev-server.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd D:\Devel\otherhiaap\hiapp
16 verbose Windows_NT 10.0.15063
17 verbose argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"
18 verbose node v8.9.4
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: node build/dev-server.js
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

windown7 npm run dev 报错

window7的脚本应该怎么写才不会报错?谢谢,以下是报错信息。

0 info it worked if it ends with ok
1 verbose cli [ 'D:\Program Files\nodejs\node.exe',
1 verbose cli 'D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info predev [email protected]
6 info dev [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec dev script
9 verbose stack Error: [email protected] dev: webpack --config build/webpack/development.js --progress --watch
9 verbose stack Exit status 3221225501
9 verbose stack at EventEmitter. (D:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (D:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:827:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid [email protected]
11 verbose cwd E:\workspace\hiapp
12 error Windows_NT 6.1.7600
13 error argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"
14 error node v4.4.7
15 error npm v2.15.8
16 error code ELIFECYCLE
17 error [email protected] dev: webpack --config build/webpack/development.js --progress --watch
17 error Exit status 3221225501
18 error Failed at the [email protected] dev script 'webpack --config build/webpack/development.js --progress --watch'.
18 error This is most likely a problem with the HiApp package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error webpack --config build/webpack/development.js --progress --watch
18 error You can get information on how to open an issue for this project with:
18 error npm bugs HiApp
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls HiApp
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

跳转传值异常

首先我肯定 HiApp真的很棒,而且我最近恰好需要这样的demo来做些事情。
我使用master分支构建了本地HiApp 的web形式, 运行后 我发现进入帖子后。总是会出现格式化时间的错误, 即使这个在UI上表现不出来。但是我还是希望解决它。
相同的问题也出现在演示站点。
image

希望向大佬学习这些技术。

npm run build failed

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: node build/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

new language pack, and some questions...

Hello, what a great project, and I reviewed is really very good. I have created a language pack for Spanish name es-co, you can review it here
https://dl.dropboxusercontent.com/u/7563129/F7apps/es-co.zip

I have added a couple of new options to language pack (register and ajax), for handling error messages.

I have a couple of questions for you:

  1. I have created a new page called register.html using template login.html on the part of copyright I've added the following:
<div class="copyright">
          <a href="page/register.html">{{signUp}}</a>&nbsp;&nbsp;|&nbsp;
          <a href="#">{{forgotPwd}}</a>
      </div>

the question is how you handle the bindings gets the click events in the href instead of typing the url.

. 2 in the file loginCtrl.js you define the following:

var codes = [
    {code: 30001, message: i18n.login.credentials_not_match,path: '/'},
    {code: 40001, message: i18n.login.inactive_user, path: '/'},
];

function that satisfies the variable path.
below in the same file:

hiApp.alert(codeLevel.message,function(){
    if(codeLevel.path !== '/')
        mainView.loadPage(codeLevel.path);

    hiApp.hidePreloader();
});

is possible to call the function removeCurrentUser of appFunc.js to close the session and force the user to start a new session.

apologies for the translation, my native language is Spanish.
Use Google translator.
thank you very much!.

Demo not working in simulator

你好,

I've been looking at your app HiApp on github, really helped me getting familiar with framework7.
Uploading Capture d’écran 2015-10-06 à 15.39.30.png…

I've been running gulp build, but I still don't get any content (besides navbar and tabbar) when I launch the app in the iOS simulator. Same goes if I use cordova build ios

Everything goes well when i launch gulp build-dev and use webpack-server in a browser.
Am I missing something here ? :(
谢谢你!
hiapp

如何部署成webapp

问一个小白问题,怎么将此项目运行成webapp。不使用npm run dev。

spelling mistake

In branch master , and the file main.js of src at line 1st, Polyfill not Ponyfill , right?

怎么登陆功能不能用啦?

你好,看了几个不同的DEMO,感觉你的这个做的很好,最近又看到了你的更新,但是那个登陆功能怎么没有了,是还没做完,还是什么其他原因呢。希望你能继续更新,谢谢

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.