重庆迈尖科技有限公司
2020-05-20 71bccc0ff2d575bb014bd7f3f5f53503fca17024
Merge branch 'master' of ssh://193.112.35.168:29418/flqFront
11个文件已修改
640 ■■■■ 已修改文件
AppInside/activityDetail/activity.html 145 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/activityDetail/css/activity.css 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/activityDetail/css/base.css 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/elmeNew/css/stylesheet.css 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/elmeNew/index.html 69 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/openVip/css/stylesheet.css 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/openVip/index.html 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/supVipApply/css/stylesheet.css 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/supVipApply/index.html 198 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/yjCompute/css/stylesheet.css 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/yjCompute/index.html 74 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AppInside/activityDetail/activity.html
@@ -14,28 +14,34 @@
            window.onresize();
        </script>
        <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
        <script src="http://img.flqapp.com/resource/js/app2019112217.js"></script>
        <script src="http://img.flqapp.com/resource/js/app20200227.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
        <script type="text/javascript" src="js/layer.js"></script>
    </head>
    <body>
        <div id="root">
            <div class="div_recommendedText">
        <div id="root" style="display: none;">
            <div class="div_recommendedText" v-if="title">
                <div id="recommendedText_title" class="title">推荐文本</div>
                <div class="div_recommendedText_content">
                    <textarea rows="" cols="" class="textareas"></textarea>
                    <div class="textareas" v-html="title">
                    </div>
                </div>
            </div>
            <div class="div_commentText">
            <div class="div_commentText" v-if="comment">
                <div id="recommendedText_title" class="title">评论文本</div>
                <div class="div_commentText_content">
                    <textarea rows="" cols="" class="textareas_comment"></textarea>
                    <div class="textareas" v-html="comment">
                    </div>
                </div>
            </div>
            <div class="div_item_bg">
                <div class="div_items" v-for="(item, index) in dataList">
                <div class="div_items" v-for="(item, index) in imgs" style="font-size: 0;">
                    <img v-bind:src="item" style="">
                </div>
            </div>
@@ -43,12 +49,12 @@
            <div class="div_commit">
                <!-- 提交申请 -->
                <div @click="shareActivity" style="margin-left: 0.3rem;">分享活动</div>
                <div @click="browseDetails" style="margin-left: 0.1rem;">浏览详情</div>
                <div @click="copyComment" style="margin-left: 0.3rem;">分享活动</div>
                <div @click="jumpDetail" style="margin-left: 0.1rem;">浏览详情</div>
            </div>
            <div id="share" style="display: none;">
                <div class="share_title">分享网页</div>
                <div class="share_title">分享活动</div>
                <div class="share_content">
                    <div class="share_content_content" onclick="shareText(1)">
@@ -92,7 +98,7 @@
                            <img src="img/icon_copy.png">
                        </div>
                        <div class="share_content_content_title">
                            复制链接
                            复制评论
                        </div>
                    </div>
                </div>
