弱电沪抖团
7
App.vue
|
|
@ -1,7 +1,12 @@
|
|||
<script>
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
console.log('App Launch', )
|
||||
// 监听凸起页面
|
||||
uni.onTabBarMidButtonTap(() => {
|
||||
uni.navigateTo({
|
||||
url: "/pages/index/index"
|
||||
})
|
||||
})
|
||||
this.$store.dispatch('getHomeContent', {
|
||||
appid: uni.getStorageSync('appid')
|
||||
})
|
||||
|
|
|
|||
|
|
@ -193,30 +193,10 @@
|
|||
|
||||
.bgcolor {
|
||||
height: 110px;
|
||||
background: #41629E;
|
||||
border-radius: 5px 5px 0 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bgcolor::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 5px;
|
||||
bottom: 10px;
|
||||
background-color: $red;
|
||||
}
|
||||
|
||||
.bgcolor::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 10px;
|
||||
bottom: 0;
|
||||
background-color: $orange;
|
||||
}
|
||||
|
||||
.title {
|
||||
margin-top: -88px;
|
||||
|
|
@ -257,7 +237,7 @@
|
|||
.groupBtn {
|
||||
display: flex;
|
||||
.btn {
|
||||
background-color: $blue;
|
||||
background-color: $green;
|
||||
width: 45%;
|
||||
margin: 10px auto 15px;
|
||||
text-align: center;
|
||||
|
|
@ -307,33 +287,37 @@
|
|||
// 企业名录头部
|
||||
.phonetop {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
position: relative;
|
||||
border-top: 50px solid #345A9B;
|
||||
background: $navColor;
|
||||
|
||||
.headbox {
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
top: -40px;
|
||||
top: 0px;
|
||||
border-radius: 15px 15px 5px 5px;
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
box-shadow: 0px 1px 5px 2px #dfe2e1fc;
|
||||
}
|
||||
|
||||
.head {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.image {
|
||||
width: 85px;
|
||||
height: 110px;
|
||||
margin-right: 15px;
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
margin-right: 10px;
|
||||
border: 1px solid #dfdfdf;
|
||||
float: left;
|
||||
border-radius: 5px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
|
|
@ -343,7 +327,7 @@
|
|||
}
|
||||
|
||||
.info {
|
||||
width: calc(100% - 100px);
|
||||
width: calc(100% - 145px);
|
||||
height: 110px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
|
@ -371,6 +355,13 @@
|
|||
color: #999;
|
||||
}
|
||||
}
|
||||
|
||||
.logo{
|
||||
image{
|
||||
width: 55px;
|
||||
height: 55px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.call {
|
||||
|
|
@ -530,7 +521,7 @@
|
|||
height: 40px;
|
||||
line-height: 40px;
|
||||
border-radius: 5px;
|
||||
background-color: $blue;
|
||||
background-color: $green;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
@ -639,7 +630,7 @@
|
|||
height: 40px;
|
||||
line-height: 40px;
|
||||
border-radius: 5px;
|
||||
background-color: $blue;
|
||||
background-color: $green;
|
||||
margin: 20px auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
@ -653,14 +644,15 @@
|
|||
}
|
||||
// 搜索样式
|
||||
.serachBox {
|
||||
height: 35px;
|
||||
height: auto;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
top: 0px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 0 10px 10px;
|
||||
z-index: 9;
|
||||
background-color: $blue;
|
||||
background: $navColor;
|
||||
// background-color: $blue;
|
||||
|
||||
.serach-box {
|
||||
height: 35px;
|
||||
|
|
@ -739,14 +731,20 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
image {
|
||||
.avatar {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #f7f7f7;
|
||||
}
|
||||
|
||||
text {
|
||||
.image{
|
||||
width: 20px;
|
||||
height: 12px;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.vip {
|
||||
color: #333;
|
||||
background: #F5CC87;
|
||||
padding: 3px 8px;
|
||||
|
|
@ -819,12 +817,12 @@
|
|||
}
|
||||
}
|
||||
.call {
|
||||
color: #000;
|
||||
color: #fff;
|
||||
padding: 0 10px;
|
||||
border-radius: 5px;
|
||||
margin-left: 10px;
|
||||
float: right;
|
||||
background-color: #E6C8A2;
|
||||
background-color:$green;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,51 @@
|
|||
<template>
|
||||
<view class="headbg">
|
||||
<image src="../static/bg.png"></image>
|
||||
<view class="title" v-if="title">{{title}}</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "header",
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.headbg {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
height: 84px;
|
||||
overflow: hidden;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
z-index: 9999;
|
||||
.title {
|
||||
position: absolute;
|
||||
top: 44px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,10 +1,6 @@
|
|||
<template>
|
||||
<view class="message" @click="handleServiceChat">
|
||||
<view class="info-msg">
|
||||
<image src="@/static/mmm.png"></image>
|
||||
<text>客服</text>
|
||||
</view>
|
||||
|
||||
<view class="message" @click="handleServiceChat" v-if="HomeContent.qyserviceurl">
|
||||
<image src="@/static/msg.png"></image>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -44,12 +40,11 @@
|
|||
<style scoped lang="scss">
|
||||
.message {
|
||||
position: fixed;
|
||||
bottom: 50px;
|
||||
bottom: 130px;
|
||||
z-index: 9999;
|
||||
right: 10px;
|
||||
background: $blue;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
height: 40px;
|
||||
padding: 2px;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
|
|
@ -67,10 +62,8 @@
|
|||
}
|
||||
|
||||
image {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
margin-top: 3px;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
text {
|
||||
|
|
|
|||
|
|
@ -3,13 +3,12 @@
|
|||
<view class="productList" v-for="(item,index) in list" :key="index" @click="handleActive(item)">
|
||||
<view class="name" v-if="isName">
|
||||
<view class="post" :style="{'width':!isMoney?'60%':'100%'}">
|
||||
<image :src="item.userinfo.avatar" class="mr-10" mode="aspectFill"></image>
|
||||
<image :src="item.userinfo.avatar" class="mr-10 avatar" mode="aspectFill"></image>
|
||||
<view class="bold size16 mr-10">{{item.userinfo.name}}</view>
|
||||
<text>{{item.userinfo.posname}}</text>
|
||||
<view class="vip">{{item.userinfo.posname}}</view>
|
||||
</view>
|
||||
<text class="call" v-if="!isMoney" @click="$tools.getCall(user.authlist,item.userinfo.phone)"
|
||||
@click.stop>
|
||||
<icon class="iconfont icon-dianhua1 mr-10"></icon>
|
||||
拨打电话
|
||||
</text>
|
||||
</view>
|
||||
|
|
@ -22,7 +21,8 @@
|
|||
</view>
|
||||
<view class="mt-5 c999 size14">{{item.desc}}</view>
|
||||
<view class="image" v-if="isMoney&&item.pics.length">
|
||||
<image v-for="(img,ind) in item.pics" :key="ind" :src="img.url" mode="aspectFill"></image>
|
||||
<image v-for="(img,ind) in item.pics" :key="ind" :src="img.url" mode="aspectFill" v-if="ind<3">
|
||||
</image>
|
||||
</view>
|
||||
<view class="address" v-if="isMoney">
|
||||
<text class="mr-10" v-if="item.industryname">行业:{{item.industryname}}</text>
|
||||
|
|
@ -30,18 +30,17 @@
|
|||
</view>
|
||||
<view v-if="item.type!=9">
|
||||
<view class="money mt-10" v-if="isMoney">
|
||||
<text class="redcolor size16 mr-5 bold" v-if="item.vipprice">会员价:¥{{item.vipprice}}</text>
|
||||
<text class="size12 c999" v-if="item.price">市场价:¥{{item.price}}</text>
|
||||
<!-- <text class="redcolor size16 mr-5 bold" v-if="item.vipprice">会员价:¥{{item.vipprice}}</text>
|
||||
<text class="size12 c999" v-if="item.price">市场价:¥{{item.price}}</text> -->
|
||||
<text class="call" @click.stop v-if="isPhone"
|
||||
@click="$tools.getCall(user.authlist,item.userinfo.phone)">
|
||||
<icon class="iconfont icon-dianhua1 mr-10"></icon>
|
||||
拨打电话
|
||||
联系方式
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 秘书处弹框 -->
|
||||
<!-- 联系人弹框 -->
|
||||
<secratary></secratary>
|
||||
</view>
|
||||
</template>
|
||||
|
|
@ -88,7 +87,6 @@
|
|||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
.image {
|
||||
:nth-child(2) {
|
||||
margin: 0 10px;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<view class="item">
|
||||
<picker mode="selector" :range="industrylist" range-key="name" :value="industryname"
|
||||
@change="changeIndustry">
|
||||
<view class="uni-input">{{industryname?industryname:"所属行业"}}</view>
|
||||
<view class="uni-input">{{industryname?industryname:"系统划分"}}</view>
|
||||
<icon class="iconfont icon-icon-test11" v-if="!industryname"></icon>
|
||||
</picker>
|
||||
<uni-icons v-if="industryname" @click="handlecolse(2)" type="close" size="26px"></uni-icons>
|
||||
|
|
@ -41,6 +41,10 @@
|
|||
export default {
|
||||
name: "search",
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
isPost: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
|
|
@ -125,14 +129,15 @@
|
|||
<style scoped lang="scss">
|
||||
.address {
|
||||
position: fixed;
|
||||
top: 45px;
|
||||
top: 50px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
background: $blue;
|
||||
z-index: 9999;
|
||||
// background: $blue;
|
||||
|
||||
.item {
|
||||
width: 47%;
|
||||
width: 46%;
|
||||
margin-left: 10px;
|
||||
background: #fff;
|
||||
height: 28px;
|
||||
|
|
@ -160,6 +165,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.serach-box {
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.searchInput {
|
||||
uni-icons {
|
||||
z-index: 999;
|
||||
|
|
|
|||
|
|
@ -2,19 +2,21 @@
|
|||
<view class="wrapper" v-if="isSecratary">
|
||||
<view class="bg" @click="onTap">
|
||||
<view class="edit" @click.stop>
|
||||
<view class="bgcolor"></view>
|
||||
<view class="title">联系秘书处</view>
|
||||
<view class="bgcolor">
|
||||
<image src="../static/bg2.png"></image>
|
||||
</view>
|
||||
<view class="title">联系人</view>
|
||||
<view class="ercode">
|
||||
<image :src="HomeContent.secrataryqrcode" show-menu-by-longpress="true"></image>
|
||||
<text>扫码添加秘书处微信</text>
|
||||
<text>扫码添加联系人微信</text>
|
||||
</view>
|
||||
<!-- -->
|
||||
<view class="mt-15" @click="getCall(HomeContent.secrataryphone)">
|
||||
<!-- <view class="mt-15" @click="getCall(HomeContent.secrataryphone)">
|
||||
<uni-icons type="phone-filled" size="40"></uni-icons>
|
||||
</view>
|
||||
</view> -->
|
||||
<view @click="getCall(HomeContent.secrataryphone)">
|
||||
<text class="bold size16 mb-5 mt-10">{{HomeContent.secrataryphone}}</text>
|
||||
(点击拨打)
|
||||
<view class="btnCall">点击拨打</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -55,6 +57,25 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style scoped lang="scss">
|
||||
.edit {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.btnCall {
|
||||
background-color: $green;
|
||||
width: 80px !important;
|
||||
margin: auto;
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
padding: 3px 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.bgcolor {
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
<template>
|
||||
<view class="tabBar">
|
||||
<view class="tab-ul-layout">
|
||||
<view v-for="(ite,ind) in list" :key="ind" @click="handlePush(ite,ind)" :class="ite.middleClass">
|
||||
<image :src="tabInd==ind?ite.selectedIconPath:ite.iconPath"></image>
|
||||
<text>{{ite.text}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "tabBar",
|
||||
props: {
|
||||
tabInd: {
|
||||
type: String,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
list: [{
|
||||
"pagePath": "/pages/index/index",
|
||||
"iconPath": "../static/home3.png",
|
||||
"selectedIconPath": "../static/home1.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/phoneList/phoneList",
|
||||
"iconPath": "../static/e.png",
|
||||
"selectedIconPath": "../static/e.png",
|
||||
"text": "企业名录",
|
||||
"middleClass": 'tab-item-middle'
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/me/me",
|
||||
"iconPath": "../static/me.png",
|
||||
"selectedIconPath": "../static/me01.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
// computed: {
|
||||
// getHeight() {
|
||||
// return Number(this.height)
|
||||
// }
|
||||
// },
|
||||
methods: {
|
||||
handlePush(ite, ind) {
|
||||
if (this.tabInd !== ind) {
|
||||
uni.switchTab({
|
||||
url: ite.pagePath
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.tabBar {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tab-ul-layout {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
height: 65px;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: #fff;
|
||||
z-index: 99999;
|
||||
box-shadow: 0px 1px 5px 2px #dfe2e1fc;
|
||||
|
||||
view {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
text {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.tab-item-middle {
|
||||
margin-top: -30px;
|
||||
|
||||
image {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
2
main.js
|
|
@ -18,7 +18,7 @@ Vue.prototype.$model = model;
|
|||
//模拟数据
|
||||
import json from '@/data.json'
|
||||
Vue.prototype.$json = json;
|
||||
// 秘书处弹框
|
||||
// 联系人弹框
|
||||
import secratary from '@/components/secratary.vue'
|
||||
Vue.component('secratary', secratary)
|
||||
//微信客服
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name" : "intelligentGroup",
|
||||
"name" : "RuoDianGroup",
|
||||
"appid" : "__UNI__8CF31FA",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.0",
|
||||
|
|
@ -50,9 +50,9 @@
|
|||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "wxbbddd1888da43ab0",
|
||||
"appid" : "wx538b5e244f0ba5b3",
|
||||
"setting" : {
|
||||
"urlCheck" : true,
|
||||
"urlCheck" : false,
|
||||
"postcss" : true,
|
||||
"minified" : true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<view class="box fromClass">
|
||||
<view class="lanBox">
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">所属行业</view>
|
||||
<view class="left">系统划分</view>
|
||||
<view class="right">
|
||||
<picker mode="selector" :range="industrylist" range-key="name" :value="content.industryname"
|
||||
@change="changeIndustry">
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="lan border-bottom">
|
||||
<!-- <view class="lan border-bottom">
|
||||
<view class="left">出生年月</view>
|
||||
<view class="right">
|
||||
<picker class="picker" mode="date" :end="endDate" :value="birthday" @change="bindDateChange">
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
<uni-icons type="forward" size="20" color="#999"></uni-icons>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">企业全称</view>
|
||||
<view class="right">
|
||||
|
|
@ -75,7 +75,7 @@
|
|||
<text class="size12 c999 desc">点击上传企业营业执照,仅用于资质审核</text>
|
||||
</view>
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">通过什么途径了解智照团?</view>
|
||||
<view class="left">通过什么途径了解沪抖团?</view>
|
||||
<view class="radio">
|
||||
<label @click="radioChange('抖音')">
|
||||
<icon class="iconfont radioimg"
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">加入智照团想收获什么?</view>
|
||||
<view class="left">加入沪抖团想收获什么?</view>
|
||||
<checkbox-group @change="checkboxChange" class="checkbox">
|
||||
<label>
|
||||
<checkbox value="找客户资源" style="transform:scale(0.8)" />找客户资源
|
||||
|
|
@ -152,7 +152,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="lan c999 size12 mt-15">
|
||||
所有上传的资料信息同意公开展示,最终解释权归智照团平台所有。
|
||||
所有上传的资料信息同意公开展示,最终解释权归沪抖团平台所有。
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
|
@ -206,7 +206,7 @@
|
|||
confirmInfo() {
|
||||
let that = this
|
||||
if (!this.content.industryname) {
|
||||
this.$tools.msg("请选择所属行业")
|
||||
this.$tools.msg("请选择系统划分")
|
||||
return;
|
||||
}
|
||||
if (!this.content.name) {
|
||||
|
|
@ -225,10 +225,10 @@
|
|||
this.$tools.msg("请选择性别")
|
||||
return;
|
||||
}
|
||||
if (!this.content.birthday) {
|
||||
this.$tools.msg("请选择出生日期")
|
||||
return;
|
||||
}
|
||||
// if (!this.content.birthday) {
|
||||
// this.$tools.msg("请选择出生日期")
|
||||
// return;
|
||||
// }
|
||||
if (!this.content.comName) {
|
||||
this.$tools.msg("请输入公司全称")
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1,13 +1,18 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<image src="../../static/011.png" class="bg" mode="scaleToFill"></image>
|
||||
<!-- -->
|
||||
<view class="topbg">
|
||||
<view class="ts">
|
||||
<view class="mb-5">欢迎登录</view>
|
||||
<view>智照团资源共享数据库平台</view>
|
||||
<view>沪抖团线上展厅</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="edit">
|
||||
<image src="../../static/logo.png" class="logo" mode="widthFix"></image>
|
||||
<view class="logo">
|
||||
<image src="../../static/logo.png"></image>
|
||||
沪抖团
|
||||
</view>
|
||||
|
||||
<view class="editem">
|
||||
<view class="input">
|
||||
<icon class="iconfont icon-gerenzhongxin1 mr-10"></icon>
|
||||
|
|
@ -18,21 +23,21 @@
|
|||
<input type="password" class="uni-input" v-model="password" placeholder="请输入密码" />
|
||||
</view>
|
||||
<view class="tips size12" @click="$store.commit('changeSecratary', true)">
|
||||
如忘记密码,请联系秘书处修改重置
|
||||
忘记密码联系管理员
|
||||
</view>
|
||||
</view>
|
||||
<view class="btnlogin" @click="handleTelLogin">登录</view>
|
||||
<view class="wxbtn" @click="handleAdd">
|
||||
<text>没有账号,我要加入智照团</text>
|
||||
<text>没有账号,我要加入沪抖团</text>
|
||||
</view>
|
||||
<view class="xieyi">
|
||||
<checkbox-group @change="checkboxChange">
|
||||
<checkbox :value="1" style="transform:scale(0.8)" />勾选同意智照团<text @click="handlexieyi "
|
||||
<checkbox :value="1" style="transform:scale(0.8)" />勾选同意沪抖团<text @click="handlexieyi "
|
||||
class="bluecolor">《个人信息保护政策》</text>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 秘书处弹框 -->
|
||||
<!-- 联系人弹框 -->
|
||||
<secratary></secratary>
|
||||
|
||||
</view>
|
||||
|
|
@ -46,7 +51,6 @@
|
|||
data() {
|
||||
return {
|
||||
value: 0,
|
||||
sessionid: "",
|
||||
account: "",
|
||||
password: "",
|
||||
}
|
||||
|
|
@ -56,12 +60,10 @@
|
|||
},
|
||||
async onLoad() {
|
||||
let that = this
|
||||
that.sessionid = uni.getStorageSync('sessionid')
|
||||
console.log("sessionid", that.sessionid)
|
||||
if (!that.sessionid) {
|
||||
console.log("sessionid", uni.getStorageSync('sessionid'))
|
||||
if (!uni.getStorageSync('sessionid')) {
|
||||
await that.$store.dispatch('getsessionId')
|
||||
}
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 登录、
|
||||
|
|
@ -80,7 +82,7 @@
|
|||
return
|
||||
}
|
||||
if (this.value == 0) {
|
||||
this.$tools.msg("请先勾选同意智照团《个人信息保护政策》")
|
||||
this.$tools.msg("请先勾选同意沪抖团《个人信息保护政策》")
|
||||
return
|
||||
}
|
||||
this.$model.getlogin({
|
||||
|
|
@ -128,11 +130,17 @@
|
|||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.bg {
|
||||
.topbg {
|
||||
width: 126%;
|
||||
position: relative;
|
||||
height: 140px;
|
||||
left: -13%;
|
||||
background: $navColor;
|
||||
border-radius: 0 0 60% 60%;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ts {
|
||||
|
|
@ -140,12 +148,14 @@
|
|||
font-weight: bold;
|
||||
text-align: left;
|
||||
color: #fff;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
margin-top: 200rpx;
|
||||
left: 20px;
|
||||
height: 150rpx;
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
bottom: 50px;
|
||||
left: 15%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.edit {
|
||||
margin: 40rpx auto 0;
|
||||
|
|
@ -155,13 +165,25 @@
|
|||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
background-color: #fff;
|
||||
max-height: 780rpx;
|
||||
|
||||
.logo {
|
||||
width: 260rpx;
|
||||
height: 90rpx;
|
||||
width: 100%;
|
||||
height: 55px;
|
||||
margin-top: 15px;
|
||||
color: #000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
|
||||
image {
|
||||
width: 53px;
|
||||
height: 53px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.tips {
|
||||
|
|
@ -187,7 +209,7 @@
|
|||
display: flex;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 5px;
|
||||
|
||||
icon {
|
||||
|
|
|
|||
|
|
@ -13,17 +13,17 @@
|
|||
<!-- -->
|
||||
<view class="lan" v-if="type!=9">
|
||||
<view class="left">产品图片</view>
|
||||
<view class="right pics mr-10" v-for="(img,ind) in urlList" v-if="urlList.length">
|
||||
<view class="right pics mb-10" v-for="(img,ind) in urlList" v-if="urlList.length">
|
||||
<image :src="img" mode="aspectFill" @click="handleimage(ind)" />
|
||||
<uni-icons type="close" size="22" class="uni-icons" @click="handleDel(ind)" @click.stop
|
||||
v-if="!disabled"></uni-icons>
|
||||
</view>
|
||||
<view v-if="!disabled&&urlList.length<3" @click="handleimage()" class="right pics size20">+</view>
|
||||
<text class="size12 c999 desc">最多可上传3张,大小不超过2M</text>
|
||||
<view v-if="!disabled&&urlList.length<6" @click="handleimage()" class="right pics size20">+</view>
|
||||
<text class="size12 c999 desc">最多可上传6张,大小不超过2M</text>
|
||||
</view>
|
||||
<!-- -->
|
||||
<view class="lan" v-if="type!=9">
|
||||
<view class="left">所属行业</view>
|
||||
<view class="left">系统划分</view>
|
||||
<view class="right" v-if="!disabled">
|
||||
<picker mode="selector" :range="industrylist" range-key="name" :value="content.industryname"
|
||||
@change="changeIndustry">
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
<input name="name" type="text" v-model="content.address" placeholder="单元楼栋" :disabled="disabled" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="lan" v-if="type!=9">
|
||||
<!-- <view class="lan" v-if="type!=9">
|
||||
<view class="left">市场价</view>
|
||||
<view class="right">
|
||||
<input name="name" type="text" v-model="content.price" placeholder="市场价" :disabled="disabled" />
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
<view class="right">
|
||||
<input name="name" type="text" v-model="content.vipprice" placeholder="会员价" :disabled="disabled" />
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="lan">
|
||||
<view class="left">产品规格及介绍</view>
|
||||
<view class="right textarea">
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
<icon class="iconfont icon-yuanxingxuanzhongfill"></icon>
|
||||
<view class="bold size20">提交成功</view>
|
||||
<view>在“个人中心”查看审核进度</view>
|
||||
<view>如有疑问请联系秘书处</view>
|
||||
<view>如有疑问请联系联系人</view>
|
||||
</view>
|
||||
<view class="greenBtn">
|
||||
<view class="btn">确认</view>
|
||||
|
|
@ -192,7 +192,7 @@
|
|||
return;
|
||||
}
|
||||
if (!this.content.industryid) {
|
||||
this.$tools.msg("请选择所属行业")
|
||||
this.$tools.msg("请选择系统划分")
|
||||
return;
|
||||
}
|
||||
if (!this.content.province) {
|
||||
|
|
@ -203,14 +203,14 @@
|
|||
this.$tools.msg("请填写详细地址")
|
||||
return;
|
||||
}
|
||||
if (!this.pathList) {
|
||||
this.$tools.msg("请输入市场价")
|
||||
return;
|
||||
}
|
||||
if (!this.content.vipprice) {
|
||||
this.$tools.msg("请输入会员价")
|
||||
return;
|
||||
}
|
||||
// if (!this.pathList) {
|
||||
// this.$tools.msg("请输入市场价")
|
||||
// return;
|
||||
// }
|
||||
// if (!this.content.vipprice) {
|
||||
// this.$tools.msg("请输入会员价")
|
||||
// return;
|
||||
// }
|
||||
if (!this.content.desc) {
|
||||
this.$tools.msg("请填写产品规格及介绍")
|
||||
return;
|
||||
|
|
@ -222,7 +222,7 @@
|
|||
} else {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: that.active == 6 ? "本产品已发布成功," : '' + "一经修改,将重新审核发布",
|
||||
content: "修改后将重新审核发布",
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
that.EditInfo(that.content)
|
||||
|
|
@ -361,4 +361,8 @@
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
.lan {
|
||||
justify-content: space-between;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
<input name="name" type="text" v-model="userInfo.mobile" placeholder="请输入" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="lan border-bottom">
|
||||
<!-- <view class="lan border-bottom">
|
||||
<view class="left">企业年营收(万元)</view>
|
||||
<view class="right">
|
||||
<input name="name" type="digit" v-model="userInfo.yearlyincome" placeholder="请输入" />
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
<view class="right">
|
||||
<input name="name" type="number" v-model="userInfo.staffcnt" placeholder="请输入" />
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">企业介绍</view>
|
||||
<view class="right textarea">
|
||||
|
|
@ -79,8 +79,8 @@
|
|||
<uni-icons type="close" size="26" class="uni-icons" @click="handleDel(ind)"
|
||||
@click.stop></uni-icons>
|
||||
</view>
|
||||
<view v-if="urlList.length<4" @click="handleimage(2)" class="right pics size20">+</view>
|
||||
<text class="size12 c999 desc">最多可上传4张,大小不超过2M</text>
|
||||
<view v-if="urlList.length<6" @click="handleimage(2)" class="right pics size20">+</view>
|
||||
<text class="size12 c999 desc">最多可上传6张,大小不超过2M</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -265,8 +265,6 @@
|
|||
}
|
||||
|
||||
.pics {
|
||||
// width: 330rpx !important;
|
||||
// height: 147rpx !important;
|
||||
width: 208rpx !important;
|
||||
height: 208rpx !important;
|
||||
justify-content: center;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<view class="tabbar">
|
||||
<view :class="[active==6?'active':'']" @click="handleActive(6)">已发布</view>
|
||||
<view :class="[active==4?'active':'']" @click="handleActive(4)">审核中</view>
|
||||
<view :class="[active==5?'active':'']" @click="handleActive(5)">已驳回</view>
|
||||
<view :class="[active==6?'active':'']" @click="handleActive(6)">已发布</view>
|
||||
</view>
|
||||
<!-- -->
|
||||
<view class="list">
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
data() {
|
||||
return {
|
||||
type: 3,
|
||||
active: 4,
|
||||
active: 6,
|
||||
page: 1,
|
||||
list: [],
|
||||
lastPage: 1,
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
this.type = options.type
|
||||
this.handleList()
|
||||
uni.setNavigationBarTitle({
|
||||
title: this.type == 3 ? "我的商品" : '我的供需'
|
||||
title: "我的商品"
|
||||
});
|
||||
},
|
||||
onReachBottom() {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<view class="box fromClass">
|
||||
<view class="lanBox">
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">所属行业<text class="redcolor">*</text></view>
|
||||
<view class="left">系统划分<text class="redcolor">*</text></view>
|
||||
<view class="right">
|
||||
<picker mode="selector" :range="industrylist" range-key="name" :value="userInfo.industryname"
|
||||
@change="changeIndustry">
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">智照团职务<text class="redcolor">*</text></view>
|
||||
<view class="left">沪抖团职务<text class="redcolor">*</text></view>
|
||||
<view class="right">
|
||||
<picker mode="selector" :range="poslist" range-key="name" :value="userInfo.posname"
|
||||
@change="changePos">
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="lan border-bottom">
|
||||
<!-- <view class="lan border-bottom">
|
||||
<view class="left">出生年月<text class="redcolor">*</text></view>
|
||||
<view class="right">
|
||||
<picker class="picker" mode="date" :end="endDate" :value="userInfo.birthday"
|
||||
|
|
@ -73,13 +73,13 @@
|
|||
<uni-icons type="forward" size="20" color="#999"></uni-icons>
|
||||
</picker>
|
||||
</view>
|
||||
</view>
|
||||
<view class="lan border-bottom">
|
||||
</view> -->
|
||||
<!-- <view class="lan border-bottom">
|
||||
<view class="left">籍贯</view>
|
||||
<view class="right">
|
||||
<input name="name" type="text" v-model="userInfo.place" placeholder="籍贯" />
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">邮箱</view>
|
||||
<view class="right">
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="lan border-bottom">
|
||||
<view class="left">加入智照团想收获什么</view>
|
||||
<view class="left">加入沪抖团想收获什么</view>
|
||||
<checkbox-group @change="checkboxChange" class="checkbox">
|
||||
<label v-for="(ite,ind) in addNeeds" :key="ind">
|
||||
<checkbox :value="ite" style="transform:scale(0.8)" :checked="checkbox.indexOf(ite)!== -1 " />
|
||||
|
|
@ -133,7 +133,6 @@
|
|||
orgid: "",
|
||||
posname: "",
|
||||
posid: "",
|
||||
birthday: "",
|
||||
industryid: "",
|
||||
industryname: "",
|
||||
sex: "",
|
||||
|
|
@ -175,7 +174,7 @@
|
|||
// 提交
|
||||
confirmInfo() {
|
||||
if (!this.userInfo.industryname) {
|
||||
this.$tools.msg("请选择所属行业")
|
||||
this.$tools.msg("请选择系统划分")
|
||||
return;
|
||||
}
|
||||
if (!this.userInfo.orgname) {
|
||||
|
|
@ -183,7 +182,7 @@
|
|||
return;
|
||||
}
|
||||
if (!this.userInfo.posname) {
|
||||
this.$tools.msg("请选择智照团职务")
|
||||
this.$tools.msg("请选择沪抖团职务")
|
||||
return;
|
||||
}
|
||||
if (!this.userInfo.name) {
|
||||
|
|
@ -202,10 +201,10 @@
|
|||
this.$tools.msg("请选择性别")
|
||||
return;
|
||||
}
|
||||
if (!this.userInfo.birthday) {
|
||||
this.$tools.msg("请选择出生日期")
|
||||
return;
|
||||
}
|
||||
// if (!this.userInfo.birthday) {
|
||||
// this.$tools.msg("请选择出生日期")
|
||||
// return;
|
||||
// }
|
||||
console.log("提交", this.userInfo)
|
||||
this.subInfo(this.userInfo);
|
||||
},
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
<image src="@/static/none.png"></image>
|
||||
<text>暂无数据</text>
|
||||
</view>
|
||||
<!-- 秘书处弹框 -->
|
||||
<!-- 联系人弹框 -->
|
||||
<secratary></secratary>
|
||||
</view>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
// onShareAppMessage() {
|
||||
// let that = this
|
||||
// return {
|
||||
// title: "智照团线上展厅",
|
||||
// title: "沪抖团线上展厅",
|
||||
// path: '/pageTwo/news/list?type=' + that.type,
|
||||
// imageUrl: '',
|
||||
// success: function(res) {
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
// onShareTimeline() {
|
||||
// let that = this
|
||||
// return {
|
||||
// title: "智照团线上展厅",
|
||||
// title: "沪抖团线上展厅",
|
||||
// query: 'type=' + that.type,
|
||||
// imageUrl: '',
|
||||
// success: function(res) {
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@
|
|||
<text class="post">{{content.userinfo.posname}}</text>
|
||||
</view>
|
||||
<view class="call" @click="$tools.getCall(user.authlist,content.userinfo.phone)">
|
||||
<icon class="iconfont icon-dianhua1 mr-10"></icon>
|
||||
拨打电话
|
||||
联系方式
|
||||
</view>
|
||||
</view>
|
||||
<!-- -->
|
||||
|
|
@ -17,10 +16,10 @@
|
|||
<view class="title">
|
||||
{{content.title}}
|
||||
</view>
|
||||
<view v-if="type!=9">
|
||||
<!-- <view v-if="type!=9">
|
||||
<text class="redcolor size14 mr-10 bold">会员价:¥{{content.vipprice}}</text>
|
||||
<text class="c999 size12">市场价:¥{{content.price}}</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="c999 size12" v-if="type!=9">
|
||||
地址:{{content.province}}{{content.city}}{{content.area}}{{content.address}}
|
||||
</view>
|
||||
|
|
@ -35,7 +34,7 @@
|
|||
</view>
|
||||
|
||||
</view>
|
||||
<!-- 秘书处弹框 -->
|
||||
<!-- 联系人弹框 -->
|
||||
<secratary></secratary>
|
||||
</view>
|
||||
<view class="nolist" v-else>
|
||||
|
|
@ -166,8 +165,9 @@
|
|||
|
||||
.call {
|
||||
height: 35px;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
background: #E6C8A2;
|
||||
background: $green;
|
||||
padding: 0px 10px;
|
||||
border-radius: 5px;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<!-- 搜索 -->
|
||||
<piker-search @handleSearch="handleSearch" :placeholder='type==3?"找商品":"找供应"' :width="'100'"
|
||||
<piker-search @handleSearch="handleSearch" :placeholder='type==3?"找产品":"找供应"' :width="'100'"
|
||||
:isAddress="true"></piker-search>
|
||||
|
||||
<!-- 供求信息 -->
|
||||
|
|
@ -21,10 +21,11 @@
|
|||
|
||||
<!-- 发布 -->
|
||||
<view class="fabu" @click="handlefabu">
|
||||
<uni-icons type="paperplane" color="#fff" size="30"></uni-icons>
|
||||
<text>发布</text>
|
||||
<image src="../../static/f.png"></image>
|
||||
<!-- <uni-icons type="paperplane" color="#fff" size="30"></uni-icons>
|
||||
<text>发布</text> -->
|
||||
</view>
|
||||
<!-- 秘书处弹框 -->
|
||||
<!-- 联系人弹框 -->
|
||||
<secratary></secratary>
|
||||
</view>
|
||||
</template>
|
||||
|
|
@ -64,7 +65,7 @@
|
|||
this.handleList()
|
||||
that.token = uni.getStorageSync('token')
|
||||
uni.setNavigationBarTitle({
|
||||
title: this.type == 3 ? "商品展示" : '供求信息'
|
||||
title: this.type == 3 ? "产品展示" : '供求信息'
|
||||
});
|
||||
},
|
||||
onShow() {
|
||||
|
|
@ -223,15 +224,20 @@
|
|||
right: 15px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
color: #E8CDA9;
|
||||
background: #2C2C34;
|
||||
// color: #E8CDA9;
|
||||
// background: #2C2C34;
|
||||
bottom: 20%;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0px 1px 5px 2px #383a39fc;
|
||||
box-shadow: 0px 1px 5px 2px #dfe2e1fc;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
text {
|
||||
width: 100%;
|
||||
|
|
@ -249,4 +255,8 @@
|
|||
width: 1px;
|
||||
background-color: #dfdfdf;
|
||||
}
|
||||
|
||||
/deep/.serachBox {
|
||||
height: 80px !important;
|
||||
}
|
||||
</style>
|
||||
27
pages.json
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "智照团线上展厅"
|
||||
"navigationBarTitleText": "沪抖团线上展厅"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/me/me",
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
}, {
|
||||
"path": "pages/index/fengCai",
|
||||
"style": {
|
||||
"navigationBarTitleText": "领导风采",
|
||||
"navigationBarTitleText": "达人风采",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
|
|
@ -47,14 +47,13 @@
|
|||
"path": "login/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom"
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
}, {
|
||||
"path": "login/add",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我要加入智照团",
|
||||
"navigationBarTitleText": "我要加入沪抖团",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
|
|
@ -75,7 +74,7 @@
|
|||
}, {
|
||||
"path": "product/detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品展示",
|
||||
"navigationBarTitleText": "详情",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}, {
|
||||
|
|
@ -88,7 +87,7 @@
|
|||
}, {
|
||||
"path": "news/list",
|
||||
"style": {
|
||||
"navigationBarTitleText": "列表",
|
||||
"navigationBarTitleText": "资讯列表",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
|
|
@ -97,6 +96,7 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "详情",
|
||||
"enablePullDownRefresh": false,
|
||||
// "navigationStyle": "custom",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"titleText": "返回首页"
|
||||
|
|
@ -137,24 +137,25 @@
|
|||
"globalStyle": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#345A9B",
|
||||
"navigationBarBackgroundColor": "#3f378d",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#333",
|
||||
"custom": true,
|
||||
"selectedColor": "#345A9B",
|
||||
"backgroundColor": "#fff",
|
||||
"list": [{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/index.png",
|
||||
"selectedIconPath": "static/index01.png",
|
||||
"iconPath": "static/home3.png",
|
||||
"selectedIconPath": "static/home1.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/phoneList/phoneList",
|
||||
"iconPath": "static/phone.png",
|
||||
"selectedIconPath": "static/phone01.png",
|
||||
"text": "通讯录"
|
||||
"iconPath": "static/e.png",
|
||||
"selectedIconPath": "static/e.png",
|
||||
"text": "企业名录"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/me/me",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<!-- 搜索 -->
|
||||
<piker-search @handleSearch="handleSearch" :placeholder='"找领导"' :width="'100'" :isAddress="false" :isPost="true"
|
||||
<piker-search @handleSearch="handleSearch" :placeholder='"找达人"' :width="'100'" :isAddress="false" :isPost="true"
|
||||
:isWork="false"></piker-search>
|
||||
|
||||
<!-- -->
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<text class="name">{{ite.name}}</text>
|
||||
<text class="post">{{ite.posname}}</text>
|
||||
</view>
|
||||
<view class="c999 place">{{ite.composname}}<text v-if="ite.place" class="ml-5 mr-5">|</text>{{ite.place}}</view>
|
||||
<view class="c999 place">{{ite.composname}}</view>
|
||||
<view class="c999">{{ite.mobile}}</view>
|
||||
<view class="c999">{{ite.province}}{{ite.city}}{{ite.area}}{{ite.address}}</view>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -1,33 +1,31 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<!-- 搜索 -->
|
||||
<view class="head" v-if="token">
|
||||
<piker-search @handleSearch="handleSearch" :placeholder='"找客户/找产品/找供应"' :width="'60'"></piker-search> -->
|
||||
<view class="head">
|
||||
<piker-search @handleSearch="handleSearch" :placeholder='"找客户/找产品"' :width="'60'"></piker-search>
|
||||
<view class="fangke">
|
||||
<icon class="iconfont icon-remen"></icon>
|
||||
<text>今日访客:{{todayviewer}}人</text>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="login" @click="handleLogin">
|
||||
<view class="login" @click="handleLogin" v-if="!token">
|
||||
登录后查看更多内容资讯,点击此处<text>登录</text>
|
||||
</view>
|
||||
<!-- banner -->
|
||||
<view class="tips" :style="{'margin':!token?'0':'90rpx 0 10px'}">
|
||||
<view class="tips" :style="{'margin':!token?'0':'50px 0 10px'}">
|
||||
<text @click="navTo('/pageTwo/me/company')" v-if="token&&!mobile" style="margin-top: 10px;">请尽快完善企业信息</text>
|
||||
</view>
|
||||
<view class="f_banner">
|
||||
<view v-if="fimages.length">
|
||||
<view class="f_banner" v-if="fimages.length">
|
||||
<swiper class="swiper" indicator-dots="true" autoplay="true" circular="true">
|
||||
<swiper-item v-for="(image, index) in fimages" :key="index" @click="detail(image.id,5)">
|
||||
<image :src="image.headimg" mode="scaleToFill" />
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 公告 -->
|
||||
<view class="box">
|
||||
<view class="notice">
|
||||
<text>头条</text>
|
||||
<view class="notice" v-if="notices.length">
|
||||
<text>通知</text>
|
||||
<!-- -->
|
||||
<swiper class="swiper" vertical="true" autoplay="true">
|
||||
<swiper-item v-for="(item,index) in notices" :key="index" @click="detail(item.id,6)">
|
||||
|
|
@ -43,8 +41,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<!-- 简介 -->
|
||||
<view class="f_banner centerList" style="margin-top: 10px;">
|
||||
<view v-if="HomeContent&¢erList.length">
|
||||
<view class="f_banner centerList" style="margin-top: 10px;" v-if="HomeContent&¢erList.length">
|
||||
<swiper class="swiper" autoplay="true">
|
||||
<swiper-item v-for="(ite, index) in centerList" :key="index">
|
||||
<image :src="ite.headimg" v-if='ite.posfmtype!=2' @click="detail(ite.id,5)" />
|
||||
|
|
@ -54,11 +51,10 @@
|
|||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 风采 -->
|
||||
<view class="tools fengcai" v-if="list.length">
|
||||
<view class="title" @click="navTo('/pages/index/fengCai')">
|
||||
<text class="ml-10">领导风采</text>
|
||||
<text class="ml-10">达人风采</text>
|
||||
<text class="mr-10">查看更多></text>
|
||||
</view>
|
||||
<swiper class="swiper " display-multiple-items='5' autoplay="true" circular="true" interval='3000'>
|
||||
|
|
@ -79,7 +75,8 @@
|
|||
<text>资讯活动</text>
|
||||
<text v-if="newsList.length">查看更多></text>
|
||||
</view>
|
||||
<list :isAddress="1" :list="newsList" v-if="newsList.length" @handleSearchId="handleSearchId"></list>
|
||||
<list :isAddress="1" :list="newsList" v-if="newsList.length" @handleSearchId="handleSearchId">
|
||||
</list>
|
||||
<view class="nolist" style="margin-top: 15px;" v-if="!newsList.length">
|
||||
<image src="@/static/none.png"></image>
|
||||
<text>暂无数据</text>
|
||||
|
|
@ -87,6 +84,8 @@
|
|||
</view>
|
||||
<!-- 客服 -->
|
||||
<message></message>
|
||||
<!-- 底部 -->
|
||||
<tabbar :tabInd="0"></tabbar>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
|
@ -95,6 +94,8 @@
|
|||
import {
|
||||
mapState
|
||||
} from "vuex";
|
||||
import headbg from "@/components/header.vue"
|
||||
import tabbar from "@/components/tabBar.vue"
|
||||
import list from "@/components/newsList.vue"
|
||||
import pikerSearch from "../../components/search.vue"
|
||||
export default {
|
||||
|
|
@ -130,11 +131,13 @@
|
|||
},
|
||||
components: {
|
||||
list,
|
||||
headbg,
|
||||
tabbar,
|
||||
pikerSearch,
|
||||
},
|
||||
async onLoad() {
|
||||
onLoad() {
|
||||
let that = this
|
||||
await that.login()
|
||||
that.login()
|
||||
that.token = uni.getStorageSync('token')
|
||||
that.$store.dispatch('getInfoList', {
|
||||
searchValue: "",
|
||||
|
|
@ -146,7 +149,7 @@
|
|||
onShareAppMessage() {
|
||||
let that = this
|
||||
return {
|
||||
title: "智照团线上展厅",
|
||||
title: "沪抖团线上展厅",
|
||||
path: '/pages/index/index',
|
||||
imageUrl: '',
|
||||
success: function(res) {
|
||||
|
|
@ -159,7 +162,7 @@
|
|||
},
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: '智照团线上展厅',
|
||||
title: '沪抖团线上展厅',
|
||||
query: '',
|
||||
imageUrl: '',
|
||||
success: function(res) {
|
||||
|
|
@ -174,13 +177,14 @@
|
|||
login() {
|
||||
let that = this
|
||||
uni.login({
|
||||
success(res) {
|
||||
if (res.code) {
|
||||
console.log("code", res.code)
|
||||
if (res.errMsg = "login:ok") {
|
||||
success(res2) {
|
||||
if (res2.code) {
|
||||
if (res2.errMsg = "login:ok") {
|
||||
console.log("code", res2.code)
|
||||
that.$model.onlogin({
|
||||
code: res.code,
|
||||
code: res2.code,
|
||||
}).then(res => {
|
||||
console.log("1111111111", res)
|
||||
if (res.code == 2) {
|
||||
that.token = null
|
||||
uni.clearStorageSync()
|
||||
|
|
@ -239,24 +243,27 @@
|
|||
// that.$tools.msg("登录后查看更多")
|
||||
// return
|
||||
// }
|
||||
if (ite != "") {
|
||||
uni.navigateTo({
|
||||
url: "/pages/index/searchList?ite=" + ite
|
||||
})
|
||||
}
|
||||
},
|
||||
// 工具栏跳转
|
||||
handlePath(ind, url) {
|
||||
let that = this
|
||||
if (ind == 3) {
|
||||
uni.switchTab({
|
||||
url: url
|
||||
})
|
||||
} else if (ind == 2) {
|
||||
uni.navigateTo({
|
||||
url: url + "?content=2"
|
||||
})
|
||||
} else {
|
||||
this.navTo(url)
|
||||
}
|
||||
// if (ind == 3) {
|
||||
// uni.switchTab({
|
||||
// url: url
|
||||
// })
|
||||
// } else if (ind == 2) {
|
||||
// uni.navigateTo({
|
||||
// url: url + "?content=2"
|
||||
// })
|
||||
// } else {
|
||||
// this.navTo(url)
|
||||
// }
|
||||
},
|
||||
// 轮播、公告、资讯详情
|
||||
detail(id, type) {
|
||||
|
|
@ -303,6 +310,9 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
min-height: calc(100vh - 90px);
|
||||
padding-bottom: 90px;
|
||||
|
||||
}
|
||||
|
||||
.box {
|
||||
|
|
@ -311,17 +321,17 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 10px;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.head {
|
||||
height: 35px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
top: 84px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 0 10px 10px;
|
||||
z-index: 9;
|
||||
background-color: $blue;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.login {
|
||||
|
|
@ -330,6 +340,7 @@
|
|||
height: 45px;
|
||||
line-height: 45px;
|
||||
border-radius: 5px;
|
||||
margin-top: 45px;
|
||||
|
||||
text {
|
||||
color: $blue;
|
||||
|
|
@ -343,7 +354,7 @@
|
|||
|
||||
.fangke {
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
z-index: 19;
|
||||
color: #fff;
|
||||
right: 10px;
|
||||
top: 0px;
|
||||
|
|
@ -494,7 +505,7 @@
|
|||
}
|
||||
|
||||
.post {
|
||||
background-color: #F7B133;
|
||||
background-color: $blue;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
padding: 2px 0;
|
||||
|
|
|
|||
|
|
@ -52,9 +52,9 @@
|
|||
<view class="productList" v-if="ite.ptype==3||ite.ptype==8||ite.ptype==9">
|
||||
<view class="name">
|
||||
<view class="post">
|
||||
<image :src="ite.data.userinfo.avatar" class="mr-10"></image>
|
||||
<image :src="ite.data.userinfo.avatar" class="mr-10 avatar"></image>
|
||||
<view class="bold size16 mr-10">{{ite.data.userinfo.name}}</view>
|
||||
<text>{{ite.data.userinfo.posname}}</text>
|
||||
<view class="vip">{{ite.data.userinfo.posname}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info">
|
||||
|
|
@ -66,15 +66,14 @@
|
|||
<image v-for="(it,id) in ite.data.pics" :src="it.url" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="address" v-if="ite.ptype!=9">
|
||||
<text class="mr-10">行业:{{ite.data.industryname}}</text>
|
||||
<text class="mr-10" v-if="ite.data.industryname">行业:{{ite.data.industryname}}</text>
|
||||
<text>地址:{{ite.data.province}}{{ite.data.city}}{{ite.data.area}}{{ite.data.address}}</text>
|
||||
</view>
|
||||
<view class="money mt-10" v-if="ite.ptype!=9">
|
||||
<text class="redcolor size16 mr-5 bold">会员价:¥{{ite.data.vipprice}}</text>
|
||||
<text class="size12 c999">市场价:¥{{ite.data.price}}</text>
|
||||
<!-- <text class="redcolor size16 mr-5 bold">会员价:¥{{ite.data.vipprice}}</text>
|
||||
<text class="size12 c999">市场价:¥{{ite.data.price}}</text> -->
|
||||
<text class="call" @click="$tools.getCall(user.authlist,ite.data.userinfo.phone)">
|
||||
<icon class="iconfont icon-dianhua1 mr-10"></icon>
|
||||
拨打电话
|
||||
联系方式
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -104,8 +103,10 @@
|
|||
<text class="name">{{ite.data.name}}</text>
|
||||
<text class="post">{{ite.data.posname}}</text>
|
||||
</view>
|
||||
<view class="c999 place">{{ite.data.composname}}<text v-if="ite.place"
|
||||
class="ml-5 mr-5">|</text>{{ite.place}}</view>
|
||||
<view class="c999 place">
|
||||
{{ite.data.composname}}
|
||||
<!-- <text v-if="ite.place" class="ml-5 mr-5">|</text>{{ite.place}} -->
|
||||
</view>
|
||||
<view class="c999">{{ite.data.mobile}}</view>
|
||||
<view class="c999">{{ite.data.province}}{{ite.data.city}}{{ite.data.area}}{{ite.data.address}}
|
||||
</view>
|
||||
|
|
@ -116,7 +117,7 @@
|
|||
<image src="../../static/none.png"></image>
|
||||
<text>暂无数据</text>
|
||||
</view>
|
||||
<!-- 秘书处弹框 -->
|
||||
<!-- 联系人弹框 -->
|
||||
<secratary></secratary>
|
||||
</view>
|
||||
</template>
|
||||
|
|
|
|||
156
pages/me/me.vue
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="content bgfff">
|
||||
<view class="content">
|
||||
<!-- -->
|
||||
<view class="phonetop" v-if="token">
|
||||
<view class="headbox">
|
||||
|
|
@ -11,18 +11,21 @@
|
|||
<view class="name">
|
||||
{{userInfo.name}}<text>{{userInfo.posname}}</text>
|
||||
</view>
|
||||
<view class="post">{{userInfo.orgname}}<text v-if="userInfo.place"
|
||||
class="ml-5 mr-5">|</text>{{userInfo.place}}
|
||||
<view class="post">
|
||||
{{userInfo.orgname}}
|
||||
</view>
|
||||
<view class="phone">电话:{{userInfo.phone}}</view>
|
||||
<view class="phone" v-if="userInfo.email">
|
||||
{{userInfo.email}}
|
||||
邮箱:{{userInfo.email}}
|
||||
</view>
|
||||
<view class="phone" @click="navTo('/pageTwo/me/user')" v-if="!userInfo.email"
|
||||
:class="[!userInfo.email?'redcolor':'']">
|
||||
请尽快完善个人资料
|
||||
</view>
|
||||
</view>
|
||||
<view class="logo">
|
||||
<image src="../../static/logo.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -31,24 +34,25 @@
|
|||
</view>
|
||||
<!-- vip -->
|
||||
<view class="vip" :class="[!token?'marginTop':'']">
|
||||
<image src="../../static/h.png"></image>
|
||||
<view>
|
||||
<image src="../../static/me1.png"></image>
|
||||
<text v-if="!userInfo.vipname">开通会员,尊享多重特权</text>
|
||||
<text v-else>会员有效期至:{{userInfo.vipendtime.substring(0,10)}}</text>
|
||||
<text v-else class="bold">会员有效期至:{{userInfo.vipendtime.substring(0,10)}}</text>
|
||||
</view>
|
||||
<view class="btn" v-if="!userInfo.vipname" @tap="handleisVIP">开通会员</view>
|
||||
<!-- -->
|
||||
<view class="btn" @tap="handleisVIP" v-if="!userInfo.vipname">开通会员</view>
|
||||
</view>
|
||||
<!-- 资料 -->
|
||||
<view class="tools">
|
||||
<view class="item" @click="navTo('/pageTwo/me/user')">
|
||||
<image src="../../static/me3.png"></image>
|
||||
<image src="../../static/tools1.png"></image>
|
||||
<view class="ml-15">
|
||||
<text class="size18 bold">个人资料</text>
|
||||
Personal Data
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @click="navTo('/pageTwo/me/company')">
|
||||
<image src="../../static/me2.png"></image>
|
||||
<image src="../../static/tools2.png"></image>
|
||||
<view class="ml-15">
|
||||
<text class="size18 bold">企业信息</text>
|
||||
Company
|
||||
|
|
@ -58,33 +62,35 @@
|
|||
<!-- 更多功能 -->
|
||||
<view class="tools tools2">
|
||||
<view class="title">更多功能</view>
|
||||
<view @click="navTo('/pageTwo/me/needs?type=9')">
|
||||
<!-- <view @click="navTo('/pageTwo/me/needs?type=9')">
|
||||
<image src="../../static/me4.png"></image>
|
||||
<text>我的供需</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="tools_item">
|
||||
<view @click="navTo('/pageTwo/me/needs?type=3')">
|
||||
<image src="../../static/me5.png"></image>
|
||||
<image src="../../static/q.png"></image>
|
||||
<text>我的商品</text>
|
||||
</view>
|
||||
<view @click="navTo('/pageTwo/login/editPassword')">
|
||||
<image src="../../static/me6.png"></image>
|
||||
<image src="../../static/w.png"></image>
|
||||
<text>修改密码</text>
|
||||
</view>
|
||||
<view @tap="handleisVIP">
|
||||
<image src="../../static/me7.png"></image>
|
||||
<text>联系秘书处</text>
|
||||
<image src="../../static/r.png"></image>
|
||||
<text>联系人</text>
|
||||
</view>
|
||||
<view @tap="handleisCare">
|
||||
<image src="../../static/me8.png"></image>
|
||||
<image src="../../static/t.png"></image>
|
||||
<text>身份卡</text>
|
||||
</view>
|
||||
<view @click="handleOutLogin" v-if="token">
|
||||
<image src="../../static/me10.png"></image>
|
||||
<image src="../../static/y.png"></image>
|
||||
<text>退出</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- -->
|
||||
<view class="foot">
|
||||
<!-- <view class="foot">
|
||||
<view class="logo">
|
||||
<image src="../../static/logo.png"></image>
|
||||
</view>
|
||||
|
|
@ -93,15 +99,15 @@
|
|||
</view>
|
||||
<view>
|
||||
<text>长按识别二维码</text>
|
||||
<text>关注智照团公众号接收最新动态</text>
|
||||
</view>
|
||||
<text>关注沪抖团公众号接收最新动态</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- 身份卡 -->
|
||||
<view class="wrapper" v-if="isCard">
|
||||
<view class="bg" @click="handleisCare">
|
||||
<view class="edit Card" @click.stop>
|
||||
<view class="Cardbg">
|
||||
<image src="../../static/bg.jpg" mode="aspectFit"></image>
|
||||
<!-- <image src="../../static/bg.jpg" mode="aspectFit"></image> -->
|
||||
<view class="logo">
|
||||
<image :src="userInfo.cominfo.logourl" mode="aspectFit"></image>
|
||||
</view>
|
||||
|
|
@ -122,7 +128,7 @@
|
|||
<view class="size16">{{userInfo.name}}<text class="text">{{userInfo.posname}}</text></view>
|
||||
<view class="c999 size12 mt-5">
|
||||
<text>{{userInfo.orgname}}</text>
|
||||
<text v-if="userInfo.place" class="ml-5 mr-5">|</text>{{userInfo.place}}
|
||||
<!-- <text v-if="userInfo.place" class="ml-5 mr-5">|</text>{{userInfo.place}} -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -139,7 +145,7 @@
|
|||
</view>
|
||||
<view class="right">
|
||||
<!-- https://izzt.jt-sky.com/qr/get?appid=wxbbddd1888da43ab0&id=142307070910553 -->
|
||||
<image :src="'https://izzt.jt-sky.com/qr/get?appid='+appid+'&id='+userInfo.id"
|
||||
<image :src="'https://irdhdt.com/qr/get?appid='+appid+'&id='+userInfo.id"
|
||||
show-menu-by-longpress="true"></image>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -148,10 +154,12 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 秘书处 -->
|
||||
<!-- 联系人 -->
|
||||
<secratary></secratary>
|
||||
<!-- 客服 -->
|
||||
<message></message>
|
||||
<!-- 底部 -->
|
||||
<tabbar :tabInd="2"></tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -159,6 +167,7 @@
|
|||
import {
|
||||
mapState
|
||||
} from "vuex";
|
||||
import tabbar from "@/components/tabBar.vue"
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
|
@ -167,6 +176,9 @@
|
|||
appid: ""
|
||||
}
|
||||
},
|
||||
components: {
|
||||
tabbar,
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user', "HomeContent"]),
|
||||
userInfo() {
|
||||
|
|
@ -236,37 +248,42 @@
|
|||
<style scoped lang="scss">
|
||||
.content {
|
||||
padding: 0;
|
||||
background-color: #f7f7f7;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.vip {
|
||||
font-size: 32rpx;
|
||||
color: #F2D59C;
|
||||
background-color: #2C2C34;
|
||||
margin: 100px 10px 0;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 15px 10px;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
color: $blue;
|
||||
margin: 45px 10px 0;
|
||||
height: 200rpx;
|
||||
position: relative;
|
||||
|
||||
|
||||
view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
left: 15px;
|
||||
bottom: 8px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
position: absolute;
|
||||
font-size: 14px;
|
||||
color: #000;
|
||||
right: 15px;
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
background-color: #E6C8A2;
|
||||
background-color: $blue;
|
||||
width: fit-content;
|
||||
color: #fff;
|
||||
left: auto;
|
||||
top: 15px;
|
||||
bottom: auto;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-right: 10px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -276,6 +293,23 @@
|
|||
margin: 15px 10px;
|
||||
justify-content: space-between;
|
||||
|
||||
.title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-left: 15px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.title::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 5px;
|
||||
height: 20px;
|
||||
left: -10px;
|
||||
border-radius: 5px;
|
||||
background: $navColor;
|
||||
}
|
||||
|
||||
.item {
|
||||
width: 43%;
|
||||
padding: 15px 2%;
|
||||
|
|
@ -287,8 +321,8 @@
|
|||
box-shadow: 0px 1px 5px 2px #dfe2e1fc;
|
||||
|
||||
image {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
view {
|
||||
|
|
@ -300,7 +334,7 @@
|
|||
|
||||
text {
|
||||
width: 100%;
|
||||
color: #333;
|
||||
color: $blue;
|
||||
text-align: left;
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
@ -324,8 +358,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
.tools2 {
|
||||
.tools_item {
|
||||
justify-content: left;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-flow: wrap;
|
||||
background: #fff;
|
||||
padding-top: 15px;
|
||||
margin-top: 15px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 1px 5px 2px #dfe2e1fc;
|
||||
|
||||
view {
|
||||
width: 25%;
|
||||
|
|
@ -398,7 +440,8 @@
|
|||
|
||||
.Card {
|
||||
width: 560rpx;
|
||||
height: 800rpx;
|
||||
height: 630rpx;
|
||||
color: #333;
|
||||
position: relative;
|
||||
|
||||
image {
|
||||
|
|
@ -408,7 +451,9 @@
|
|||
|
||||
.Cardbg {
|
||||
width: 560rpx;
|
||||
height: 488rpx;
|
||||
height: 350rpx;
|
||||
background: $navColor;
|
||||
border-radius: 5px 5px 0 0;
|
||||
|
||||
image {
|
||||
border-radius: 5px 5px 0 0;
|
||||
|
|
@ -419,7 +464,7 @@
|
|||
|
||||
.logo {
|
||||
width: 100%;
|
||||
margin-top: -440rpx;
|
||||
padding-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
image {
|
||||
|
|
@ -442,7 +487,7 @@
|
|||
|
||||
.box {
|
||||
position: absolute;
|
||||
top: 489rpx;
|
||||
top: 355rpx;
|
||||
|
||||
.name {
|
||||
width: auto;
|
||||
|
|
@ -504,4 +549,19 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.phonetop {
|
||||
width: 126% !important;
|
||||
height: 120px !important;
|
||||
left: -13% !important;
|
||||
position: relative;
|
||||
border-radius: 0 0 60% 60%;
|
||||
background: $navColor;
|
||||
|
||||
.headbox {
|
||||
left: 13%;
|
||||
right: 13%;
|
||||
top: 20px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -11,8 +11,9 @@
|
|||
<view class="name">
|
||||
{{con.name}}<text>{{con.posname}}</text>
|
||||
</view>
|
||||
<view class="post">{{con.orgname}}<text v-if="con.place"
|
||||
class="ml-5 mr-5">|</text>{{con.place}}</view>
|
||||
<view class="post">{{con.orgname}}
|
||||
<!-- <text v-if="con.place" class="ml-5 mr-5">|</text>{{con.place}} -->
|
||||
</view>
|
||||
<view class="phone">电话:{{con.phone}}</view>
|
||||
<view class="phone" v-if="con.email">邮箱:{{con.email}}</view>
|
||||
<view class="phone" v-if="con.jointime">进团时间:{{con.jointime}}</view>
|
||||
|
|
@ -33,7 +34,6 @@
|
|||
</view>
|
||||
<!-- 企业简介 -->
|
||||
<view class="title">
|
||||
<image src="../../static/title.png"></image>
|
||||
{{active==1?'企业简介':active==2?'产品展示':'个人简介'}}
|
||||
</view>
|
||||
<view class="show" v-if="active==1">
|
||||
|
|
@ -41,6 +41,9 @@
|
|||
<image :src="con.cominfo.logourl" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="postName">{{con.cominfo.name}}</view>
|
||||
<view class="mt-10 ml-15">
|
||||
<text class="text">公司电话:</text>{{con.cominfo.mobile}}
|
||||
</view>
|
||||
<view class="mt-15">
|
||||
<text class="text ml-15">企业所在片区:</text>{{con.cominfo.area}}
|
||||
</view>
|
||||
|
|
@ -48,10 +51,7 @@
|
|||
<text
|
||||
class="text">公司地址:</text>{{con.cominfo.province}}{{con.cominfo.city}}{{con.cominfo.area}}{{con.cominfo.address}}
|
||||
</view>
|
||||
<view class="mt-10 ml-15">
|
||||
<text class="text">公司电话:</text>{{con.cominfo.mobile}}
|
||||
</view>
|
||||
<view class="mt-10 ml-15">
|
||||
<!-- <view class="mt-10 ml-15">
|
||||
<text class="text">企业年营收(万元):</text>{{con.cominfo.yearlyincome}}
|
||||
</view>
|
||||
<view class="mt-10 ml-15">
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
</view>
|
||||
<view class="mt-10 ml-15">
|
||||
<text class="text">员工人数:</text>{{con.cominfo.staffcnt}}人
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="con">
|
||||
{{con.cominfo.desc}}
|
||||
</view>
|
||||
|
|
@ -83,11 +83,10 @@
|
|||
<view class="name">
|
||||
{{con.name}}<text>{{con.posname}}</text>
|
||||
</view>
|
||||
<view class="post">{{con.orgname}}<text v-if="con.place" class="ml-5 mr-5">|</text>{{con.place}}
|
||||
</view>
|
||||
<view class="post">{{con.orgname}}</view>
|
||||
<view class="mt-10"><text>性别:</text>{{con.sex==1?'男':con.sex==2?'女':'未知'}}</view>
|
||||
<view class="mt-10"><text>出生年月:</text>{{con.birthday.substring(0,10)}}</view>
|
||||
<view class="mt-10" v-if="con.place"><text>籍贯:</text>{{con.place}}</view>
|
||||
<!-- <view class="mt-10"><text>出生年月:</text>{{con.birthday.substring(0,10)}}</view> -->
|
||||
<!-- <view class="mt-10" v-if="con.place"><text>籍贯:</text>{{con.place}}</view> -->
|
||||
<view class="mt-10 ml-15" v-if="con.interests">
|
||||
<text class="text">爱好:</text>{{con.interests}}
|
||||
</view>
|
||||
|
|
@ -95,11 +94,11 @@
|
|||
<text class="text">能给平台带来什么:</text>{{con.provide}}
|
||||
</view>
|
||||
<view class="mt-10 ml-15" v-if="con.demand">
|
||||
<text class="text">加入智照团想收获什么:</text>{{con.demand}}
|
||||
<text class="text">加入沪抖团想收获什么:</text>{{con.demand}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 秘书处弹框 -->
|
||||
<!-- 联系人弹框 -->
|
||||
<secratary></secratary>
|
||||
</view>
|
||||
<view class="nolist" v-else>
|
||||
|
|
@ -244,16 +243,22 @@
|
|||
margin: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
image {
|
||||
width: 30px;
|
||||
height: 20px;
|
||||
margin-right: 5px;
|
||||
position: relative;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.title:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 5px;
|
||||
height: 20px;
|
||||
left: 0px;
|
||||
border-radius: 5px;
|
||||
background: $navColor;
|
||||
}
|
||||
|
||||
.box {
|
||||
margin-top: 170px;
|
||||
margin-top: 125px;
|
||||
background-color: #fff;
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
|
|
@ -277,7 +282,6 @@
|
|||
|
||||
.active {
|
||||
color: $blue;
|
||||
|
||||
border-bottom: 2px solid $blue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<!-- 搜索 -->
|
||||
<piker-search @handleSearch="handleSearch" :placeholder='"找企业"' :width="'100'"
|
||||
<piker-search @handleSearch="handleSearch" :title="'企业名录'" :placeholder='"找企业"' :width="'100'"
|
||||
:isAddress="true"></piker-search>
|
||||
|
||||
<!-- -->
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<view class="name">
|
||||
<text>{{ite.username}}</text>{{ite.pos}}
|
||||
</view>
|
||||
<view class="c999">{{ite.name}}</view>
|
||||
<view class="c999 overflow">{{ite.name}}</view>
|
||||
</view>
|
||||
<view class="tell" v-if="token" @click="$tools.getCall(user.authlist,ite.mobile)" @click.stop>
|
||||
<image src="../../static/tall.png"></image>
|
||||
|
|
@ -25,10 +25,12 @@
|
|||
<text>暂无数据</text>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 秘书处弹框 -->
|
||||
<!-- 联系人弹框 -->
|
||||
<secratary></secratary>
|
||||
<!-- 客服 -->
|
||||
<message></message>
|
||||
<!-- 底部 -->
|
||||
<tabbar :tabInd="1"></tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -36,6 +38,7 @@
|
|||
import {
|
||||
mapState
|
||||
} from "vuex";
|
||||
import tabbar from "@/components/tabBar.vue"
|
||||
import pikerSearch from "../../components/search.vue"
|
||||
export default {
|
||||
data() {
|
||||
|
|
@ -49,12 +52,14 @@
|
|||
city: "",
|
||||
industryid: "",
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(["user"]),
|
||||
},
|
||||
components: {
|
||||
tabbar,
|
||||
pikerSearch
|
||||
},
|
||||
onLoad() {
|
||||
|
|
@ -88,7 +93,7 @@
|
|||
pageNo: that.page,
|
||||
pageSize: 10,
|
||||
}).then((res) => {
|
||||
console.log("通讯录", res)
|
||||
// console.log("通讯录", res)
|
||||
if (res.code != 0) return
|
||||
that.list = this.list.concat(res.data.rows)
|
||||
that.lastPage = res.data.totalpage
|
||||
|
|
@ -126,11 +131,19 @@
|
|||
<style scoped lang="scss">
|
||||
.content {
|
||||
background-color: #fff;
|
||||
padding-bottom: 90px;
|
||||
}
|
||||
|
||||
/deep/.serachBox {
|
||||
height: 80px !important;
|
||||
}
|
||||
|
||||
.right {
|
||||
width: calc(100% - 320rpx);
|
||||
}
|
||||
|
||||
.box {
|
||||
margin-top: 75px;
|
||||
margin-top: 80px;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 104 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
BIN
static/logo.png
|
Before Width: | Height: | Size: 237 KiB After Width: | Height: | Size: 34 KiB |
BIN
static/me.png
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
static/me01.png
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 12 KiB |
BIN
static/phone.png
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
|
@ -71,7 +71,7 @@ export default new Vuex.Store({
|
|||
changeInfoList(state, newData) {
|
||||
state.InfoList = newData
|
||||
},
|
||||
// 秘书处弹框
|
||||
// 联系人弹框
|
||||
changeSecratary(state, newData) {
|
||||
state.isSecratary = newData
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import tools from '@/tools/tools.js'
|
|||
const accountInfo = wx.getAccountInfoSync();
|
||||
const appid = accountInfo.miniProgram.appId
|
||||
uni.setStorageSync('appid', appid)
|
||||
let baseUrl = "https://izzt.jt-sky.com"
|
||||
let baseUrl = "https://irdhdt.com"
|
||||
|
||||
const httpRequest = (url, method = "get", data) => {
|
||||
let httpDefaultOpts = {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ export default {
|
|||
return res
|
||||
})
|
||||
},
|
||||
getApplyfor(param) { // 申请加入智照团
|
||||
getApplyfor(param) { // 申请加入沪抖团
|
||||
return http.post("/api/app/wxopen/applyfor", param).then(res => {
|
||||
return res
|
||||
})
|
||||
|
|
|
|||
6
uni.scss
|
|
@ -76,5 +76,7 @@ $uni-color-paragraph: #3F536E; // 文章段落颜色
|
|||
$uni-font-size-paragraph:15px;
|
||||
|
||||
$orange:#F7B133;
|
||||
$blue: #345A9B;
|
||||
$red: #E52E27
|
||||
$blue: #3f378d;
|
||||
$red: #E52E27;
|
||||
$green: #4a9552;
|
||||
$navColor:linear-gradient(0deg,#4a9552,#3e359a 99%,);
|
||||
|
|
|
|||