Commit 2a005e2a by 谢中龙

导购隐藏分享

parent 8af70cf2
......@@ -6,14 +6,14 @@
// 修改 BRANCH_ID 为对应的商户id
// app.js 中brandId 修改为对应
const PROJECT_ENV = 'test' // 生产 prod, 开发 dev, 测试 test , 测试门户 test_store, 预生产 pre
const PROJECT_ENV = 'prod' // 生产 prod, 开发 dev, 测试 test , 测试门户 test_store, 预生产 pre
//仅生产环境时 配置 :
//3001 3001 ,
//泰华 2006 ,
//多多一上 2007 ,
//雪岛书屋 2008
//苏州邻里 2003
const BRANCH_ID = 1002
const BRANCH_ID = 3001
const isMall = true
const needMock = '' //
......
......@@ -13,7 +13,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.8.2",
"appid": "wxac09792264c49b5c",
"appid": "wx313ec36b710125d4",
"projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E",
"debugOptions": {
"hidedInDevtools": []
......
......@@ -76,6 +76,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
let currentUserInfo = wx.getStorageSync('guidBaseInfo');
if (!currentUserInfo) { //未登录成功
wx.redirectTo({
......
......@@ -17,6 +17,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
let couponInfo = wx.getStorageSync('_guidCouponInfo');
this.setData({
couponInfo: couponInfo,
......
......@@ -19,6 +19,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
let param = options.id;
if(param){
this.getCurrentStoreId();
......
......@@ -13,7 +13,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
},
/**
......
......@@ -13,6 +13,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
let id = options.id;
this.getCollegeInfo(id);
},
......
......@@ -53,6 +53,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
console.log('guidBaseInfo----', wx.getStorageSync('guidBaseInfo'))
this.getCouponList();
this.getGoodsList();
......
......@@ -24,6 +24,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
const { pageSize, pageNo, current } = this.data
this.getTaskPage(pageSize, pageNo, current)
},
......
......@@ -33,6 +33,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
let type = options.type ;
if(type){
this.data.coupon.currentCouponType = type;
......
......@@ -30,6 +30,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
let type = options.type;
if (type) {
this.data.goods.currentGoodsType = type;
......
......@@ -17,6 +17,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
this.getMemberList();
},
......
......@@ -18,7 +18,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
},
/**
......
......@@ -42,6 +42,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
const currentEnv = wx.getStorageSync('_qyWeChat');
if (currentEnv) {
this.getEnterpriseQrcode();
......
......@@ -14,7 +14,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
},
/**
......
......@@ -25,6 +25,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
// 一进来先获取一下自动标签的数据
this.getMemberTagGroups();
},
......
......@@ -14,6 +14,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
let id = options.id ,
type = options.type;
this.getTaskInfo(id,type);
......
......@@ -40,6 +40,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
let memberId = options.id ;
this.data.memberId = memberId;
this.getMemberFind(memberId);
......
......@@ -15,7 +15,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
console.log(options)
wx.hideShareMenu();
let tagId = Integer.digit(options.id,64,10),
groupId = Integer.digit(options.groupId, 64, 10),
type = options.type,
......
......@@ -18,6 +18,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu();
const currentEnv = wx.getStorageSync('_qyWeChat');
if(!currentEnv){
wx.showToast({
......
<!--subPackage/page/pages/valueCardInfo/valueCardInfo.wxml-->
<image src='{{valueCardInfo.listUrl}}' class='card-info' mode='widthFix'></image>
<image src='{{valueCardInfo.infoUrl}}' class='card-info' mode='widthFix'></image>
<view class='card-info-body'>
<view class='card-title'>{{valueCardInfo.activityName}}</view>
<view class='card-desc-item' wx:if="{{valueCardInfo.hasDate}}">
......
......@@ -51,6 +51,7 @@ view{
.card-desc-item .rg .list-item{
margin-bottom: 8rpx;
white-space: pre-line;
}
.bottom-buy{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment