The examples in this article mainly implement the region name that calls the purchase supply information on the home page of the destoon. This is a more practical technique in the development of destroyon.
The implementation code is as follows:
{loop $tags $k $t} [{area_pos($t[areaid], '/', 1)}]{$t[title]} {/loop}
The code description is as follows:
$t[areaid], '/', 1
The second parameter is the separator between the region and the subregion
The third parameter is optional: set to 1 to display only the first-level regional classification; set to 2 to display second-level regional classification, etc.