1.设计图:
    屏幕快照 2019-05-16 下午2.49.46.png

    bug:

    1. ios9.3 点击切换位置,白屏:

      1. 切换的动画引起页面的奔溃,将动画去掉
    2. 软键盘遮挡:

      解决方案:
      focusFun(event){
      var target = event.currentTarget; setTimeout(()=>{
      if (window.scrollTo) {
      document.body.style.height = ‘1200px’;
      var screenHeight = document.documentElement.clientHeight || document.body.clientHeight; window.scrollTo(0,this.getTop(target) - screenHeight/2 + 100); }
      },50);},
      blurFun(){
      setTimeout(function () {
      document.body.style.height = ‘’;
      },50)
      }
      3.android 手机图片长按不能保存:
      将图片上传到oss上,返回url,生成图片
      safari ios 合成的base64图片在canvas.toDataURL(‘image/png’)的时候报错 the operation is insecure
      解决办法:
      将 crossorigin=”anonymous” 属性提前到src属性前面可以了
      520 表情制作活动 - 图2