|
|
|
// components/common/feedback.js
|
|
|
|
const mans=[
|
|
|
|
'oB-xJ5KJCIasaEdgMRckqoL1cwg8', //vking.wang
|
|
|
|
//'oB-xJ5BjnTvdgQGLHsjioNHH0eE8',
|
|
|
|
'oB-xJ5MEi2mTMrBTiYImD9cpGH6o', //xiao qin qin
|
|
|
|
'oB-xJ5OE1pM_17vNyWSMGqLH1vOg', //驴肉火烧多少钱一斤 MI 8
|
|
|
|
'oB-xJ5DIWrC6MECaXfql2GvTmQTU', //红旗 Redmi Note 7 Pro
|
|
|
|
'oB-xJ5I39RVWOWq-IGoBDxcFY-3s', //曹可 iPhone 6s Plus<iPhone8,2>
|
|
|
|
];
|
|
|
|
Component({
|
|
|
|
/**
|
|
|
|
* 组件的属性列表
|
|
|
|
*/
|
|
|
|
properties: {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 组件的初始数据
|
|
|
|
*/
|
|
|
|
data: {
|
|
|
|
hasDispaly:false,
|
|
|
|
top:(Math.random()*70+10)
|
|
|
|
},
|
|
|
|
ready: function() {
|
|
|
|
if(!getApp().consoleHasRewrite && wx.getLogManager){
|
|
|
|
const logger =wx.getLogManager()
|
|
|
|
getApp().consoleHasRewrite=true
|
|
|
|
console.log.prototype=function(){
|
|
|
|
console.log(...arguments)
|
|
|
|
logger.debug(...arguments)
|
|
|
|
};
|
|
|
|
}
|
|
|
|
let openid=wx.getStorageSync('customer_openid');
|
|
|
|
if(!openid) return;
|
|
|
|
if(mans.includes(openid)){
|
|
|
|
this.setData({
|
|
|
|
hasDispaly:true,
|
|
|
|
top:(Math.random()*70+10)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 组件的方法列表
|
|
|
|
*/
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
}
|
|
|
|
}) |