页面修稿

This commit is contained in:
THK3121 2023-09-05 16:34:37 +08:00
parent 9ad08197c5
commit e392079bc9
8 changed files with 74 additions and 64 deletions

View File

@ -9,8 +9,8 @@ let httpApiThree
// 网络接口修改此字符 小程序域名要求https // 网络接口修改此字符 小程序域名要求https
// let httpApi = 'http://192.168.31.110:8324' // 测试 // let httpApi = 'http://192.168.31.110:8324' // 测试
if (process.env.NODE_ENV === "development") { if (process.env.NODE_ENV === "development") {
httpApi = 'https://shop.lihaink.cn' // 生产 // httpApi = 'https://shop.lihaink.cn' // 生产
// httpApi = "https://crmeb-test.shop.lihaink.cn" httpApi = "https://crmeb-test.shop.lihaink.cn"
// httpApi = "http://192.168.0.222" // httpApi = "http://192.168.0.222"
// httpApi = "http://192.168.0.108:8325" // httpApi = "http://192.168.0.108:8325"
// httpApi = 'http://192.168.0.108:8325' // httpApi = 'http://192.168.0.108:8325'

View File

@ -23,9 +23,8 @@
:value='sotreParam.keyword' @confirm="searchSubmit"></input> --> :value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称" <u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
v-model="sotreParam.keyword" class="serch_cls"></u-search> v-model="sotreParam.keyword" class="serch_cls"></u-search>
<u--image @tap="searchSubmit" class="img_cls" style="position: absolute; top: 3px;right: 3px;" <u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
:showLoading="true" src="/static/images/GXSC/SS.png" width="115.65rpx" src="/static/images/GXSC/SS.png" width="115.65rpx" height="56.82rpx"></u--image>
height="56.82rpx"></u--image>
</view> </view>
</view> </view>
@ -1299,13 +1298,11 @@
} }
} }
.guanbi { .img_cls {
width: 20px; position: absolute;
height: 20px; top: 50%;
margin: 30px auto; right: 7rpx;
} transform: translateY(-50%);
.pop {
z-index: 1;
} }
</style> </style>

View File

@ -26,9 +26,8 @@
:value='sotreParam.keyword' @confirm="searchSubmit"></input> --> :value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称" <u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
v-model="sotreParam.keyword" class="serch_cls"></u-search> v-model="sotreParam.keyword" class="serch_cls"></u-search>
<u--image @tap="searchSubmit" class="img_cls" style="position: absolute; top: 3px;right: 3px;" <u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
:showLoading="true" src="/static/images/GXSC/SS.png" width="115.65rpx" src="/static/images/GXSC/SS.png" width="115.65rpx" height="56.82rpx"></u--image>
height="56.82rpx"></u--image>
</view> </view>
</view> </view>
@ -1302,13 +1301,11 @@
} }
} }
.guanbi { .img_cls {
width: 20px; position: absolute;
height: 20px; top: 50%;
margin: 30px auto; right: 7rpx;
} transform: translateY(-50%);
.pop {
z-index: 1;
} }
</style> </style>

View File

@ -25,9 +25,8 @@
:value='sotreParam.keyword' @confirm="searchSubmit"></input> --> :value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
<u-search borderColor="#FF6D20" bgColor="white" @change="test" :showAction="false" <u-search borderColor="#FF6D20" bgColor="white" @change="test" :showAction="false"
placeholder="请输入..." v-model="sotreParam.keyword" class="serch_cls"></u-search> placeholder="请输入..." v-model="sotreParam.keyword" class="serch_cls"></u-search>
<u--image @tap="searchSubmit" class="img_cls" style="position: absolute; top: 3px;right: 3px;" <u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
:showLoading="true" src="/static/images/GXSC/SS.png" width="115.65rpx" src="/static/images/GXSC/SS.png" width="115.65rpx" height="56.82rpx"></u--image>
height="56.82rpx"></u--image>
</view> </view>
<view class='iconfont search-right' <view class='iconfont search-right'
@click="goMap(`/pages/nongKe/supply_chain/maps?street_id=${street_id}`)"> @click="goMap(`/pages/nongKe/supply_chain/maps?street_id=${street_id}`)">
@ -1366,6 +1365,14 @@
margin: 30px auto; margin: 30px auto;
} }
.img_cls {
position: absolute;
top: 50%;
right: 7rpx;
transform: translateY(-50%);
}
.pop { .pop {
z-index: 1; z-index: 1;
} }

View File

@ -24,9 +24,8 @@
:value='sotreParam.keyword' @confirm="searchSubmit"></input> --> :value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称" <u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
v-model="sotreParam.keyword" class="serch_cls"></u-search> v-model="sotreParam.keyword" class="serch_cls"></u-search>
<u--image @tap="searchSubmit" class="img_cls" style="position: absolute; top: 3px;right: 3px;" <u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
:showLoading="true" src="/static/images/GXSC/SS.png" width="115.65rpx" src="/static/images/GXSC/SS.png" width="115.65rpx" height="56.82rpx"></u--image>
height="56.82rpx"></u--image>
</view> </view>
</view> </view>
@ -379,6 +378,7 @@
if (options.street_id != undefined) { if (options.street_id != undefined) {
this.sotreParam.street_id = options.street_id this.sotreParam.street_id = options.street_id
} }
this.credit_buy = options.credit_buy this.credit_buy = options.credit_buy
this.sotreParam.type_id = options.type_id this.sotreParam.type_id = options.type_id
this.sotreParam.type_id = options.type_id && options.type_id.split(',').toString() || '' this.sotreParam.type_id = options.type_id && options.type_id.split(',').toString() || ''
@ -396,7 +396,14 @@
let index = this.menuList.findIndex((item) => { let index = this.menuList.findIndex((item) => {
return item.merchant_category_id == options.merchant_category_id; return item.merchant_category_id == options.merchant_category_id;
}); });
if (options.tit) {
this.titName = "先货后款"
return
}
this.titName = this.menuList[index].category_name this.titName = this.menuList[index].category_name
// console.log(this.menuList) // console.log(this.menuList)
}) })
// console.log(this.menuList) // console.log(this.menuList)
@ -1320,13 +1327,11 @@
} }
} }
.guanbi { .img_cls {
width: 20px; position: absolute;
height: 20px; top: 50%;
margin: 30px auto; right: 7rpx;
} transform: translateY(-50%);
.pop {
z-index: 1;
} }
</style> </style>

