当前位置:网站首页>Simple calculator wechat applet project source code
Simple calculator wechat applet project source code
2022-07-29 08:07:00 【Chloroplasts don't forget to breathe】
WeChat official account : Chuangxiang diary
send out : Calculator
Get the full source code ( Wechat developer tool import is available )


The following can be ignored !
Wechat applet , A kind of small program , English name Wechat Mini Program, It is an application that can be used without downloading and installing , It implements the application “ Within reach ” The dream of , Users can scan or search to open the application .
After the application is fully open , The subject type is enterprise 、 The government 、 The media 、 Developers of other organizations or individuals , Can apply to register the applet . Wechat applet 、 Wechat subscription number 、 Wechat service number 、 Wechat enterprise number is a parallel system .
Wechat applet is an application that can be used without downloading , It's also an innovation , After nearly two years of development , A new wechat applet development environment and developer ecology has been constructed . Wechat applet is also so many years in China IT An innovation in the industry that can really affect ordinary programmers , There has been more than 150 Wan's developers have joined the development of wechat applets , Work together with us to promote the development of wechat applet , There are more than one million wechat apps , Cover 200 Multiple industry segments , 200 million daily users , The wechat app also supports subway in many cities 、 Public transport services . Wechat app development brings more jobs ,2017 Small programs drive employment in 104 ten thousand people , Social effects continue to improve .
2018 year 12 month 27 Japan , Tencent released 《 Tencent privacy protection white paper 》, advocate “ Technology goodness , Data availability ” Privacy protection concept . In the wechat app 《 Terms of service 》、《 Operational specifications 》 in , Respectively set “ User personal information protection ” and “ User privacy and data specifications ” Special chapter introduction .
Wechat applet gives users more control over product function design . On the setting page of wechat applet , Data permission switch is provided for users , Once the user authorizes and then closes , When wechat applet uses the user data again, it needs to be authorized again , Provide users with more convenient data control . Users can also see tips on privacy data protection and complaint entry on the information page of wechat applet .
<!--weixin.wxml-->
<view class="container">
<view class="panel-display" style="position: relative;">
<view>
<icon id="icon-about" type="info" size="28" color="#aaa" bindtap="showAbout"/></view>
<view id="display-num">{
{calc.displayNum}}</view>
<view id="display-op">{
{calc.displayOp}}</view>
</view>
<view class="panel-btns">
<view class="btns-rows">
<view id="btn-c" class="btn {
{tapped['c']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="c">AC</view>
<view class="btn {
{tapped['d']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="d">DEL</view>
<view class="btn {
{tapped['/']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="/" style="font-size: 24px;">÷</view>
<view class="btn {
{tapped['x']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="x">×</view>
</view>
<view class="btns-rows">
<view class="btn {
{tapped['7']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="7">7</view>
<view class="btn {
{tapped['8']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="8">8</view>
<view class="btn {
{tapped['9']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="9">9</view>
<view class="btn {
{tapped['-']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="-">-</view>
</view>
<view class="btns-rows">
<view class="btn {
{tapped['4']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="4">4</view>
<view class="btn {
{tapped['5']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="5">5</view>
<view class="btn {
{tapped['6']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="6">6</view>
<view class="btn {
{tapped['+']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="+">+</view>
</view>
<view id="btns2" class="btns-rows">
<view id="btns2-left">
<view class="btns2-left-part">
<view class="btn {
{tapped['1']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="1">1</view>
<view class="btn {
{tapped['2']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="2">2</view>
<view class="btn {
{tapped['3']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="3">3</view>
</view>
<view class="btns2-left-part">
<view class="btn {
{tapped['%']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="%">%</view>
<view class="btn {
{tapped['0']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="0">0</view>
<view class="btn {
{tapped['.']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op=".">.</view>
</view>
</view>
<view id="btns2-right" class="btn {
{tapped['=']}}" bindtap="btnClicked" bindtouchstart="btnTouchStart" bindtouchend="btnTouchEnd" data-op="=">=</view>
</view>
</view>
</view>
边栏推荐
- [beauty of software engineering - column notes] "one question and one answer" issue 3 | 18 common software development problem-solving strategies
- Excellent urban design ~ good! Design # visualization radio station will be broadcast soon
- In an SQL file, a test table and data are defined above, and you can select* from the test table below
- [paper reading] tomoalign: a novel approach to correcting sample motion and 3D CTF in cryoet
- [beauty of software engineering - column notes] "one question and one answer" issue 2 | 30 common software development problem-solving strategies
- Arduinoide + stm32link burning debugging
- Shell script - global variables, local variables, environment variables
- Implementation of simple cubecap+fresnel shader in unity
- Day 014 二维数组练习
- Jianmu continuous integration platform v2.5.2 release
猜你喜欢

Matrix decomposition and gradient descent

Rotation in model space and rotation in world space

sql判断语句的编写

Excellent urban design ~ good! Design # visualization radio station will be broadcast soon

Unicode私人使用区域(Private Use Areas)
![[paper reading] tomoalign: a novel approach to correcting sample motion and 3D CTF in cryoet](/img/3a/75c211f21758ca2d9bb1a40d739d80.png)
[paper reading] tomoalign: a novel approach to correcting sample motion and 3D CTF in cryoet

BiSeNet v2

亚马逊测评自养号是什么,卖家应该怎么做?

SQL 面试碰到的一个问题

Mqtt server setup and mqtt.fx testing
随机推荐
[memo] summary of the reasons why SSH failed? Remember to come next time.
Up sampling deconvolution operation
Detailed explanation of two modes of FTP
Unity - default rendering pipeline - sculpt shader
Resize2fs: bad magic number in super block
STM32 printf problem summary semihosting microlib understanding
Some tools, plug-ins and software links are shared with you~
Detailed explanation of the find command (the most common operation of operation and maintenance at the end of the article)
MySQL rownum implementation
[beauty of software engineering - column notes] 23 | Architect: programmers who don't want to be architects are not good programmers
What is the use of chat robots? What type? After reading these, you will understand!
Internet worm
How to connect VMware virtual machine to external network under physical machine win10 system
[lecture notes] how to do in-depth learning in poor data?
Basic introduction to pod
[note] the art of research - (tell a good story and argument)
Beautiful girls
[cryoelectron microscope | paper reading] a feature guided, focused 3D signal permutation method for subtogram averaging
CDM - code division multiplexing (easy to understand)
File system I