|
@@ -89,11 +89,24 @@
|
|
|
<view class="page-num select" v-if="select_show" @click="select">选</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="page-num" @click="setShow" v-if="index != -1">P{{index+1}}</view>
|
|
|
+ <view class="page-num" @click="setShow" v-if="index != -1">P{{index+1}}</view>
|
|
|
+
|
|
|
+ <graceDrawer :show="select_drawer_show" top="0" width="100%" v-on:closeDrawer="closeSelect">
|
|
|
+ <view slot="links">
|
|
|
+ <view class="grace-list">
|
|
|
+ <view style="text-align:center; padding:20px;">
|
|
|
+ 您可以放置任何内容 ...
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </graceDrawer>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import cate from "@/pages/dream/view/cate.vue";
|
|
|
+import graceDrawer from '@/lib/graceUI/components/graceDrawer.vue';
|
|
|
+
|
|
|
import news from "@/pages/dream/view/news.vue";
|
|
|
import pic from "@/pages/dream/view/pic.vue";
|
|
|
import picGrid from "@/pages/dream/view/picGrid.vue";
|
|
@@ -127,6 +140,7 @@ export default {
|
|
|
return {
|
|
|
comment_show : false,
|
|
|
select_show : false,
|
|
|
+ select_drawer_show : false,
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -138,11 +152,15 @@ export default {
|
|
|
this.select_show = state;
|
|
|
},
|
|
|
select : function() {
|
|
|
- this.Dever.location('dream/cate?id=' + this.item.info_id + '&parent_page=' + this.item.parent_page_id);
|
|
|
+ //this.Dever.location('dream/cate?id=' + this.item.info_id + '&parent_page=' + this.item.parent_page_id);
|
|
|
+ this.select_drawer_show = true;
|
|
|
+ },
|
|
|
+ closeSelect : function() {
|
|
|
+ this.select_drawer_show = false;
|
|
|
}
|
|
|
},
|
|
|
components:{
|
|
|
- news,pic,picGrid,vod,vodComment,vodShort,audioList,audioComment,liveComment,dialogue,linkView,webView,product
|
|
|
+ cate,news,pic,picGrid,vod,vodComment,vodShort,audioList,audioComment,liveComment,dialogue,linkView,webView,product
|
|
|
}
|
|
|
}
|
|
|
</script>
|