Simple calculator applet source code download

PHPz
Release: 2017-05-01 10:54:21
Original
4682 people have browsed it

Abstract: sCalc WeChat applet version is suitable for getting started. Since the focus is not on implementing the specific functions of the calculator, it is mainly for learning WeChat applet development, so don’t pay too much attention to some non-concern issues in order to implement it. The calculation function was tricked by the WeChat applet. It should be because the window object is not supported in the js file and cannot be used...

##sCalc The WeChat mini program version is suitable for getting started. Since the focus is not on implementing the specific functions of the calculator, it is mainly for learning WeChat mini program development, so don’t pay too much attention to some non-concern issues

In order to realize the calculation function, I was tricked by the WeChat applet. It should be because the js file does not support the window object and the eval function cannot be used


Previews

Simple calculator applet source code download##Description

Involves knowledge related to WeChat applet development:

##CSS Flexbox layout
  • Event binding, page jump
  • Page, window, App global settings
  • How to use wxml, wxsss, js, json files
  • How to use view, text, icon, button components
  • ##navigate, wx.setStorageSync, data binding and other APIs


##SetupClone the repo
  • $ git clone github.com/dunizb/wxapp-sCalc.git


    Import to Wechat DEV Tools

  • Import the project into the WeChat developer tools

Download address:

wxapp -sCalc-master.zip

The above is the detailed content of Simple calculator applet source code download. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template