修改tabbar、轮播图等

This commit is contained in:
cc_zbp 2023-05-13 10:37:10 +08:00
parent 34b34d9580
commit 42efea0daa
11 changed files with 75 additions and 114 deletions
pages.json
pages
gather
home
nongKe/supply_chain
plant_release
store/entryProcess
supply_chains
user
static/tabbar_icon

@ -205,8 +205,8 @@
"path": "supply_chain/supplier", "path": "supply_chain/supplier",
"style": { "style": {
"navigationBarTitleText": "供货采购", "navigationBarTitleText": "供货采购",
"enablePullDownRefresh": true, "enablePullDownRefresh": true
"navigationStyle": "custom" // "navigationStyle": "custom"
} }
}, { }, {
@ -701,26 +701,22 @@
"style": { "style": {
"navigationBarTitleText": "店铺资质信息" "navigationBarTitleText": "店铺资质信息"
} }
}, {
"path": "settledApply/settledApply",
"style": {
"navigationBarTitleText": "入驻申请",
"enablePullDownRefresh": true
}
}, {
"path": "entryProcess/entryProcess",
"style": {
"navigationBarTitleText": "入驻流程",
"enablePullDownRefresh": false
}
} }
,{ ]
"path" : "settledApply/settledApply",
"style" :
{
"navigationBarTitleText": "入驻申请",
"enablePullDownRefresh": true
}
}
,{
"path" : "entryProcess/entryProcess",
"style" :
{
"navigationBarTitleText": "入驻流程",
"enablePullDownRefresh": false
}
}
]
}, },
{ {
"root": "pages/admin", "root": "pages/admin",
@ -1285,32 +1281,32 @@
"backgroundColor": "#ffffff", "backgroundColor": "#ffffff",
"list": [{ "list": [{
"pagePath": "pages/home/index", "pagePath": "pages/home/index",
"iconPath": "static/images/1-001.png", "iconPath": "static/tabbar_icon/a.png",
"selectedIconPath": "static/images/1-002.png", "selectedIconPath": "static/tabbar_icon/a-a.png",
"text": "泸州" "text": "泸州"
}, },
{ {
"pagePath": "pages/gather/gather", "pagePath": "pages/gather/gather",
"iconPath": "static/images/2-001.png", "iconPath": "static/tabbar_icon/b.png",
"selectedIconPath": "static/images/2-002.png", "selectedIconPath": "static/tabbar_icon/b-a.png",
"text": "工作台" "text": "工作台"
}, },
{ {
"pagePath": "pages/plant_release/index", "pagePath": "pages/plant_release/index",
"iconPath": "static/tabbar_icon/d.png", "iconPath": "static/tabbar_icon/d.png",
"selectedIconPath": "static/tabbar_icon/d.png", "selectedIconPath": "static/tabbar_icon/d-a.png",
"text": "逛逛" "text": "逛逛"
}, },
{ {
"pagePath": "pages/supply_chains/supply_chains", "pagePath": "pages/supply_chains/supply_chains",
"iconPath": "static/images/3-001.png", "iconPath": "static/tabbar_icon/c.png",
"selectedIconPath": "static/images/3-002.png", "selectedIconPath": "static/tabbar_icon/c-a.png",
"text": "供应" "text": "供应"
}, },
{ {
"pagePath": "pages/user/index", "pagePath": "pages/user/index",
"iconPath": "static/images/4-001.png", "iconPath": "static/tabbar_icon/e.png",
"selectedIconPath": "static/images/4-002.png", "selectedIconPath": "static/tabbar_icon/e-a.png",
"text": "我的" "text": "我的"
} }
] ]

@ -1,6 +1,16 @@
<template> <template>
<view class="gather"> <view class="gather">
<u-swiper :list="swiperList" keyName="img" :autoplay="true" height="491.23rpx"></u-swiper> <view class="supply_chains-head">
<swiper class="swiper l_center" :indicator-dots="swiper.indicatorDots" :autoplay="swiper.autoplay"
:interval="swiper.interval" :duration="swiper.duration" indicator-active-color="#fff">
<block v-for="(item,i) in swiper['url']" :key="i">
<swiper-item class="swi_item">
<u--image :showLoading="true" :src="item.img" width="750rpx" height="500rpx" mode="aspectFill">
</u--image>
</swiper-item>
</block>
</swiper>
</view>
<view class="special_work com" v-if="userInfoData.mer_info.type_id === 12"> <view class="special_work com" v-if="userInfoData.mer_info.type_id === 12">
<!-- <view class="special_work com" v-if="true"> --> <!-- <view class="special_work com" v-if="true"> -->
<view class="title">市级供应链</view> <view class="title">市级供应链</view>
@ -155,13 +165,13 @@
</view> </view>
<view class="" v-if="userInfoData.mer_info">暂无您的工作台</view> <view class="" v-if="userInfoData.mer_info">暂无您的工作台</view>
</view> </view>
<m-tabbar native> <!-- <m-tabbar native>
<template v-slot:tabbar_index_2> <template v-slot:tabbar_index_2>
<view class="custom_style"> <view class="custom_style">
<view class="custom_style_icon"></view> <view class="custom_style_icon"></view>
</view> </view>
</template> </template>
</m-tabbar> </m-tabbar> -->
</view> </view>
</template> </template>
@ -224,7 +234,7 @@
}, },
created() {}, created() {},
onLoad() { onLoad() {
uni.hideTabBar() // uni.hideTabBar()
this.getBanner() this.getBanner()
}, },
onShow() { onShow() {
@ -247,9 +257,9 @@
async getBanner() { async getBanner() {
const { data } = await getDiy({ id: 0 }) const { data } = await getDiy({ id: 0 })
if (data.value['1683638943100000']) { if (data.value['1683638943100000']) {
this.swiperList = data.value['1683638943100000'].swiperConfig.list this.swiper.url = data.value['1683638943100000'].swiperConfig.list
} else { } else {
this.swiperList = data.value['1683875164005000'].swiperConfig.list this.swiper.url = data.value['1683875164005000'].swiperConfig.list
} }
}, },
async editGoodsClose() { async editGoodsClose() {

@ -64,13 +64,13 @@
<view class="bg_color"></view> <view class="bg_color"></view>
<m-tabbar native> <!-- <m-tabbar native>
<template v-slot:tabbar_index_2> <template v-slot:tabbar_index_2>
<view class="custom_style"> <view class="custom_style">
<view class="custom_style_icon"></view> <view class="custom_style_icon"></view>
</view> </view>
</template> </template>
</m-tabbar> </m-tabbar> -->
</view> </view>
</template> </template>
@ -243,7 +243,6 @@
<style lang="scss"> <style lang="scss">
page { page {
// background-color: rgba(255, 255, 255, 0.2);
background-color: #F5F5F5; background-color: #F5F5F5;
} }
@ -268,7 +267,6 @@
.swi_item { .swi_item {
width: 100%; width: 100%;
height: 500rpx; height: 500rpx;
// border-radius: 8px;
} }
} }
} }

