@using System.Text
@{
    string[] baidu = PageData["ValueInfo"].ToString().Split(',');

    string lng = "";
    string lat = "";

    if (baidu.Length == 2)
    {
        lng = baidu[0];
        lat = baidu[1];
    }
    else
    {
        lng = "118.144208";
        lat = "24.486084";
    }
}
<script language="javascript" type="text/javascript">
    seajs.use(
        [
            "/App_Themes/Skin_Manage/Extend/helper/global/global_config.js?v=@(ViewBag.Version)"
            , "/App_Themes/Skin_Manage/Extend/helper/plus/plus_baidumap.js?v=@(ViewBag.Version)"
        ]
        , function (main) {
            var @(PageData["FieldName"]) = new gblab_baidumap.func();
            @(PageData["FieldName"]).config.id = "@(PageData["FieldName"])allmap";
            @(PageData["FieldName"]).config.title = "@(PageData["NameInfo"])";
            @(PageData["FieldName"]).config.info = "@(PageData["AddressInfo"])";
            @*@(PageData["FieldName"]).config.lng = 118.193168;
            @(PageData["FieldName"]).config.lat = 24.488578;*@
            @(PageData["FieldName"]).config.ischangecity = true;
            @(PageData["FieldName"]).config.ismarklist = true;

            @(PageData["FieldName"]).config.isenablesearch = false;
            @(PageData["FieldName"]).config.lng = '@(lng)';
            @(PageData["FieldName"]).config.lat = '@(lat)';
            @(PageData["FieldName"]).init();
        }
    );
</script>

<input id="@(PageData["FieldName"])" name="@(PageData["FieldName"])" type="text" value="@(PageData["ValueInfo"].ToString())" style="display:none;"/>
<div id="@(PageData["FieldName"])allmapsearch"></div>
<div id="@(PageData["FieldName"])allmap" style="height:100%; width:100%;"></div>