Correct

心血来潮

/ xīnxuè láicháo / 
Strokes

Definition

to be prompted by a sudden impulse/carried away by a whim/to have a brainstorm

Example

Definition

be seized by a whim; be prompted by a sudden impulse; have a passing fancy/whim/brainwave

1
Tā
她
xīnxuèláicháo
心血来潮
  
,
mǎi
买
le
了
yī
一
shuāng
双
xīn
新
xié
鞋
  
。

She splashed out on a new pair of shoes.

2
Xīnxuèláicháo
心血来潮
  
,
wànghūsuǒyǐ
忘乎所以

forget oneself in an impulsive moment

3
Yī
一
shí
时
xīnxuèláicháo
心血来潮

caprice of the moment

4
Xīnxuèláicháo
心血来潮
xiǎng
想
zuò
做
mǒushì
某事

get/have/feel a sudden urge to do sth; give in to a sudden urge to do sth