@ -1,13 +1,13 @@
<template> <template>
<view class="supplier" :style="{height: winHeight + 'px' }"> <view class="supplier" :style="{height: winHeight + 'px' }">
<view class="head-wrapper" :style="'top:'+statusBarHeight"> <!-- <view class="head-wrapper" :style="'top:'+statusBarHeight">
<view class="head-menu"> <view class="head-menu">
<view class='iconfont icon-xiangzuo' @click="returns"></view> <view class='iconfont icon-xiangzuo' @click="returns"></view>
<view class="iconfont icon-shouye4" @click="goHome"></view> <view class="iconfont icon-shouye4" @click="goHome"></view>
</view> </view>
</view> </view> -->
<view class="header_warpper"> <view class="header_warpper">
<u-swiper :list="swiperList" keyName="img" :autoplay="true" height="491.23rpx"></u-swiper> <!-- <u-swiper :list="swiperList" keyName="img" :autoplay="true" height="491.23rpx"></u-swiper> -->
<!-- <view class="head_search flex_a_c"> <!-- <view class="head_search flex_a_c">
<view class="search_content flex_a_c_j_sb"> <view class="search_content flex_a_c_j_sb">
<view class="flex_a_c"> <view class="flex_a_c">

@ -125,13 +125,13 @@
</uni-popup> </uni-popup>
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
<m-tabbar native> <!-- <m-tabbar native>
<template v-slot:tabbar_index_2> <template v-slot:tabbar_index_2>
<view class="custom_style"> <view class="custom_style">
<view class="custom_style_icon"></view> <view class="custom_style_icon"></view>
</view> </view>
</template> </template>
</m-tabbar> </m-tabbar> -->
</view> </view>
</template> </template>
@ -213,7 +213,7 @@
// #endif // #endif
}, },
onLoad(options) { onLoad(options) {
uni.hideTabBar() // uni.hideTabBar()
this.id = options.id; this.id = options.id;
this.order_id = options.order_id; this.order_id = options.order_id;
console.log("options.order_id", options.order_id) console.log("options.order_id", options.order_id)

@ -1,16 +1,20 @@
<template> <template>
<view class="entryProcess"> <view class="entryProcess">
<block v-for="(item,index) in 3" :key="index"> <view class="record flex">
<view class="record flex"> <view class="circle"></view>
<view class="circle"></view> <view class="cont-box">
<view class="cont-box"> <view class="title">入驻申请</view>
<view class="title">入驻申请</view> <view class="text-box">
<view class="text-box"> <view class="have-filled" v-if="false"></view>
<view class=""></view> <view class="get-through" v-if="true">
<text>1填写入驻申请资本资料</text>
<text>请按照营业执照和店招真实信息填写入驻基
本材料进行审核</text>
<button>开始填写</button>
</view> </view>
</view> </view>
</view> </view>
</block> </view>
</view> </view>
</template> </template>
@ -18,9 +22,7 @@
export default { export default {
data() { data() {
return { return {
entryData: [{
}]
} }
}, },
onLoad() {}, onLoad() {},
@ -34,7 +36,7 @@
<style lang="scss"> <style lang="scss">
.entryProcess { .entryProcess {
height: 1624.56rpx; height: 100%;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%); background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);
:last-child { :last-child {
@ -92,4 +94,10 @@
} }
} }
} }
.text-box.get-through {
width: 100%;
height: 100%;
background-color: #fff;
}
</style> </style>

