Authored by xuqi

guang docs

@@ -604,106 +604,10 @@ @@ -604,106 +604,10 @@
604 } 604 }
605 } 605 }
606 606
607 -## 站点头部  
608 - {  
609 - gobuytype: 'gobuyboys',//购物车样式  
610 - searchcate: 'searchcateboys', //搜索栏样式  
611 - navbars: [{//一级导航  
612 - name_cn: '男生',  
613 - name_en: 'BOYS',  
614 - link: '',  
615 - classname: 'boys',  
616 - index_main: 0,  
617 - subnav: [{  
618 - name: '新品到着',  
619 - link: '',  
620 - index_sub:0,  
621 - thirdnav: [  
622 - {  
623 - title: '上装',  
624 - branditems: [  
625 - {  
626 - brandname: '背心',  
627 - link: ''  
628 - },  
629 - {  
630 - brandname: 'T恤',  
631 - link: ''  
632 - },  
633 - {  
634 - brandname: '衬衫',  
635 - link: ''  
636 - },  
637 - {  
638 - brandname: 'POLO',  
639 - link: ''  
640 - },  
641 - {  
642 - brandname: '毛衣/针织',  
643 - link: ''  
644 - }]  
645 - }  
646 - ]  
647 - }, {  
648 - name: '品牌一览',  
649 - link: '',  
650 - thirdnav: []  
651 - }]  
652 - }],  
653 - myyoho: {  
654 - email: 'caomei@163.com',  
655 - viptype: '普通会员',  
656 - currentscore: 495,  
657 - totalscore: 600,  
658 - cardtype: '银卡',  
659 - infolist: [{  
660 - name: '待处理的订单',  
661 - link: '',  
662 - num: '0'  
663 - }, {  
664 - name: '我的收藏',  
665 - link: '',  
666 - num: '1'  
667 - }, {  
668 - name: '我的优惠券',  
669 - link: '',  
670 - num: '2'  
671 - }, {  
672 - name: '我的YOHO币',  
673 - link: '',  
674 - num: '1'  
675 - }, {  
676 - name: '我的退货换货',  
677 - link: '',  
678 - num: '1'  
679 - }],  
680 - updlink: ''  
681 - },  
682 - gobuy: {  
683 - gobuynum: 3  
684 - },  
685 - breadcrumbnav: [{  
686 - notend: {  
687 - link: 'http://www.yohobuy.com',  
688 - name: 'BOYS首页'  
689 - }  
690 - }, {  
691 - notend: {  
692 - link: 'http://www.yohobuy.com',  
693 - name: '上衣'  
694 - }  
695 - }, {  
696 - isend: {  
697 - link: 'http://list.yohobuy.com/?msort=1&gender=1,3',  
698 - name: '衬衫'  
699 - }  
700 - }]  
701 - }  
702 607
703 ## 逛详情页 608 ## 逛详情页
704 { 609 {
705 - guangDetailPage: true, //引用逛详情页js  
706 - detail:{ 610 + guang:{
707 id: 1, //详情页id 611 id: 1, //详情页id
708 header: { 612 header: {
709 title: '', //大标题 613 title: '', //大标题
@@ -812,4 +716,100 @@ @@ -812,4 +716,100 @@
812 ] 716 ]
813 } 717 }
814 } 718 }
  719 + }
  720 +
  721 +## 站点头部
  722 + {
  723 + gobuytype: 'gobuyboys',//购物车样式
  724 + searchcate: 'searchcateboys', //搜索栏样式
  725 + navbars: [{//一级导航
  726 + name_cn: '男生',
  727 + name_en: 'BOYS',
  728 + link: '',
  729 + classname: 'boys',
  730 + index_main: 0,
  731 + subnav: [{
  732 + name: '新品到着',
  733 + link: '',
  734 + index_sub:0,
  735 + thirdnav: [
  736 + {
  737 + title: '上装',
  738 + branditems: [
  739 + {
  740 + brandname: '背心',
  741 + link: ''
  742 + },
  743 + {
  744 + brandname: 'T恤',
  745 + link: ''
  746 + },
  747 + {
  748 + brandname: '衬衫',
  749 + link: ''
  750 + },
  751 + {
  752 + brandname: 'POLO',
  753 + link: ''
  754 + },
  755 + {
  756 + brandname: '毛衣/针织',
  757 + link: ''
  758 + }]
  759 + }
  760 + ]
  761 + }, {
  762 + name: '品牌一览',
  763 + link: '',
  764 + thirdnav: []
  765 + }]
  766 + }],
  767 + myyoho: {
  768 + email: 'caomei@163.com',
  769 + viptype: '普通会员',
  770 + currentscore: 495,
  771 + totalscore: 600,
  772 + cardtype: '银卡',
  773 + infolist: [{
  774 + name: '待处理的订单',
  775 + link: '',
  776 + num: '0'
  777 + }, {
  778 + name: '我的收藏',
  779 + link: '',
  780 + num: '1'
  781 + }, {
  782 + name: '我的优惠券',
  783 + link: '',
  784 + num: '2'
  785 + }, {
  786 + name: '我的YOHO币',
  787 + link: '',
  788 + num: '1'
  789 + }, {
  790 + name: '我的退货换货',
  791 + link: '',
  792 + num: '1'
  793 + }],
  794 + updlink: ''
  795 + },
  796 + gobuy: {
  797 + gobuynum: 3
  798 + },
  799 + breadcrumbnav: [{
  800 + notend: {
  801 + link: 'http://www.yohobuy.com',
  802 + name: 'BOYS首页'
  803 + }
  804 + }, {
  805 + notend: {
  806 + link: 'http://www.yohobuy.com',
  807 + name: '上衣'
  808 + }
  809 + }, {
  810 + isend: {
  811 + link: 'http://list.yohobuy.com/?msort=1&gender=1,3',
  812 + name: '衬衫'
  813 + }
  814 + }]
815 } 815 }
1 {{> layout/header}} 1 {{> layout/header}}
2 2
3 -{{# detail}} 3 +{{# guang}}
4 <div class="guang-detail-page guang-page yoho-page clearfix" data-id="{{id}}"> 4 <div class="guang-detail-page guang-page yoho-page clearfix" data-id="{{id}}">
5 <div class="left-side detail-body"> 5 <div class="left-side detail-body">
6 {{# header}} 6 {{# header}}
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 <div class="recos clearfix"> 52 <div class="recos clearfix">
53 {{# recos}} 53 {{# recos}}
54 <div class="commodity-info"> 54 <div class="commodity-info">
55 - {{#withInfo}} 55 + {{# withInfo}}
56 {{> product/good}} 56 {{> product/good}}
57 {{/ withInfo}} 57 {{/ withInfo}}
58 </div> 58 </div>
@@ -182,6 +182,6 @@ @@ -182,6 +182,6 @@
182 {{> guang/right-side}} 182 {{> guang/right-side}}
183 </div> 183 </div>
184 </div> 184 </div>
185 -{{/ detail}} 185 +{{/ guang}}
186 186
187 {{> layout/footer}} 187 {{> layout/footer}}