guohuadeng / magento-rest-cordova-mobile-app Goto Github PK
View Code? Open in Web Editor NEWhtml5 mobile app by cordova, connect to magento by rest api
html5 mobile app by cordova, connect to magento by rest api
当前4个目录在标签栏写死目录id的,调整为根据rest接口动态加载名称及id
当detail.html页里内嵌的页面超出一屏时,上下及左右的滚动条会不断小幅滚动。
比如进入产品详情页,或进入 account页里的 account and setting将页面向下滑动时。
Hi,
congratulations for the job.
Can I have a minimal documentation in English?
Thanks in advance.
-j
接口 http://skymazon.sunpop.cn/restconnect/customer/status
仿Aliexpress
1.用户已登录将返回用户名,邮箱,头像等信息,此时菜单上方显示用户头像及名称
2.未登录返回false,此时菜单上方显示 Login | Register,对应本地 login.html和 register.html
因为登录状态可能会因为对web页的操作页改变,并不全由本地H页控制。故最好每次打开菜单时,都作是否用户是否已登录的检查,来实现动态的菜单。
rest接口货币方向换算错了,如10美金会变成1块多人民币
1.菜单栏出现在主标头下方,点击一次菜单键出现,再点击一次菜单键隐藏
2.菜单栏现在太灵敏,在页面中间向右滑动也会出现,调整一下,要从更左边的位置向右拨才出现。同时当前是右拨出现,要增加一个左拨隐藏的功能
3.图标化,每个目录的返回参数有Thumbnail Image,这个就是该目录的图标,其它的如My Order等全部要有图标,使用awesome或Aliexpress的图标
4.增加一个国家选择的菜单,当前只有一个,默认是Tanzania,图标位置在 /images/tanzania_flag.png
5.用户状态是登录情况下,出现头像,这个登录状态会返回avadar参数,图片位于 My Avatar的头像地址:baseUrl的根域(是根域!因为以后多店时baseUrl不一定是网站根地址)+‘/media/customer/’+输出地址。
6.用户状态非登录情况下,出现Login | Register,指向相关地址
7.仿aliexpress的小红点,如用户未登录,在菜单按键上出现一个提醒的小红点
产品列表在上拨取数据时,loading字样太低,同时在上拨后自动下沉一点,形成抖动影响用户体验
当前如果在列表页切换多页后,按回退键会多次回退进行页面切换,最后才退出。
调整为只要在首页列表页,即提示再按一次返回即可退出,此时用户再按一次返回即可退出
产品列表图片需要延迟加载
产品详情等会返回一个叫symbol的参数,是显示的货币种类,当前全部为TZS。以后接口调整,调用store接口,返回一个显示货币,同时还能设置。
现在只需所有的用TSh,参考
https://www.jumia.co.tz/
is it magento ionic app ?
hi, thanks for sharing the code, will you be able to do custom work few ui changes, please?
将现有account and seting拆成,My Account和 Settings。当点击My Account的链接时(远程web),先用rest接口检查登录状态,如果是未登录,菜单隐藏,浮出登录窗口,即现在的kikuuapp3/login.html页面,并发送一个fromurl的参数,使用rest接口登录。登录成功则页面跳到fromurl,失败则提示并要求继续登录。
登录失败的话返回 false,而不是 status.code = 503
new changing not get data on magento
当取新的rest数据时,图片取到后,在手机上全屏幕所有图片都会闪烁一下
要
Hello, Sorry for this, but im new cordova and i need little help for how to import cordova this project any document have thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.