In Shanghai - it's a mix of no detectors and very weird-looking body scanner type detectors that work at random times.
In Beijing the metal detectors at every station are there, but they're quite useless. Everyone alarms them with their phones, the security people wave the wand to make it seem like they're checking something and that's it.
Bags get scanned, but half the time nobody is watching the screen (though I guess there's some automated detection algorithms present).
More of a dog & pony show than real security, but it doesn't slow things down too much.
Also some stations have a temp scanner that you wave your hand over.
You might get a call from the Police to make sure you are who you say you are and to confirm that you have a negative test within 48h of arrival.
For now, IN Beijing itself - no restrictions of any kind.
Entering Beijing from a place that doesn't have medium- or high-risk areas just means getting a test 48 hours before departure. Check-in counter at the airport will confirm it and then everything proceeds as normal.
This.