avatar
微信小程序之base64加密解密wxml代码

admin 172 2019-02-26 22:59:27

                                           
                         <view>
    <form bindsubmit="getResult">
        <input focus class="input" maxlength="1000" name="content" placeholder="请输入内容" type="text" value="{{content}}"></input>
        <button class="button" data-type="encode" formType="submit">加密</button>
        <button class="button" data-type="decode" formType="submit">解密</button>
    </form>
    <view class="result" hidden="{{!result}}">
        <view class="showResult">{{result}}</view>
        <button bindtap="clear" class="result-button">清空</button>
        <button bindtap="copy" class="result-button">复制</button>
    </view>
</view>
                      
                                       
To share this paste please copy this url and send to your friends
预览

评论

需要身份验证

您必须登录才能发表评论.

登录
    还没有评论.