提交 7d3ade42 authored 作者: 黄旭新's avatar 黄旭新

xin

上级 c3d0eb9b
......@@ -73,7 +73,7 @@
"provider" : "wxaf8f505686ddf66a"
}
},
"appid" : "wxb21370ac25ee51b0",
"appid" : "wx45bb68de16ddddb7",
"setting" : {
"urlCheck" : false,
"es6" : true,
......
......@@ -571,7 +571,7 @@
{
"path": "PromotionCenter/PromotionRules",
"style": {
"navigationBarTitleText": "推广规则",
"navigationBarTitleText": "平台电客推广指南",
"enablePullDownRefresh": false
}
......
......@@ -54,11 +54,13 @@
if (options.scene) {
// scene 需要使用 decodeURIComponent 才能获取到生成二维码时传入的 scene
let scene = decodeURIComponent(options.scene)
console.log('scene=========+++',scene)
that.inviteType = scene.split('&&')[0]
let scene2 = JSON.stringify(scene.split('&&')[1])
let scene2 = scene.split('&&')[1]
//ht=1 scene存量企业
if (scene2.indexOf('ht=') >= 0) {
that.culiangcontractId = split('=')[1]
console.log('scene2=========+++',scene2)
// uni.showToast({
// title: that.culiangcontractId,
// icon: 'none',
......
......@@ -233,13 +233,7 @@
}
//存量企业
if(options.culiangcontractId){
let that=this
if(options.culiangcontractId.indexOf('"')>=0){
that.scene = options.culiangcontractId.replace(/\"/g, "")
}else{
that.scene = options.culiangcontractId
}
this.inviteType =100
this.scene = options.culiangcontractId
}
console.log('接受邀请的合同id=', this.contractId)
},
......
<template>
<view class="PromotionRules">
<view class="poster">
<image src="../../static/images/upload_bg.png" mode="widthFix"></image>
<image src="https://fire.huoshitou.net/profile/icon/tggz.png" mode="widthFix"></image>
</view>
<view class="button_box" @click="openmakemoney"><image src="https://fire.huoshitou.net/profile/icon/ljyy.png" mode="widthFix"></image></view>
<bottomWindow @closeModel='closeModel' v-if="isshare" :type="1"/>
</view>
</template>
<script>
import bottomWindow from '@/components/bottomWindow/bottomWindow.vue'
import {
get,
post
} from '@/static/util/fun.js'
import api from '@/static/util/api.js'
export default {
components: {
bottomWindow
},
data() {
return {
isshare: false,
}
},
methods: {
//分享
onShareAppMessage(res) {
let inviteCode=uni.getStorageSync('user').inviteCode
let name=uni.getStorageSync('user').certificationName
return {
title:name+'邀请您绑定成为他的用电企业会员',
path: '/pages/login/login?inviteType=3&&inviteCode='+inviteCode,//分享的页面路径
imageUrl:'https://fire.huoshitou.net/profile/icon/yaoqing.png',
// content: '邀请您绑定成为他的用电企业会员',
desc: '电客',
success:(res) => {
console.log('111111')
console.log(res)
},
fail:(err) => {
console.log('222222')
console.log(err)
}
}
},
closeModel(e) {
if (e == 'closeModel') {
this.isshare = false
}
},
//开启赚钱之路
openmakemoney(){
let that=this
if(this.isAuthenticate!=2){
uni.showToast({
title:'您还未通过实名认证',
icon:'none'
})
let natime=setTimeout(function(){
uni.navigateTo({
url:'/pages/Certification/Certification'
})
clearTimeout(natime)
},1000)
return false
}else{
that.isshare=true
}
},
}
}
</script>
......@@ -23,16 +77,25 @@
.PromotionRules{
width: 100%;
min-height: 100%;
padding-top: 32rpx;
background: #f4f5f7;
position: relative;
.poster{
width: 100%;
padding: 10rpx 32rpx;
background-color: #fff;
image{
width: 100%;
display: block;
}
}
.button_box{
width: 88%;
position: absolute;
left: 6%;
bottom: 43rpx;
image{
width: 100%;
display: block;
}
}
}
</style>
const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
// const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// const DOMAIN = 'http://192.168.1.197:9099/' // 志就
const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
// const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
const HOST = DOMAIN + 'api/'
erp.login = HOST + 'loginAndRegister/login' // 登录
......
This source diff could not be displayed because it is too large. You can view the blob instead.
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"1ece":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n("9036")),i=n("86df");function c(e){return e&&e.__esModule?e:{default:e}}var s={onLoad:function(t){e.hideHomeButton();var n=this;if(console.log(t),t.scene){var c=decodeURIComponent(t.scene);n.inviteType=c.split("&&")[0];var s=JSON.stringify(c.split("&&")[1]);s.indexOf("ht=")>=0?n.culiangcontractId=split("=")[1]:(n.userId=s,(0,i.get)(o.default.getUserInformation,{type:"2",userId:n.userId}).then((function(t){200==t.code?n.inviteCode=t.data.inviteCode:e.showToast({title:t.msg,icon:"none",duration:1200})})))}else n.inviteType=t.inviteType,n.inviteCode=t.inviteCode;this.contractId=t.contractId,this.inviterUserId=t.inviterUserId?t.inviterUserId:"",this.roleId=t.roleId?t.roleId:"",(this.inviteType||this.inviterUserId||this.roleId)&&(this.isCreated=!1)},onShow:function(){e.hideLoading()},data:function(){return{inviteType:"",inviteCode:"",contractId:null,inviterUserId:"",roleId:"",socketTask:null,type:"",openId:"",isCreated:!0,culiangcontractId:""}},methods:{getIdentity:function(e){this.type=e.detail.value},getUserInfo:function(){var t=this;t.inviteType&&(t.type=4!=t.inviteType?1:2),t.inviterUserId&&(t.type=1),33==t.inviteType&&(t.type=2),t.type?e.getUserProfile({desc:"用于完善会员资料",success:function(n){e.setStorageSync("userInfo",n.userInfo);var c=n.userInfo.nickName,s=n.userInfo.avatarUrl;e.showLoading({title:"加载中"}),e.login({success:function(n){var r=n.code;(0,i.get)(o.default.login,{type:t.type,inviterUserId:t.inviterUserId,roleId:t.roleId,code:r,nickName:c,avatar:s}).then((function(n){if(200==n.code){t.openId=n.data.user.openId,e.setStorageSync("openId",n.data.user.openId),e.setStorageSync("type",t.type),e.setStorageSync("user",n.data.user);var o=n.data.sign;if(o)e.reLaunch({url:"/pages/index/index"}),e.hideLoading();else if(t.inviteType){var i="/pages/register/register?inviteType="+t.inviteType+"&inviteCode="+t.inviteCode;t.contractId&&(i=i+"&contractId="+t.contractId),t.culiangcontractId&&(i=i+"&culiangcontractId="+t.culiangcontractId),e.navigateTo({url:i})}else e.navigateTo({url:"/pages/register/register"})}else e.showToast({title:n.msg,icon:"none"})}))}})}}):e.showToast({title:"请选择类型",icon:"none"})},WebSocket:function(){var t=this,n=this.type+this.openId;console.log(this.type),console.log(this.openId),console.log(n),t.socketTask=e.connectSocket({url:"wss://192.168.1.163:9099/api/WebSocket?typeUserId="+n,success:function(e){console.log(e,"连接成功")}}),t.socketTask.onOpen((function(e){t.is_open_socket=!0,t.socketTask.onMessage((function(e){console.log(e)})),t.socketTask.onClose((function(e){console.log("关闭")}))}))}}};t.default=s}).call(this,n("543d")["default"])},"5f82":function(e,t,n){"use strict";n.r(t);var o=n("1ece"),i=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=i.a},c1d4:function(e,t,n){},cc20:function(e,t,n){"use strict";var o=n("c1d4"),i=n.n(o);i.a},d33c:function(e,t,n){"use strict";n.r(t);var o=n("d837"),i=n("5f82");for(var c in i)"default"!==c&&function(e){n.d(t,e,(function(){return i[e]}))}(c);n("cc20");var s,r=n("f0c5"),a=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);t["default"]=a.exports},d837:function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var i=function(){var e=this,t=e.$createElement;e._self._c},c=[]},e3f0:function(e,t,n){"use strict";(function(e){n("78ef");o(n("66fd"));var t=o(n("d33c"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])}},[["e3f0","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"1ece":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n("9036")),i=n("86df");function c(e){return e&&e.__esModule?e:{default:e}}var s={onLoad:function(t){e.hideHomeButton();var n=this;if(console.log(t),t.scene){var c=decodeURIComponent(t.scene);console.log("scene=========+++",c),n.inviteType=c.split("&&")[0];var s=c.split("&&")[1];s.indexOf("ht=")>=0?(n.culiangcontractId=split("=")[1],console.log("scene2=========+++",s)):(n.userId=s,(0,i.get)(o.default.getUserInformation,{type:"2",userId:n.userId}).then((function(t){200==t.code?n.inviteCode=t.data.inviteCode:e.showToast({title:t.msg,icon:"none",duration:1200})})))}else n.inviteType=t.inviteType,n.inviteCode=t.inviteCode;this.contractId=t.contractId,this.inviterUserId=t.inviterUserId?t.inviterUserId:"",this.roleId=t.roleId?t.roleId:"",(this.inviteType||this.inviterUserId||this.roleId)&&(this.isCreated=!1)},onShow:function(){e.hideLoading()},data:function(){return{inviteType:"",inviteCode:"",contractId:null,inviterUserId:"",roleId:"",socketTask:null,type:"",openId:"",isCreated:!0,culiangcontractId:""}},methods:{getIdentity:function(e){this.type=e.detail.value},getUserInfo:function(){var t=this;t.inviteType&&(t.type=4!=t.inviteType?1:2),t.inviterUserId&&(t.type=1),33==t.inviteType&&(t.type=2),t.type?e.getUserProfile({desc:"用于完善会员资料",success:function(n){e.setStorageSync("userInfo",n.userInfo);var c=n.userInfo.nickName,s=n.userInfo.avatarUrl;e.showLoading({title:"加载中"}),e.login({success:function(n){var r=n.code;(0,i.get)(o.default.login,{type:t.type,inviterUserId:t.inviterUserId,roleId:t.roleId,code:r,nickName:c,avatar:s}).then((function(n){if(200==n.code){t.openId=n.data.user.openId,e.setStorageSync("openId",n.data.user.openId),e.setStorageSync("type",t.type),e.setStorageSync("user",n.data.user);var o=n.data.sign;if(o)e.reLaunch({url:"/pages/index/index"}),e.hideLoading();else if(t.inviteType){var i="/pages/register/register?inviteType="+t.inviteType+"&inviteCode="+t.inviteCode;t.contractId&&(i=i+"&contractId="+t.contractId),t.culiangcontractId&&(i=i+"&culiangcontractId="+t.culiangcontractId),e.navigateTo({url:i})}else e.navigateTo({url:"/pages/register/register"})}else e.showToast({title:n.msg,icon:"none"})}))}})}}):e.showToast({title:"请选择类型",icon:"none"})},WebSocket:function(){var t=this,n=this.type+this.openId;console.log(this.type),console.log(this.openId),console.log(n),t.socketTask=e.connectSocket({url:"wss://192.168.1.163:9099/api/WebSocket?typeUserId="+n,success:function(e){console.log(e,"连接成功")}}),t.socketTask.onOpen((function(e){t.is_open_socket=!0,t.socketTask.onMessage((function(e){console.log(e)})),t.socketTask.onClose((function(e){console.log("关闭")}))}))}}};t.default=s}).call(this,n("543d")["default"])},"5f82":function(e,t,n){"use strict";n.r(t);var o=n("1ece"),i=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=i.a},"77ff":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var i=function(){var e=this,t=e.$createElement;e._self._c},c=[]},c1d4:function(e,t,n){},cc20:function(e,t,n){"use strict";var o=n("c1d4"),i=n.n(o);i.a},d33c:function(e,t,n){"use strict";n.r(t);var o=n("77ff"),i=n("5f82");for(var c in i)"default"!==c&&function(e){n.d(t,e,(function(){return i[e]}))}(c);n("cc20");var s,r=n("f0c5"),a=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);t["default"]=a.exports},e3f0:function(e,t,n){"use strict";(function(e){n("78ef");o(n("66fd"));var t=o(n("d33c"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])}},[["e3f0","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/register/register"],{"22a3":function(e,t,n){"use strict";var o=n("7fc1"),i=n.n(o);i.a},"433e":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n("9036")),i=n("86df");function c(e){return e&&e.__esModule?e:{default:e}}var s=function(){Promise.all([n.e("common/vendor"),n.e("components/pickerAddress/pickerAddress")]).then(function(){return resolve(n("31b9"))}.bind(null,n)).catch(n.oe)},r={onLoad:function(e){if(e.inviteCode&&(this.inviteCode=e.inviteCode,this.inviteType=e.inviteType,this.contractId=e.contractId),e.culiangcontractId){var t=this;e.culiangcontractId.indexOf('"')>=0?t.scene=e.culiangcontractId.replace(/\"/g,""):t.scene=e.culiangcontractId,this.inviteType=100}console.log("接受邀请的合同id=",this.contractId)},components:{pickerAddress:s},data:function(){return{inviteCode:"",inviteType:0,contractId:"",wxName:"",headImgUrl:"",phone:"",verifyCode:"",address:"",radioCheck:!1,clauseShow:!1,code:"",count:60,scene:""}},methods:{clickhilden:function(){this.clauseShow=!1,this.radioCheck=!0},getIphone:function(e){this.phone=e.detail.value},getAuthCode:function(){var t=this,n=this.phone,c=/^1[9|3|4|5|7|8][0-9]{9}$/,s=c.test(n);n&&s?(e.showToast({title:"验证码已发送"}),(0,i.get)(o.default.VerificationCode,{phone:n}).then((function(e){200==e.code&&(console.log(e),t.code=e.msg,t.countSixty())}))):e.showToast({title:"请输入手机号",icon:"none"})},change:function(e){this.address=e.data.join("/")},getInviteCode:function(e){this.inviteCode=e.detail.value},register:function(){var t=this.$data,n=t.phone,o=t.verifyCode,i=t.address,c=t.radioCheck,s=t.code;if(c){var r=this.verifyInfo(n,o,i,s);if(r)e.showToast({title:r,icon:"none"});else{var a=e.getStorageSync("userInfo");this.openId=e.getStorageSync("openId"),this.type=e.getStorageSync("type"),this.wxName=a.nickName,this.headImgUrl=a.avatarUrl,this.registerProt()}}else e.showToast({title:"请同意协议",icon:"none"})},countSixty:function(){var e=this,t=this.count,n=setInterval((function(){e.count=t--,0==t&&(e.count=60,clearInterval(n))}),1e3)},verifyInfo:function(){var e=arguments;return""==e[0]?"请重新输入手机号":""==e[1]?"请输入验证码":""==e[2]?"请选择地址":e[1]!=e[3]&&"验证码输入有误"},registerProt:function(){console.log("inviteType:"+this.inviteType),(0,i.post)(o.default.register,{inviteType:this.inviteType,inviteCode:this.inviteCode,contractId:this.contractId,openId:this.openId,phone:this.phone,code:this.code,type:this.type,wxName:this.wxName,address:this.address,headImgUrl:this.headImgUrl,scene:this.scene}).then((function(t){console.log(t),200==t.code?(e.showToast({title:"注册成功"}),e.setStorageSync("user",t.data),setTimeout((function(){e.reLaunch({url:"/pages/index/index"})}),500)):e.showToast({title:t.msg,icon:"none"})}))}}};t.default=r}).call(this,n("543d")["default"])},"4aae":function(e,t,n){"use strict";n.r(t);var o=n("433e"),i=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=i.a},7400:function(e,t,n){"use strict";n.r(t);var o=n("9938"),i=n("4aae");for(var c in i)"default"!==c&&function(e){n.d(t,e,(function(){return i[e]}))}(c);n("22a3");var s,r=n("f0c5"),a=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);t["default"]=a.exports},"7cdb":function(e,t,n){"use strict";(function(e){n("78ef");o(n("66fd"));var t=o(n("7400"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"7fc1":function(e,t,n){},9938:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var o={pickerAddress:function(){return Promise.all([n.e("common/vendor"),n.e("components/pickerAddress/pickerAddress")]).then(n.bind(null,"31b9"))}},i=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){t.stopPropagation(),e.clauseShow=!0})},c=[]}},[["7cdb","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/register/register"],{"22a3":function(e,t,n){"use strict";var o=n("7fc1"),i=n.n(o);i.a},"433e":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n("9036")),i=n("86df");function c(e){return e&&e.__esModule?e:{default:e}}var s=function(){Promise.all([n.e("common/vendor"),n.e("components/pickerAddress/pickerAddress")]).then(function(){return resolve(n("31b9"))}.bind(null,n)).catch(n.oe)},r={onLoad:function(e){e.inviteCode&&(this.inviteCode=e.inviteCode,this.inviteType=e.inviteType,this.contractId=e.contractId),e.culiangcontractId&&(this.scene=e.culiangcontractId),console.log("接受邀请的合同id=",this.contractId)},components:{pickerAddress:s},data:function(){return{inviteCode:"",inviteType:0,contractId:"",wxName:"",headImgUrl:"",phone:"",verifyCode:"",address:"",radioCheck:!1,clauseShow:!1,code:"",count:60,scene:""}},methods:{clickhilden:function(){this.clauseShow=!1,this.radioCheck=!0},getIphone:function(e){this.phone=e.detail.value},getAuthCode:function(){var t=this,n=this.phone,c=/^1[9|3|4|5|7|8][0-9]{9}$/,s=c.test(n);n&&s?(e.showToast({title:"验证码已发送"}),(0,i.get)(o.default.VerificationCode,{phone:n}).then((function(e){200==e.code&&(console.log(e),t.code=e.msg,t.countSixty())}))):e.showToast({title:"请输入手机号",icon:"none"})},change:function(e){this.address=e.data.join("/")},getInviteCode:function(e){this.inviteCode=e.detail.value},register:function(){var t=this.$data,n=t.phone,o=t.verifyCode,i=t.address,c=t.radioCheck,s=t.code;if(c){var r=this.verifyInfo(n,o,i,s);if(r)e.showToast({title:r,icon:"none"});else{var a=e.getStorageSync("userInfo");this.openId=e.getStorageSync("openId"),this.type=e.getStorageSync("type"),this.wxName=a.nickName,this.headImgUrl=a.avatarUrl,this.registerProt()}}else e.showToast({title:"请同意协议",icon:"none"})},countSixty:function(){var e=this,t=this.count,n=setInterval((function(){e.count=t--,0==t&&(e.count=60,clearInterval(n))}),1e3)},verifyInfo:function(){var e=arguments;return""==e[0]?"请重新输入手机号":""==e[1]?"请输入验证码":""==e[2]?"请选择地址":e[1]!=e[3]&&"验证码输入有误"},registerProt:function(){console.log("inviteType:"+this.inviteType),(0,i.post)(o.default.register,{inviteType:this.inviteType,inviteCode:this.inviteCode,contractId:this.contractId,openId:this.openId,phone:this.phone,code:this.code,type:this.type,wxName:this.wxName,address:this.address,headImgUrl:this.headImgUrl,scene:this.scene}).then((function(t){console.log(t),200==t.code?(e.showToast({title:"注册成功"}),e.setStorageSync("user",t.data),setTimeout((function(){e.reLaunch({url:"/pages/index/index"})}),500)):e.showToast({title:t.msg,icon:"none"})}))}}};t.default=r}).call(this,n("543d")["default"])},"4aae":function(e,t,n){"use strict";n.r(t);var o=n("433e"),i=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=i.a},7400:function(e,t,n){"use strict";n.r(t);var o=n("ad32"),i=n("4aae");for(var c in i)"default"!==c&&function(e){n.d(t,e,(function(){return i[e]}))}(c);n("22a3");var s,r=n("f0c5"),a=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);t["default"]=a.exports},"7cdb":function(e,t,n){"use strict";(function(e){n("78ef");o(n("66fd"));var t=o(n("7400"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"7fc1":function(e,t,n){},ad32:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var o={pickerAddress:function(){return Promise.all([n.e("common/vendor"),n.e("components/pickerAddress/pickerAddress")]).then(n.bind(null,"31b9"))}},i=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){t.stopPropagation(),e.clauseShow=!0})},c=[]}},[["7cdb","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/PromotionCenter/PromotionRules"],{"08a2":function(n,t,e){},"1ad1":function(n,t,e){"use strict";var u=e("08a2"),a=e.n(u);a.a},"29e6":function(n,t,e){"use strict";e.r(t);var u=e("369f"),a=e("80bf");for(var r in a)"default"!==r&&function(n){e.d(t,n,(function(){return a[n]}))}(r);e("1ad1");var f,o=e("f0c5"),c=Object(o["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],f);t["default"]=c.exports},"369f":function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return u}));var a=function(){var n=this,t=n.$createElement;n._self._c},r=[]},"80bf":function(n,t,e){"use strict";e.r(t);var u=e("f9e3"),a=e.n(u);for(var r in u)"default"!==r&&function(n){e.d(t,n,(function(){return u[n]}))}(r);t["default"]=a.a},baaf:function(n,t,e){"use strict";(function(n){e("78ef");u(e("66fd"));var t=u(e("29e6"));function u(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},f9e3:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={data:function(){return{}},methods:{}};t.default=u}},[["baaf","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/PromotionCenter/PromotionRules"],{"08a2":function(n,t,e){},"1ad1":function(n,t,e){"use strict";var o=e("08a2"),i=e.n(o);i.a},"29e6":function(n,t,e){"use strict";e.r(t);var o=e("37b7"),i=e("80bf");for(var u in i)"default"!==u&&function(n){e.d(t,n,(function(){return i[n]}))}(u);e("1ad1");var a,r=e("f0c5"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);t["default"]=c.exports},"37b7":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return o}));var o={bottomWindow:function(){return e.e("components/bottomWindow/bottomWindow").then(e.bind(null,"54aa"))}},i=function(){var n=this,t=n.$createElement;n._self._c},u=[]},"80bf":function(n,t,e){"use strict";e.r(t);var o=e("f9e3"),i=e.n(o);for(var u in o)"default"!==u&&function(n){e.d(t,n,(function(){return o[n]}))}(u);t["default"]=i.a},baaf:function(n,t,e){"use strict";(function(n){e("78ef");o(e("66fd"));var t=o(e("29e6"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},f9e3:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;e("86df"),o(e("9036"));function o(n){return n&&n.__esModule?n:{default:n}}var i=function(){e.e("components/bottomWindow/bottomWindow").then(function(){return resolve(e("54aa"))}.bind(null,e)).catch(e.oe)},u={components:{bottomWindow:i},data:function(){return{isshare:!1}},methods:{onShareAppMessage:function(t){var e=n.getStorageSync("user").inviteCode,o=n.getStorageSync("user").certificationName;return{title:o+"邀请您绑定成为他的用电企业会员",path:"/pages/login/login?inviteType=3&&inviteCode="+e,imageUrl:"https://fire.huoshitou.net/profile/icon/yaoqing.png",desc:"电客",success:function(n){console.log("111111"),console.log(n)},fail:function(n){console.log("222222"),console.log(n)}}},closeModel:function(n){"closeModel"==n&&(this.isshare=!1)},openmakemoney:function(){var t=this;if(2!=this.isAuthenticate){n.showToast({title:"您还未通过实名认证",icon:"none"});var e=setTimeout((function(){n.navigateTo({url:"/pages/Certification/Certification"}),clearTimeout(e)}),1e3);return!1}t.isshare=!0}}};t.default=u}).call(this,e("543d")["default"])}},[["baaf","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"navigationBarTitleText": "推广规则",
"navigationBarTitleText": "平台电客推广指南",
"enablePullDownRefresh": false,
"usingComponents": {}
"usingComponents": {
"bottom-window": "/components/bottomWindow/bottomWindow"
}
}
\ No newline at end of file
<view class="PromotionRules"><view class="poster"><image src="../../static/images/upload_bg.png" mode="widthFix"></image></view></view>
\ No newline at end of file
<view class="PromotionRules"><view class="poster"><image src="https://fire.huoshitou.net/profile/icon/tggz.png" mode="widthFix"></image></view><view data-event-opts="{{[['tap',[['openmakemoney',['$event']]]]]}}" class="button_box" bindtap="__e"><image src="https://fire.huoshitou.net/profile/icon/ljyy.png" mode="widthFix"></image></view><block wx:if="{{isshare}}"><bottom-window vue-id="532ee247-1" type="{{1}}" data-event-opts="{{[['^closeModel',[['closeModel']]]]}}" bind:closeModel="__e" bind:__l="__l"></bottom-window></block></view>
\ No newline at end of file
.PromotionRules{width:100%;min-height:100%;padding-top:32rpx;background:#f4f5f7}.PromotionRules .poster{width:100%;padding:10rpx 32rpx;background-color:#fff}.PromotionRules .poster image{width:100%;display:block}
\ No newline at end of file
.PromotionRules{width:100%;min-height:100%;background:#f4f5f7;position:relative}.PromotionRules .poster{width:100%;background-color:#fff}.PromotionRules .poster image{width:100%;display:block}.PromotionRules .button_box{width:88%;position:absolute;left:6%;bottom:43rpx}.PromotionRules .button_box image{width:100%;display:block}
\ No newline at end of file
......@@ -41,7 +41,7 @@
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "wxb21370ac25ee51b0",
"appid": "wx45bb68de16ddddb7",
"projectname": "gangshi",
"condition": {
"search": {
......
const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
// const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// const DOMAIN = 'http://192.168.1.197:9099/' // 志就
const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
// const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
const HOST = DOMAIN + 'api/'
erp.login = HOST + 'loginAndRegister/login' // 登录
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论