Commit 3e544636 by 谢中龙

修改海报和完成领券对接

parent ae572dfa
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// 修改 BRANCH_ID 为对应的商户id // 修改 BRANCH_ID 为对应的商户id
// app.js 中brandId 修改为对应 // 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 , wx313ec36b710125d4 //3001 3001 , wx313ec36b710125d4
//2006 泰华 , wx40fec8944623c8b3 //2006 泰华 , wx40fec8944623c8b3
...@@ -21,7 +21,7 @@ const PROJECT_ENV = 'test' // 生产 prod, 开发 dev, 测试 test , 测试门 ...@@ -21,7 +21,7 @@ const PROJECT_ENV = 'test' // 生产 prod, 开发 dev, 测试 test , 测试门
//2015 花在花园 //2015 花在花园
//2016 阿吉豆 //2016 阿吉豆
//2017 ACTREE wx2aae34874e88cdf5 //2017 ACTREE wx2aae34874e88cdf5
const BRANCH_ID = 1002 const BRANCH_ID = 3001
const isMall = true const isMall = true
// const needMock = '' // // const needMock = '' //
......
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
// pages/addAddress/addAddress.js // pages/addAddress/addAddress.js
const wxService = require('../../utils/wxService') const wxService = require('../../utils/wxService')
const city = require('../../utils/city') const city = require('../../utils/city')
const { memberId } = wx.getStorageSync('_baseUserInfo') const hotwindCity = require('../../utils/hotwindCity')
const { memberId } = wx.getStorageSync('_baseUserInfo');
const envInfo = require('../../config/index').envInfo;
wxService.page({ wxService.page({
...@@ -64,7 +66,15 @@ wxService.page({ ...@@ -64,7 +66,15 @@ wxService.page({
}, },
init() { init() {
let cityData = city.default; let cityData = [];
//热风地址库特殊处理
if (envInfo.brandId == 2010){
cityData = hotwindCity.default;
}
else{
cityData = city.default;
}
let province = [] let province = []
let cityList = [] let cityList = []
let district = [] let district = []
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
const wxService = require('../../utils/wxService') const wxService = require('../../utils/wxService')
const app = getApp() const app = getApp()
const city = require('../../utils/city') const city = require('../../utils/city')
const hotwindCity = require('../../utils/hotwindCity')
const utils = require('../../utils/util') const utils = require('../../utils/util')
const envInfo = require('../../config/index').envInfo; const envInfo = require('../../config/index').envInfo;
...@@ -383,7 +384,15 @@ wxService.page({ ...@@ -383,7 +384,15 @@ wxService.page({
} }
}, },
initCitys() { initCitys() {
let cityData = city.default; let cityData = [];
//热风地址库特殊处理
if (envInfo.brandId == 2010) {
cityData = hotwindCity.default;
}
else {
cityData = city.default;
}
let province = [] let province = []
let cityList = [] let cityList = []
let district = [] let district = []
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
} }
.address-wrap{ .address-wrap{
padding: 0 30rpx; padding: 0 30rpx;
margin-top: 20rpx;
} }
.vip-right { .vip-right {
width: 100rpx; width: 100rpx;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.8.2", "libVersion": "2.8.2",
"appid": "wxac09792264c49b5c", "appid": "wx313ec36b710125d4",
"projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E", "projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
"id": 16, "id": 16,
"name": "商品详情页", "name": "商品详情页",
"pathName": "pages/productDetail/productDetail", "pathName": "pages/productDetail/productDetail",
"query": "id=639868160153096192", "query": "id=634719195157905408",
"scene": null "scene": null
}, },
{ {
......
<!--share/share.wxml--> <!--share/share.wxml-->
<view hidden="{{isInput}}"> <view hidden="{{isInput}}" class="canvas-container">
<canvas class='canvas' canvas-id="myCanvas" style="height:{{height}};"></canvas> <canvas class='canvas' canvas-id="myCanvas" style="height:{{height}};"></canvas>
</view> </view>
......
...@@ -11,17 +11,27 @@ view{ ...@@ -11,17 +11,27 @@ view{
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
} }
.canvas{ .canvas-container{
width: 100%; display: flex;
justify-content: center;
padding-top: 20rpx;
}
.canvas-container canvas{
box-shadow: 0 0 8rpx 3rpx rgba(0, 0, 0, 0.1);
} }
.btns-containers{ .btns-containers{
width: 100%; /* width: 100%; */
height: auto; height: auto;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 30rpx 50rpx; /* padding: 30rpx 80rpx; */
width: 562rpx;
margin: auto;
margin-top: 30rpx;
padding-bottom: 30rpx;
} }
.btns-containers .save-btn{ .btns-containers .save-btn{
...@@ -70,7 +80,9 @@ view{ ...@@ -70,7 +80,9 @@ view{
.statistic-img image{ .statistic-img image{
display: block; display: block;
width: 100%; width: 562rpx;
height: 1000rpx;
box-shadow: 0 0 8rpx 6rpx rgba(0, 0, 0, 0.1);
} }
.input-text{ .input-text{
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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