| | |
| | | version: '2.0.0', |
| | | // 开发环境接口Url |
| | | // devUrl: 'http://z4042833u6.wicp.vip', |
| | | // devUrl: 'http://192.168.0.109:9528', |
| | | devUrl: 'https://srgdjczzxtpt.com:2080/api', |
| | | devUrl: 'http://192.168.0.109:9528', |
| | | // devUrl: 'https://srgdjczzxtpt.com:2080/api', |
| | | // devUrl: 'https://kt39592615.goho.co', |
| | | minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/", |
| | | // minioBaseUrl:"http://192.168.0.103:9528/", |
| | |
| | | {
|
| | | title: "公益报名",
|
| | | icon: "/static/icon/nav-13.png",
|
| | | path: "/subPackage/article/signUpList"
|
| | | path: "/subPackage/article/signUpList?type=0"
|
| | |
|
| | | },
|
| | | {
|
| | |
| | | <template> |
| | | <view class=""> |
| | | <view class="tab" v-if="tabList.length"> |
| | | <u-tabs :list="tabList" :current="tabIndex" keyName="dictValue" @change="changeTab" |
| | | :inactiveStyle="{color:'#999999'}" :activeStyle="{color:'#017BFC'}"></u-tabs> |
| | | </view> |
| | | <z-paging ref="paging" v-model="list" @query="queryList" @onRefresh="refreshList" |
| | | loading-more-no-more-text="没有更多了"> |
| | | <view class="tab" v-if="tabList.length" slot="top"> |
| | | <u-tabs :list="tabList" :current="tabIndex" keyName="dictValue" @change="changeTab" |
| | | :inactiveStyle="{color:'#999999'}" :activeStyle="{color:'#017BFC'}"></u-tabs> |
| | | </view> |
| | | <view class="list bgc-ff"> |
| | | <notice-list :data="list" /> |
| | | </view> |
| | | </z-paging> |
| | | <!-- <u-loadmore :status="loadingStatus" loadmoreText="开始加载" loadingText="数据加载中" nomoreText="没有更多了" line /> --> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | .tab { |
| | | width: 100%; |
| | | height: 88rpx; |
| | | position: fixed; |
| | | // position: fixed; |
| | | /*#ifdef H5*/ |
| | | top: 88rpx; |
| | | // top: 88rpx; |
| | | /*#endif*/ |
| | | /*#ifdef MP-WEIXIN*/ |
| | | top: 0; |
| | | // top: 0; |
| | | /*#endif*/ |
| | | left: 0; |
| | | // left: 0; |
| | | background-color: #fff; |
| | | padding: 0 30rpx; |
| | | box-sizing: border-box; |
| | | z-index: 999; |
| | | // z-index: 999; |
| | | } |
| | | |
| | | .list { |
| | |
| | | |
| | | getDetailInfo() { |
| | | getDetail(this.params).then(res => { |
| | | |
| | | this.detailInfo = res.data; |
| | | this.type = res.data.type |
| | | if (res.data.type == 3) { |
| | |
| | | }, |
| | | |
| | | applyRequest(signPath) { |
| | | signature_path |
| | | let data = { |
| | | publicDiscussId: this.pdId, |
| | | articleId: this.params.id, |
| | |
| | | name: 'file', |
| | | header: this.uploadConfig.header, |
| | | success: (res) => { |
| | | console.log(res); |
| | | let data = JSON.parse(res.data); |
| | | this.handleApply(data.data.name); |
| | | if (res.statusCode == 200 && data.code == 200) { |
| | | this.handleApply(data.data.name); |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | async handleApply(src) { |
| | | handleApply(src) { |
| | | let pages = getCurrentPages(); |
| | | let prePage = pages[pages.length - 2]; |
| | | await prePage.$vm.applyRequest(); |
| | | prePage.$vm.applyRequest(src); |
| | | uni.navigateBack({ |
| | | delta: 2 |
| | | }) |