@@ -108,14 +114,24 @@
    <script>
        var layerIndex;
        // "http://api.flqapp.com";
        var host = "http://192.168.1.122:8080";
        var host = "http://api.flqapp.com";
        var app = null;
        $(function() {
            var app = new Vue({
            app = new Vue({
                el: '#root',
                data: {
                    dataList: [{}, {}]
                    dataList: [{}, {}],
                    title: '',
                    comment: '',
                    imgs: [],
                    jump: {},
                    shareContent: ''
                },
                watch: {},
                watch: {
                    imgs: function(e) {
                        $("#root").css("display", "block");
                    }
                },
                methods: {
                    shareActivity: function() {
                        layerIndex = layer.open({
@@ -125,16 +141,99 @@
                            style: 'position:fixed; bottom:0; left:0; width: 100%; height: 3.4rem; padding:0 0; border:none;background-color: white'
                        });
                    },
                    browseDetails: function() {
                    getQueryString: function(name) {
                        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
                        var r = window.location.search.substr(1).match(reg);
                        if (r != null) return unescape(r[2]);
                        return null;
                    },
                    //复制评论语
                    copyComment: function() {
                        var id = app.getQueryString("id");
                        var type = app.getQueryString("type");
                        var params = {
                            id: id,
                            type:type
                        };
                        params = yesApp.getRequestBaseParams(params);
                        var url = "http://api.flqapp.com/fanli/api/v2/dynamic/copyShareComment"
                        yesApp.showLoading();
                        $.ajax({
                            type: "GET",
                            data: JSON.parse(params),
                            url: url,
                            dataType: "jsonp",
                            async: true,
                            success: function(result) {
                                if (result.code == 0) {
                                    app.shareContent = result.data.text;
                                    app.shareActivity();
                                } else {
                                    yesApp.toast(result.msg);
                                }
                            },
                            complete: function(e) {
                                yesApp.hideLoading();
                            }
                        });
                    },
                    getData: function() { //获取数据
                        var uid = yesApp.getUid();
                        if (uid == null || uid == '' || uid == '0') {
                            yesApp.login();
                            yesApp.finishPage();
                            return;
                        }
                    // cancelShare: function() {
                    //     layer.close(layerIndex);
                    // },
                        var id = app.getQueryString("id");
                        var type = app.getQueryString("type");
                        var params = {
                            id: id,
                            type: type
                        };
                        params = yesApp.getRequestBaseParams(params);
                        // yesApp.showLoading();
                        $.ajax({
                            type: "GET",
                            data: JSON.parse(params),
                            url: "http://api.flqapp.com/fanli/api/v2/dynamic/getActivityDetail",
                            dataType: "jsonp",
                            async: false,
                            success: function(result) {
                                yesApp.hideLoading();
                                if (result.code == 0) {
                                    app.title = result.data.title;
                                    app.comment = result.data.comment;
                                    app.imgs = result.data.imgs;
                                    app.jump.params = result.data.params;
                                    app.jump.jumpDetail = result.data.jumpDetail;
                                } else {
                                    yesApp.toast(result.msg);
                                }
                            },
                            complete: function(e) {
                                yesApp.hideLoading();
                            }
                        });
                    },
                    jumpDetail: function() {
                        if (app.jump.jumpDetail != null) {
                            //跳转详情
                            yesApp.jumpPage(app.jump.jumpDetail, app.jump.params);
                        }
                    },
                },
            });
            app.getData();
        });
        //关闭分享弹框
@@ -142,9 +241,13 @@
            layer.close(layerIndex);
        }
        function shareText(type) {
        function shareText(type) {
            if (type == 5) {
                yesApp.toast("复制成功");
            } else {
                yesApp.shareText(type, app.shareContent);
            }
            layer.close(layerIndex);
            yesApp.shareText(type, 'sssss')
        }
    </script>
</html>
AppInside/activityDetail/css/activity.css
@@ -17,14 +17,16 @@
.textareas {
    -webkit-user-select: auto;
    width: 6.6rem;
    height: 2rem;
    max-height: 2rem;
    height: auto;
    border: none;
    outline: medium;
    color: #333333;
    color: #666666;
    font-size: 0.24rem;
    margin-top: 0.1rem;
    margin-left: 0.05rem;
    caret-color: #E5005C;
    overflow-y: auto;
}
.div_commentText {
@@ -61,10 +63,17 @@
}
.div_items {
    height: 4.05rem;
    background-color: red;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}
.div_items img {
    border-radius: 0.16rem;
    width: 100%;
    display: block;
    margin-top: 0;
    height: auto;
}
.div_commit {
    border-top: #D1D1D1 solid 1px;
@@ -72,12 +81,16 @@
    position: fixed;
    width: 7.5rem;
    height: 0.96rem;
    top: 11.1rem;
    bottom: 0;
    z-index: 9999;
    display: -webkit-flex;
    align-items: center;
}
@supports (bottom: env(safe-area-inset-bottom)) {
    .div_commit {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
.div_commit div {
@@ -118,28 +131,28 @@
.share_content_content_img {
    display: -webkit-flex;
    justify-content: center;
}
}
.share_content_content_img img {
    width: 0.98rem;
    width: 0.98rem;
    height: 0.98rem;
}
.share_content_content_title {
    color: #666666;
    font-size: 0.26rem;
    height: 0.26rem;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.12rem;
}
.div_cancel {
    color: #333333;
    font-size: 0.3rem;
    height: 1rem;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
}
.share_content_content_title {
    color: #666666;
    font-size: 0.26rem;
    height: 0.26rem;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.12rem;
}
.div_cancel {
    color: #333333;
    font-size: 0.3rem;
    height: 1rem;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
}
AppInside/activityDetail/css/base.css
@@ -1,6 +1,5 @@
* {
    margin: 0;
    top: 0;
    /* 不允许复制 */
    -moz-user-select: none;
    /* Firefox私有属性 */
@@ -22,26 +21,13 @@
body {
    background-color: white;
    font-family: Arial, "Microsoft YaHei";
}
}
.title {
    color: #333333;
    font-size: 0.3rem;
    height: 0.3rem;
    display: -webkit-flex;
    align-items: center;
}
.title {
    color: #333333;
    font-size: 0.3rem;
    height: 0.3rem;
    display: -webkit-flex;
    align-items: center;
}
.textarea {
    margin-left: 0.01rem;
    -webkit-user-select: auto;
    width: 5.5rem;
    height: 1.0rem;
    border: none;
    outline: medium;
    padding-left: 0.32rem;
    color: #000000;
    font-size: 0.3rem;
    background-color: red;
}
AppInside/elmeNew/css/stylesheet.css
@@ -1,6 +1,5 @@
* {
    margin: 0;
    top: 0;
    /* 不允许复制 */
    -moz-user-select: none;
    /* Firefox私有属性 */
@@ -27,7 +26,9 @@
.div_header {
    position: fixed;
    width: 100%;
    z-index: 100
    z-index: 100;
    top: 0;
    border-bottom: solid 0.01rem #E0E0E0;
}
.div_header_title {
AppInside/elmeNew/index.html
@@ -18,7 +18,8 @@
    <body id="body">
        <div id="root">
            <!-- 选项卡 -->
            <div class="div_header">
            <div class="div_header" >
                <div class="div_header_title">
                    <div class="div_header_1" @click="selectTab(1)">
                        <p>饿了么外卖</p>
@@ -35,7 +36,9 @@
                    <div class="div_header_line_1"></div>
                    <div class="div_header_line_2"></div>
                </div>
            </div>
            <!-- 饿了么外卖 -->
            <div v-show="selectTabType==1" class="eleme_wm_bg">
                <div>
@@ -68,13 +71,17 @@
                        </div>
                    </div>
                    <div class="div_elm_dc" @click="elmOrder">去饿了么点餐</div>
                    <div class="div_elm_dc" @click="elmOrder">去饿了么点餐
                    </div>
                    <div class="div_content3_title">点击后跳转至淘宝,自己下单可得返利。</div>
                    <div style="height: 0.2rem;"></div>
                </div>
                <div class="div_content2">
                    <div class="div_fx_elm_xcx" @click="elmShare">分享饿了么小程序</div>
                    <div class="div_fx_elm_xcx" @click="elmShare" style="position: relative;">分享饿了么小程序
                        <img src="img/icon_hot.gif" style="width:0.66rem;height: auto;position: absolute;right: -0.23rem;top:-0.1rem">
                    </div>
                    <div class="div_copy_elm_tkl" @click="elmCopy">复制饿了么淘口令</div>
                    <div class="div_content2_desc">好友使用你分享的小程序码或淘口令下单,你可得分享奖金。</div>
                    <div style="height: 0.31rem;"></div>
@@ -174,7 +181,7 @@
    <script>
        // "http://api.flqapp.com";
        var host = "http://192.168.1.122:8080";
        var host = "http://api.flqapp.com";
        $(function() {
            var app = new Vue({
                el: '#root',
@@ -203,16 +210,62 @@
                        }
                    },
                    elmOrder: function() {
                        yesApp.toast('去饿了么点餐')
                        app.getInfo("1571715733668", false, false, function(data) {
                            yesApp.jumpBaiChuan(data.taoKeParams, data.info.link, null);
                        });
                    },
                    elmShare: function() {
                        yesApp.toast('分享')
                        app.getInfo("1571715733668", true, true, function(data) {
                            yesApp.shareImg(1, data.info.qrCodeImg);
                        });
                    },
                    elmCopy: function() {
                        yesApp.toast('复制')
                        app.getInfo("1571715733668", true, false, function(data) {
                            //复制口令
                            yesApp.copyText(data.info.token);
                            yesApp.toast('复制成功');
                        });
                    },
                    emlBuyFoods: function() {
                        yesApp.toast('买菜')
                        app.getInfo("1585018034441", false, false, function(data) {
                            yesApp.jumpBaiChuan(data.taoKeParams, data.info.link, null);
                        });
                    },
                    getInfo: function(activityId, share, shareImg, callback) {
                        var uid = yesApp.getUid();
                        if (uid == null || uid == '' || uid == 0) {
                            yesApp.login();
                            return;
                        }
                        var params = {
                            uid: uid,
                            activityId: activityId,
                            share: share+"",
                            shareImg: shareImg+""
                        };
                        params = yesApp.getRequestBaseParams(params);
                        yesApp.showLoading();
                        $.ajax({
                            type: "GET",
                            data: JSON.parse(params),
                            url: host + "/fanli/api/v2/config/getElemeLinkNew",
                            dataType: "jsonp",
                            async: true,
                            success: function(result) {
                                yesApp.hideLoading();
                                if (result.code == 0) {
                                    callback(result.data);
                                } else {
                                    yesApp.toast(result.msg);
                                }
                            },
                            complete: function(e) {
                                yesApp.hideLoading();
                            }
                        });
                    }
                }
            });
AppInside/openVip/css/stylesheet.css
@@ -184,6 +184,7 @@
    outline: medium;
    color: #000000;
    caret-color: #E5005C;
    padding-left: 0.1rem;
}
.div_ly_title_bg {
AppInside/openVip/index.html
@@ -55,7 +55,7 @@
                    开通人快省ID
                </div>
                <div class="div_quicksaveid_content_bg">
                    <input id="inpunt_id" class="input" type="text" placeholder="请填写你要开通的他人账号ID">
                    <input id="inpunt_id" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" class="input" type="number" placeholder="请填写你要开通的他人账号ID">
                </div>
                <!-- 开通理由 -->
                <div class="div_ly_title_bg">
@@ -78,7 +78,7 @@
                </div>
            </div>
            <!-- 申请记录 -->
            <div v-else class="div_applyrecord_bg" >
            <div v-else class="div_applyrecord_bg">
                <div class="div_items" v-for="(item, index) in recordList">
                    <div class="div_iddata_bg">
                        <div class="ksID">快省ID:{{item.targetUid}}</div>
@@ -112,7 +112,7 @@
                        <div class="applyreason_content">{{item.rejectReson}}</div>
                    </div>
                    <div style="height: 0.28rem;"></div>
                </div>
                </div>
                <div class="loading-more"></div>
            </div>
@@ -166,7 +166,7 @@
                        } else if (type == 2) {
                            app.div_commit_show = false;
                            app.img_select_vip = 1
                            app.page = 1;
                            app.page = 0;
                            app.fetchApplyRecord();
                        }
                    },
@@ -210,7 +210,7 @@
                            targetUid: targetUid,
                            sourceUid: sourceUid,
                            level: level,
                            applyReson: applyReson
                            applyReason: applyReson
                        };
                        params = yesApp.getRequestBaseParams(params);
@@ -224,7 +224,7 @@
                            success: function(result) {
                                yesApp.hideLoading();
                                if (result.code == 0) {
                                    yesApp.toast('请求成功');
                                    yesApp.toast('申请提交成功');
                                } else {
                                    yesApp.toast(result.msg);
@@ -262,11 +262,14 @@
                            async: false,
                            success: function(result) {
                                yesApp.hideLoading();
                                 load.hidden();
                                load.hidden();
                                if (result.code == 0) {
                                    app.page += 1;
                                    app.count = result.data.count;
                                    if (app.page == 1) {
                                        app.recordList = new Array();
                                    }
                                    var list = app.recordList.concat(result.data.list);
                                    app.recordList = list;
AppInside/supVipApply/css/stylesheet.css
@@ -1,6 +1,5 @@
* {
    margin: 0;
    top: 0;
    /* 不允许复制 */
    -moz-user-select: none;
    /* Firefox私有属性 */
@@ -41,7 +40,7 @@
.div_title_bg :nth-child(1) {
    background-color: #CDCDCD;
    height: 0.02rem;
    width: 3.01rem;
    width: 2.98rem;
}
.div_title_bg :nth-child(2) {
@@ -53,7 +52,7 @@
.div_title_bg :nth-child(3) {
    background-color: #CDCDCD;
    height: 0.02rem;
    width: 3.01rem;
    width: 2.98rem;
    margin-left: 0.14rem;
}
@@ -141,6 +140,7 @@
    outline: medium;
    color: #000000;
    caret-color: #E5005C;
    padding-left: 0.15rem;
}
.div_telphone_title_bg {
@@ -181,6 +181,7 @@
    outline: medium;
    padding-left: 0.32rem;
    color: #000000;
    padding-top: 0.1rem;
    font-size: 0.3rem;
}
@@ -284,7 +285,7 @@
.item_bg {
    width: 1.4rem;
    height: 1.45rem;
    height: 1.45rem;
    position: relative;
}
@@ -296,9 +297,9 @@
.item_bg :nth-child(2) {
    width: 0.26rem;
    height: 0.26rem;
    position: absolute;
    right: 0.1rem;
    height: 0.26rem;
    position: absolute;
    right: 0.1rem;
    top: 0.1rem;
}
@@ -310,7 +311,7 @@
.up_add_bg {
    width: 1.2rem;
    height: 1.2rem;
    height: 1.2rem;
    margin-top: 0.25rem;
    background-repeat: no-repeat;
    /**等比例缩放*/
@@ -331,8 +332,6 @@
    position: fixed;
    width: 7.5rem;
    height: 0.96rem;
    top: 11.1rem;
    bottom: 0;
    z-index: 9999;
    display: -webkit-flex;
@@ -340,6 +339,12 @@
    justify-content: center;
}
@supports (bottom: env(safe-area-inset-bottom)) {
    .div_commit {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
.div_commit div {
    color: #FFFFFF;
    font-size: 0.34rem;
AppInside/supVipApply/index.html
@@ -31,14 +31,14 @@
                申请类别
            </div>
            <div class="div_applycategory_conent_bg">
                <div class="div_vip_1" @click="selectvip(1)">
                <div class="div_vip_1">
                    高级会员
                    <div v-if="img_select_1_show">
                        <img src="img/icon_select.png" class="img_select_1">
                    </div>
                </div>
                <div class="div_vip_2" @click="selectvip(2)">
                <div class="div_vip_2">
                    超级会员
                    <div v-if="img_select_2_show">
                        <img src="img/icon_select.png" class="img_select_2">
@@ -50,28 +50,29 @@
                快省ID
            </div>
            <div class="div_quicksaveid_content_bg">
                <input id="inpunt_id" class="input" type="text" placeholder="请填写你的板栗快省ID">
                <input id="inpunt_id" class="input" type="text" readonly="true" placeholder="请填写你的板栗快省ID">
            </div>
            <!-- 联系电话 -->
            <div class="div_telphone_title_bg">
                联系电话
            </div>
            <div class="div_quicksaveid_content_bg">
                <input id="inpunt_phone" class="input" type="number" placeholder="请填写手机号码">
                <input id="inpunt_phone" class="input" type="number" v-bind:readonly="readonly?true:false" placeholder="请填写手机号码">
            </div>
            <!-- 微信号 -->
            <div class="div_wx_title_bg">
                微信号
            </div>
            <div class="div_quicksaveid_content_bg">
                <input id="inpunt_wx" class="input" type="text" placeholder="请填写你的私人微信号">
                <input id="inpunt_wx" class="input" type="text" v-bind:readonly="readonly?true:false" placeholder="请填写你的私人微信号">
            </div>
            <!-- 申请理由 -->
            <div class="div_ly_title_bg">
                申请理由
            </div>
            <div class="div_quicksaveid_content_bg">
                <textarea rows="" cols="" id="textarea_reason" class="textarea" placeholder="例如:自身实力、自身资源、认同板栗快省推广模式">
                <textarea rows="" cols="" id="textarea_reason" class="textarea" placeholder="例如:自身实力、自身资源、认同板栗快省推广模式"
                 v-bind:readonly="readonly?true:false">
                </textarea>
            </div>
@@ -80,14 +81,14 @@
                平台经验
            </div>
            <div class="div_applycategory_conent_bg">
                <div class="div_ptjy_1" @click="selectpttype(1)">
                <div class="div_ptjy_1" @click="readonly?null:selectpttype(1)">
                    做过其他平台
                    <div v-if="img_select_use_1_show">
                        <img src="img/icon_select.png" class="img_select_1">
                    </div>
                </div>
                <div class="div_ptjy_2" @click="selectpttype(2)">
                <div class="div_ptjy_2" @click="readonly?null:selectpttype(2)">
                    未做过其他平台
                    <div v-if="img_select_use_2_show">
                        <img src="img/icon_select.png" class="img_select_2">
@@ -101,7 +102,8 @@
                    曾做过的平台
                </div>
                <div class="div_quicksaveid_content_bg">
                    <textarea rows="" cols="" id="textarea_useplatform" class="textarea" placeholder="例如:某记,某源,多个可用逗号隔开">
                    <textarea rows="" cols="" id="textarea_useplatform" class="textarea" v-bind:readonly="readonly?true:false"
                     placeholder="例如:某记,某源,多个可用逗号隔开">
                    </textarea>
                </div>
@@ -110,24 +112,24 @@
                    其他平台你的粉丝数
                </div>
                <div class="div_quicksaveid_content_bg" style="border-bottom: #E0E0E0 solid 1px;">
                    <input id="inpunt_first_fans" class="input" type="number" placeholder="直接粉丝数(个)">
                    <input id="inpunt_first_fans" v-bind:readonly="readonly?true:false" class="input" type="number" placeholder="直接粉丝数(个)">
                </div>
                <div class="div_quicksaveid_second_content_bg" style="background-color: white">
                    <input id="inpunt_second_fans" class="input" type="number" placeholder="间接粉丝数(个)">
                    <input id="inpunt_second_fans" v-bind:readonly="readonly?true:false" class="input" type="number" placeholder="间接粉丝数(个)">
                </div>
                <!-- 其他平台你的等级 -->
                <div class="div_otherlevel_title_bg">
                    其他平台你的等级
                </div>
                <div class="div_quicksaveid_content_bg">
                    <input id="inpunt_level" class="input" type="text" placeholder="例如:团长">
                    <input id="inpunt_level" class="input" v-bind:readonly="readonly?true:false" type="text" placeholder="例如:团长">
                </div>
                <!-- 其他平台月均收益 -->
                <div class="div_othermonthmoney_title_bg">
                    其他平台月均收益
                </div>
                <div class="div_quicksaveid_content_bg">
                    <input id="inpunt_monthmoney" class="input" type="text" placeholder="例如:¥10000.00">
                    <input id="inpunt_monthmoney" class="input" v-bind:readonly="readonly?true:false" type="text" placeholder="例如:¥10000.00">
                </div>
            </div>
            <!-- 上传截图 -->
@@ -140,13 +142,16 @@
                    <div class="div_items" v-for="(item, index) in imgList">
                        <div class="item_bg">
                            <img v-bind:src="item.data">
                            <img v-bind:src="readonly?item : item.data">
                            <img src="img/icon_delete.png" @click="deleteImg(index)">
                        </div>
                    </div>
                    <div class="up_add_bg">
                        <input type="file" class="up_add" id="exampleInputFile" @change="tirggerFile($event)" accept="image/png,image/jpeg">
                        <input type="file" v-if="readonly" disabled="disabled" class="up_add" id="exampleInputFile" @change="tirggerFile($event)"
                         accept="image/png,image/jpeg">
                        <input type="file" v-else class="up_add" id="exampleInputFile" @change="tirggerFile($event)" accept="image/png,image/jpeg">
                    </div>
                </div>
@@ -166,7 +171,7 @@
            <div class="div_commit">
                <!-- 提交申请 -->
                <div @click="commitInfo">
                <div @click="commitInfo" disabled=true>
                    提交申请
                </div>
            </div>
@@ -192,12 +197,14 @@
                    imgList: [
                    ],
                    readonly: false
                },
                watch: {
                },
                methods: {
                    selectvip: function(type) {
                        if (app.img_select_vip == type) return;
                        $('.div_vip_' + app.img_select_vip).css({
@@ -224,6 +231,7 @@
                    },
                    selectpttype: function(type) {
                        if (app.img_select_use == type) return;
                        $('.div_ptjy_' + app.img_select_use).css({
@@ -248,6 +256,8 @@
                        app.experience = app.img_select_use_1_show;
                    },
                    tirggerFile: function(event) {
                        if (app.readonly)
                            return;
                        var list = app.imgList;
                        let file = event.target.files[0];
                        let url = "";
@@ -263,12 +273,153 @@
                        };
                    },
                    deleteImg: function(index) {
                        if (app.readonly)
                            return;
                        var list = app.imgList;
                        list.splice(index, 1);
                        app.imgList = list;
                    },
                    getQueryString: function(name) {
                        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
                        var r = window.location.search.substr(1).match(reg);
                        if (r != null) return unescape(r[2]);
                        return null;
                    },
                    getInfo: function() {
                        var params = {
                            uid: yesApp.getUid(),
                            id: app.getQueryString("id")
                        };
                        params = yesApp.getRequestBaseParams(params);
                        yesApp.showLoading();
                        $.ajax({
                            type: "GET",
                            data: JSON.parse(params),
                            url: host + "/fanli/api/v1/user/vip/getApplyInfo",
                            dataType: "jsonp",
                            async: true,
                            success: function(result) {
                                yesApp.hideLoading();
                                if (result.code == 0) {
                                    app.setInfo(result.data);
                                } else {
                                    yesApp.toast(result.msg);
                                }
                            },
                            complete: function(e) {
                                yesApp.hideLoading();
                            }
                        });
                    },
                    setInfo: function(data) {
                        if (yesApp.getUid() == data.targetUid && data.state == -1) {
                            app.readonly = false;
                        } else {
                            app.readonly = true;
                        }
                        if (data.state == -1) {
                            if (app.readonly) {
                                $(".div_commit").find("div").eq(0).css("background", "#E0E0E0");
                                $(".div_commit").find("div").eq(0).html("待提交资料");
                            }
                        } else {
                            $(".div_commit").find("div").eq(0).css("background", "#E0E0E0");
                            $(".div_commit").find("div").eq(0).css("pointer-events", "none");
                            if (data.state == 0) {
                                $(".div_commit").find("div").eq(0).html("等待审核");
                            } else if (data.state == 1) {
                                $(".div_commit").find("div").eq(0).html("申请被拒绝");
                            } else if (data.state == 2) {
                                $(".div_commit").find("div").eq(0).html("开通成功");
                            }
                        }
                        if (data.phone != null)
                            $('#inpunt_phone').val(data.phone);
                        else
                            $('#inpunt_phone').attr("placeholder", "未填写")
                        if (data.targetUid != null)
                            $('#inpunt_id').val(data.targetUid);
                        else
                            $('#inpunt_id').attr("placeholder", "未填写")
                        if (data.wxID != null)
                            $('#inpunt_wx').val(data.wxID);
                        else
                            $('#inpunt_wx').attr("placeholder", "未填写")
                        if (data.applyReason != null)
                            $('#textarea_reason').val(data.applyReason);
                        else
                            $('#textarea_reason').attr("placeholder", "未填写")
                        app.imgList = data.imgList;
                        if (data.hasDoOtherPlatform) {
                            if (data.otherPlatformName == null)
                                data.otherPlatformName = '未填写'
                            if (data.otherDirectTeams == null)
                                data.otherDirectTeams = '未填写'
                            if (data.otherDirectTeams == null)
                                data.otherDirectTeams = '未填写'
                            if (data.otherLevel == null)
                                data.otherLevel = '未填写'
                            if (data.otherMonthIncome == null)
                                data.otherMonthIncome = '未填写'
                            if (data.otherPlatformName != null)
                                $('#textarea_useplatform').val(data.otherPlatformName);
                            else
                                $('#textarea_useplatform').attr("placeholder", "未填写")
                            if (data.otherDirectTeams != null)
                                $('#inpunt_first_fans').val(data.otherDirectTeams);
                            else
                                $('#inpunt_first_fans').attr("placeholder", "未填写")
                            if (data.otherInDirectTeams != null)
                                $('#inpunt_second_fans').val(data.otherInDirectTeams);
                            else
                                $('#inpunt_second_fans').attr("placeholder", "未填写")
                            if (data.otherLevel != null)
                                $('#inpunt_level').val(data.otherLevel);
                            else
                                $('#inpunt_level').attr("placeholder", "未填写")
                            if (data.otherMonthIncome != null)
                                $('#inpunt_monthmoney').val(data.otherMonthIncome);
                            else
                                $('#inpunt_monthmoney').attr("placeholder", "未填写")
                            app.selectpttype(1);
                        } else {
                            app.selectpttype(2);
                        }
                        if (data.level == 'highVIP') {
                            app.selectvip(1);
                        } else {
                            app.selectvip(2);
                        }
                    },
                    commitInfo: function() {
                        if (app.readonly)
                            return;
                        var id = getQueryString("id");
                        // 需要开通会员的目标用户ID(快省ID)
                        var targetUid = $('#inpunt_id').val();
@@ -304,14 +455,6 @@
                            params.id = id;
                        }
                        if (targetUid != null && targetUid.length > 0) {
                            params.targetUid = targetUid;
                        }
                        if (sourceUid != null && sourceUid.length > 0) {
                            params.sourceUid = sourceUid;
                        }
                        params.level = level;
                        if (phone != null && phone.length > 0) {
                            params.phone = phone;
                        }
@@ -319,10 +462,10 @@
                            params.wxID = wxID;
                        }
                        if (applyReson != null && applyReson.length > 0) {
                            params.applyReson = applyReson;
                            params.applyReason = applyReson;
                        }
                         params.hasDoOtherPlatform = hasDoOtherPlatform;
                        params.hasDoOtherPlatform = hasDoOtherPlatform + "";
                        if (otherPlatformName != null && otherPlatformName.length > 0) {
                            params.otherPlatformName = otherPlatformName;
@@ -357,7 +500,7 @@
                                yesApp.hideLoading();
                                if (result.code == 0) {
                                    yesApp.toast("上传成功")
                                    app.getInfo();
                                } else {
                                    yesApp.toast("上传失败3");
                                    yesApp.toast(res.msg);
@@ -370,6 +513,7 @@
                    },
                }
            });
            app.getInfo();
        });
    </script>
</html>
AppInside/yjCompute/css/stylesheet.css
@@ -35,10 +35,10 @@
    justify-content: space-between;
    align-items: center;
    color: #000000;
    width: 6.27rem;
}
.title {
    font-size: 0.3rem;
    margin-left: 0.4rem;
}
@@ -52,6 +52,7 @@
    text-align: right;
    border: 0;
    outline: none;
    width: 4rem;
}
.div_commit {
AppInside/yjCompute/index.html
@@ -14,15 +14,40 @@
        <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
        <script src="http://img.flqapp.com/resource/js/app2019112217.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
        <style type="text/css">
            .num {
                height: 0.5rem;
                width: 0.5rem;
                background: #E1E1E1;
                border-radius: 0.5rem;
                font-size: 0.36rem;
                text-align: center;
                color: #666666;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-left: 0.23rem;
                margin-top: 0.2rem;
            }
        </style>
    </head>
    <body>
        <div id="root">
            <div class="div_item_bg">
                <div class="div_items" v-for="(item, index) in yjlist">
                    <div class="title">{{item.title}}</div>
                    <input type="text" class="content" v-bind:placeholder="index==yjlist.length-1?item.content:''" :value="state==0?'':item.content"
                     v-bind:readonly="index==yjlist.length-1?(state==0?false:true):true" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" />
                <div style="display: flex;align-items: center;font-size: 0;" v-for="(item, index) in yjlist">
                    <div class="num">
                        {{index+1}}
                    </div>
                    <div class="div_items" @click="editLevel(index)">
                        <div class="title">{{item.title}}</div>
                        <input v-if="index>=yjlist.length-1" type="number" @click="input(index)" class="content" v-bind:placeholder="index==yjlist.length-1?item.content:''"
                         :value="state==0?'':item.content" v-bind:readonly="index==yjlist.length-1?(state==0?false:true):true" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" />
                        <div v-if="index<yjlist.length-1" class="content" >{{state==0?'':item.content}}</div>
                    </div>
                </div>
            </div>
            <!-- 添加粉丝 -->
            <div class="div_add_bg" @click="addFans" v-if="state==0">
@@ -31,7 +56,7 @@
                </div>
                <div class="div_add_desc">添加粉丝</div>
            </div>
            <div class="div_desc"  v-if="state==0">建议粉丝数不超过9代</div>
            <div class="div_desc" v-if="state==0">建议粉丝数不超过9代</div>
            <div style="height: 1.5rem;"></div>
            <!-- 提交申请 -->
@@ -65,9 +90,10 @@
                data: {
                    buttonName: '开始计算',
                    yjlist: [],
                    n: 0,
                    n: -1,
                    typelist: ['超级会员', '高级会员', '快省达人'],
                    state: 0 //0-输入模式  1-显示模式
                    state: 0, //0-输入模式  1-显示模式
                    editIndex: 0
                },
                watch: {
                    yjlist: function(val) {
@@ -81,13 +107,34 @@
                },
                methods: {
                    addFans: function() {
                        if (app.yjlist != null && app.yjlist.length >= 9)
                        if (app.yjlist != null && app.yjlist.length >= 9) {
                            yesApp.toast("最多只能添加9级");
                            return;
                        }
                        app.n = -1;
                        app.editIndex = app.yjlist.length;
                        $('.dialogmask').css('display', 'block')
                    },
                    input: function(index) {
                        if (index == app.yjlist.length-1) {
                            var event = window.event || arguments[0]
                            event = window.event || event
                            if (event.stopPropagation) {
                                event.stopPropagation() // 阻止事件 冒泡传播
                            } else {
                                event.cancelBubble = true // ie兼容
                            }
                        }
                    },
                    //编辑等级
                    editLevel: function(index) {
                        if (app.state == 0) {
                            app.editIndex = index;
                            $('.dialogmask').css('display', 'block')
                        }
                    },
                    hiddenDialog: function() {
                        app.n = 0;
                        app.n = -1;
                        $('.dialogmask').css('display', 'none')
                    },
@@ -120,7 +167,10 @@
                            }
                        }
                        var list = app.yjlist;
                        list.push(params);
                        if (list.length - 1 < app.editIndex)
                            list.push(params);
                        else
                            list[app.editIndex] = params;
                        app.yjlist = list;
                        app.hiddenDialog();
                    },
@@ -146,7 +196,7 @@
                        }
                        var money = $("input[type=text]:last").val();
                        var money = $("input[type=number]:last").val();
                        if (money == null || money == '' || money.length < 1) {
                            yesApp.toast("请输入金额");
                            return;