作者 “关晓峰”

feat: 新页面加入

... ... @@ -269,6 +269,51 @@
}
}
,{
"path" : "more",
"style" :
{
"navigationBarTitleText": "全部设备",
"enablePullDownRefresh": false
}
}
,{
"path" : "moreChoose",
"style" :
{
"navigationBarTitleText": "城市选择",
"enablePullDownRefresh": false
}
}
,{
"path" : "moreSearch",
"style" :
{
"navigationBarTitleText": "搜索",
"enablePullDownRefresh": false
}
}
,{
"path" : "ad",
"style" :
{
"navigationBarTitleText": "意见反馈",
"enablePullDownRefresh": false
}
}
,{
"path" : "join",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
]
}],
"globalStyle": {
... ...
<template>
<view>
<view class="top">
<view class="flexBox" style="padding:0 24rpx; margin-top: 16rpx;">
<u-search shape="round" bgColor="white" style="" ></u-search>
<view class="flexBox" style="padding: 24rpx 24rpx 0 24rpx;">
<view class="" @click="goRot('/pages/subPages/moreSearch')">
<u-input
placeholder="请输入"
prefixIcon="search"
border="surround"
v-model="value"
shape="circle"
@change="change"
>
<view slot="prefix" @click="goRot('/pages/subPages/moreChoose')">
<u-text
text="城市"
suffixIcon="arrow-down-fill"
margin="0 3px 0 0"
type="tips"
></u-text>
</view>
</u-input>
</view>
<button shape="circle" class="btn" size="small" @click="goHub">免费发布</button>
</view>
<view class="boxs">
<view class="item" v-for="item in list">
<image src="@/static/image/Rectangle 16.png" style="height: 300rpx;width: 100vw; position: absolute;top:0;z-index: -1;" mode=""></image>
<view class="boxs" style="padding: 0 24rpx;">
<view class="item" v-for="item in list" @click="goRot(item.route)">
<image :src="item.url" class="img" mode=""></image>
<p style="font-size: 24rpx; margin-top: 16rpx;">{{item.title}}</p>
</view>
... ... @@ -30,14 +50,14 @@
<u-overlay :show="show" @click="show = false">
<view class="warp">
<view class="rect flexBox" style="flex-direction: column;" @tap.stop>
<image src="/static/image/fabu/Frame 2896@2x.png" mode="" style="width: 622rpx; margin-bottom: 32rpx;height: 152rpx;" @click="goHire"></image>
<image src="../../static/image/fabu/Frame 2897@2x.png" style="width: 622rpx;margin-bottom: 32rpx;height: 152rpx;" @click="goSell" mode=""></image>
<image src="/static/image/fabu/Frame 2896@2x.png" mode="" style="width: 622rpx; margin-bottom: 32rpx;height: 152rpx;" @click="goRot('/pages/sellAndBuy/hire')"></image>
<image src="../../static/image/fabu/Frame 2897@2x.png" style="width: 622rpx;margin-bottom: 32rpx;height: 152rpx;" @click="goRot('/pages/sellAndBuy/sell')" mode=""></image>
<view class="flexBox">
<view class="box1 flexBox" style="justify-content: center;margin-right: 5%;padding: 0 5rpx;" @click="goHub1">
<view class="box1 flexBox" style="justify-content: center;margin-right: 5%;padding: 0 5rpx;" @click="goRot('/pages/sellAndBuy/hub')">
<image src="../../static/image/fabu/Group 188@2x.png" style="width: 64rpx;height: 64rpx; margin-right: 16rpx;" mode=""></image>
设备求租
</view>
<view class="box1 flexBox" style="justify-content: center;padding: 0 5rpx;" @click="goHub1">
<view class="box1 flexBox" style="justify-content: center;padding: 0 5rpx;" @click="goRot('/pages/sellAndBuy/hub')">
<image src="../../static/image/fabu/Group 187@2x.png" style="width: 64rpx;height: 64rpx; margin-right: 16rpx;" mode=""></image>
设备求购
</view>
... ... @@ -58,6 +78,7 @@
return {
keyword:'',
show:false,
value:'',
list:[
{
url:'../../static/Frame 2868/Frame 172@2x.png',
... ... @@ -77,7 +98,8 @@
},
{
url:'../../static/Frame 2868/Frame 175@2x.png',
title:'更多'
title:'更多',
route:"/pages/subPages/more"
},
]
}
... ... @@ -86,20 +108,13 @@
goHub(){
this.show = true
},
goHub1(){
uni.navigateTo({
url:'/pages/sellAndBuy/hub'
})
},
goHire(){
goRot(url){
uni.navigateTo({
url:'/pages/sellAndBuy/hire'
url:url
})
},
goSell(){
uni.navigateTo({
url:'/pages/sellAndBuy/sell'
})
change(){
}
}
}
... ... @@ -107,10 +122,7 @@
<style scoped lang="scss">
.top{
background: url('@/static/image/Rectangle 16.png');
height: 300rpx;
object-fit: cover;
}
.flexBox{
display: flex;
... ... @@ -243,4 +255,7 @@
margin-bottom: 24rpx;
padding: 24rpx 24rpx 0 24rpx;
}
/deep/ .u-input{
height: 34rpx
}
</style>
... ...
... ... @@ -8,9 +8,7 @@
<u-grid :col="3">
<view class="box" v-for="item in list">
<image style="width: 150rpx; height: 150rpx;" :src="item.url" mode=""></image>
<p style="color: #3375d8ff;
font-size: 30rpx;
font-weight: 400;">{{item.title}}</p>
<p style="color: #3375d8ff;font-size: 30rpx;font-weight: 400;">{{item.title}}</p>
</view>
</u-grid>
</view>
... ... @@ -82,6 +80,9 @@
font-weight: 500;
margin: 24rpx 0 16rpx 0;
}
.content{
margin-left: 3%;
}
.desc{
color: #00000099;
font-size: 28rpx;
... ...
... ... @@ -5,7 +5,7 @@
<image src="../../static/bg1.png" style="width: 686rpx;
height: 320rpx;" mode=""></image>
</view>
<view class="top" @click="noHave">
<view class="top" @click="have">
<image src="../../static/bg2.png" style="width: 686rpx;
height: 320rpx;" mode=""></image>
</view>
... ... @@ -25,9 +25,6 @@ height: 320rpx;" mode=""></image>
url:"/pages/index/choose"
})
},
noHave(){
}
}
}
</script>
... ...
... ... @@ -72,11 +72,13 @@
},
{
url:'/static/my/ic-building@2x.png',
title:'合伙人加盟'
title:'合伙人加盟',
route:'/pages/subPages/join'
},
{
url:'/static/my/ic-yijian@2x.png',
title:'意见反馈'
title:'意见反馈',
route:'/pages/subPages/ad'
},
{
url:'/static/my/ic-setting@2x.png',
... ... @@ -130,6 +132,7 @@
display: flex;
margin: 80rpx 40rpx;
padding-top: 40rpx;
justify-content: space-between;
align-items: center;
}
... ...
... ... @@ -26,14 +26,15 @@
<view class="flexBox" style=" margin-top: 80rpx;">
<view class="flexBox_left">
<view style="margin: 125rpx 0 0 24rpx;" class="">
<image src="@/static/Frame 2868/Group 52.png" class="imgBox1" mode=""></image>
<view style="position: absolute;top:125rpx;left:24rpx" class="">
<p style=" color: #ffffffcc;font-size: 26rpx;font-weight: 400;">海量用户</p>
<p style=" color: #ffffffcc;font-size: 26rpx;font-weight: 400;">智能匹配</p>
</view>
</view>
<view class="flexBox_right">
<view style="margin: 125rpx 0 0 24rpx;">
<image src="@/static/Frame 2868/Group 51.png" class="imgBox1" mode=""></image>
<view style="position: absolute;top:125rpx;left:24rpx;">
<p style=" color: #ffffffcc;font-size: 26rpx;font-weight: 400;">海量用户</p>
<p style=" color: #ffffffcc;font-size: 26rpx;font-weight: 400;">智能匹配</p>
</view>
... ... @@ -161,7 +162,7 @@
background: #ffffffff;
}
.items{
width: 582rpx;
width: 482rpx;
height: 140rpx;
border-radius: 16rpx;
opacity: 1;
... ... @@ -244,18 +245,18 @@
.flexBox_left{
width: 50%;
margin-right: 40rpx;
height: 228rpx;
border-radius: 12rpx;
opacity: 1;
background: url('@/static/Frame 2868/Group 52.png');
background-size: cover;
position: relative;
}
.flexBox_right{
width: 50%;
height: 228rpx;
border-radius: 12rpx;
opacity: 1;
background: url('/static/Frame 2868/Group 51.png');
background-size: cover;
position: relative;
}
.imgBox1{
width: 44vw;
height: 228rpx;
object-fit: cover;
position: relative;
}
</style>
... ...
... ... @@ -2,7 +2,11 @@
<view style="background: #f7f8faff; padding: 24rpx;">
<item></item>
<item-sell></item-sell>
<view class="" style="margin-top: 50rpx; width: 0ex0%">
<u-button type="info" shape="circle" size="small" icon="close" text="清空浏览记录"></u-button>
</view>
</view>
</template>
<script>
... ...
<template>
<view>
<view style="display: flex; justify-content: center; margin: 12rpx;" class="">
<view style="display: flex; justify-content: center; margin: 6rpx;" class="">
<u-tabs :list="list1" @click="click"></u-tabs>
</view>
<view class="" style="padding: 24rpx;">
... ...
<template>
<view>
<view style="display: flex; justify-content: center; margin: 12rpx;" class="">
<view style="display: flex; justify-content: center; margin: 6rpx;" class="">
<u-tabs :list="list1" @click="click"></u-tabs>
</view>
<view class="" style="padding: 24rpx;">
... ...
<template>
<view>
<view style="background-color: #f7f8faff;;">
<view style="display: flex; justify-content: center; margin: 12rpx;" class="">
<u-tabs :list="list1" @click="click"></u-tabs>
</view>
... ... @@ -9,15 +9,13 @@
</view>
<p style=" color: #3375d8ff;font-size: 28rpx;font-weight: 400;">左滑取消收藏</p>
</view>
<view class="" style="background-color: #f7f8faff ;">
<u-swipe-action v-for="item in 3">
<view class="" style="padding: 24rpx;">
<u-swipe-action v-for="item in 3" >
<u-swipe-action-item
:options="options1"
class="item"
>
<view class="swipe-action u-border-top u-border-bottom item">
<view class="swipe-action__content item">
<view class="swipe-action " >
<view class="swipe-action__content " >
<item v-if="isSell"></item>
<item-sell v-else></item-sell>
</view>
... ... @@ -60,7 +58,7 @@
<style scoped lang="scss">
.tips{
height: 80rpx;
height: 60rpx;
background: #e8effaff;
padding: 20rpx 0;
display: flex;
... ... @@ -70,6 +68,9 @@
.item{
margin: 24rpx;
}
/deep/.u-swipe-action{
margin-bottom: 24rpx
}
.u-page {
padding: 0;
}
... ...
<template>
<view>
<view style="background: #f7f8faff;">
<view class="">
<view class="flexB" style="margin: 24rpx; ">
<view class="tip">
<image src="../../static/huo.png" style="width: 32rpx; height: 32rpx;" mode=""></image>
</view>
<p>热门品牌</p>
</view>
<view class="" style="background-color: white; display: flex; flex-wrap: wrap; padding: 24rpx;">
<view class="item" v-for="item in 10">
<image src="../../static/huo.png" style="width: 136rpx; height: 136rpx;" mode=""></image>
<p>123</p>
</view>
</view>
</view>
<u-index-list :index-list="indexList">
<template v-for="(item, index) in itemArr">
<!-- #ifdef APP-NVUE -->
... ... @@ -37,6 +52,10 @@
</script>
<style scoped>
.flexB{
display: flex;
align-items: center;
}
.list-cell {
display: flex;
box-sizing: border-box;
... ... @@ -48,4 +67,11 @@
line-height: 24px;
background-color: #fff;
}
.item{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-right: 32rpx;
}
</style>
... ...
<template>
<view>
<p style=" color: #0d1013e6;
font-size: 28rpx;
font-weight: 500;margin: 24rpx;">请选择反馈类型</p>
<view class="flexBox" style="margin: 24rpx;">
<u-button text="意见建议" shape="circle" style="margin-right: 12rpx;"></u-button>
<u-button text="意见建议" shape="circle" style="margin-right: 12rpx;"></u-button>
<u-button text="意见建议" shape="circle" style="margin-right: 12rpx;"></u-button>
<u-button text="意见建议" shape="circle" style="margin-right: 12rpx;"></u-button>
</view>
<view style="margin: 24rpx;">
<u-textarea></u-textarea>
</view>
<view style="margin: 24rpx;">
<u-upload></u-upload>
</view>
<view class="flexBox" style="justify-content: space-between; margin: 24rpx; background-color: white;padding: 30rpx 12rpx;">
<text>联系电话</text>
<input type="text" :value="phone" />
</view>
<view class="flexBox" style="width: 50%;justify-content: center;margin: 30rpx;">
<u-button text="提交" type="primary" shape="circle"></u-button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
phone:''
}
},
methods: {
}
}
</script>
<style scoped>
.flexBox{
display: flex;
align-items: center;
}
</style>
... ...
<template>
<view style="height: 100vh;">
<image src="../../static/bg0.png" style="width: 100%; height:100vh;" mode=""></image>
<view class="box" style="position: absolute;top:614rpx; padding: 32rpx;">
<u--form labelPosition="left" :model="model1" :rules="rules" ref="uForm">
<u-form-item label="公司名称" labelWidth="200rpx" prop="userInfo.name" borderBottom ref="item1">
<u--input v-model="model1.userInfo.name" placeholder="请输入" border="none"></u--input>
</u-form-item>
<u-form-item label="主营产品" labelWidth="200rpx" prop="userInfo.name" borderBottom ref="item1">
<u--input v-model="model1.userInfo.name" placeholder="请输入" border="none"></u--input>
</u-form-item>
<u-form-item label="联系人" labelWidth="200rpx" prop="userInfo.name" borderBottom ref="item1">
<u--input v-model="model1.userInfo.name" placeholder="请输入" border="none"></u--input>
</u-form-item>
<u-form-item label="联系电话" labelWidth="200rpx" prop="userInfo.name" borderBottom ref="item1">
<u--input v-model="model1.userInfo.name" placeholder="请输入" border="none"></u--input>
</u-form-item>
</u--form>
<view style="margin-top: 40rpx;">
<u-button text="提交" type="primary"></u-button>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped>
.box{
width: 82vw;
border-radius: 16rpx;
background: #ffffffeb;
margin-left:5%;
}
</style>
... ...
<template>
<view class="main">
<view class="" style="margin-bottom: 40rpx;">
<u-input
placeholder="请输入"
prefixIcon="search"
border="surround"
v-model="value"
@change="change"
>
<u-text
text="城市"
suffixIcon="arrow-down-fill"
slot="prefix"
margin="0 3px 0 0"
type="tips"
@click="goSearch"
></u-text>
</u-input>
</view>
<view class="page">
<scroll-view id="left-scroll" class="left-box" :scroll-y="true" :scroll-top="leftTop">
<view class="left-box_item" :class="{'left-box_active':index==current}" v-for="(item,index) in category"
@click="changeIndex(index)">
{{item.name}}
</view>
</scroll-view>
<scroll-view class="right-box" :scroll-y="true">
<swiper class="swiper" :current="current" :vertical="true" @change="changeSwiper">
<swiper-item v-for="(item,index) in category">
<u-grid :border="false" col="3" >
<u-grid-item :customStyle="{marginBottom:'24rpx'}" v-for="(tool,toolIndex) in item.list"
:key="toolIndex" @click="jumpUrl(tool.url)">
<image class="grid-icon" src="@/static/images/ic_mc.png" mode=""></image>
<text class="grid-text">{{tool.name}}</text>
</u-grid-item>
<!-- <block v-if="index==0">
<u-grid-item :customStyle="{marginBottom:'24rpx'}" @click="addTool()">
<image class="grid-icon" src="@/static/images/ic_tj.png" mode=""></image>
<text class="grid-text">添加功能</text>
</u-grid-item>
</block> -->
</u-grid>
</swiper-item>
</swiper>
</scroll-view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
keyword: '',
current: 0,
leftTop: 0,
value:'',
category: [{
name:'主题管理',
list:[
{
name:'档案搜索',
url:'/pages2/mainManage/search'
},
{
name:'特种设备单位',
url:'/pages2/mainManage/device'
},{
name:'无照主体',
url:'/pages2/mainManage/noPhoto'
},{
name:'地图分布',
url:'/pages2/mainManage/map'
},{
name:'严重失信名录',
url:'/pages2/mainManage/warning'
},{
name:'经营异常名录',
url:'/pages2/mainManage/unusually'
},{
name:'信用修复记录',
url:'/pages2/mainManage/fix'
},
]
}, {name:'证照管理'}, {name:'日常监督'}, {name:'明厨亮灶'}, {name:'综合市场'}, {name:'互动监督'}, {name:'执法办案'}, {name:'抽检处置'}, {name:'特种设备'}, {name:'统计分析'}, {name:'常用工具'}, {name:'我的数据'}],
}
},
methods: {
jumpUrl(url) {
uni.navigateTo({
url: url
})
},
change(e){
},
changeSwiper(e) {
this.changeIndex(e.detail.current);
},
goSearch(){
uni.navigateTo({
url:"/pages/subPages/moreChoose"
})
},
changeIndex(val) {
this.current = val;
let count = this.category.length;
const query = uni.createSelectorQuery().in(this);
let nodesRef = query.select('#left-scroll');
let that = this;
nodesRef.boundingClientRect(res => {
this.$nextTick(() => {
var height = res.height || 0;
if (height > 0 && count > 0) {
that.leftTop = val / count * height;
}
});
}).exec();
}
}
}
</script>
<style scoped lang="scss">
.main{
background: #f7f8faff;
padding: 24rpx;
}
.flexB{
display: flex;
align-items: center;
}
.page {
display: flex;
flex-direction: row;
justify-content: space-between;
padding-right: 28rpx;
box-sizing: border-box;
}
.left-box {
width: 160rpx;
height: calc(100vh - 100px);
&_item {
width: 160rpx;
height: 104rpx;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 0 24rpx;
box-sizing: border-box;
color: rgb(100, 101, 102);
font-size: 26rpx;
}
&_active {
width: 160rpx;
height: 104rpx;
font-weight: 600;
font-size: 28rpx;
color: rgba(46, 122, 253, 1);
border-radius: 32rpx 0 0 32rpx;
background: rgb(255, 255, 255);
}
}
.search-box{
margin: 24rpx!important;
}
.right-box {
width: 542rpx;
height: calc(100vh - 100px);
border-radius: 16rpx;
background: rgb(255, 255, 255);
padding: 28rpx 0;
box-sizing: border-box;
.swiper {
height: 100%;
}
.grid-icon {
display: block;
margin-bottom: 16rpx;
width: 88rpx;
height: 88rpx;
border-radius: 24rpx;
background: rgb(242, 246, 254);
}
.grid-text {
color: rgba(0, 0, 0, 0.9);
font-size: 24rpx;
}
}
</style>
... ...
<template>
<view class="main">
<view class="" style="margin-bottom: 40rpx;">
<u-search shape="round"></u-search>
</view>
<view style="margin-bottom: 32rpx;">
<view class="flexB">
<view class="tip">
<image src="../../static/local.png" style="width: 32rpx; height: 32rpx;" mode=""></image>
</view>
<p>定位/最近访问</p>
</view>
<view class="flexB">
<view class="box" v-for="item in 4">
</view>
</view>
</view>
<view style="margin-bottom: 32rpx;">
<view class="flexB">
<view class="tip">
<image src="../../static/huo.png" style="width: 32rpx; height: 32rpx;" mode=""></image>
</view>
<p>热门城市</p>
</view>
<view class="flexB">
<view class="box" v-for="item in 4">
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
.main{
background: #f7f8faff;
padding: 24rpx;
}
.flexB{
display: flex;
align-items: center;
}
.box{
width: 154rpx;
height: 60rpx;
border-radius: 8rpx;
opacity: 1;
border: 0 solid #979797ff;
background: #ecf2feff;
margin-right: 24rpx;
}
</style>
... ...
<template>
<view class="main">
<view class="flexB" style="padding: 24rpx;">
<view class="" @click="goRot('/pages/subPages/moreSearch')" style="margin-right: 24rpx;">
<u-input
placeholder="请输入"
prefixIcon="search"
border="surround"
v-model="value"
shape="circle"
style=""
@change="change"
>
<view slot="prefix" @click="goRot('/pages/subPages/moreChoose')">
<u-text
text="城市"
suffixIcon="arrow-down-fill"
margin="0 3px 0 0"
type="tips"
></u-text>
</view>
</u-input>
</view>
<view class="" style="width: 30%;">
<u-button shape="circle" type="primary" size="small" text="帮我找" @click="goHub"></u-button>
</view>
</view>
<view class=" " v-if="list">
<view class="" style="background: white">
<view class="">
<u-sticky bgColor="#fff">
<u-tabs :list="list1"></u-tabs>
</u-sticky>
</view>
<view class="">
<view class="box1 flexB " style="margin: 0 24px;" @click="goPP">
<u-text text="品牌"
size="12"
suffixIcon="arrow-down-fill"
margin="0 3px 0 0">
</u-text>
</view>
</view>
</view>
<view style="padding: 0 24rpx 24rpx 24rpx;">
<item></item>
<item-sell></item-sell>
</view>
</view>
<view class="" v-else>
<view style="margin-bottom: 32rpx;">
<view class="flexB" style="margin-bottom: 32rpx">
<view class="tip" style="margin-right: 12rpx">
<image src="../../static/local.png" style="width: 32rpx; height: 32rpx;" mode=""></image>
</view>
<p>定位/最近访问</p>
</view>
<view class="flexB">
<view class="box" v-for="item in 4">
</view>
</view>
</view>
<view style="margin-bottom: 32rpx;">
<view class="flexB" style="margin-bottom: 32rpx">
<view class="tip" style="margin-right: 12rpx">
<image src="../../static/huo.png" style="width: 32rpx; height: 32rpx;" mode=""></image>
</view>
<p>热门城市</p>
</view>
<view class="flexB">
<view class="box" v-for="item in 4">
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import item from '@/component/listItem/listItem.vue'
import ItemSell from '@/component/sellItem/sellItem.vue'
export default {
components:{
item,ItemSell
},
data() {
return {
list:[{
},{}],
list1: [{
name: '出租',
}, {
name: '出售',
}, {
name: '求租'
}, {
name: '求售'
}
]
}
},
methods: {
goPP(){
uni.navigateTo({
url:"/pages/sellAndBuy/logo"
})
}
}
}
</script>
<style scoped lang="scss">
.main{
background: #f7f8faff;
}
.flexB{
display: flex;
align-items: center;
}
.box{
width: 154rpx;
height: 60rpx;
border-radius: 8rpx;
border: 0 solid #979797ff;
background: #ecf2feff;
margin-right: 24rpx;
}
.box1{
width: 102rpx;
height: 48rpx;
border-radius: 8rpx;
background: #f0f2f5ff;
font-size: 24rpx;
}
/deep/ .u-tabs__wrapper__nav{
display: flex;
justify-content: space-around;
}
</style>
... ...