123456789101112131415161718192021222324252627282930313233343536373839 |
- <template>
- <view class="content">
- <view class="list" v-for="(item, index) in listInfo">
- <view class="icon"><image src="../../static/img/gglist.png" mode=""></image></view>
- <view class="main"></view>
- </view>
- </view>
- </template>
- <script>
- import { gglist } from '@/api/index.js';
- export default {
- data() {
- return {
- listInfo: []
- };
- },
- onLoad() {},
- onShow() {
- this.getgg();
- },
- methods: {
- getgg() {
- const obj = this;
- gglist({ page: 1, limit: 1000 }).then(e => {
- obj.listInfo = e.data;
- });
- }
- }
- };
- </script>
- <style lang="scss">
- page,
- .content {
- min-height: 100%;
- height: auto;
- }
- </style>
|