摘要:
}).then(res=>{ if (res.data.code == 200) { /* 进行合并操作 */ this.tableData = [...this.tableData, ...res.data.data.records] this.pages = res.data.data.page 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(16)
评论(0)
推荐(0)
摘要:
const request = (url = '', date = {}, type = 'GET', header = { }) => { return new Promise((resolve, reject) => { uni.request({ method: type, url: base 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(106)
评论(0)
推荐(0)
摘要:
<u-loadmore :status="status" /> onReachBottom() { console.log('触底~~~~') if (this.pageNo >= this.pages){ this.status = 'nomore'; return; } this.status 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(9)
评论(0)
推荐(0)
摘要:
getData(){ this.$u.api.getInstitution({ marketId: this.vuex_user.market_id, pageNo: this.pageNo, pageSize: this.size, }).then(res => { if (res.data.co 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(16)
评论(0)
推荐(0)
摘要:
<template> <view class="u-flex u-flex-wrap u-row-between wrap"> <view class="u-flex u-row-center u-col-center box"> <u-image width="60rpx" height="60r 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(38)
评论(0)
推荐(0)
摘要:
第一步 <view v-for="(item,index) in tableData" @click="getDetail(item.id)" class=" box"> <view class="u-line-1 u-m-b-24 u-font-30 color-3">{{item.title}} 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(11)
评论(0)
推荐(0)
摘要:
/* 第一步定义onload方法 */ onLoad(){ /* 调用市场信息的接口 分别 vuex获取 其他三项 */ this.$u.api.getpartyList({marketId:this.vuex_user.market_id,type:"通知公告",pageNo:1,pageSize 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(51)
评论(0)
推荐(0)
摘要:
onLoad() { /* 调用市场信息的接口 分别 vuex获取 其他三项 */ this.$u.api.getTreasureList({ marketId: this.vuex_user.market_id, pageNo: 1, pageSize: 20, type:this.current 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(15)
评论(0)
推荐(0)
摘要:
<template> <view class="wrap"> <u-form :model="form" :rules="rules" ref="uForm" :errorType="errorType"> <u-form-item label="标题" class="label-left" sty 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(88)
评论(0)
推荐(0)
摘要:
<u-form-item label="内容" prop="container" label-width="140"> <input placeholder="请输入内容" v-model="form.content" type="texarea" /> </u-form-item> 定义富文本输入 阅读全文
posted @ 2022-09-16 22:44
前端导师歌谣
阅读(8)
评论(0)
推荐(0)

浙公网安备 33010602011771号