taoyu.html 166 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023
<!-- NL2R -->
<script type="text/template" id="NL2R-template">
    <div class="form-group">
        <label>左侧图</label>
    </div>
    <p><input type="button" id="batchAddImage" class="btn btn-info btn-xs" value="批量添加左侧图" style="margin:10px;"></p>
    [[if contentData.data.left.length]]
    <ul class="draggable" data-array="data.left">
        [[each contentData.data.left as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="left.[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="left.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="left.[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                    <td><button class="btn btn-danger btn-sm delBtn" data-event="NL2R.left" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    [[/if]]
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="继续添加" style="margin:10px;" data-event="NL2R.left"></p>
    <div class="form-group">
        <label>右侧图</label>
    </div>
    <ul class="draggable" data-array="data.right">
        [[each contentData.data.right as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="right.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="right.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="right.[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!-- 奥莱专用-人气品牌(产品表示暂时不用) -->
<script type="text/template" id="outletsHotBrands-template">
    <div class="form-group">
        <label>标题:</label>
        <input type="text" class="form-control input-form observe" value="[[contentData.data.title.title]]" data-field="title.title">
    </div>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="批量选择品牌" style="margin:10px;"><span class="grey">注:此操作会覆盖已有选择</span></p>

</script>
<!-- 三张图片 -->
<script type="text/template" id="threePicture-template">
    <ul class="draggable" data-array="data">
        [[each contentData.data as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!-- 品类推荐 -->
<script type="text/template" id="recommendCategory-template">
    <div class="form-group">
        <label>标题</label>
        <input type="text" class="form-control input-form observe" data-field="title" value="[[contentData.data.title]]">
    </div>
    <ul class="draggable" data-array="data.categoryList">
        [[each contentData.data.categoryList as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td>
                        <div class="form-group">
                            <label class="col-sm-2">导航名称(PC):</label>
                            <div class="col-sm-5">
                                <input type="text" value="[[item.navigateNamePC]]" class="form-control observe" data-field="categoryList.[[index]].navigateNamePC">
                            </div>
                            <label class="col-sm-2">导航图片(APP)</label>
                            <input type="file" name="file" value="[[item.navigateImageSrcApp]]" class="observe" data-field="categoryList.[[index]].navigateImageSrcApp"/>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2">跳转目的</label>
                            <div class="col-sm-4">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="categoryList.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                            <label class="col-sm-2">跳转地址</label>
                            <div class="col-sm-4">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="categoryList.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2">落地页图片</label>
                            <div class="col-sm-10">
                                <input type="file" name="file" value="[[item.bannerImage]]" class="observe" data-field="categoryList.[[index]].bannerImage"/>
                            </div>
                        </div>
                    </td>
                    <td><button class="btn btn-danger btn-sm delBtn" data-event="recommendCategory.categoryList" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加品类" style="margin:10px;" data-event="recommendCategory.categoryList"></p>
</script>
<!-- 品类导航 -->
<script type="text/template" id="categoryNavigation-template">
    <ul class="draggable" data-array="data">
        [[each contentData.data as item index]]
        <li>
            <div class="form-group">
                <label>品类名称:</label>
                <input type="text" placeholder="品类名称" value="[[item.categoryName]]" class="observe" data-field="[[index]].categoryName" required>
                <select name="goTo" class="observe" value="[[item.url.action]]" data-field="[[index]].url.action">
                    [[layout action_template]]
                </select>
                <input type="text" placeholder="url" value="[[item.url.url]]" data-field="[[index]].url.url" class="observe"/>
                <a type="button" class="btn btn-danger btn-xs delBtn" data-event="categoryNavigation.data" data-index="[[index]]">删除</a>
            </div>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加品类" style="margin:10px;" data-event="categoryNavigation.data"></p>
</script>
<!-- 折扣专场 -->
<script type="text/template" id="discountActivity-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题:</label>&emsp;&emsp;
            <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称:</label>
            <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的:</label>
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址:</label>
            <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url">
        </div>
    </div>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <div class="form-group">
                <label>专题ID</label>
                <input type="text" placeholder="专区ID" value="[[item.id]]" class="observe" data-field="list.[[index]].id" required="required">
                <a type="button" class="btn btn-danger btn-xs delBtn" data-event="discountActivity.list" data-index="[[index]]">删除</a>
            </div>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加一个" style="margin:10px;" data-event="discountActivity.list"></p>
</script>
<!-- 会员专享 -->
<script type="text/template" id="vipFloor-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题:</label>&emsp;&emsp;
            <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称:</label>
            <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的:</label>
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址:</label>
            <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>商品池ID:</label>
            <input type="text" class="form-control input-form observe" placeholder="商品池ID" value="[[contentData.data.title.productPoolId]]" data-field="title.productPoolId">
        </div>
    </div>
    <ul class="draggable" data-array="data.image">
        [[each contentData.data.image as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="image.[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="image.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="image.[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!-- 断码区 -->
<script type="text/template" id="offCodeArea-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题:</label>&emsp;&emsp;
            <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称:</label>
            <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的:</label>
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址:</label>
            <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url">
        </div>
    </div>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>

<!-- 标题图片 -->
<script type="text/template" id="titleImage-template">
    <div class="panel-body" id="titleImage-baseFrom">
        <div class="form-group">
            <div class="col-sm-6">
                <label>标题</label>&emsp;&emsp;&emsp;&emsp;
                <input type="text" class="form-control observe input-form" placeholder="标题" data-field="title" value="[[contentData.data.title]]" required="required">
            </div>
            <div class="col-sm-6">
                <label>更多名称</label>&emsp;&emsp;
                <input type="text" data-field="more_name" placeholder="更多名称" value="[[contentData.data.more_name]]" class="form-control observe input-form">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-6">
                <label>跳转目的</label>&emsp;&emsp;
                <select name="goTo" class="form-control observe input-form" data-field="more_url.action" value="[[contentData.data.more_url.action]]" >
                    [[layout action_template]]
                </select>
            </div>
            <div class="col-sm-6">
                <label>跳转地址</label>&emsp;&emsp;
                <input value="[[contentData.data.more_url.url]]" placeholder="url" data-field="more_url.url" class="form-control observe input-form" />
                <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
            </div>
        </div>
        <div>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <thead>
                <tr>
                    <td align="center"><strong>序号</strong></td>
                    <td align="center"><strong>资源位</strong></td>
                    <td align="center"><strong>选项</strong></td>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td align="center">1</td>
                    <td align="center"><input type="file" name="file" placeholder="图片" value="[[contentData.data.image.src]]" data-field="image.src" class="observe"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="form-control observe" data-field="image.url.action" value="[[contentData.data.image.url.action]]" >
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" value="[[contentData.data.image.url.url]]" placeholder="url" class="form-control observe" data-field="image.url.url" />
                                <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</script>
<!--多标签图片-->
<script type="text/template" id="multiLabelImage-template">
    [[each contentData.data.label as item index]]
    <div class="form-group">
        <div class="col-sm-12">
            <label>标签[[index+1]]:</label>
            <input type="text" class="observe form-control" placeholder="名称" value="[[item.title]]" data-field="label.[[index]].title" required="required" style="display:inline-block;width: 100px">

            <label>跳转目的</label>
            <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="label.[[index]].url.action" style="display:inline-block;width: 160px">
                [[layout action_template]]
            </select>
            <label>跳转地址</label>
            <input type="text" class="observe form-control" placeholder="跳转地址" value="[[item.url.url]]" data-field="label.[[index]].url.url" style="display:inline-block;width: 160px" />
        </div>
    </div>
    [[/each]]
    <a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="multiLabelImage.label">添加标签</a>
    <div>
        <ul class="draggable" data-array="data.image">
            [[each contentData.data.image as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]</td>
                        <td align="center"><input type="file" name="file" value="[[item.src]]" data-field="image.[[index]].src" class="observe" required="required"/></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="form-control observe" data-field="image.[[index]].url.action" value="[[item.url.action]]" >
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="image.[[index]].url.url" required="required" />
                                    <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
                                </div>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
    </div>
    <a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="multiLabelImage.image">添加图片</a>
</script>
<!--搭配(2T-nF)-->
<script type="text/template" id="matchImage-template">
    <div class="panel-body" id="matchImage-baseFrom">
        <div class="form-group">
            <div class="col-sm-6">
                <label>标题</label>&emsp;&emsp;&emsp;&emsp;
                <input type="text" placeholder="标题" class="form-control observe input-form" data-field="title.name" value="[[contentData.data.title.name]]" required="required" >
            </div>
            <div class="col-sm-6">
                <label>更多名称</label>&emsp;&emsp;
                <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name" class="form-control observe input-form" >
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-6">
                <label>跳转目的</label>&emsp;&emsp;
                <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action" >
                    [[layout action_template]]
                </select>
            </div>
            <div class="col-sm-6">
                <label>跳转地址</label>&emsp;&emsp;
                <input value="[[contentData.data.title.more_url.url]]" placeholder="url" class="form-control observe input-form" required="required" data-field="title.more_url.url" />
                <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
            </div>
        </div>
        <div>
            <h4>2T</h4>
            <ul class="draggable" data-array="data.top_image">
                [[each contentData.data.top_image as item index]]
                <li>
                    <table class="table table-hover table-bordered responsive dataTable no-footer">
                        <tbody>
                        <tr>
                            <td align="center">[[index+1]]</td>
                            <td align="center"><input type="file" name="file" value="[[item.src]]" data-field="top_image.[[index]].src" class="observe" required="required"/></td>
                            <td>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <select name="goTo" class="form-control observe" data-field="top_image.[[index]].url.action" value="[[item.url.action]]" >
                                            [[layout action_template]]
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="top_image.[[index]].url.url" required="required" />
                                        <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </li>
                [[/each]]
            </ul>
            <h4>nF</h4>
            <ul class="draggable" data-array="data.list">
                [[each contentData.data.list as item index]]
                <li>
                    <table class="table table-hover table-bordered responsive dataTable no-footer">
                        <tbody>
                        <tr>
                            <td align="center">[[index+1]]</td>
                            <td align="center"><input type="file" name="file" value="[[item.src]]" data-field="list.[[index]].src" class="observe" required="required"/></td>
                            <td>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <select name="goTo" class="form-control observe" data-field="list.[[index]].url.action" value="[[item.url.action]]" >
                                            [[layout action_template]]
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="list.[[index]].url.url" required="required" />
                                        <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </li>
                [[/each]]
            </ul>
        </div>
        <a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="matchImage.list">添加一个</a>
    </div>
</script>

<!--推荐(1T-1L-4R)   -->
<script type="text/template" id="recommendContentOne-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]" required="required" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称</label>&emsp;&emsp;
            <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的</label>&emsp;&emsp;
            <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址</label>&emsp;&emsp;
            <input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
            <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
        </div>
    </div>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="recommendContentOne.big_image"></p>
    <ul class="draggable" data-array="data.big_image">
        [[each contentData.data.big_image as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="big_image.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" style="margin:10px;" data-event="recommendContentOne.list"></p>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="list.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!-- SALE(1T-1L-4R) -->
<script type="text/template" id="sale1T1L4R-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]" required="required" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称</label>&emsp;&emsp;
            <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的</label>&emsp;&emsp;
            <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址</label>&emsp;&emsp;
            <input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
            <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
        </div>
    </div>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="sale1T1L4R.big_image"></p>
    <ul class="draggable" data-array="data.big_image">
        [[each contentData.data.big_image as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="big_image.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                    <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="sale1T1L4R.big_image" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" style="margin:10px;" data-limit=5 data-event="sale1T1L4R.list"></p>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index == 0 ? "1L" : "4R" + index]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="list.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                    <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="sale1T1L4R.list" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!--日韩馆(1T-1L-6R)   -->
<script type="text/template" id="jkFloor-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]"  data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称</label>&emsp;&emsp;
            <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的</label>&emsp;&emsp;
            <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址</label>&emsp;&emsp;
            <input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
            <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
        </div>
    </div>
    <!--<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="jkFloor.big_image"></p>-->
    <ul class="draggable" data-array="data.big_image">
        [[each contentData.data.big_image as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="big_image.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" data-limit="6" style="margin:10px;" data-event="jkFloor.list"></p>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="list.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                    <td><button class="btn btn-danger btn-sm delBtn" data-event="jkFloor.list" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!--推荐(1T-6F)   -->
<script type="text/template" id="recommendContentTwo-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]" required="required" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称</label>&emsp;&emsp;
            <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的</label>&emsp;&emsp;
            <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址</label>&emsp;&emsp;
            <input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
            <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
        </div>
    </div>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="recommendContentTwo.big_image"></p>
    <ul class="draggable" data-array="data.big_image">
        [[each contentData.data.big_image as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="big_image.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" style="margin:10px;" data-event="recommendContentTwo.list"></p>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="list.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!--推荐(1T-12F)   -->
<script type="text/template" id="recommendContentThree-template">
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="recommendContentThree.big_image"></p>
    <ul class="draggable" data-array="data.big_image">
        [[each contentData.data.big_image as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="big_image.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" style="margin:10px;" data-event="recommendContentThree.list"></p>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!--推荐(L1-RT1-RF2)-->
<script type="text/template" id="recommendContentFour-template">
    <div class="form-group">
        <div class="col-sm-10">
            <label>左边图片标题</label>&emsp;
            <input type="text" placeholder="左边图片标题" class="observe form-control input-form" data-field="left.title" value="[[contentData.data.left.title]]" required="required">
        </div>
    </div>
    <ul class="draggable" data-array="data.left.list">
        [[each contentData.data.left.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="left.list.[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="left.list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input value="[[item.url.url]]" class="form-control observe" data-field="left.list.[[index]].url.url" placeholder="url"/>
                                <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input value="[[item.alt]]" class="form-control observe" data-field="left.list.[[index]].alt" placeholder="图片描述"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <div class="form-group">
        <div class="col-sm-10">
            <label>右边图片标题:</label>
            <input type="text" class="observe form-control input-form" placeholder="右边图片标题" data-field="right.title" value="[[contentData.data.right.title]]" required="required">
        </div>
    </div>
    <ul class="draggable" data-array="data.right.list">
        [[each contentData.data.right.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="right.list.[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="right.list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input value="[[item.url.url]]" class="form-control observe" data-field="right.list.[[index]].url.url" placeholder="url"/>
                                <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input value="[[item.alt]]" class="form-control observe" data-field="right.list.[[index]].alt" placeholder="图片描述"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!--推荐(标题 + 12张图)    -->
<script type="text/template" id="recommendContentFive-template">
    <div class="form-group">
        <div class="col-sm-10">
            <label>标题</label>&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.title]]" required="required" data-field="title.title">
            <label>&emsp;&emsp;
                是否显示<input type="checkbox" name="is_show" value="1" id="recommendContentFive-is_show" [[contentData.data.title.is_show==1?'checked':'']]>
            </label>
            <label>&emsp;&emsp;
                APP6.0版本<input type="checkbox" name="isNewCategory" value="1" id="isNewCategory" [[contentData.isNewCategory==1?'checked':'']]>
            </label>
        </div>
    </div>
    <div class="form-group">
            <div class="col-sm-6">
            <label>"更多"样式</label>&emsp;&emsp;&emsp;
            <input type="radio" name="more_type" class="more_type" value="1" [[contentData.data.more.more_type=="1"?"checked":""]]> 名称
            <input type="text" placeholder="名称" class="form-control observe input-form" value="[[contentData.data.more.more_name]]"  data-field="more.more_name">

            </div>
            <div class="col-sm-3">
                <div style="float: left;line-height: 40px; padding-right: 10px;">
                <input type="radio" name="more_type" class="more_type" value="2" [[contentData.data.more.more_type=="2"?"checked":""]]>
                </div>
                <label style="line-height: 40px; float: left; padding-right: 30px;">图标</label>&emsp;&emsp;
                <div style="float: left;">
            <input type="file" name="file" value="[[contentData.data.more.src]]" class="observe" data-field="more.src"/>
                </div>
            </div>
    </div>
    <div class="form-group">
        <div class="col-sm-10">
            <label>"更多"落地</label>&emsp;&emsp;&emsp;
                <select name="goTo" class="form-control observe input-form" value="[[contentData.data.more.url.action]]" data-field="more.url.action">
                    [[layout action_template]]
                </select>
                <input value="[[contentData.data.more.url.url]]" class="form-control observe input-form" data-field="more.url.url" placeholder="url"/>
        </div>
    </div>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="list.[[index]].title"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加一张" style="margin:10px;" data-event="recommendContentFive.list"></p>
</script>

<!--图片广告-->
<script type="text/template" id="imageGroup-template">
    <div class="form-group">
        <div class="col-sm-12">
            <label>标题设置</label>
            <input name="title" type="text" class="observe form-control input-form" placeholder="标题" value="[[contentData.data.title]]" data-field="title" required>
            <label>更多设置</label>
            <input type="text" placeholder="更多" prompt="更多设置" class="observe form-control input-form" style="width:120px;" value="[[contentData.data.more]]" data-field="more">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>更多链接</label>
            <input type="text" placeholder="更多链接" value="[[contentData.data.more_url]]" class="observe form-control input-form" data-field="more_url" />
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <label>样式设置</label>
            <select name="image_style" value="[[contentData.data.image_style]]" data-field="image_style" class="observe form-control input-form">
                <option value="default">默认(一张图片)</option>
                <option value="T1F2">T1+F2</option>
                <option value="L1R2">L1+R2</option>
                <option value="imageList" selected="selected">图片列表</option>
            </select>
            <label>每行显示数量</label>
            <select name="show_num" value="[[contentData.data.show_num]]" data-element="imageGroup" data-field="show_num" class="observe form-control input-form">
                <option value="0" selected="selected">一行显示</option>
                <option value="1">一行一个</option>
                <option value="2">一行两个</option>
                <option value="4">一行四个</option>
                <option value="6">一行六个</option>
            </select><i color="#999">注:只有图片列表是选择才会有效</i>
        </div>
    </div>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" data-field="list.[[index]].src" class="observe"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input value="[[item.url.url]]" placeholder="url" class="form-control observe" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input placeholder="图片描述" value="[[item.title]]" data-field="list.[[index]].title" class="form-control observe"  />
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    <a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="imageGroup.list">添加图片</a>
</script>
<!--自定义参数-->
<script type="text/template" id="paramsGroup-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题设置</label>&emsp;&emsp;
            <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title]]" required="required" data-field="title">
        </div>
        <div class="col-sm-6">
            <label>更多设置</label>&emsp;&emsp;
            <input type="text" placeholder="更多" value="[[contentData.data.more]]" class="form-control observe input-form" data-field="more">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <label>跳转地址</label>&emsp;&emsp;
            <input type="text" placeholder="url" value="[[contentData.data.more_url.url]]" class="form-control observe input-form" data-field="more_url.url"/>
            <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
        </div>
    </div>
    <div id="paramsGroup-bottom">
        <ul class="draggable sortable" data-array="data.list" style="margin:10px;width:100%;">
            [[each contentData.data.list as item index]]
            <li class="dragItem">
                <table style="width:100%;z-index:-1;">
                    <tbody>
                    <tr>
                        <td width="100px">标题:<input type="text" placeholder="标题" required style="width: 60px;" class="observe" value="[[item.title]]" data-field="list.[[index]].title"></td>
                        <td>参数:<input type="text" placeholder="参数" style="width:300px;" class="observe" value="[[item.params]]" data-field="list.[[index]].params"></td>
                        <td><button class="btn btn-danger btn-sm delBtn" data-event="paramsGroup.list" type="button" data-index="[[index]]">删除</button></td>
                    </tr>
                    </tbody>
                </table>
                <p style="color:#999">如:https://m.yohobuy.com/list?gender=1,3&amp;msort=1,3 参数为:gender=1,3&amp;msort=1,3</p>
            </li>
            [[/each]]
        </ul>
        <button type="button" class="btn btn-sm addBtn" data-event="paramsGroup.list">添加一个</button>
    </div>
</script>
<!--新人专享-->
<script type="text/template" id="newUserFloor-template">
    <div class="form-group">
        <div class="col-sm-4">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe form-control input-form" data-field="title.name">
        </div>
        <div class="col-sm-2">
            <label>更多名称</label>&emsp;&emsp;
            <input type="text" placeholder="" value="[[contentData.data.title.more_name]]" style="width:57px;" class="observe form-control input-form" data-field="title.more_name">
        </div>
        <div class="col-sm-3">
            <label style="line-height: 40px; float: left; padding-right: 30px;">添加皮肤</label>&emsp;&emsp;
            <div style="float: left;">
            <input type="file" name="file" value="[[contentData.data.background?contentData.data.background.src:'']]" class="observe" data-field="background.src"/>
            </div>
            <label>&emsp;&emsp;
                APP6.0版本<input type="checkbox" name="isNewUserFloor" value="1" id="isNewUserFloor" [[contentData.isNewUserFloor==1?'checked':'']]>
            </label>
        </div>
        <div class="col-sm-3"  style="display: none">
            <label>背景色</label>&emsp;
            <input type="text" placeholder="#FFFFFF" value="[[contentData.data.background?contentData.data.background.color:'']]" style="width:100px;" class="observe form-control input-form" data-field="background.color">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <label>更多链接</label>&emsp;&emsp;
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
            <input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe form-control input-form" data-field="title.more_url.url"/>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-10">
            <label>活动ID</label>&emsp;&emsp;&emsp;
            <input type="text" placeholder="活动id" class="observe form-control input-form" value="[[contentData.data.title.active_id]]" data-field="title.active_id">
        </div>
    </div>
    <p><input type="button" class="btn btn-info btn-xs addBtn" value="添加banner" style="margin:10px;" data-event="newUserFloor.banner_image"></p>
    <div id="newUserFloor-bottom">
        <ul class="draggable" data-array="data.banner_image">
            [[each contentData.data.banner_image as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]</td>
                        <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="banner_image.[[index]].src"/></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="banner_image.[[index]].url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" required="required" data-field="banner_image.[[index]].url.url"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="图片描述" value="[[item.title]]" class="form-control observe" data-field="banner_image.[[index]].title"/>
                                </div>
                            </div>
                        </td>
                        <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="newUserFloor.banner_image" type="button" data-index="[[index]]">删除</button></td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
    </div>
</script>
<!-- 添加活动+商品推荐楼层 -->
<script type="text/template" id="activityProductFloor-template">
    <div class="form-group">
        <div class="col-sm-4">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe form-control input-form" data-field="title.name" required>
        </div>
        <div class="col-sm-2">
            <label>更多名称</label>&emsp;&emsp;
            <input type="text" placeholder="" value="[[contentData.data.title.more_name]]" style="width:57px;" class="observe form-control input-form" data-field="title.more_name">
        </div>
        <div class="col-sm-3">
            <label style="line-height: 40px; float: left; padding-right: 30px;">添加皮肤</label>&emsp;&emsp;
            <div style="float: left;">
            <input type="file" name="file" value="[[contentData.data.background?contentData.data.background.src:'']]" class="observe" data-field="background.src"/>
            </div>
        </div>
        <div class="col-sm-3"  style="display: none">
            <label>背景色</label>&emsp;
            <input type="text" placeholder="#FFFFFF" value="[[contentData.data.background?contentData.data.background.color:'']]" style="width:100px;" class="observe form-control input-form" data-field="background.color">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <label>更多链接</label>&emsp;&emsp;
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
            <input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe form-control input-form" data-field="title.more_url.url"/>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <label>指定频道</label>&emsp;&emsp;
            <select name="channel" class="observe form-control input-form" value="[[contentData.data.channel]]" data-field="channel" required>
                <option value="">选择频道</option>
                <option value="1">男生</option>
                <option value="2">女生</option>
                <option value="3">潮童</option>
                <option value="4">创意生活</option>
            </select>
        </div>
    </div>
    <p><input type="button" class="btn btn-info btn-xs addBtn" value="添加banner" style="margin:10px;" data-event="activityProductFloor.banner_image"></p>
    <div id="activityProductFloor-bottom">
        <ul class="draggable" data-array="data.banner_image">
            [[each contentData.data.banner_image as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]</td>
                        <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="banner_image.[[index]].src"/></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="banner_image.[[index]].url.action" required>
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" required="required" data-field="banner_image.[[index]].url.url"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="图片描述" value="[[item.title]]" class="form-control observe" data-field="banner_image.[[index]].title"/>
                                </div>
                            </div>
                        </td>
                        <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="activityProductFloor.banner_image" type="button" data-index="[[index]]">删除</button></td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <label>指定推荐商品范围</label>&emsp;&emsp;
            <select id="activityProductFloor_type" name="goTo" class="observe form-control input-form" value="[[contentData.data.type]]" data-field="type">
                <option value="1">VIP 专享</option>
                <!-- <option value="2">新人专享</option> -->
                <option value="3">学生专享</option>
                <option value="4">新品到着</option>
            </select>
            <div id="activityProductFloor_activity_id" style="padding-left: 35px; display:[[if contentData.data.type == 2]]inline;[[else]]none;[[/if]]">
                <label>活动 ID</label>&emsp;&emsp;&emsp;
                <input type="text" placeholder="活动 id" class="observe form-control input-form" value="[[contentData.data.activity_id]]" data-field="activity_id" [[if contentData.data.type == 2]]required="required"[[/if]]>
            </div>
        </div>
    </div>
</script>
<!-- 人气单品 -->
<script type="text/template" id="popularSingleProduct-template">
    <div class="form-group">
        <div class="col-sm-4">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe form-control input-form" data-field="title.name" required>
        </div>
        <div class="col-sm-2">
            <label>更多名称</label>&emsp;&emsp;
            <input type="text" placeholder="" value="[[contentData.data.title.more_name]]" style="width:57px;" class="observe form-control input-form" data-field="title.more_name">
        </div>
        <div class="col-sm-3">
            <label style="line-height: 40px; float: left; padding-right: 30px;">添加皮肤</label>&emsp;&emsp;
            <div style="float: left;">
            <input type="file" name="file" value="[[contentData.data.background?contentData.data.background.src:'']]" class="observe" data-field="background.src"/>
            </div>
        </div>
        <div class="col-sm-3"  style="display: none">
            <label>背景色</label>&emsp;
            <input type="text" placeholder="#FFFFFF" value="[[contentData.data.background?contentData.data.background.color:'']]" style="width:100px;" class="observe form-control input-form" data-field="background.color">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <label>更多链接</label>&emsp;&emsp;
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
            <input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe form-control input-form" data-field="title.more_url.url"/>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-10">
            <label>活动ID</label>&emsp;&emsp;&emsp;
            <input type="text" placeholder="活动id" class="observe form-control input-form" value="[[contentData.data.title.active_id]]" data-field="title.active_id">
        </div>
    </div>
    <p><input type="button" class="btn btn-info btn-xs addBtn" value="添加banner" style="margin:10px;" data-event="popularSingleProduct.banner_image"></p>
    <div id="popularSingleProduct-bottom">
        <ul class="draggable" data-array="data.banner_image">
            [[each contentData.data.banner_image as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]</td>
                        <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="banner_image.[[index]].src"/></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="banner_image.[[index]].url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" required="required" data-field="banner_image.[[index]].url.url"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="图片描述" value="[[item.title]]" class="form-control observe" data-field="banner_image.[[index]].title"/>
                                </div>
                            </div>
                        </td>
                        <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="popularSingleProduct.banner_image" type="button" data-index="[[index]]">删除</button></td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
    </div>
</script>
<!--有序焦点-->
<script type="text/template" id="debrisSlider-template">
    <div class="panel-body" id="debrisSlider-baseFrom">
        <div class="debris_slider">
            <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加左图" style="margin:10px;" data-event="debrisSlider.left"></p>
            <ul class="draggable" data-array="data.left">
                [[each contentData.data.left as item index]]
                <li>
                    <table class="table table-hover table-bordered responsive dataTable no-footer">
                        <tbody>
                        <tr>
                            <td align="center">[[index+1]]</td>
                            <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="left.[[index]].src"/></td>
                            <td>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="left.[[index]].url.action">
                                            [[layout action_template]]
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="left.[[index]].url.url"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="left.[[index]].title"/>
                                    </div>
                                </div>
                            </td>
                            <td><button class="btn btn-danger btn-sm delBtn" data-event="debrisSlider.left" type="button" data-index="[[index]]">删除</button></td>
                        </tr>
                        </tbody>
                    </table>
                </li>
                [[/each]]
            </ul>
            <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加中间图" style="margin:10px;" data-event="debrisSlider.big_image"></p>
            <ul class="draggable" data-array="data.big_image">
                [[each contentData.data.big_image as item index]]
                <li>
                    <table class="table table-hover table-bordered responsive dataTable no-footer">
                        <tbody>
                        <tr>
                            <td align="center">[[index+1]]</td>
                            <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td>
                            <td>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action">
                                            [[layout action_template]]
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="big_image.[[index]].url.url"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="big_image.[[index]].title"/>
                                    </div>
                                </div>
                            </td>
                            <td><button class="btn btn-danger btn-sm delBtn" data-event="debrisSlider.big_image" type="button" data-index="[[index]]">删除</button></td>
                        </tr>
                        </tbody>
                    </table>
                </li>
                [[/each]]
            </ul>
            <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加右图" style="margin:10px;" data-event="debrisSlider.right"></p>
            <ul class="draggable" data-array="data.right">
                [[each contentData.data.right as item index]]
                <li>
                    <table class="table table-hover table-bordered responsive dataTable no-footer">
                        <tbody>
                        <tr>
                            <td align="center">[[index+1]]</td>
                            <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="right.[[index]].src"/></td>
                            <td>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="right.[[index]].url.action">
                                            [[layout action_template]]
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="right.[[index]].url.url"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="right.[[index]].title"/>
                                    </div>
                                </div>
                            </td>
                            <td><button class="btn btn-danger btn-sm delBtn" data-event="debrisSlider.right" type="button" data-index="[[index]]">删除</button></td>
                        </tr>
                        </tbody>
                    </table>
                </li>
                [[/each]]
            </ul>
        </div>
    </div>
</script>
<!--编辑推荐-->
<script type="text/template" id="editorTalk-template">
    <div class="form-group">
        <div class="col-sm-10">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.title]]" required="required" data-field="title.title">
            &emsp;&emsp;
            <label>是否显示
                <input type="checkbox" name="editorTalkIs_show" value="1" id="editorTalk-is_show" [[contentData.data.title.is_show==1?'checked':'']]>
                <input type="hidden" id="editorTalkIs_show" for="checkbox" value="[[contentData.data.title.is_show]]" />
            </label>
        </div>
    </div>
    <p><input type="button" class="btn btn-info btn-xs addBtn" value="添加标签" style="margin:10px;" data-event="editorTalk.list"></p>
    [[if contentData.data.list.length]]
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="标签名称" value="[[item.title]]" class="observe form-control" required="required" data-field="list.[[index]].title"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                    <td><button class="btn btn-danger btn-sm delBtn" data-event="editorTalk.list" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    [[/if]]
</script>
<!--热门品类-->
<script type="text/template" id="hotCategory-template">
    <div class="hotCategory">
        <div class="form-group">
            <div class="col-sm-12">
                <label>标题</label>&emsp;&emsp;&emsp;&emsp;
                <input type="text" placeholder="标题" class="observe form-control input-form" data-field="title.name" value="[[contentData.data.title.name]]" required>
                <label>更多名称</label>&emsp;&emsp;
                <input type="text" placeholder="更多名称" class="observe form-control input-form" data-field="title.more_name" value="[[contentData.data.title.more_name]]" style="width:100px;"><br>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-12">
                <label>跳转目的</label>&emsp;&emsp;
                <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                    [[layout action_template]]
                </select>
                <label>跳转url</label>&emsp;&emsp;&emsp;
                <input type="text" value="[[contentData.data.title.more_url.url]]" placeholder="url" class="observe form-control input-form" data-field="title.more_url.url"/>
            </div>
        </div>
        <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加左上图片" style="margin:10px;" data-event="hotCategory.blocks"></p>
        [[if contentData.data.blocks.length]]
        <ul class="draggable" data-array="data.blocks">
            [[each contentData.data.blocks as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]</td>
                        <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="blocks.[[index]].src"/></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="blocks.[[index]].url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="blocks.[[index]].url.url"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="blocks.[[index]].title"/>
                                </div>
                            </div>
                        </td>
                        <td><button class="btn btn-danger btn-sm delBtn" data-event="hotCategory.blocks" type="button" data-index="[[index]]">删除</button></td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
        [[/if]]
        <div class="form-group">
            <label>添加左下导航:</label>
        </div>
        [[each contentData.data.list as item index]]
        <div class="form-group">
            <div class="col-sm-2">
                <label>导航名称:</label>
            </div>
            <div class="col-sm-3">
                <input type="text" placeholder="导航名称" class="observe form-control" value="[[item.name]]" data-field="list.[[index]].name">
            </div>
            <div class="col-sm-3">
                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                    [[layout action_template]]
                </select>
            </div>
            <div class="col-sm-4">
                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
            </div>
        </div>
        [[/each]]
        <p>
            <input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加右侧图片" style="margin:10px;" data-event="hotCategory.imgs">
        </p>
        <ul class="draggable" data-array="data.imgs">
            [[each contentData.data.imgs as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]</td>
                        <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="imgs.[[index]].src"/></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="imgs.[[index]].url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="imgs.[[index]].url.url"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="imgs.[[index]].title"/>
                                </div>
                            </div>
                        </td>
                        <td><button class="btn btn-danger btn-sm delBtn" data-event="hotCategory.imgs" type="button" data-index="[[index]]">删除</button></td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
    </div>
</script>
<!--图片列表-->
<script type="text/template" id="imageList-template">
    <div class="form-group">
        <div class="col-sm-12">
            <label>标题:</label>
            <input type="text" placeholder="标题" class="observe form-control input-form" data-field="title.title" value="[[contentData.data.title.title]]" style="width:100px;">
            &emsp;
            <label>显示名称: </label>
            <input type="radio" name="is_show_name" class="is_show_name" value="Y" [[contentData.data.title.is_show_name=="Y"?"checked":""]]> 
            <input type="radio" name="is_show_name" class="is_show_name" value="N" [[contentData.data.title.is_show_name=="N"?"checked":""]]>  &emsp;
            <input type="hidden" id="is_show_name" for="radio" value="[[contentData.data.title.is_show_name]]" />
            <label>每行显示:</label>
            <input style="width:60px;" type="text" data-field="title.column_num" class="observe number form-control input-form" value="[[contentData.data.title.column_num]]"> 张图片
        </div>
    </div>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加图片" style="margin:10px;" data-event="imageList.list"></p>
    [[if contentData.data.list.length]]
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="图片描述" value="[[item.alt]]" class="observe form-control" data-field="list.[[index]].alt"/>
                            </div>
                        </div>
                    </td>
                    <td><button class="btn btn-danger btn-sm delBtn" data-event="imageList.list" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
    [[/if]]
</script>
<!--文本导航-->
<script type="text/template" id="textNav-template">
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" data-limit="10" value="添加一个" style="margin:10px;" data-event="textNav.data">
        </p>
    <ul class="draggable" data-array="data.list">
    [[each contentData.data as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td>
                        <input type="text" placeholder="导航中文"  value="[[item.name]]" class="observe" data-field="[[index]].name" required="required">
                        <input type="text" placeholder="导航英文" value="[[item.enName]]" class="observe" data-field="[[index]].enName" >
                        <select name="goTo" class="observe" value="[[item.url.action]]" data-field="[[index]].url.action">
                            [[layout action_template]]
                        </select>
                        <input type="text" placeholder="url" value="[[item.url.url]]" data-field="[[index]].url.url" class="observe" required="required"/>
                        <a type="button" class="btn btn-danger btn-xs delBtn" data-event="textNav.data" data-index="[[index]]">删除</a>
                        <input type="button" name="second_add" class="btn btn-info btn-xs addSecBtn" data-index="[[index]]" value="添加二级导航" style="margin:10px;">
                    </td>
                    </tr>
                <tr>
                    <td>
                        <input type="radio" class="showHotOrNew_[[index]] observe" data-field="[[index]].showHotOrNew" name="showHotOrNew_[[index]]" value="" [[item.showHotOrNew==""?"checked":""]]> 不显示HOT/NEW
                        <input type="radio" class="showHotOrNew_[[index]] observe" data-field="[[index]].showHotOrNew" name="showHotOrNew_[[index]]" value="1" [[item.showHotOrNew=="1"?"checked":""]]> 显示HOT
                        <input type="radio" class="showHotOrNew_[[index]] observe" data-field="[[index]].showHotOrNew" name="showHotOrNew_[[index]]" value="2" [[item.showHotOrNew=="2"?"checked":""]]> 显示NEW&emsp;
                        <input type="text" placeholder="请输入文案" value="[[item.doc]]" class="observe" data-field="[[index]].doc" >&emsp;
                        <input type="checkbox" class="showDivide observe" name="showDivide_[[index]]" data-field="[[index]].showDivide" value="1" [[item.showDivide=="1"?"checked":""]]> 显示分隔
                    </td>
                </tr>
                    <tr>
                        <td>
                            <ul class="draggable">
                                [[each item.secList as itn idx]]
                                <li>
                                    <table class="table table-hover table-bordered responsive dataTable no-footer">
                                        <tbody>
                                        <tr>
                                            <td>
                                                <input type="text" placeholder="导航中文" data-index="[[index]]" value="[[itn.name]]" class="observe2" data-field="[[idx]].name" required="required" style="margin-left:40px">
                                                <input type="text" placeholder="导航英文" data-index="[[index]]" value="[[itn.enName]]" class="observe2" data-field="[[idx]].enName" >
                                                <select name="goTo" class="observe2" data-index="[[index]]" value="[[itn.url.action]]" data-field="[[idx]].url.action">
                                                    [[layout action_template]]
                                                </select>
                                                <input type="text" placeholder="url" data-index="[[index]]" value="[[itn.url.url]]" data-field="[[idx]].url.url" class="observe2" required="required"/>
                                                <a type="button" class="btn btn-danger btn-xs delBtn2" data-index="[[index]]"  data-idx="[[idx]]">删除</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <input type="radio" class="showHotOrNew2_[[idx]] observe2" data-index="[[index]]" data-field="[[idx]].showHotOrNew2" name="showHotOrNew2_[[idx]]" value="" [[itn.showHotOrNew2==""?"checked":""]] style="margin-left:40px"> 不显示HOT/NEW
                                                <input type="radio" class="showHotOrNew2_[[idx]] observe2" data-index="[[index]]" data-field="[[idx]].showHotOrNew2" name="showHotOrNew2_[[idx]]" value="1" [[itn.showHotOrNew2=="1"?"checked":""]]> 显示HOT
                                                <input type="radio" class="showHotOrNew2_[[idx]] observe2" data-index="[[index]]" data-field="[[idx]].showHotOrNew2" name="showHotOrNew2_[[idx]]" value="2" [[itn.showHotOrNew2=="2"?"checked":""]]> 显示NEW&emsp;
                                                <input type="text" placeholder="请输入文案" value="[[itn.doc]]" data-index="[[index]]" class="observe2" data-field="[[idx]].doc" >&emsp;
                                                <input type="checkbox" class="showDivide observe2" name="showDivide_[[idx]]" data-index="[[index]]" data-field="[[idx]].showDivide" value="1" [[itn.showDivide=="1"?"checked":""]]> 显示分隔
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </li>
                                [[/each]]
                            </ul>
                        </td>
                    </tr>
                </tbody>
                </table>
            </li>
    [[/each]]
        </ul>

</script>
<!--轮播banner-->
<script type="text/template" id="carouselBanner-template">
    <div class="form-group">
        <div class="col-sm-10">
            <input type="button" name="select-pic" value="添加图片" class="btn btn-info btn-xs addBtn" style="margin:10px;" data-event="carouselBanner.list">
            <label>轮播速度:</label>
            <input type="text" placeholder="轮播速度" class="observe form-control input-form" data-field="speed" value="[[contentData.data.speed]]">
        </div>
    </div>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                    <td align="center"><button class="btn btn-danger btn-sm delBtn" type="button" data-event="carouselBanner.list" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!--添加促销-->
<script type="text/template" id="promotion-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>添加促销id</label>
            <input type="text" placeholder="促销id" class="observe form-control input-form" value="[[contentData.data.promotionId]]" data-field="promotionId">
        </div>
    </div>
</script>
<!--标题广告-->
<script type="text/template" id="singleNameImage-template">
    <div class="form-group">
        <label class="control-label col-sm-2">添加标题:</label>
        <div class="col-sm-4">
            <input type="text" placeholder="标题" class=" form-control observe" value="[[contentData.data.title]]" data-field="title">
        </div>
    </div>
    <table class="table table-hover table-bordered responsive dataTable no-footer">
        <thead>
        <tr>
            <th>序号</th>
            <th>资源位</th>
            <th>选项</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td align="center">1</td>
            <td align="center"><input type="file" name="file" value="[[contentData.data.src]]" class="observe" data-field="src" required/></td>
            <td>
                <div class="form-group">
                    <div class="col-sm-10">
                        <select name="goTo" class="observe form-control" value="[[contentData.data.url.action]]" data-field="url.action">
                            [[layout action_template]]
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="text" placeholder="url" value="[[contentData.data.url.url]]" class="observe form-control" required="required" data-field="url.url"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10">
                        <input type="text" placeholder="图片描述" value="[[contentData.data.alt]]" class="observe form-control" data-field="alt"/>
                    </div>
                </div>
            </td>
        </tr>
        </tbody>
    </table>
</script>
<!--焦点图-->
<script type="text/template" id="focus-template">
    <input type="button" class="btn btn-info btn-xs addBtn" data-event="focus.data" value="添加图片" style="margin:10px;"><br>

    <div class="form-group">
        <div class="col-sm-10">
            <label>&emsp;&emsp;
                是否顶边: <input type="checkbox" name="is_extend" id="focus_is_extend" value="1" [[contentData.is_extend==1?'checked':'']]>
            </label>
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-10">
            <label>焦点图类型:</label>
            <select class="form-control input-form" id="focus-select" value="[[contentData.focus_type]]">
                <option value="1">通栏</option>
                <option value="2">左右滑动</option>
                <option value="3">手风琴</option>
            </select>
            <label>&emsp;&emsp;
                APP6.0版本<input type="checkbox" name="isNewFocus" value="1" id="isNewFocus" [[contentData.isNewFocus==1?'checked':'']]>
            </label>
            &emsp;&emsp;&emsp;&emsp;
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-10">
            <label>
                大于等于APP6.8.2版本<input type="checkbox" name="after_app_version_682" value="1" id="after_app_version_682" [[contentData.after_app_version_682==1?'checked':'']]>
            </label>
            &emsp;&emsp;
            <label>  宽度:</label>
            <input type="text" placeholder="图片宽度" class="observe number" id="focus_image_width" data-field="image_width" value="[[contentData.image_width]]" style="width:100px;" >
            &emsp;&emsp;
            <label>  高度:</label>
            <input type="text" placeholder="图片高度" class="observe number" id="focus_image_height" data-field="image_height" value="[[contentData.image_height]]" style="width:100px;" >

        </div>
    </div>

    <ul class="draggable" data-array="data">
        [[each contentData.data as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                个性化推荐:<input type="checkbox" class="isFocusRec observe" name="isFocusRec_[[index]]" value="1" data-field="[[index]].isFocusRec"  [[item.isFocusRec==1?'checked':'']]>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="[[index]].url.url"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="图片描述" value="[[item.alt]]" class="observe form-control" data-field="[[index]].alt"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="通栏背景色" value="[[item.bgColor]]" class="observe form-control" data-field="[[index]].bgColor"/>
                            </div>
                        </div>
                    </td>
                    <td><button class="btn btn-danger btn-sm delBtn" data-event="focus.data" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>


<script type="text/template" id="headChannelSwitch-template">
    <label class="control-label">色值:请填写十六进制</label>
    <input type="button" class="btn btn-info btn-xs addBtn" data-event="headChannelSwitch.data" value="添加Tab" style="margin:10px;">
    <br>
            <ul class="draggable" data-array="data">
                [[each contentData.data as item index]]
                <li>
                    <table class="table table-hover table-bordered responsive dataTable no-footer">
                        <tbody>
                        <tr>
                            <td align="center" rowspan="2">[[index+1]]</td>
                            <td align="center" >
                                <input class="form-control observe" value="[[item.tabName?item.tabName:'']]" placeholder="Tab中文名称"
                                       data-field='[[index]].tabName' required/>
                            </td>
                            <td align="center">
                                <input class="form-control observe" value="[[item.tabNameEn?item.tabNameEn:'']]" placeholder="Tab英文名称"
                                       data-field='[[index]].tabNameEn'/>
                            </td>
                            <td align="center">
                                <input class="form-control observe" value="[[item.channel?item.channel:'']]" placeholder="频道"
                                       data-field='[[index]].channel' required/>
                            </td>
                            <td>
                                <input class="form-control observe" placeholder="code码" data-field="[[index]].code"
                                       value="[[item.code?item.code:'']]" required/>
                            </td>
                            <td>
                                <input class="form-control observe" placeholder="默认搜索词" data-field="[[index]].searchWord"
                                       value="[[item.searchWord?item.searchWord:'']]"/>
                            </td>

                            <td rowspan="2">
                                <a target="_blank" class="btn btn-xs btn-primary goResourceContent" data-index="[[index]]">内容编辑</a>
                                <button class="btn btn-danger btn-sm delBtn" data-event="headChannelSwitch.data" type="button" data-index="[[index]]">删除</button>
                                <button class="btn btn-danger btn-sm delBtnFileList" data-event="headChannelSwitch.data" type="button" data-index="[[index]]">删除图片</button>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input class="form-control observe" placeholder="背景色(色值)" data-field="[[index]].bgColor"
                                       value="[[item.bgColor?item.bgColor:'']]"/>
                            </td>
                            <td>
                                <input class="form-control observe" placeholder="文字选中(色值)" data-field="[[index]].selectedTxtBgColor"
                                       value="[[item.selectedTxtBgColor?item.selectedTxtBgColor:'']]"/><br/>
                                <input class="form-control observe" placeholder="文字非选中(色值)" data-field="[[index]].noSelectedTxtBgColor"
                                       value="[[item.noSelectedTxtBgColor?item.noSelectedTxtBgColor:'']]"/>
                            </td>
                            <td>
                                <label class="control-label">频道背景图片(选中):</label>
                                <input type="file" name="file" value="[[item.selectedBgSrc]]" class="observe" data-field="[[index]].selectedBgSrc" />
                            </td>
                            <td>
                                <label class="control-label">频道背景图片(非选中):</label>
                                <input type="file" name="file" value="[[item.noSelectedBgSrc]]" class="observe" data-field="[[index]].noSelectedBgSrc" />
                            </td>
                            <td>
                                <label class="control-label">消息盒子色值:</label>
                                <select class="observe" name="iconColor" value="[[item.iconColor]]" data-field="[[index]].iconColor">
                                    <option value="0">请选择</option>
                                    <option value="1"></option>
                                    <option value="2"></option>
                                </select>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </li>
                [[/each]]
            </ul>
</script>

<script type="text/template" id="category-template">
    <input type="button" class="btn btn-info btn-xs addBtn" data-event="category.data" value="添加图片" style="margin:10px;"><br>



    <div class="form-group">
        <div class="col-sm-10">
            <label>品类:</label>
            <select class="form-control input-form" id="categoryType" value="[[contentData.categoryType]]" >
                <option value="1">商品</option>
                <option value="2">店铺</option>
            </select>
            &emsp;&emsp;&emsp;&emsp;
        </div>
    </div>

    <ul class="draggable" data-array="data">
        [[each contentData.data as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center" rowspan="2">[[index+1]]</td>
                    <td align="center" rowspan="2"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="[[index]].src"/>
                        <button class="btn btn-danger btn-sm delBtnFileList" data-event="category.data" type="button" data-index="[[index]]">删除图片</button>
                    </td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="标题" value="[[item.title]]" class="observe form-control" data-field="[[index]].title"/>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="skn|shopId" value="[[item.skn]]" class="observe form-control" data-field="[[index]].skn"/>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="图片描述" value="[[item.alt]]" class="observe form-control" data-field="[[index]].alt"/>
                            </div>
                        </div>
                    </td>
                    <td rowspan="2"><button class="btn btn-danger btn-sm delBtn" data-event="category.data" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                <tr>
                    <td colspan="4">
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>

<script type="text/template" id="noEdit-template">
    <div>固定内容,暂时无法编辑!</div>
</script>
<script type="text/template" id="blkCategory-template">
    <div>固定内容,暂时无法编辑!</div>
</script>
<script type="text/template" id="vipGoodsFloor-template">
    <div class="panel-body">
        <div class="row">
            <label class="col-sm-2 control-label">左滑链接</label>
            <div class="col-sm-8">
                <select name="goTo" class="form-control observe input-form" value="[[contentData.data.url.action]]" data-field="url.action">
                    [[layout action_template]]
                </select>
                <input value="[[contentData.data.url.url]]" class="form-control observe input-form" data-field="url.url" placeholder="url"/>
            </div>
        </div>
    </div>
</script>

<script type="text/template" id="template-batchAddImage">
    <div class="rows" id="moduleimgs">
        <div class="form-group">
            [[each datas as item index]]
            <div class="col-sm-2">
                <img src="[[ item ]]" width="100%" height="100%">
            </div>
            [[/each]]
            <div class="col-sm-2">
                <input type="file" multiple="true" name="file" id="filemodelimgs"/>
            </div>
        </div>
    </div>
</script>

<!-- APP直播 -->
<script type="text/template" id="livePicture-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题:</label>&emsp;&emsp;
            <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称:</label>
            <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的:</label>
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址:</label>
            <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url">
        </div>
    </div>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!--6行图楼层-->
<script type="text/template" id="sixLinesFloor-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题:</label>&emsp;&emsp;
            <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称:</label>
            <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的:</label>
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址:</label>
            <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>行数:</label>&emsp;&emsp;
            <input type="text" class="form-control input-form observe" placeholder="行数" value="[[contentData.data.lines]]" data-field="lines">
        </div>
    </div>
    <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加图片" data-limit="12" style="margin:10px;" data-event="sixLinesFloor.list"></p>
    <ul class="draggable" data-array="data.list">
        [[each contentData.data.list as item index]]
        <li>
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <tbody>
                <tr>
                    <td align="center">[[index+1]]</td>
                    <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src" required/></td>
                    <td>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                    [[layout action_template]]
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="list.[[index]].url.url"/>
                            </div>
                        </div>
                    </td>
                    <td><button class="btn btn-danger btn-sm delBtn" data-event="sixLinesFloor.list" type="button" data-index="[[index]]">删除</button></td>
                </tr>
                </tbody>
            </table>
        </li>
        [[/each]]
    </ul>
</script>
<!--好店推荐-->
<script type="text/template" id="shopRecommend-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>标题:</label>&emsp;&emsp;
            <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name">
        </div>
        <div class="col-sm-6">
            <label>更多名称:</label>
            <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>跳转目的:</label>
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
        </div>
        <div class="col-sm-6">
            <label>跳转地址:</label>
            <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <input type="radio" class="isShopRecommend" name="isShopRecommend" value="N" [[contentData.isShopRecommend=="N"?"checked":""]]> 固定推荐
            <input type="radio" class="isShopRecommend" name="isShopRecommend"  value="Y" [[contentData.isShopRecommend=="Y"?"checked":""]]> 个性化推荐&emsp;
            <input type="hidden" id="isShopRecommend" for="radio" value="[[contentData.isShopRecommend]]" />
        </div>
        <div class="col-sm-6">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-10" id="shopRecommendTip"  style="display: none">
            <span style="color:red">提示:选择频道后无需手动配置,将根据大数据个性化算法,抓取内容展示给用户。</span>
        </div>
        <div class="col-sm-10" id="shopBaseTip">
            <span style="color:red" style="display: none">提示:此处配置的内容,将按顺序固定展示。</span>
        </div>
    </div>
        <div class="form-group" id="shopRecommendDiv" style="display: none">
            <div class="col-sm-12">
                <select name="shopChannelId" class="shopChannelId observe form-control input-form"  value="[[contentData.shopChannelId]]" data-field="contentData.shopChannelId">
                    <option value="0">选择频道</option>
                    <option value="1">男生</option>
                    <option value="2">女生</option>
                    <option value="3">潮童</option>
                    <option value="4">创意生活</option>
                </select>
            </div>
        </div>

    <div id="shopBaseDiv">
        <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加店铺" data-limit="12" style="margin:10px;" data-event="shopRecommend.list"></p>
        <ul class="draggable" data-array="data.list">
            [[each contentData.data.list as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]<br/>店铺</td>
                        <td align="center"><input type="file" name="file" value="[[item.src]]" class="shopRecommendRequired observe" data-field="list.[[index]].src" /></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="list.[[index]].url.url"/>
                                </div>
                            </div>
                        </td>
                        <td align="center">
                            <input type="text" placeholder="店铺id" value="[[item.shopId]]"  class="shopRecommendRequired observe number form-control input-form" data-field="list.[[index]].shopId"/>
                        </td>
                    </tr>
                    <tr>
                        <td  align="center">商品</td>
                        <td align="center"><input type="file" name="file" value="[[item.goods0.src]]" class="shopRecommendRequired observe" data-field="list.[[index]].goods0.src" /></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="observe form-control" value="[[item.goods0.url.action]]" data-field="list.[[index]].goods0.url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.goods0.url.url]]" class="observe form-control" data-field="list.[[index]].goods0.url.url"/>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td  align="center">商品</td>
                        <td align="center"><input type="file" name="file" value="[[item.goods1.src]]" class="shopRecommendRequired observe" data-field="list.[[index]].goods1.src" /></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="observe form-control" value="[[item.goods1.url.action]]" data-field="list.[[index]].goods1.url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.goods1.url.url]]" class="observe form-control" data-field="list.[[index]].goods1.url.url"/>
                                </div>
                            </div>
                        </td>
                        <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="shopRecommend.list" type="button" data-index="[[index]]">删除</button></td>
                    </tr>
                    <tr>
                        <td align="center">商品</td>
                        <td align="center"><input type="file" name="file" value="[[item.goods2.src]]" class="shopRecommendRequired observe" data-field="list.[[index]].goods2.src" /></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="observe form-control" value="[[item.goods2.url.action]]" data-field="list.[[index]].goods2.url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.goods2.url.url]]" class="observe form-control" data-field="list.[[index]].goods2.url.url"/>
                                </div>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
    </div>
</script>

<!--VIP专享-->
<script type="text/template" id="vipUse-template">
    <div class="form-group">
        <div class="col-sm-4">
            <label>标题</label>&emsp;&emsp;&emsp;&emsp;
            <input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe form-control input-form" data-field="title.name" required>
        </div>
        <div class="col-sm-2">
            <label>更多名称</label>&emsp;&emsp;
            <input type="text" placeholder="" value="[[contentData.data.title.more_name]]" style="width:57px;" class="observe form-control input-form" data-field="title.more_name">
        </div>
        <div class="col-sm-3">
            <label style="line-height: 40px; float: left; padding-right: 30px;">添加皮肤</label>&emsp;&emsp;
            <div style="float: left;">
                <input type="file" name="file" value="[[contentData.data.background?contentData.data.background.src:'']]" class="observe" data-field="background.src"/>
            </div>
        </div>
        <div class="col-sm-3" style="display: none">
            <label>背景色</label>&emsp;
            <input type="text" placeholder="#FFFFFF" value="[[contentData.data.background?contentData.data.background.color:'']]" style="width:100px;" class="observe form-control input-form" data-field="background.color">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <label>更多链接</label>&emsp;&emsp;
            <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
                [[layout action_template]]
            </select>
            <input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe form-control input-form" data-field="title.more_url.url"/>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-10">
            <label>活动ID</label>&emsp;&emsp;&emsp;
            <input type="text" placeholder="活动id" class="observe form-control input-form" value="[[contentData.data.title.active_id]]" data-field="title.active_id">
        </div>
    </div>
    <p><input type="button" class="btn btn-info btn-xs addBtn" value="添加banner" style="margin:10px;" data-event="vipUse.banner_image"></p>
    <div id="vipUse-bottom">
        <ul class="draggable" data-array="data.banner_image">
            [[each contentData.data.banner_image as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]</td>
                        <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="banner_image.[[index]].src"/></td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="banner_image.[[index]].url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" required="required" data-field="banner_image.[[index]].url.url"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="图片描述" value="[[item.title]]" class="form-control observe" data-field="banner_image.[[index]].title"/>
                                </div>
                            </div>
                        </td>
                        <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="vipUse.banner_image" type="button" data-index="[[index]]">删除</button></td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
    </div>
</script>
<!--新品楼层-->
<script type="text/template" id="newProductFloor-template">
<div class="form-group">
    <div class="col-sm-6">
        <label>标题</label>&emsp;&emsp;&emsp;&emsp;
        <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]" data-field="title.name">
    </div>
    <div class="col-sm-6">
        <label>更多名称</label>&emsp;&emsp;
        <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name">
    </div>
</div>
<div class="form-group">
    <div class="col-sm-6">
        <label>跳转目的</label>&emsp;&emsp;
        <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
            [[layout action_template]]
        </select>
    </div>
    <div class="col-sm-6">
        <label>跳转地址</label>&emsp;&emsp;
        <input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
        <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
    </div>
</div>
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加图片" data-limit=5 style="margin:10px;" data-event="newProductFloor.list"></p>
<ul class="draggable" data-array="data.list">
    [[each contentData.data.list as item index]]
    <li>
        <table class="table table-hover table-bordered responsive dataTable no-footer">
            <tbody>
            <tr>
                <td align="center">[[index == 0 ? "1L" : "4R" + index]]</td>
                <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
                <td>
                    <div class="form-group">
                        <div class="col-sm-10">
                            <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
                                [[layout action_template]]
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-10">
                            <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-10">
                            <input placeholder="图片描述" value="[[item.title]]" class="observe form-control"  data-field="list.[[index]].title"/>
                        </div>
                    </div>
                </td>
                <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="newProductFloor.list" type="button" data-index="[[index]]">删除</button></td>
            </tr>
            </tbody>
        </table>
    </li>
    [[/each]]
</ul>
</script>

<!-- 首页翻转切换页面 -->
<script type="text/template" id="rollingOverSlider-template">
    <div class="form-group">
        <div class="col-sm-6">
            <label>开始时间: </label>&emsp;&emsp;
            [[if contentData.data.begin_time_readonly]]
            <input type="text" class="form-control input-form" value="[[contentData.data.begin_time]]" style="background-color: #fff" readonly>
            [[else]]
            <input type="text" class="form-control input-form observe hasDatepickerPlat" value="[[contentData.data.begin_time]]" data-field="begin_time" style="background-color: #fff" placeholder="开始时间" required>
            [[/if]]
        </div>
        <div class="col-sm-1">
            <label>左滑提示图片: </label>
        </div>
        <div class="col-sm-5">
            <input type="file" class="observe" name="file" value="[[contentData.data.images.left]]" data-field="images.left">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-6">
            <label>结束时间: </label>&emsp;&emsp;
            <input type="text" class="form-control input-form observe hasDatepickerPlat" value="[[contentData.data.end_time]]" data-field="end_time" style="background-color: #fff" placeholder="结束时间" required>
        </div>
        <div class="col-sm-1">
            <label>右滑提示图片: </label>
        </div>
        <div class="col-sm-5">
            <input type="file" class="observe" name="file" value="[[contentData.data.images.right]]" data-field="images.right">
        </div>
    </div>
    <div class="from-group">
        <div style="margin: 10px;">
            <label>应用范围: </label>&emsp;&emsp;
            <select id="scope-select" class="form-control input-form" value="[[contentData.data.scope]]">
                <option value="0">所有频道首页通用</option>
                <option value="1">不同频道首页分别设置</option>
            </select>
            [[if contentData.data.scope == '1']]
            <span class="red">(说明:不同频道首页按照不同的序列翻转,需分开设置)</span>
            [[else]]
            <span class="red">(说明:所有频道首页统一按照以下序列翻转)</span>
            [[/if]]
        </div>
    </div>
    <div class="from-group">
        <div class="panel panel-default">
            <div class="panel-heading">
                [[if contentData.data.scope == '1']]
                <ul class="nav nav-pills nav-justified">
                    <li class="channelLi active"><a href="javascript:;" data-channel="boy">男生</a></li>
                    <li class="channelLi"><a href="javascript:;" data-channel="girl">女生</a></li>
                    <li class="channelLi"><a href="javascript:;" data-channel="kids">潮童</a></li>
                    <li class="channelLi"><a href="javascript:;" data-channel="lifestyle">创意生活</a></li>
                </ul>
                [[/if]]
            </div>
            <div class="panel-body">
                <button href="JavaScript:;" class="btn btn-primary btn-xs addBtn" style="margin: 10px;" data-event="rollingOverSlider.[[contentData.data.channel]]" data-template="rollingOverSlider">添加跳转页面</button>
                <div>
                    <ul class="draggable" data-array="data.[[contentData.data.channel]]">
                        <li>
                            <table class="table table-hover table-bordered responsive dataTable no-footer">
                                <thead>
                                    <tr>
                                        <th>翻转序列编号</th>
                                        <th>页面名称</th>
                                        <th>对应链接</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td align="center">1</td>
                                        <td align="center">起始页</td>
                                        [[if contentData.data.channel == 'general']]
                                        <td>任意频道首页(男生,女生,潮童,创意生活)</td>
                                        [[else if contentData.data.channel == 'boy']]
                                        <td>男生首页</td>
                                        [[else if contentData.data.channel == 'girl']]
                                        <td>女生首页</td>
                                        [[else if contentData.data.channel == 'kids']]
                                        <td>潮童首页</td>
                                        [[else if contentData.data.channel == 'lifestyle']]
                                        <td>创意生活首页</td>
                                        [[/if]]
                                        <td align="center">-</td>
                                    </tr>
                                    [[each contentData.data.content as item index]]
                                    <tr>
                                        <td align="center">[[index + 2]]</td>
                                        <td align="center"><input type="text" class="observe form-control form-input" value="[[item.name]]" placeholder="页面名称" data-field="[[contentData.data.channel]].[[index]].name"></td>
                                        <td>
                                            <div class="form-group">
                                                <div class="col-sm-10">
                                                    <select name="goTo" class="form-control observe" data-field="[[contentData.data.channel]].[[index]].action" value="[[item.action]]" >
                                                        <!--[[layout action_template]]-->
                                                        <option value="">请选择跳转列表</option>
                                                        <option value="go.h5">h5网页</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <div class="col-sm-10">
                                                    <input type="text" placeholder="url" value="[[item.url]]" class="form-control observe" data-field="[[contentData.data.channel]].[[index]].url" required="required" />
                                                    <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
                                                </div>
                                            </div>
                                        </td>
                                        <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="rollingOverSlider.[[contentData.data.channel]]" type="button" data-index="[[index]]" data-template="rollingOverSlider">删除</button></td>
                                    </tr>
                                    [[/each]]
                                </tbody>
                            </table>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</script>

<!-- 阿里广告 -->
<script type="text/template" id="aliYunAds-template">
    <div class="form-group">
        <div class="col-sm-3">
            <label style="line-height: 40px; float: left; padding-right: 30px;">背景图</label>&emsp;&emsp;
            <div style="float: left;">
                <input type="file" name="file" value="[[contentData.data.background?contentData.data.background.src:'']]" class="observe" data-field="background.src"/>
            </div>
        </div>
    </div>
    <div id="aliYunAds-bottom">
        <ul class="draggable" data-array="data.btn">
            [[each contentData.data.btn as item index]]
            <li>
                <table class="table table-hover table-bordered responsive dataTable no-footer">
                    <tbody>
                    <tr>
                        <td align="center">[[index+1]]</td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="file" class="observe" name="file" value="[[item.src]]" data-field="btn.[[index]].src" required>
                                </div>
                                </div>
                            </td>
                        <td>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="btn.[[index]].url.action">
                                        [[layout action_template]]
                                    </select>
                                </div>
                                </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" required="required" data-field="btn.[[index]].url.url"/>
                                </div>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </li>
            [[/each]]
        </ul>
    </div>
</script>

<!--热门推荐-个性化-->
<script type="text/template" id="hotCategoryIndividualization-template">
<div class="form-group">
    <div class="col-sm-6">
        <label>标题</label>&emsp;&emsp;&emsp;&emsp;
        <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]" data-field="title.name">
    </div>
    <div class="col-sm-6">
        <label>更多名称</label>&emsp;&emsp;
        <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name">
    </div>
</div>
<div class="form-group">
    <div class="col-sm-6">
        <label>跳转目的</label>&emsp;&emsp;
        <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
            [[layout action_template]]
        </select>
    </div>
    <div class="col-sm-6">
        <label>跳转地址</label>&emsp;&emsp;
        <input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
        <br>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
    </div>
</div>
<div class="from-group">
    <div class="col-sm-6">
        <label>应用范围</label>&emsp;&emsp;
        <select class="form-control observe input-form" name="channel" value="[[contentData.data.title.channel]]" data-field="title.channel">
            <option value="-1">选择频道</option>
            <option value="1">男生</option>
            <option value="2">女生</option>
            <option value="3">潮童</option>
            <option value="4">创意生活</option>
        </select>

    </div>
</div>
<br><br><br>
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加一类" data-limit=12 style="margin:10px;" data-event="hotCategoryIndividualization.list"></p>
<ul class="draggable" data-array="data.list">
    [[each contentData.data.list as item index]]
    <li>
        <table class="table table-hover table-bordered responsive dataTable no-footer">
            <tbody>
            <tr>
                <td align="center">
                    <select name="goTo" class="smallSortList form-control observe" value="[[item.sort]]" data-field="list.[[index]].sort">
                        [[layout small_sort_template]]
                    </select>
                </td>
                <td>
                    <div class="form-group">
                        <div class="col-sm-10">
                            <input placeholder="展示位置" value="[[item.posNum]]"  class="form-control observe input-form posNum"  data-field="list.[[index]].posNum"/>
                        </div>
                    </div>
                </td>
                <td align="center"><button class="btn btn-danger btn-sm delBtn" data-event="hotCategoryIndividualization.list" type="button" data-index="[[index]]">删除</button></td>
            </tr>
            </tbody>
        </table>
    </li>
    [[/each]]
</ul>
</script>

<!--热门品牌个性化-->
<script type="text/template" id="bigDataHotBrand-template">
    <div class="form-group">
        <div class="col-sm-10">
            <label>标题</label>
            <input class="form-control observe input-form" type="text" value="[[contentData.data.title.title]]" data-field="title.title" placeholder="热门品牌-个性化">
            &emsp;&emsp;&emsp;&emsp;<label>显示名称</label>
            <label style="cursor: pointer;"><input type="radio" name="is_show_name_bigDataHotBrand" class="is_show_name_bigDataHotBrand" value="Y"></label>
            <label style="cursor: pointer;"><input type="radio" name="is_show_name_bigDataHotBrand" class="is_show_name_bigDataHotBrand" value="N"></label>
            <input type="hidden" id="is_show_name_bigDataHotBrand" value="[[contentData.data.is_show_name]]" for="radio"/>
        </div>
    </div>
    <div class="from-group">
        <div class="col-sm-6">
            <label>应用范围</label>&emsp;&emsp;
            <select class="form-control observe input-form" name="channel" value="[[contentData.data.title.channel]]" data-field="title.channel">
                <option value="-1">选择频道</option>
                <option value="1">男生</option>
                <option value="2">女生</option>
                <option value="3">潮童</option>
                <option value="4">创意生活</option>
            </select>
        </div>
    </div>
    <div class="panel-body">
        <div class="form-group">
            <table class="table table-hover table-bordered responsive dataTable no-footer">
                <thead>
                <tr>
                    <th>图片</th>
                    <th>选项</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>
                        <input type="file" name="file" value="[[contentData.data.image.src]]"
                               class="observe" required="required"
                               data-field="image.src"/>
                    </td>
                    <td>
                        <div class="form-group ">
                            <select name="goTo" class="form-control  observe"
                                    value="[[contentData.data.image.url.action]]"
                                    data-field="image.url.action">
                                [[layout action_template]]
                            </select>
                        </div>
                        <div class="form-group ">
                            <input value="[[contentData.data.image.url.url]]"
                                   class="form-control  observe"
                                   data-field="image.url.url" placeholder="图片链接"/>

                            <p style="color:#999;margin-top: 5px;">链接中不能有英文单引号</p>
                        </div>
                        <div class="form-group ">
                            <input value="[[contentData.data.image.alt]]"
                                   class="form-control  observe"
                                   data-field="image.alt" placeholder="图片描述"/>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</script>

<script type="text/template" id="template-singleImg-vipLevel">
    [[if !contentData.data.sceneNum ||contentData.data.sceneNum == 0 || contentData.data.sceneNum == 2]]
    <div class="col-sm-8" id="newSingleImage-addImgBtn">
        <input type="button" class="btn btn-info btn-xs addBtn" data-event="newSingleImage.list" data-limit=1 value="添加图片" style="margin:10px;">
    </div>
    [[/if]]
    <div class="col-sm-8">
            <ul class="draggable" data-array="data">
                [[each contentData.data.list as item index]]
                <li>
                    <table class="table table-hover table-bordered responsive dataTable no-footer">
                        <tbody>
                        <tr>
                            <td align="center">
                                [[if contentData.data.sceneNum == 0 || contentData.data.sceneNum == 2 ]]
                                [[index+1]]
                                [[else if contentData.data.sceneNum == 1]]
                                    [[if item.vipLevel == 0]]
                                        普通会员
                                    [[else if item.vipLevel == 1]]
                                        银卡会员
                                    [[else if item.vipLevel == 2]]
                                        金卡会员
                                    [[else if item.vipLevel == 3]]
                                        白金会员
                                    [[/if]]

                                [[/if]]
                                <input type="hidden" name="vipLevel" value="[[item.vipLevel]]"
                                data-field="list.[[index]].vipLevel" />
                            </td>
                            <td align="center">
                                <div class="fileinput-button">
                                    <input type="file" name="file"value="[[item.src]]"
                                       data-field="list.[[index]].src" required/>
                                    <a class="fileinput-button-icon" href="javascript:void(0);">+</a>
                                </div>
                            </td>
                            <td>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <select class="form-control observe" data-field="list.[[index]].url.action"
                                                value='[[item.url?item.url.action:""]]'>
                                            [[layout action_template]]
                                        </select>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input class="form-control observe" placeholder="跳转地址" data-field="list.[[index]].url.url"
                                               value="[[item.url?item.url.url:'']]"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-10">
                                        <input class="form-control observe" value="[[item.alt?item.alt:'']]" placeholder="图片描述"
                                               data-field='list.[[index]].alt'/>
                                    </div>
                                </div>
                            </td>
                            <!--
                            <td><button class="btn btn-danger btn-sm delBtn" data-event="newSingleImage.list" type="button" data-index="[[index]]">删除</button></td>
                            -->
                        </tr>
                        </tbody>
                    </table>
                </li>
                [[/each]]
            </ul>
        </div>
</script>