| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <template>
- <page-theme :theme="theme">
- <template>
- <view class="f-30 p-40 flex-dir-column flex-x-center">
- <view class="f-30 p-40 flex-dir-column flex-x-center">
- <u-swiper :list="list1" @click="click"></u-swiper>
- <view class="col-info-d t-c m-b-30">其他内容展示</view>
- </view>
- <view class="col-info-d t-c m-b-30">搜索框</view>
- <view class="col-info-d t-c m-b-30">名菜列表</view>
- </view>
- </template>
- </page-theme>
- </template>
- <script>
- import themeMixins from '@/pages/yuecai/mixins/themeMixins.js';
- export default {
- mixins: [themeMixins],
- data() {
- return {
- list1: [
- 'https://cdn.uviewui.com/uview/swiper/swiper1.png',
- 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
- 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
- ]
- }
- },
- methods: {
- getDishList() {
- this.$u.api.getDishList().then(res => {
- //res.data.records
- })
- }
- },
- onLoad(options) {
- this.getDishList();
- },
- }
- </script>
- <style scoped lang="scss">
- </style>
|