From c62ab6f2ff02e1111ad31934fd8faeda5ab9e5b7 Mon Sep 17 00:00:00 2001
From: Joker_Yxin <2509699647@qq.com>
Date: Wed, 9 Oct 2024 15:00:30 +0800
Subject: [PATCH] 1
---
components/tabbar/tabbar.vue | 16 ++++++++--------
main.js | 6 ++++--
pages.json | 10 +++++++---
pages/Iproposal/Iproposal.scss | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pages/Iproposal/Iproposal.vue | 390 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pages/accepting/accepting.vue | 8 ++++----
pages/activityAdd/activityAdd.vue | 10 +++++-----
pages/advertisement/advertisement.scss | 9 ++++++---
pages/advertisement/advertisement.vue | 17 +++++++++--------
pages/advertisementAdd/advertisementAdd.vue | 4 ++--
pages/apply/apply.vue | 6 +++---
pages/applyDetail/applyDetail.vue | 4 ++--
pages/complaint/complaint.vue | 2 +-
pages/details/details.vue | 2 +-
pages/field/field.scss | 4 +---
pages/field/field.vue | 29 ++++++++++++++++++-----------
pages/home/home.scss | 5 ++++-
pages/home/home.vue | 44 ++++++++++++++++++++++++++++----------------
pages/leaseAdd/leaseAdd.vue | 10 +++++-----
pages/login/login.vue | 12 ++++++------
pages/message/message.vue | 21 +++++++++++----------
pages/my/my.vue | 32 +++++++++++++++++---------------
pages/mycreated/mycreated.vue | 20 +++++++++++++-------
pages/participation/participation.vue | 27 ++++++++++++++++-----------
pages/projectManagement/projectManagement.vue | 4 ++--
pages/questionnaire/questionnaire.vue | 25 +++++++++----------------
pages/record/record.vue | 4 ++--
pages/recordService/recordService.vue | 6 +++---
pages/repair/repair.vue | 2 +-
pages/salesReporting/salesReporting.vue | 2 +-
pages/salesSta/salesSta.vue | 2 +-
pages/servicedetails/servicedetails.vue | 2 +-
pages/servicerecords/servicerecords.vue | 6 +++---
pages/shops/shops.vue | 28 +++++++++++++---------------
pages/workbench/workbench.vue | 36 +++++++++++++++++++++---------------
utils/request.js | 10 +++-------
36 files changed, 743 insertions(+), 194 deletions(-)
create mode 100644 pages/Iproposal/Iproposal.scss
create mode 100644 pages/Iproposal/Iproposal.vue
diff --git a/components/tabbar/tabbar.vue b/components/tabbar/tabbar.vue
index bd810bb..01aafad 100644
--- a/components/tabbar/tabbar.vue
+++ b/components/tabbar/tabbar.vue
@@ -20,26 +20,26 @@
{
index: 0,
name: '首页',
- img: `${this.$imgs}/tabbar/tab_01.png`,
- acImg: `${this.$imgs}/tabbar/tab_02.png`,
+ img: '/static/tabbar/tab_01.png',
+ acImg: '/static/tabbar/tab_02.png',
},
{
index: 1,
name: '工作台',
- img: `${this.$imgs}/tabbar/tab_03.png`,
- acImg: `${this.$imgs}/tabbar/tab_04.png`
+ img: '/static/tabbar/tab_03.png',
+ acImg:'/static/tabbar/tab_04.png'
},
{
index: 2,
name: '消息',
- img: `${this.$imgs}/tabbar/tab_05.png`,
- acImg: `${this.$imgs}/tabbar/tab_06.png`
+ img: '/static/tabbar/tab_05.png',
+ acImg: '/static/tabbar/tab_06.png'
},
{
index: 3,
name: '我的',
- img: `${this.$imgs}/tabbar/tab_07.png`,
- acImg:`${this.$imgs}/tabbar/tab_08.png`
+ img: '/static/tabbar/tab_07.png',
+ acImg:'/static/tabbar/tab_08.png'
},
],
codeheight: 0,
diff --git a/main.js b/main.js
index 9bff4d6..6b42b04 100644
--- a/main.js
+++ b/main.js
@@ -9,11 +9,13 @@ import DialogBox from './components/DialogBox/DialogBox';
Vue.config.productionTip = false
Vue.prototype.$http = http
-Vue.prototype.$imgs = 'http://8.130.38.56:8027/local/file/static'
+Vue.prototype.$imgUrl = (url) => {
+ return ("http://8.130.38.56:8027/local/file/static" + url);
+};
+
// 全局组件
Vue.component('DialogBox', DialogBox);
-
//mescroll
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
diff --git a/pages.json b/pages.json
index 73ff9e6..f499329 100644
--- a/pages.json
+++ b/pages.json
@@ -211,10 +211,14 @@
"navigationBarTitleText": "销售统计",
"navigationBarBackgroundColor": "#FFFFFF"
}
+ },
+ {
+ "path": "pages/Iproposal/Iproposal",
+ "style": {
+ "navigationBarTitleText": "招商方案",
+ "navigationBarBackgroundColor": "#FFFFFF"
+ }
}
-
-
-
],
"globalStyle": {
"navigationBarTextStyle": "black"
diff --git a/pages/Iproposal/Iproposal.scss b/pages/Iproposal/Iproposal.scss
new file mode 100644
index 0000000..a9722a7
--- /dev/null
+++ b/pages/Iproposal/Iproposal.scss
@@ -0,0 +1,122 @@
+.page{
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ background-color: #f6f6f6;
+}
+
+.add-list{
+ padding: 0 4%;
+ background-color: #FFFFFF;
+ border-radius: 20rpx;
+ margin-top: 20rpx;
+ width: 100%;
+ padding-bottom: 150rpx;
+ .list{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ width: 100%;
+ height: 100rpx;
+ border-bottom: 2rpx solid #f6f6f6;
+ .title{
+ display: flex;
+ align-items: center;
+ height: 100%;
+ text{
+ font-size: 26rpx;
+ color: #222222;
+ }
+ .star{
+ color: red;
+ }
+ }
+ .content{
+ display: flex;
+ align-items: center;
+ text-align: right;
+ input{
+ width: 100%;
+ color: #222222;
+ font-size: 26rpx;
+ padding-top: 6rpx;
+ /* #ifdef MP */
+ padding-top: 5rpx;
+ /* #endif */
+ }
+ image {
+ width: 20rpx;
+ height: 20rpx;
+ margin-left: 10rpx;
+ /* #ifdef MP */
+ margin-top: 5rpx;
+ /* #endif */
+ }
+ }
+ }
+}
+
+/* 保存按钮 */
+.page-footer{
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ display: flex;
+ width: 100%;
+ height: 100rpx;
+ background-color: #FFFFFF;
+ padding-bottom: constant(safe-area-inset-bottom);
+ padding-bottom: env(safe-area-inset-bottom);
+ .footer-buy{
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ height: 100%;
+ .cart-add{
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+ height: 100rpx;
+ background-color: #3f9b6a;
+ text{
+ font-size: 28rpx;
+ color: #FFFFFF;
+ }
+ }
+ }
+}
+
+.feedback-data{
+ width: 100%;
+ padding-bottom: 20rpx;
+ border-bottom: 2rpx solid #f6f6f6;
+ .title{
+ display: flex;
+ align-items: center;
+ height: 100rpx;
+ text{
+ font-size: 26rpx;
+ color: #222222;
+ }
+ .star{
+ color: red;
+ }
+ }
+ .voucher-img{
+ display: flex;
+ align-items: center;
+ .voucher-list {
+ width: 33%;
+ height: 100%;
+ image{
+ width: 160rpx;
+ height: 160rpx;
+ border-radius: 10rpx;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/pages/Iproposal/Iproposal.vue b/pages/Iproposal/Iproposal.vue
new file mode 100644
index 0000000..adefbbc
--- /dev/null
+++ b/pages/Iproposal/Iproposal.vue
@@ -0,0 +1,390 @@
+
+
+
+
+
+
+ 招商方案名称
+ *
+
+
+
+
+
+
+
+ 规划方案
+ *
+
+
+
+
+
+
+
+
+
+
+ 招商政策与条件
+ *
+
+
+
+
+
+
+
+ 方案概述
+ *
+
+
+
+
+
+
+
+ 财务分析与投资回报
+ *
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/accepting/accepting.vue b/pages/accepting/accepting.vue
index 8183629..a7f443f 100644
--- a/pages/accepting/accepting.vue
+++ b/pages/accepting/accepting.vue
@@ -6,7 +6,7 @@
-
+
@@ -23,7 +23,7 @@
-
+
@@ -83,8 +83,8 @@
身份证正反面
-
-
+
+
diff --git a/pages/activityAdd/activityAdd.vue b/pages/activityAdd/activityAdd.vue
index 89bea2c..c19be51 100644
--- a/pages/activityAdd/activityAdd.vue
+++ b/pages/activityAdd/activityAdd.vue
@@ -44,7 +44,7 @@
-
+
@@ -54,7 +54,7 @@
-
+
@@ -64,7 +64,7 @@
-
+
@@ -74,7 +74,7 @@
-
+
@@ -86,7 +86,7 @@
-
+
diff --git a/pages/advertisement/advertisement.scss b/pages/advertisement/advertisement.scss
index ef40b5d..033edf7 100644
--- a/pages/advertisement/advertisement.scss
+++ b/pages/advertisement/advertisement.scss
@@ -89,10 +89,10 @@
.thumb{
display: flex;
align-items: center;
- width: 20%;
+ width: 30%;
image{
- width: 130rpx;
- height: 280rpx;
+ width: 100%;
+ // height: 280rpx;
}
}
.item{
@@ -120,6 +120,9 @@
.goods-list-txt {
width: 50%;
padding-right: 2%;
+ white-space: nowrap; /* 防止文本换行 */
+ overflow: hidden; /* 隐藏溢出的文本 */
+ text-overflow: ellipsis; /* 添加省略号 */
}
}
.goods-btn {
diff --git a/pages/advertisement/advertisement.vue b/pages/advertisement/advertisement.vue
index 100266f..70bea31 100644
--- a/pages/advertisement/advertisement.vue
+++ b/pages/advertisement/advertisement.vue
@@ -16,11 +16,11 @@
类型
-
+
租金
-
+
筛选
-
+
@@ -37,7 +37,7 @@
-
+
@@ -46,19 +46,20 @@
轮播顺序:{{item.rotationOrder}}
- 所属移动端:{{item.affiliation}}
+ 所属移动端:{{item.affiliation}}
投放定价:100元/天
- 历史平均点击率:80%
+ 历史平均点击率:80%
高频时段:18:00 - 20:00
- 单次可租赁时间:1天
+ 单次可租赁时间:1天
- 可租赁时段
+ 可租赁时段
+
diff --git a/pages/advertisementAdd/advertisementAdd.vue b/pages/advertisementAdd/advertisementAdd.vue
index bc72e7f..56e63a5 100644
--- a/pages/advertisementAdd/advertisementAdd.vue
+++ b/pages/advertisementAdd/advertisementAdd.vue
@@ -51,7 +51,7 @@
-
+
@@ -90,7 +90,7 @@
-
+
diff --git a/pages/apply/apply.vue b/pages/apply/apply.vue
index a7c2054..0f6197d 100644
--- a/pages/apply/apply.vue
+++ b/pages/apply/apply.vue
@@ -4,7 +4,7 @@
记录查询
租赁申请记录
-
+
@@ -25,7 +25,7 @@
-
+
@@ -44,7 +44,7 @@
-
+
diff --git a/pages/applyDetail/applyDetail.vue b/pages/applyDetail/applyDetail.vue
index 579e091..ca179cc 100644
--- a/pages/applyDetail/applyDetail.vue
+++ b/pages/applyDetail/applyDetail.vue
@@ -71,8 +71,8 @@
-
-
+
+
diff --git a/pages/complaint/complaint.vue b/pages/complaint/complaint.vue
index f04f1a8..82af1eb 100644
--- a/pages/complaint/complaint.vue
+++ b/pages/complaint/complaint.vue
@@ -28,7 +28,7 @@
-
+
diff --git a/pages/details/details.vue b/pages/details/details.vue
index 4f78a31..f242632 100644
--- a/pages/details/details.vue
+++ b/pages/details/details.vue
@@ -87,7 +87,7 @@ export default {
{
id: 0,
type: 'image',
- url: `${this.$imgs}/img/1.jpg`
+ url: this.$imgUrl('/img/1.jpg')
}
],
};
diff --git a/pages/field/field.scss b/pages/field/field.scss
index d17a7f6..7aeb72c 100644
--- a/pages/field/field.scss
+++ b/pages/field/field.scss
@@ -15,10 +15,8 @@
display: flex;
align-items: center;
width: 100%;
- padding: 0 10rpx;
height: 72rpx;
- background-color: #fff;
- border: 2rpx solid #E8E8E8;
+ // border: 2rpx solid #E8E8E8;
border-radius: 100rpx;
.icon{
display: flex;
diff --git a/pages/field/field.vue b/pages/field/field.vue
index a365d26..ed71a0f 100644
--- a/pages/field/field.vue
+++ b/pages/field/field.vue
@@ -2,40 +2,42 @@
+
-
-
+
+
区域
-
+
租金
-
+
默认排序
-
+
筛选
-
+
-
+
-
+
@@ -46,7 +48,7 @@
标签标签
-
+
这里有地址这里有地址这里有地址这里有地址
@@ -72,6 +74,7 @@
export default {
data() {
return {
+ keyword:'',
};
},
methods: {
@@ -79,7 +82,11 @@
uni.navigateTo({
url: '/pages/reconciliationdetail/reconciliationdetail'
})
- }
+ },
+ sousu(){
+ if(this.keyword != ''){
+ }
+ },
}
}
diff --git a/pages/home/home.scss b/pages/home/home.scss
index 151531c..171726b 100644
--- a/pages/home/home.scss
+++ b/pages/home/home.scss
@@ -252,6 +252,9 @@
overflow: hidden;
.thumb {
width: 100%;
+ display: flex;
+ justify-content: space-evenly;
+ padding-top:10px;
//height: 300rpx;
overflow: hidden;
image {
@@ -303,7 +306,7 @@
transform: scale(0.7);
}
.max {
- font-size: 28rpx;
+ font-size: 24rpx;
color: #000;
font-weight: bold;
}
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 64c57d6..908c041 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -1,11 +1,11 @@
-
+
-
+
@@ -25,7 +25,7 @@
-
+
@@ -42,7 +42,7 @@
-
+
租商铺
@@ -50,7 +50,7 @@
-
+
租场地
@@ -58,7 +58,7 @@
-
+
租广告
@@ -66,7 +66,7 @@
-
+
物业缴费
@@ -155,19 +155,19 @@
{{xuanList[0]}}
-
+
{{xuanList[1]}}
-
+
{{xuanList[2]}}
-
+
{{xuanList[3]}}
-
+
@@ -181,10 +181,10 @@
mode="heightFix">
-
+
{{ item.shopName || item.advertisingName || ''}}
@@ -193,15 +193,15 @@
租金:
¥
- 1067
+ {{zujin[index].price}}
/月
面积:
- 81
+ {{item.actualUsableArea?item.actualUsableArea:'55.4'}}
/m²
-
+
{{item.detailedLocation || ''}}
@@ -234,6 +234,16 @@
pageSize: 10
},
swiperList: [],//轮播
+ zujin:[
+ {price:'4800'},
+ {price:'3400'},
+ {price:'3000'}
+ ],
+ biaoqian:[
+ // {name:'4800'},
+ // {price:'3400'},
+ // {price:'3000'}
+ ],
show: false,
xuanval:0,
xuanList:['区域','租金','默认排序','筛选'],
@@ -265,11 +275,13 @@
}
this.$http.sendRequest('/cereAnnouncement/queryByPage', 'POST', pagesize,1).then(res => {
//成功回调
+
this.procedureData = res.data.data.content.slice(-2)
})
this.$http.sendRequest('/cereBasicInformationShop/queryByPage', 'POST', this.pageindex,1).then(res => {
//成功回调
+ console.log(res.data.data.content)
this.tableData = res.data.data.content
})
this.$http.sendRequest('/cereCarouselImage/queryByPage', 'POST', this.pageindex,1).then(res => {
diff --git a/pages/leaseAdd/leaseAdd.vue b/pages/leaseAdd/leaseAdd.vue
index 4b76cc4..509ae89 100644
--- a/pages/leaseAdd/leaseAdd.vue
+++ b/pages/leaseAdd/leaseAdd.vue
@@ -44,7 +44,7 @@
-
+
@@ -54,7 +54,7 @@
-
+
@@ -66,7 +66,7 @@
-
+
@@ -79,7 +79,7 @@
-
+
@@ -92,7 +92,7 @@
-
+
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 732970a..d8e3de8 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -1,7 +1,7 @@
-
+
登录
@@ -55,7 +55,6 @@
-
\ No newline at end of file
diff --git a/pages/salesSta/salesSta.vue b/pages/salesSta/salesSta.vue
index 3fc0def..79c3240 100644
--- a/pages/salesSta/salesSta.vue
+++ b/pages/salesSta/salesSta.vue
@@ -148,6 +148,6 @@
}
-
\ No newline at end of file
diff --git a/pages/servicedetails/servicedetails.vue b/pages/servicedetails/servicedetails.vue
index 91adca5..09f3eab 100644
--- a/pages/servicedetails/servicedetails.vue
+++ b/pages/servicedetails/servicedetails.vue
@@ -64,7 +64,7 @@
-
+
diff --git a/pages/servicerecords/servicerecords.vue b/pages/servicerecords/servicerecords.vue
index 67e265c..3915f97 100644
--- a/pages/servicerecords/servicerecords.vue
+++ b/pages/servicerecords/servicerecords.vue
@@ -4,7 +4,7 @@
记录查询
广告申请记录
-
+
@@ -12,7 +12,7 @@
-
+
@@ -29,7 +29,7 @@
-
+
diff --git a/pages/shops/shops.vue b/pages/shops/shops.vue
index 966cfeb..e4a939b 100644
--- a/pages/shops/shops.vue
+++ b/pages/shops/shops.vue
@@ -3,28 +3,21 @@
-
区域
-
+
租金
-
+
默认排序
-
+
-
+
{{item.detailedLocation}}
租金:
¥
- 1067
+ {{zujinList[index].price}}
/月
面积:
- 81
+ {{item.actualUsableArea}}
/m²
@@ -153,6 +146,11 @@
showSex: false,
show:false,
index:1,
+ zujinList:[
+ {price:'4800'},
+ {price:'3400'},
+ {price:'3000'}
+ ],
companys: [
{
value: '1',
diff --git a/pages/workbench/workbench.vue b/pages/workbench/workbench.vue
index 066c1a6..6daa224 100644
--- a/pages/workbench/workbench.vue
+++ b/pages/workbench/workbench.vue
@@ -1,10 +1,11 @@
-
+
+
-
+
@@ -18,15 +19,15 @@
-
+
问卷调查
-
+
-
+
招商方案
@@ -34,7 +35,7 @@
-
+
活动参与
@@ -42,7 +43,7 @@
-
+
活动申请
@@ -50,7 +51,7 @@
-
+
销售上报
@@ -63,7 +64,7 @@
-
+
推广方案申请
@@ -71,7 +72,7 @@
-
+
推广方案管理
@@ -79,7 +80,7 @@
-
+
效果查看
@@ -100,7 +101,7 @@
-->
-
+
订单查询
@@ -124,7 +125,7 @@
-->
-
+
销售统计
@@ -153,7 +154,7 @@
-
+
明细查询
@@ -161,7 +162,7 @@
-
+
日志查询
@@ -223,6 +224,11 @@
url: '/pages/salesSta/salesSta',
})
},
+ Iproposal(){
+ uni.navigateTo({
+ url: '/pages/Iproposal/Iproposal',
+ })
+ },
popularize(val){
if(val ==1){
uni.navigateTo({
diff --git a/utils/request.js b/utils/request.js
index 9d4922e..70dc3d5 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -22,17 +22,13 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => {
} else {
types = 'application/json';
}
-
- // #ifdef H5
+ var bases = ''
if(baseUrl == 1){
- var bases = 'http://8.130.38.56:8027/admin-server' + url;
+ bases = 'http://8.130.38.56:8027/admin-server' + url;
}else{
- var bases = 'http://8.130.38.56:8027/business-server' + url;
+ bases = 'http://8.130.38.56:8027/business-server' + url;
// var bases = 'http://10.0.0.96:9004' + url;
}
-
- // #endif
-
var token = uni.getStorageSync('token') || '';
var shopId = uni.getStorageSync('shopId') || '';
return new Promise(function(resolve, reject) {
--
libgit2 0.21.4