oh man, never tell a Chinese person you love Gong Li or they'll spend 20 minutes reminding you how ugly she is by Chinese standards and that you have yellow fever
I recognize your name from the China group, perhaps you still live there. It's in a small village in Shanxi near the town of Pingyao. Everything is maybe an hour or so outside of Taiyuan. Pingyao alone is worth the trip as it was the banking center of Asia (where they literally invented money transfers, etc. If you're interested in finance, it's pretty amazing to go there to and see contracts where x merchant deposited y amount in Pingyao and would thus have z line of credit for his business partner when he arrives at their branch in Tianjin. Anyway... after collapse of the Qing, there was literally no reason to have a specialized, tiny and landlocked city for banking purposes so the economy collapsed, the banks moved to big coastal cities and the city become a time capsule of what an affluent Qing Dynasty town looked like as it was then too broke to bulldoze and development modern infrastructure. They still have much of the original buildings and are still encapsulated within their city wall.
About half an hour or so outside the city is a mansion that belonged to a wealthy family and that's where it was filmed. Pingyao and that mansion are definitely places you need to visit if you haven't already.
https://en.wikipedia.org/wiki/Qiao_Family_Compound
Datong is also another criminally under rated place to visit. Was the capital of the Northern Wei dynasty but today is the largest coal production center in all of China so it's associated with being dirty and poor and thus not many Chinese think of it but the Buddha Grottoes and Hanging Temple were two of the most amazing places I've ever been to and I've literally traveled all over the world. In fact, from the Buddha Grottoes, you can see one of the world's largest coal mines, so big it has it's own hospital and school - basically a city unto itself.