|
@@ -151,6 +151,16 @@ export default class Footer extends Component {
|
|
|
if (edClick) {
|
|
|
if (edClick <= twentyFourHoursAgo) {
|
|
|
Taro.removeStorageSync('APP_edClick')
|
|
|
+ const themeObj = Taro.getStorageSync('APP_themeObj')
|
|
|
+ if (themeObj.header_bg && themeObj.header_bg.length > 0 && themeObj.header_bg[0].option1) {
|
|
|
+ Taro.setClipboardData({
|
|
|
+ data: themeObj.header_bg[0].option1,
|
|
|
+ success: function() {
|
|
|
+ Taro.hideToast()
|
|
|
+ Taro.setStorageSync('APP_edClick', currentTime)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
const themeObj = Taro.getStorageSync('APP_themeObj')
|