Commit 555c0714 authored by mqf_0707's avatar mqf_0707

任务跳转更改

parent 438900ea
...@@ -65,13 +65,11 @@ export default function TasksModal(props) { ...@@ -65,13 +65,11 @@ export default function TasksModal(props) {
doCompleteTaskHandle(taskType) doCompleteTaskHandle(taskType)
} }
}, },
// 跳转任务 // 跳转任务 https://www.feizhu.com
jumpLink: async() => { jumpLink: async() => {
navigateToOutside(url || 'https://www.feizhu.com') navigateToOutside(url)
if (browseType === 1) { if (browseType === 1) {
setTimeout(() => { doCompleteTaskHandle(taskType)
doCompleteTaskHandle(taskType)
}, 1000)
} else { } else {
app.isFlashTask = true app.isFlashTask = true
setPreBrowseTime(Date.now()) setPreBrowseTime(Date.now())
......
...@@ -82,7 +82,6 @@ function Index() { ...@@ -82,7 +82,6 @@ function Index() {
{/* <View className={styles.countTime}> {/* <View className={styles.countTime}>
<CountDown endTime={(Date.now() + 3 * 60 * 60 * 1000)} fontSize={'20rpx'} color={'#1B5F7F'} onUpdate={() => updateFlash()} /> <CountDown endTime={(Date.now() + 3 * 60 * 60 * 1000)} fontSize={'20rpx'} color={'#1B5F7F'} onUpdate={() => updateFlash()} />
</View> */} </View> */}
<View className={styles.rule} style={{ backgroundImage: `url(${INDEX_CONFIG.ruleButton})` }} onTap={() => setRuleModalVisible(true)}>活动规则</View> <View className={styles.rule} style={{ backgroundImage: `url(${INDEX_CONFIG.ruleButton})` }} onTap={() => setRuleModalVisible(true)}>活动规则</View>
<View className={styles.my_prize} style={{ backgroundImage: `url(${INDEX_CONFIG.myPrizeButton})` }} onTap={onGoMyPrizePage}>我的奖品</View> <View className={styles.my_prize} style={{ backgroundImage: `url(${INDEX_CONFIG.myPrizeButton})` }} onTap={onGoMyPrizePage}>我的奖品</View>
<View className={styles.share} style={{ backgroundImage: `url(${INDEX_CONFIG.shareButton})` }} onTap={onShare}>分享</View> <View className={styles.share} style={{ backgroundImage: `url(${INDEX_CONFIG.shareButton})` }} onTap={onShare}>分享</View>
......
...@@ -14194,10 +14194,10 @@ taro-ui@^3.0.0-alpha.3: ...@@ -14194,10 +14194,10 @@ taro-ui@^3.0.0-alpha.3:
lodash "^4.17.10" lodash "^4.17.10"
prop-types "^15.7.2" prop-types "^15.7.2"
tbcc-sdk-ts@^1.0.2: tbcc-sdk-ts@^1.0.4:
version "1.0.2" version "1.0.5"
resolved "https://registry.yarnpkg.com/tbcc-sdk-ts/-/tbcc-sdk-ts-1.0.2.tgz#af78ef609af8e972a8628cd2ac4cfa5757c422ce" resolved "https://registry.yarnpkg.com/tbcc-sdk-ts/-/tbcc-sdk-ts-1.0.5.tgz#f32d819388534ea0706613a63d0d1f44907646fa"
integrity sha512-cVXOZmY9sjGjEsSVlFxBcrOmRA5K099DoCfGEtYuFfR94gsR4OdSnB/BELfIan4bnzPXPddS5MjM567wsNbnww== integrity sha512-CdzjEYOGfZ4pVqRNGJmJ5G9x29r/55jMK3Rb1fiRQiCcOZVrpMbwwuvjJNCwpWCdfJHfFkwos+X6R2vhbLktPw==
optionalDependencies: optionalDependencies:
"@types/lodash" "^4.14.160" "@types/lodash" "^4.14.160"
"@types/node" "^14.6.0" "@types/node" "^14.6.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment