doum
7 天以前 6b332cfaf5ba62fda86ed5bd0778c63b77590be2
前端
已修改3个文件
25 ■■■■■ 文件已修改
small-program/App.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
small-program/main.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
small-program/pages/mine/mine.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
small-program/App.vue
@@ -33,6 +33,11 @@
                    }
                })
            }
            uni.showShareMenu({
              withShareTicket: true,
              menus: ['shareAppMessage', 'shareTimeline']
            })
        },
        onShow: function() {
            console.log('App Show')
small-program/main.js
@@ -19,7 +19,8 @@
// Vue.prototype.$baseUrl = 'https://test.doumee.cn/jinkuai_web/'
Vue.prototype.$baseUrl = 'https://jinkuai.832smartfarm.com/jinkuai_web/'
import shareMixin from '@/utils/shareMixin'
Vue.mixin(shareMixin)
const app = new Vue({
    store,
    ...App
small-program/pages/mine/mine.vue
@@ -153,7 +153,8 @@
                changing1:false,
                autoReceiveStatus: false,
                isLogin:false,
                useIdentity:0
                useIdentity:0,
                qrcode:''
            }
        },
        onShow(options){ 
@@ -279,6 +280,20 @@
                    that.changing1 = false
                })
            } ,
            saoyisao(){
                var that =this
                // 允许从相机和相册扫码
                wx.scanCode({
                  // scanType:['barCode'],
                  success (res) {
                    that.qrcode =res.result
                    console.log(res)
                  },
                  fail(e){
                      console.error(e)
                  }
                })
            },
            updateMemberInfo(e) {
                if(this.changing){
                    return