@ -12,18 +12,6 @@
</block> </block>
</swiper> </swiper>
</view> </view>
<!-- <view class="search_wrapper flex_a_c_j_sb">
<navigator url="/pages/plantGrass/plant_search/index" hover-class="none" class="search_content flex_a_c_j_sb">
<view class="flex_a_c">
<view class="iconfont icon-sousuo"></view>
<input type="text" v-model="keyword" placeholder="搜索想看的文章">
</view>
<button class="search_btn">搜索</button>
</navigator>
<view class="iconlihai lihai-gengduo" @click="showPicker=true"></view>
</view> -->
<view class="shop_wrapper"> <view class="shop_wrapper">
<navigator class="l_yun" hover-class="none" <navigator class="l_yun" hover-class="none"
:url="`/pages/nongKe/supply_chain/supplier?type_id=10&street_id=${sotreParam.street_id}`"> :url="`/pages/nongKe/supply_chain/supplier?type_id=10&street_id=${sotreParam.street_id}`">
@ -42,46 +30,10 @@
</navigator> </navigator>
</view> </view>
<!-- <view class="bazaar_wrapper">
<navigator class="cloud" hover-class="none"
:url="`/pages/nongKe/supply_chain/supplier?street_id=${sotreParam.street_id}`">
<view class="top_label">
<view class="label_item">{{district}}供销</view>
<view class="label_item town_label" style="z-index: -2;">{{town}}综合云市场</view>
</view>
<view class="cont_box flex_a_c_j_sb">
<view class="l_msg flex_a_c">
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/8/shichang.png"
mode="aspectFill"></image>
<view>
<h3>供销综合云市场</h3>
<view>综合云市场</view>
</view>
</view>
<view class="r_btn">去逛逛</view>
</view>
</navigator>
<navigator class="lihai" hover-class="none" url="/pages/nongKe/supply_chain/supplier">
<view class="top_label">
<view class="label_item">平台线上仓库</view>
</view>
<view class="cont_box flex_a_c_j_sb">
<view class="l_msg flex_a_c">
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/8/lihai.png"
mode="aspectFill"></image>
<view>
<h3>里海云仓</h3>
<view>里海平台云仓库</view>
</view>
</view>
<view class="r_btn">去逛逛</view>
</view>
</navigator>
</view> -->
<!-- 滚动 --> <!-- 滚动 -->
<scroll-view scroll-y="true" class="article_box"> <scroll-view scroll-y="true" class="article_box">
<view @click="navigat"> <!-- @click="navigat" -->
<view>
<block v-for="item in ArticleHotList" :key="item.article_id"> <block v-for="item in ArticleHotList" :key="item.article_id">
<view class="article_item"> <view class="article_item">
<view class="title">{{item.title}}</view> <view class="title">{{item.title}}</view>
@ -93,8 +45,6 @@
<view class="tabs_wrapper"> <view class="tabs_wrapper">
<!-- <u-tabs :list="tabsData.list" @click="tabsChange" :activeStyle="tabsData.activeStyle"
:inactiveStyle="tabsData.inactiveStyle" lineHeight="0" keyName="cate_name"></u-tabs> -->
<view class="title flex_a_c">最新动态</view> <view class="title flex_a_c">最新动态</view>
</view> </view>
@ -118,7 +68,6 @@
</view> </view>
</view> </view>
</block> </block>
<!-- <WaterfallsFlow :wfList='cateGoods' :isFind="true" @likeToggle="likeToggle" /> -->
</view> </view>
<view class="empty_wrapper" v-if="emptyShow"> <view class="empty_wrapper" v-if="emptyShow">
<u-empty :show="emptyShow" mode="list" icon="http://cdn.uviewui.com/uview/empty/list.png"></u-empty> <u-empty :show="emptyShow" mode="list" icon="http://cdn.uviewui.com/uview/empty/list.png"></u-empty>
@ -128,13 +77,13 @@
@cancel="showPicker = false" @change="changeHandler" keyName="name"></u-picker> @cancel="showPicker = false" @change="changeHandler" keyName="name"></u-picker>
<view class="bg_color"></view> <view class="bg_color"></view>
<m-tabbar native> <!-- <m-tabbar native>
<template v-slot:tabbar_index_2> <template v-slot:tabbar_index_2>
<view class="custom_style"> <view class="custom_style">
<view class="custom_style_icon"></view> <view class="custom_style_icon"></view>
</view> </view>
</template> </template>
</m-tabbar> </m-tabbar> -->
</view> </view>
</template> </template>

@ -221,13 +221,13 @@
</view> </view>
</view> </view>
<m-tabbar native> <!-- <m-tabbar native>
<template v-slot:tabbar_index_2> <template v-slot:tabbar_index_2>
<view class="custom_style"> <view class="custom_style">
<view class="custom_style_icon"></view> <view class="custom_style_icon"></view>
</view> </view>
</template> </template>
</m-tabbar> </m-tabbar> -->
</view> </view>
</template> </template>
<script> <script>

BIN
static/tabbar_icon/d-2.png Normal file

Binary file not shown.

After

(image error) Size: 4.0 KiB

BIN
static/tabbar_icon/d-a.png Normal file

Binary file not shown.

After

(image error) Size: 1.4 KiB

Binary file not shown.

Before

(image error) Size: 4.0 KiB

After

(image error) Size: 1.3 KiB