Browse Source

Merge branch 'v3.5' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into v3.5

魏熙美 5 years ago
parent
commit
da3eb15662
2 changed files with 0 additions and 18 deletions
  1. 0
    2
      package.json
  2. 0
    16
      src/pages/activity/ActivityList.jsx

+ 0
- 2
package.json View File

53
     "moment": "^2.24.0",
53
     "moment": "^2.24.0",
54
     "omit.js": "^1.0.2",
54
     "omit.js": "^1.0.2",
55
     "path-to-regexp": "^3.0.0",
55
     "path-to-regexp": "^3.0.0",
56
-    "qrcode.react": "^0.9.3",
57
-    "qrcodejs2": "0.0.2",
58
     "qs": "^6.7.0",
56
     "qs": "^6.7.0",
59
     "react": "^16.8.6",
57
     "react": "^16.8.6",
60
     "react-amap": "^1.2.8",
58
     "react-amap": "^1.2.8",

+ 0
- 16
src/pages/activity/ActivityList.jsx View File

3
 import { FormattedMessage } from 'umi-plugin-react/locale';
3
 import { FormattedMessage } from 'umi-plugin-react/locale';
4
 import router from 'umi/router';
4
 import router from 'umi/router';
5
 import moment from 'moment';
5
 import moment from 'moment';
6
-import QRCode from 'qrcodejs2'
7
 import styles from '../style/GoodsList.less';
6
 import styles from '../style/GoodsList.less';
8
 import SelectCity from '../../components/SelectButton/CitySelect'
7
 import SelectCity from '../../components/SelectButton/CitySelect'
9
 import BuildSelect from '../../components/SelectButton/BuildSelect'
8
 import BuildSelect from '../../components/SelectButton/BuildSelect'
59
   }
58
   }
60
 
59
 
61
 
60
 
62
-  function download (data) {
63
-    if (!data) {
64
-      return
65
-    }
66
-
67
-    const url = URL.createObjectURL(data)
68
-    const link = document.createElement('a')
69
-    link.style.display = 'none'
70
-    link.href = url
71
-    link.setAttribute('download', '活动二维码.png')
72
-    document.body.append(link)
73
-    link.click()
74
-  }
75
-
76
-
77
   /**
61
   /**
78
    *
62
    *
79
    *
63
    *