Lou
2024-01-10 f3121d2fd6527f3d896553ffd1617f5011fd9513
签名问题修复
5 files modified
36 ■■■■ changed files
common/setting.js 4 ●●●● patch | view | raw | blame | history
pages/home/index.vue 2 ●●● patch | view | raw | blame | history
subPackage/article/communityList.vue 19 ●●●● patch | view | raw | blame | history
subPackage/article/detail.vue 2 ●●●●● patch | view | raw | blame | history
subPackage/article/signature.vue 9 ●●●●● patch | view | raw | blame | history
common/setting.js
@@ -10,8 +10,8 @@
    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/",
pages/home/index.vue
@@ -236,7 +236,7 @@
                    {
                        title: "公益报名",
                        icon: "/static/icon/nav-13.png",
                        path: "/subPackage/article/signUpList"
                        path: "/subPackage/article/signUpList?type=0"
                    },
                    {
subPackage/article/communityList.vue
@@ -1,16 +1,15 @@
<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>
@@ -140,18 +139,18 @@
    .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 {
subPackage/article/detail.vue
@@ -229,7 +229,6 @@
            getDetailInfo() {
                getDetail(this.params).then(res => {
                    this.detailInfo = res.data;
                    this.type = res.data.type
                    if (res.data.type == 3) {
@@ -343,7 +342,6 @@
            },
            applyRequest(signPath) {
                signature_path
                let data = {
                    publicDiscussId: this.pdId,
                    articleId: this.params.id,
subPackage/article/signature.vue
@@ -67,16 +67,19 @@
                    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
                })