<script> import wepy from 'wepy' import api from '../api/api' import util from '../utils/util' import teamDataset from '../api/teamDataset' export default class cloundNews extends wepy.page { config = { navigationBarTitleText: '云新闻' } data = { nav: { bar: ['新闻套餐', '自选投稿', '发布结果'], currentTab: 0 }, bizArea: (function() { const o = teamDataset.regionMap let r = [] r.push(['全国', 0]) for (const k in o) { r.push([o[k], k]) } return r })(), bizType: (function() { const o = teamDataset.cloundNewsBusinessType let r = [] for (const k in o) { r.push([o[k], k]) } return r })(), apiRes: {}, notHere: {}, pickerItemHeadFoot: [ [true, false], [true, false] ], pagination: { // http://api.test.com:8123/news/news_list/?uid=26&page=0&size=16 // {"data": [], "status": 0} from: 1, size: 16, total: 0 } }