options.wxs 341B

123456789101112131415
  1. /* eslint-disable */
  2. var PRESET_ICONS = ['qq', 'link', 'weibo', 'wechat', 'poster', 'qrcode', 'weapp-qrcode', 'wechat-moments'];
  3. function getIconURL(icon) {
  4. if (PRESET_ICONS.indexOf(icon) !== -1) {
  5. return 'https://img.yzcdn.cn/vant/share-sheet-' + icon + '.png';
  6. }
  7. return icon;
  8. }
  9. module.exports = {
  10. getIconURL: getIconURL,
  11. };