| | |
| | | <script>
|
| | | <script> |
| | | // import { pageCount } from '@/util/api/index.js'
|
| | | export default {
|
| | | onLaunch: function() {
|
| | | onLaunch: function() { |
| | | // pageCount({})
|
| | | },
|
| | | onShow: function() {},
|
| | | onHide: function() {}
|
| | | onShow: function() {
|
| | | },
|
| | | onHide: function() {
|
| | | }
|
| | | }
|
| | | </script>
|
| | |
|
| | | <style lang="scss">
|
| | | /*每个页面公共css */
|
| | | @import "@/uni_modules/uview-ui/index.scss";
|
| | | @import "common/css/lib.css";
|
| | | // page {
|
| | | // background-color: #F3F6F9 !important;
|
| | | /*每个页面公共css */ |
| | | @import "@/uni_modules/uview-ui/index.scss"; |
| | | @import "common/css/lib.css"; |
| | | // page { |
| | | // background-color: #F3F6F9 !important; |
| | | // }
|
| | | </style> |
| | |
| | | import Vue from 'vue' |
| | | import App from './App' |
| | | import mixin from './common/mixin' |
| | | import 'vant/lib/index.css' |
| | | |
| | | // 引入全局uView
|
| | | import uView from '@/uni_modules/uview-ui' |
| | | Vue.use(uView) |
| | | import Vant from 'vant'; |
| | | Vue.use(Vant); |
| | | // vuex
|
| | | import store from './store' |
| | | Vue.prototype.$store = store |
| | |
| | | <template>
|
| | | <view class="index">
|
| | | <!-- <web-view v-if="show" @onPostMessage="onMessage" :src="'https://dmtest.ahapp.net/doumeeplant_h5/#/appletLogin?code=' + code"></web-view> -->
|
| | | <!-- {{$store.state.statusbarHeight}} -->
|
| | | <!-- {{$store.state.statusbarHeight}} --> |
| | | |
| | | <u-sticky>
|
| | | <view class="plr50 pb30 nav-style">
|
| | | <view
|
| | |
| | | </view>
|
| | | </view>
|
| | | </u-sticky>
|
| | |
|
| | | |
| | | <u-list :showScrollbar="false" @scrolltolower="scrolltolower" @scrolltoupper="scrolltoupper"
|
| | | :height="windowHeight - (statusbarHeight + navHeight + 120) + 'px'">
|
| | | <u-list-item v-for="(item, index) in projectList" :key="index">
|
| | |
| | | </view>
|
| | | </u-list-item>
|
| | | </u-list>
|
| | |
|
| | | <myTabbar :index="0" />
|
| | | </view>
|
| | | </template>
|