5***@qq.com
5***@qq.com
  • 发布:2022-02-08 19:21
  • 更新:2024-10-22 16:54
  • 阅读:619

苹果内购项目怎样获取货币符号

分类:uni-app
let codes=[];  
 codes.push({country:'USD',code:'$  '})  
 codes.push({country:'AED',code:'AED'})  
 codes.push({country:'EGP',code:'EGP'})  
 codes.push({country:'EUR',code:'€  '})  
 codes.push({country:'AUD',code:'$  '})  
 codes.push({country:'PKR',code:'Rs '})  
 codes.push({country:'BRL',code:'R$ '})  
 codes.push({country:'BGN',code:'лв '})  
 codes.push({country:'PLN',code:'zł '})  
 codes.push({country:'DKK',code:'kr '})  
 codes.push({country:'RUB',code:'₽  '})  
 codes.push({country:'PHP',code:'₱  '})  
 codes.push({country:'COP',code:'$  '})  
 codes.push({country:'KZT',code:'₸  '})  
 codes.push({country:'KRW',code:'₩  '})  
 codes.push({country:'CAD',code:'$  '})  
 codes.push({country:'CZK',code:'Kč '})  
 codes.push({country:'QAR',code:'QAR'})  
 codes.push({country:'HRK',code:'kn '})  
 codes.push({country:'RON',code:'lei'})  
 codes.push({country:'MYR',code:'RM '})  
 codes.push({country:'PEN',code:'S/''})  
 codes.push({country:'MXN',code:'$  '})  
 codes.push({country:'ZAR',code:'R  '})  
 codes.push({country:'NGN',code:'₦  '})  
 codes.push({country:'NOK',code:'kr '})  
 codes.push({country:'JPY',code:'¥  '})  
 codes.push({country:'SEK',code:'kr '})  
 codes.push({country:'CHF',code:'CHF'})  
 codes.push({country:'SAR',code:'SR '})  
 codes.push({country:'TWD',code:'NT '})  
 codes.push({country:'THB',code:'฿  '})  
 codes.push({country:'TZS',code:'TZS'})  
 codes.push({country:'TRY',code:'₺  '})  
 codes.push({country:'HKD',code:'HK$'})  
 codes.push({country:'SGD',code:'S$ '})  
 codes.push({country:'NZD',code:'$  '})  
 codes.push({country:'HUF',code:'Ft '})  
 codes.push({country:'ILS',code:'₪‎  })'  
 codes.push({country:'INR',code:'₹  '})  
 codes.push({country:'IDR',code:'Rp '})  
 codes.push({country:'GBP',code:'£  '})  
 codes.push({country:'VND',code:' đ '})  
 codes.push({country:'CLP',code:' $ '})  
 codes.push({country:'CNY',code:'¥  '})

大神们有没有更好的方式。原生的有,但是uniapp不知道怎样调用,获取各国的货币符号

0 关注 分享

要回复文章请先登录注册

PenGuin1

PenGuin1

同问+1
2024-10-22 16:54