This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { cloneDeep, defaultsDeep, set } from 'lodash' | |
function spanMethod(mergeList, data) { | |
const alias = mergeList.reduce((dict, item) => { | |
return { | |
...dict, | |
[item.prop]: item.groupBy || item.prop, | |
} | |
}, {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author sangzhe | |
*/ | |
import AlloyFinger from 'alloyfinger' | |
const time = 300 | |
const zoomId = 'zoom-opened' | |
const Zoom = function (selector) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function(context) { | |
function WaterMarker() { | |
this.config = { | |
fontSize: 12, | |
marginBottom: 100, | |
marginRight: 100, | |
angle: 30, | |
opacity: 0.08 | |
} |