Commit 0f2e43ec authored by 5359's avatar 5359

历史注册用户调整

parent 6470fb64
......@@ -492,6 +492,8 @@
if (res.rows) {
if (res.rows.length > 0) {
var data = res.rows[0];
var historyFlag=data.historyFlag;
if(historyFlag=='N'){
vm.cardUp =
process.env.rootPath +
"/app/fileViewSvc?attachment_id=" +
......@@ -507,6 +509,7 @@
vm.showStatus = "1";
}
}
}
});
}
},
......
......@@ -8,19 +8,19 @@
:class="['item-entry',{'add-bg-color':isClick1}]"
@click="goPersonalPage()"
>
<img src="../../../assets/userRegister/people.png" v-show="isHighLight" />
<img src="../../../assets/userRegister/people-light.png" v-show="!isHighLight" />
<img src="../../../assets/userRegister/people.png" v-show="isHighLight"/>
<img src="../../../assets/userRegister/people-light.png" v-show="!isHighLight"/>
<span class="text-entry">个人</span>
</div>
<div :class="['item-entry',{'add-bg-color':isClick2}]" @click="goCompanyPage()">
<img src="../../../assets/userRegister/company.png" v-show="isHighLight1" />
<img src="../../../assets/userRegister/company-light.png" v-show="!isHighLight1" />
<img src="../../../assets/userRegister/company.png" v-show="isHighLight1"/>
<img src="../../../assets/userRegister/company-light.png" v-show="!isHighLight1"/>
<span class="text-entry">企业</span>
</div>
</div>
<div class="tips">
<p class="tips-item">
<img src="../../../assets/userRegister/tips.png" alt />
<img src="../../../assets/userRegister/tips.png" alt/>
<span>温馨提示:</span>
</p>
<p class="tips-item">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您可选择用户类型进行用户信息注册及实名认证。</p>
......@@ -32,8 +32,9 @@
</template>
<script>
import { getUrlParam } from "@/scripts/utils";
export default {
import {getUrlParam} from "@/scripts/utils";
export default {
data() {
return {
isClick1: false,
......@@ -48,7 +49,7 @@ export default {
};
},
components: {},
activated: function() {
activated: function () {
// console.log(1111111111111111111111)
// if (window.localStorage.openId) {
// this.getUserInfo('1111');
......@@ -60,7 +61,8 @@ export default {
this.getUserInfo();
}
},
updated: function() {},
updated: function () {
},
methods: {
// 获取token
// getToken() {
......@@ -174,12 +176,14 @@ export default {
"/sign/info/hclc/query/by/openid?openId=" +
window.localStorage.openId;
vm.hlsPopup.showLoading("请稍等");
vm.$post(url).then(function(res) {
vm.$post(url).then(function (res) {
vm.hlsPopup.hideLoading();
if (res.rows) {
if (res.rows.length > 0) {
console.log(res.rows);
var results = res.rows[0];
var historyFlag = data.historyFlag;
if (historyFlag == 'N') {
vm.ctitype = results.ctitype;
if (results.ctitype == 1) {
vm.userInfo = results;
......@@ -199,6 +203,7 @@ export default {
}
}
}
}
});
},
// 调用微信接口的基础配置
......@@ -223,7 +228,7 @@ export default {
apiKey: "handexinxi",
url: clientUrl
};
hlsHttp.post(url, param).then(function(res) {
hlsHttp.post(url, param).then(function (res) {
wx.config({
beta: true,
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
......@@ -240,18 +245,18 @@ export default {
"hideOptionMenu"
] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
});
wx.ready(function() {
wx.ready(function () {
wx.hideOptionMenu();
});
});
}
}
};
};
</script>
<style lang="less" type="text/less">
@import "../../../styles/vue-1px.less";
@import "../../../styles/vue-1px.less";
.userRegister {
.userRegister {
.reg-content {
padding: 20px;
padding-top: 150px;
......@@ -294,23 +299,23 @@ export default {
}
}
}
}
}
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#home {
}
}
}
}
// iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) {
// iPhoneX Max适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
.platform-ios {
#home {
}
}
}
}
}
</style>
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