バックエンドはbase64オブジェクトデータ分析を通過し、中国語の文字化けの問題を解決します

   // 解析base64
    getStr(){
    
    
      let encode = decodeURIComponent(atob(this.code).split('').map(function (c){
    
    
        return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
      }).join(''))
      //遍历每一个字符,(解决中文乱码问题)  .split('').map(function (c){
    
    
      //  return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
      // }).join(''))
      encode = JSON.parse(encode)
    },

/選択時のスワイパーの小さなドット スタイルの貫通/
.swiper-pagination >>> .swiper-pagination-bullet-active{ background-color:#F86B7C }

おすすめ

転載: blog.csdn.net/Jonn1124/article/details/124432082