View File

@ -26,9 +26,8 @@
:value='sotreParam.keyword' @confirm="searchSubmit"></input> --> :value='sotreParam.keyword' @confirm="searchSubmit"></input> -->
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称" <u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
v-model="sotreParam.keyword" class="serch_cls"></u-search> v-model="sotreParam.keyword" class="serch_cls"></u-search>
<u--image @tap="searchSubmit" class="img_cls" style="position: absolute; top: 3px;right: 3px;" <u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
:showLoading="true" src="/static/images/GXSC/SS.png" width="115.65rpx" src="/static/images/GXSC/SS.png" width="115.65rpx" height="56.82rpx"></u--image>
height="56.82rpx"></u--image>
</view> </view>
</view> </view>
@ -1302,13 +1301,11 @@
} }
} }
.guanbi { .img_cls {
width: 20px; position: absolute;
height: 20px; top: 50%;
margin: 30px auto; right: 7rpx;
} transform: translateY(-50%);
.pop {
z-index: 1;
} }
</style> </style>

View File

@ -16,7 +16,7 @@
<view class="header" > <view class="header">
<view class="tool-bar"> <view class="tool-bar">
<view class='xiangzuo' @tap='goBack'> <view class='xiangzuo' @tap='goBack'>
<image src="@/static/images/icon-back.png" mode="aspectFit"></image> <image src="@/static/images/icon-back.png" mode="aspectFit"></image>
@ -1338,8 +1338,9 @@
.xiangzuo { .xiangzuo {
width: 23rpx; width: 23rpx;
height: 42rpx; height: 42rpx;
margin-right: 40rpx; margin-right: 40rpx;
margin-left: 20rpx; margin-left: 20rpx;
image { image {
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@ -1,6 +1,7 @@
<template> <template>
<view class="conent"> <view class="conent">
<view class="con_kuo" @click="navigator(`/pages/nongKe/supply_chain/supplier?type_id=12&isDetail=1&product_type=98&cate_id=${id}`)"> <view class="con_kuo"
@click="navigator(`/pages/nongKe/supply_chain/supplierA?tit=1&type_id=12&isDetail=1&product_type=98&cate_id=${id}`)">
<image class="con_img" src="@/static/images/bg1.png" mode=""></image> <image class="con_img" src="@/static/images/bg1.png" mode=""></image>
<image class="con_ico" src="@/static/images/bgic1.png" mode=""></image> <image class="con_ico" src="@/static/images/bgic1.png" mode=""></image>
<view class="con_text"> <view class="con_text">
@ -8,9 +9,10 @@
<span>先付款后发货</span> <span>先付款后发货</span>
</view> </view>
</view> </view>
<view class="con_kuo" @click="navigator(`/pages/nongKe/supply_chain/supplier?type_id=12&isDetail=1&product_type=98&cate_id=${id}&credit_buy=1`)"> <view class="con_kuo"
@click="navigator(`/pages/nongKe/supply_chain/supplier?type_id=12&isDetail=1&product_type=98&cate_id=${id}&credit_buy=1`)">
<image class="con_img" src="@/static/images/bg2.png" mode=""></image> <image class="con_img" src="@/static/images/bg2.png" mode=""></image>
<image class="con_ico" src="@/static/images/bgic2.png" mode=""></image> <image class="con_ico" src="@/static/images/bgic2.png" mode=""></image>
<view class="con_text"> <view class="con_text">
<h3>先货后款</h3> <h3>先货后款</h3>
<span>先发货后付款</span> <span>先发货后付款</span>
@ -21,16 +23,16 @@
<script> <script>
export default { export default {
data(){ data() {
return{ return {
id:'' id: ''
} }
}, },
onLoad(option) { onLoad(option) {
this.id=option.cate_id this.id = option.cate_id
}, },
methods:{ methods: {
navigator(url, t) { navigator(url, t) {
uni.navigateTo({ uni.navigateTo({
url: url url: url
@ -38,33 +40,37 @@
}, },
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
*{ * {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
.conent{
.conent {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
margin-top: 20px; margin-top: 20px;
.con_kuo{
.con_kuo {
position: relative; position: relative;
.con_img{
.con_img {
width: 192px; width: 192px;
height: 92px; height: 92px;
} }
.con_ico{
.con_ico {
position: absolute; position: absolute;
left: 25px; left: 25px;
top: 32px; top: 32px;
width: 31px; width: 31px;
height: 32px; height: 32px;
} }
.con_text{
.con_text {
position: absolute; position: absolute;
left: 66px; left: 66px;
top: 20px; top: 20px;