Commit 6a7318ef authored by youjie's avatar youjie

no message

parents 6cd60fcc aa5ad5cd
......@@ -52,7 +52,7 @@
<view class="Alipay-text3">发送“支付”获取支付宝付款链接</view>
</view>
<view class="Alipay-box33">
<image class="Alipay-image" src="../../static/images/zhifu.png"></image>
<!-- <image class="Alipay-image" src="../../static/images/zhifu.png"></image> -->
</view>
<view class="Alipay-text4" @click="send()" style="margin-bottom: 86rpx;">
去发送
......
<template>
<view
class="ad-box"
:class="{'ad-full-height':ad.list[0].link[0].PageName == 'full'}"
:class="{'ad-box-full':ad.list[0].link[0].PageName == 'full'}"
:style="{ height: ad.height == 'auto' ? 'auto' : ad.height + 'rpx',padding:marginStyle,backgroundColor:ad.background }"
>
<view
......@@ -112,7 +112,14 @@ export default {
opacity: 0;
z-index: 2;
}
.ad-full-height{
.ad-box-full{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.ad-full-height,.ad-full-height image{
height: 100% !important;
}
</style>
{
"name" : "mallapp",
"appid" : "",
"appid" : "__UNI__EE0B83C",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
......
......@@ -1568,5 +1568,6 @@
.content .flex-column .full-col{
flex: 1;
height: 1px;
position: relative;
}
</style>
......@@ -47,7 +47,7 @@
>
<span>原因:{{ dataOne.RejectRemark }}</span>
</view>
<view v-for="(item, index) in stepOneList" :key="index">
<view v-for="(item, index) in setList" :key="index">
<view class="itemBox">
<view class="name">
{{ item.name }}
......@@ -93,7 +93,7 @@
v-if="!businessLicenseUploadIsSuccess"
class="conImage"
mode="widthFix"
@click="chooseImg"
@click="chooseImg(item.field)"
></image>
<!-- 上传成功 -->
<image
......@@ -109,11 +109,22 @@
nowStatus != 3 &&
nowStatus != 5
"
@click="chooseImg"
@click="chooseImg(item.field)"
>
重新上传
</view>
</view>
<view class="con1" v-if="item.type == 4">
<uni-section title="" type="line">
<uni-data-select
v-model="dataOne[item.field]"
lable="ClassName"
defItem="ID"
:localdata="typeList"
:clear="false"
></uni-data-select>
</uni-section>
</view>
</view>
</view>
</view>
......@@ -187,12 +198,6 @@
:datas="dataOne"
></carrierInformation>
</view>
<template v-if="ChooseidentityId == 3">
<enterInformation ref="enterinfo" :datas="dataOne"></enterInformation>
</template>
<template v-if="ChooseidentityId == 4">
<buildingInformation ref="buildinginfo" :datas="dataOne"></buildingInformation>
</template>
</view>
<view v-if="step != 3">
......@@ -202,21 +207,17 @@
</view>
</view>
</view>
</template>
</template>
<script>
import rangeSlider from "./components/range-slider.vue";
import carrierInformation from "./components/carrierInformation.vue";
import buildingInformation from "./components/buildingInformation.vue";
import brandInformation from "./components/brandInformation.vue";
import enterInformation from "./components/enterInformation.vue";
export default {
<script>
import rangeSlider from "./components/range-slider.vue";
import carrierInformation from "./components/carrierInformation.vue";
import brandInformation from "./components/brandInformation.vue";
export default {
components: {
rangeSlider,
carrierInformation,
buildingInformation,
brandInformation,
enterInformation,
},
computed: {},
data() {
......@@ -226,7 +227,7 @@ export default {
nextIcon:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/next.png",
percent: 33.33,
ChooseidentityId: 1,//1品牌 2载体 3企业 4楼宇
ChooseidentityId: 1,
stepName: "第1步 企业基础资料",
nextSepName: "第2步",
// type=1:输入框,2:照片
......@@ -265,7 +266,7 @@ export default {
type: 1,
},
],
//type=1:输入框,2:步进器,3:多选
//type=1:输入框,2:步进器,3:多选 4.单项
stepTwoList: [
{
name: "品牌名称",
......@@ -275,31 +276,100 @@ export default {
type: 1,
},
{
name: "店铺数量",
text: "",
field: "ShopNum",
name: "品牌LOGO",
text: "请上传品牌LOGO",
field: "Logo",
delIcon: false,
type: 2,
},
{
name: "店铺面积",
text: "",
field: "",
type: 3,
name: "品牌介绍图",
text: "请上传品牌介绍图",
field: "BannerList",
delIcon: true,
type: 2,
},
{
name: "品牌视频",
text: "请上传品牌视频",
field: "VideoUrl",
delIcon: true,
type: 2,
},
{
name: "品牌定位",
text: "请输入品牌定位",
field: "FullBrandName",
field: "BrandType",
type: 1,
},
{
name: "店铺数量",
text: "请输入店铺数量",
field: "ShopNum",
type: 1,
},
{
name: "需求面积",
text: "请输入需求面积",
field: "AreaRequirement",
type: 1,
},
{
name: "客群定位",
text: "请输入客群定位",
field: "CustomerType",
delIcon: false,
type: 1,
},
{
name: "客户群体",
tip: "(可多选)",
name: "品牌分类",
tip: "",
text: "",
field: "CustomerType",
field: "CategoryId",
type: 4,
},
{
name: "品牌简介",
text: "请输入品牌简介",
field: "Introduce",
delIcon: false,
type: 1,
},
{
name: "物业需求",
text: "请输入物业需求",
field: "PropertyDemand",
delIcon: false,
type: 1,
},
{
name: "意向合作条件",
text: "请输入意向合作条件",
field: "Cooperation",
delIcon: false,
type: 1,
},
{
name: "配套需求",
text: "请输入配套需求",
field: "Complementary",
delIcon: false,
type: 1,
},
{
name: "联系人",
text: "请输入联系人",
field: "ContactName",
delIcon: false,
type: 1,
},
{
name: "联系电话",
text: "请输入联系电话",
field: "ContactPhone",
delIcon: false,
type: 1,
},
],
customList: [], //客户群体
//type=1:输入框,2:单选,3:范围
......@@ -340,16 +410,53 @@ export default {
Mobile: "",
CompanyStatus: 0,
FirstShopType: 1,
// 品牌入驻
BrandName: "",//品牌名
ShopNum: null,//店铺数量
BuiltUpArea: 0,
EndBuiltUpArea: 0,
FullBrandName: "",//品牌全名
CustomerType: "",//客群定位
CustomerOtherType: "",
ID: 0,
Logo: "",
BannerList: "",
VideoUrl: "",
BrandType: "",//品牌定位
AreaRequirement: "",//需求面积
CategoryId: "",
Introduce: "",//品牌简介/企业简介
PropertyDemand: "",//物业需求
Cooperation: "",//意向合作条件
Complementary: "",//配套需求
ContactName: "",//联系人
ContactPhone: "",//联系电话
},
dataTwo: {
CompanyId: 0,
BrandName: "",
ShopNum: 0,
BrandName: "",//品牌名
ShopNum: 0,//店铺数量
BuiltUpArea: 0,
EndBuiltUpArea: 0,
FullBrandName: "",
CustomerType: "",
FullBrandName: "",//品牌全名
CustomerType: "",//客群定位
CustomerOtherType: "",
ID: 0,
Logo: "",
BannerList: "",
VideoUrl: "",
BrandType: "",//品牌定位
AreaRequirement: "",//需求面积
CategoryId: "",
Introduce: "",//品牌简介/企业简介
PropertyDemand: "",//物业需求
Cooperation: "",//意向合作条件
Complementary: "",//配套需求
ContactName: "",//联系人
ContactPhone: "",//联系电话
},
reduceIcon:
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/reduceIcon.png",
......@@ -378,6 +485,9 @@ export default {
nowStatus: 1, //此时的状态
loading: false,
editType: 0, //是否是从修改进入的 1是 0否
TenantId: 18,
replace: null,
setList:[],
};
},
methods: {
......@@ -420,7 +530,7 @@ export default {
});
},
//选择营业执照照片
chooseImg() {
chooseImg(field) {
let that = this;
uni.chooseImage({
count: 1, //默认9
......@@ -443,13 +553,20 @@ export default {
} else {
let data = _res.data.words_result;
that.upFile(res.tempFilePaths[0], (uploadRes) => {
that.dataOne.BusinessLicense = JSON.parse(
console.log(field,'======')
that.dataOne[field] = JSON.parse(
uploadRes.data
).data;
that.businessLicenseUploadIsSuccess = true;
if(this.replace.state=='1') {
that.dataOne.CompanyName = data.单位名称.words;
that.dataOne.LegalPerson = data.法人.words;
that.dataOne.UnifiedCode = data.社会信用代码.words;
}else{
that.dataOne.BrandName = data.品牌名称.words;
that.dataOne.ContactName = data.联系人.words;
}
});
}
});
......@@ -521,13 +638,13 @@ export default {
getAccess_token() {
let that = this;
uni.request({
url: "https://aip.baidubce.com/oauth/2.0/token", // 百度获取token接口地址
url: "https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=uHc6N5qsYBfZs3jrM0DOLXCc&client_secret=8LrTrMzUmBQGPTEu1Nm0UxaVGucXdg6J", // 百度获取token接口地址
data: {
grant_type: "client_credentials", // 固定写死
client_id: "wWtW3xQju14uH0ToPpxlk4aq",
client_secret: "lEYPHN0CgFbX5e849ViK9Q7WdnUhkwEx",
client_id: "uHc6N5qsYBfZs3jrM0DOLXCc",
client_secret: "8LrTrMzUmBQGPTEu1Nm0UxaVGucXdg6J",
},
method: "GET",
method: "POST",
success(res) {
that.access_token = res.data.access_token;
},
......@@ -536,10 +653,14 @@ export default {
},
//企业认证
stepOne() {
console.log('-----')
return
this.dataOne.FirstShopType = this.ChooseidentityId;
let url = ""
if(this.replace.state=='1') url = "/api/AppletTrade/SetBrandEnterpriseApplyFor"
else url = "/api/AppletTrade/SetEnterpriseServicesApply"
let parms = {
url: "/api/AppletTrade/SetCompany",
url: url,
data: this.dataOne,
};
this.request2(parms, (res) => {
......@@ -702,13 +823,46 @@ export default {
}
}
},
GetBrandClassList() {
let BrandCategory = ''
if(this.TenantId!=18) BrandCategory = this.replace.state=='1' ? 3 : 4
this.request2(
{
url: "/api/AppletTrade/GetBrandClassList",
data: {
BrandCategory
},
},
(res) => {
if (res.resultCode == 1) {
let obj = {
ID: 0,
ClassName: "全部",
};
this.typeList = res.data;
// this.typeList.unshift(obj);
}
}
);
},
},
onLoad(options) {
let uid = uni.getStorageSync("mall_UserInfo")
this.TenantId = uid.TenantId
this.replace = uni.getStorageSync('replace_page_index')
if(this.replace.state=='1') {
this.setList = JSON.parse(JSON.stringify(this.stepTwoList))
}else {
this.setList = JSON.parse(JSON.stringify(this.stepOneList))
}
if (options && options.editType) {
//是否是从修改进去的
this.editType = options.editType;
}
this.getUserCompany();
this.GetBrandClassList()
},
created() {},
mounted() {
......@@ -719,11 +873,11 @@ export default {
title: this.pageTitle,
});
},
};
</script>
};
</script>
<style lang="scss" scoped>
.page {
<style lang="scss" scoped>
.page {
background-color: #f6f6f6;
min-height: 100vh;
height: 100%;
......@@ -971,55 +1125,55 @@ export default {
font-weight: 500;
color: #b7b7b7;
}
}
}
.chooseType {
.chooseType {
background-color: #f95771ff !important;
color: #f70027 !important;
border: none !important;
}
}
// 修改滑块样式
/deep/.block {
// 修改滑块样式
/deep/.block {
background-color: #ffffff;
border: 4rpx solid #f70027;
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232, 76, 100, 0.74);
border-radius: 10rpx;
}
}
.rangeSliderNum {
.rangeSliderNum {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 32rpx;
font-weight: bold;
color: #000000;
}
}
/deep/.u-radio-group {
/deep/.u-radio-group {
display: flex;
flex-wrap: wrap;
}
}
/deep/.u-radio-group :nth-child(2n) > .u-radio {
/deep/.u-radio-group :nth-child(2n) > .u-radio {
margin-right: 0rpx;
}
}
/deep/.u-radio {
/deep/.u-radio {
position: relative;
width: 278rpx;
border-radius: 18rpx;
margin-right: 30rpx;
}
}
/deep/.u-radio__icon-wrap {
/deep/.u-radio__icon-wrap {
position: absolute;
top: 17rpx;
right: 17rpx;
z-index: 10;
}
}
.sliderCurNumBox {
.sliderCurNumBox {
display: flex;
justify-content: center;
align-items: baseline;
......@@ -1031,5 +1185,6 @@ export default {
font-weight: 800;
color: #f70027;
}
}
</style>
}
</style>
\ No newline at end of file
......@@ -511,13 +511,13 @@ export default {
getAccess_token() {
let that = this;
uni.request({
url: "https://aip.baidubce.com/oauth/2.0/token", // 百度获取token接口地址
url: "https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=uHc6N5qsYBfZs3jrM0DOLXCc&client_secret=8LrTrMzUmBQGPTEu1Nm0UxaVGucXdg6J", // 百度获取token接口地址
data: {
grant_type: "client_credentials", // 固定写死
client_id: "wWtW3xQju14uH0ToPpxlk4aq",
client_secret: "lEYPHN0CgFbX5e849ViK9Q7WdnUhkwEx",
client_id: "uHc6N5qsYBfZs3jrM0DOLXCc",
client_secret: "8LrTrMzUmBQGPTEu1Nm0UxaVGucXdg6J",
},
method: "GET",
method: "POST",
success(res) {
that.access_token = res.data.access_token;
},
......
......@@ -86,6 +86,7 @@
margin-bottom: 30rpx;
padding: 0px 15px;
"
v-if="tenantId==18"
>
<image
@click="goNewFirstShop"
......@@ -110,6 +111,7 @@
style="height: calc(100vh - 189px)"
>
<view
v-if="tenantId==18"
style="font-size: 30rpx; font-weight: 700; color: #111; padding: 0 15px"
>资讯信息</view
>
......@@ -146,7 +148,7 @@
</view>
</view>
</view>
<view style="height: 30px;"></view>
<u-loadmore
:status="status"
:load-text="loadText"
......@@ -191,6 +193,7 @@ export default {
status: "",
CommpanyStatus: 0, //公司认证状态
FirstShopType: 0, //1:品牌,2:载体
tenantId:0
};
},
onShareTimeline() {
......@@ -252,9 +255,6 @@ export default {
};
},
mounted() {
uni.setNavigationBarTitle({
title: this.pageTitle,
});
this.u = uni.getStorageSync("mall_UserInfo");
if (!this.u) {
this.u = {
......@@ -263,11 +263,15 @@ export default {
};
this.showAuth = true;
} else {
this.tenantId = this.u.TenantId
this.getList(1);
this.getCommpanyStatus();
this.isauth = true
this.pageTitle = this.tenantId==18?this.pageTitle:'商业资讯'
}
uni.setNavigationBarTitle({
title: this.pageTitle,
});
},
methods: {
reloadUserinfo() {
......
......@@ -2,8 +2,8 @@ export default {
install(Vue, options) {
Vue.prototype.host = "https://wx.weibaoge.cn/web/index.php?_mall_id=1285"
//Vue.prototype.host2 = "https://mallApi.oytour.com" //电商接口
Vue.prototype.host2 = "http://192.168.5.46:8200"
Vue.prototype.host2 = "https://mallApi.oytour.com" //电商接口
//Vue.prototype.host2 = "http://192.168.5.46:8200"
Vue.prototype.host3 = "https://jjeduapi.oytour.com" //进阶小课堂以前接口
Vue.prototype.UploadConfig = function() { //本地上传配置
......
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