zhaojs
2023-05-26 1659a6dc9d4e39c3270e1bf564fb419ddc2fd2cf
no message
已修改8个文件
57 ■■■■ 文件已修改
uniapp/components/colGoods.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/components/empowerModel.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/manifest.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/goods/shareGoods.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/login/setInviteCode.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/login/wxlogin.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/mine/elm.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/search/search.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/components/colGoods.vue
@@ -46,7 +46,8 @@
                        店铺:{{items.shopName}}
                    </view> -->
                </view>
                <view class="shopname">{{items.shopName}}</view>
                <!-- <view class="shopname">{{items.shopName}}</view> -->
            </view>
        </view>
    </view>
uniapp/components/empowerModel.vue
@@ -40,7 +40,6 @@
                
                console.log(plug);
                plug.login({}, result => {
                    console.log(result);
                    var nick = result.userinfo.nick
                    if (result.code == 0) {
                        plug.taobaoOauth({
uniapp/manifest.json
@@ -59,14 +59,14 @@
                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
                ],
                "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
                "schemes" : "dafanguanapp"
                "schemes" : ""
            },
            /* ios打包配置 */
            "ios" : {
                "idfa" : true,
                "urltypes" : [
                    {
                        "urlschemes" : [ "tbopen34348719", "dafanguanapp" ] //tbopen+您应用的AppKey
                        "urlschemes" : [ "tbopen34348719" ] //tbopen+您应用的AppKey
                    }
                ],
                "urlschemewhitelist" : "tbopen,tmall",
uniapp/pages/goods/shareGoods.vue
@@ -310,13 +310,24 @@
                var that = this;
                if (goods.faction == 't') {
                    this.$u.api.getPrivilegeLink({type:0,goodsId:goods.goodsId}).then(e => {
                        console.log(e)
                        if(e.code == 1)return that.$alert(e.msg);
                        var res = e.data.info;
                        //that.Jumpurl = res.kuaiZhanUrl
                        that.tpwd = res.tpwd
                        var long = res.longTpwd
                        that.url = res.shortUrl;
                        if(that.url){
                            that.makeQRcode()
                        }else{
                            uni.showToast({
                                title:'制作海报失败!',
                                icon:'none'
                            })
                        }
                        //获取转链接
                        that.$u.api.getPrivilegeShareLink({type:0,goodsId:goods.goodsId}).then(ed=>{
                        /* that.$u.api.getPrivilegeShareLink({type:0,goodsId:goods.goodsId}).then(ed=>{
                            console.log(ed)
                            if(ed.code == 1)return that.$alert(ed.msg);
                            var re = ed.data.list;
                            that.url = re.link;
@@ -329,7 +340,7 @@
                                })
                            }
                        }).catch(function (er) {
                        })
                        }) */
                        
                    }).catch(function (err) {
                    })
@@ -501,9 +512,7 @@
                }
                // APP下载地址+邀请码
                if (e === 3) {
                    console.log(this.user)
                    data = '【下载链接】' + this.appInfo.appAndroidDownUrl +
                        '\n【邀请码】' + this.user.invitation_code
                    data = this.appInfo.invite_url +"?code="+this.user.invitation_code
                }
                uni.setClipboardData({
                    data,
uniapp/pages/login/setInviteCode.vue
@@ -48,11 +48,13 @@
                isShowCode:false,
                inviteCode:'',
                appInfo:'',
                inviterShow:false
                inviterShow:false,
                platform:''
            }
        },
        mounted() {
            this.appInfo = uni.getStorageSync('appInfo')
            this.appInfo = uni.getStorageSync('appInfo');
            this.platform = uni.getSystemInfoSync().platform
        },
        methods: {
            useCode()
@@ -76,11 +78,17 @@
                    confirmText:'联系推荐人',
                    success:function(res)
                    {
                        console.log(that.platform);
                        console.log(res);
                        if (res.confirm) {
                            that.isShowCode=true;
                            that.isShowCode=false;
                        } else if (res.cancel) {
                            that.isShowCode=false;
                            that.isShowCode=true;
                        }
                    },
                    fail:function(res)
                    {
                         that.isShowCode=true;
                    }
                });
            },
uniapp/pages/login/wxlogin.vue
@@ -105,6 +105,8 @@
                  univerifyManager.close();
                }).catch(err=>{
                    // 处理错误
                    console.log(err)
                    that.isother=true;
                    that.$alert('获取手机号码失败,请使用其他方式登录')
                    setTimeout(function(){
                        univerifyManager.close();
uniapp/pages/mine/elm.vue
@@ -49,12 +49,12 @@
                <image class="miniCodeImg" :src="wxQrcodeUrl" mode="aspectFit"></image>
                <view class="getBtn-container rowCenCen" @tap="jumpMini()">
                    <view>领红包点外卖①</view>
                    <view>领红包点外卖</view>
                </view>
                <view class="getBtn-container rowCenCen" @tap="jumpShangJinMini()">
            <!--     <view class="getBtn-container rowCenCen" @tap="jumpShangJinMini()">
                    <view>领加餐红包②</view>
                </view>
                </view> -->
            </view>
        </view>
@@ -195,6 +195,7 @@
                var that = this;
                this.$u.api.eleShangjin({}).then(e => {
                    if(e.code != 0) return that.$alert(e.msg)
                    console.log(e)
                    uni.hideLoading()
                    uni.stopPullDownRefresh()
                    var res = e.data;
uniapp/pages/search/search.vue
@@ -207,6 +207,11 @@
            }else{
                this.storeCurrent = 0;
            }
            if(options.searchText)
            {
                this.searchText=options.searchText;
                this.searchInput(null);
            }
            this.appinfo = getApp().globalData.appinfo.iosExamine;
            this.platform = getApp().globalData.platform
            this.getSearchFind();