diff --git a/App.vue b/App.vue
index f8bcac5..00178af 100644
--- a/App.vue
+++ b/App.vue
@@ -21,7 +21,7 @@
}
.page{
padding-top: var(--window-top);
-
+ padding-bottom: env(safe-area-inset-bottom);
}
.pageList{
/deep/ .uv-search__content__input{
diff --git a/main.js b/main.js
index 3ba095b..a3b0852 100644
--- a/main.js
+++ b/main.js
@@ -15,7 +15,9 @@ import './config'
import './utils/index.js'
-
+// 导入并挂载全局的分享方法
+import share from '@/mixins/share.js'
+Vue.mixin(share)
//组件注册
import configPopup from '@/components/config/configPopup.vue'
diff --git a/mixins/share.js b/mixins/share.js
new file mode 100644
index 0000000..295e1b9
--- /dev/null
+++ b/mixins/share.js
@@ -0,0 +1,29 @@
+export default {
+ data() {
+ return {
+ // 默认的全局分享内容
+ share: {
+ title: '瑶都万能墙',
+ path: '/pages/index/index', // 全局分享的路径,比如 首页
+ // imageUrl: '/static/image/login/logo.png', // 全局分享的图片(可本地可网络)
+ }
+ }
+ },
+ // 定义全局分享
+ // 1.发送给朋友
+ onShareAppMessage(res) {
+ return {
+ title: this.share.title,
+ path: this.share.path,
+ imageUrl: this.share.imageUrl,
+ }
+ },
+ //2.分享到朋友圈
+ onShareTimeline(res) {
+ return {
+ title: this.share.title,
+ path: this.share.path,
+ imageUrl: this.share.imageUrl,
+ }
+ },
+}
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 71b9a75..e63e836 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -164,6 +164,7 @@
if(query.shareId){
uni.setStorageSync('shareId', query.shareId)
}
+
this.getData()
this.getIndexHeaderInfo()
this.getClassifyList()
diff --git a/pages_order/components/list/renting/rentingItem.vue b/pages_order/components/list/renting/rentingItem.vue
index b7db810..a68648a 100644
--- a/pages_order/components/list/renting/rentingItem.vue
+++ b/pages_order/components/list/renting/rentingItem.vue
@@ -57,6 +57,7 @@
display: flex;
padding: 20rpx;
font-size: 24rpx;
+ border-bottom: 1px solid #00000012;
image{
width: 180rpx;
height: 180rpx;
diff --git a/pages_order/components/list/scenicSpot/scenicSpotItem.vue b/pages_order/components/list/scenicSpot/scenicSpotItem.vue
index c2836fd..96508bc 100644
--- a/pages_order/components/list/scenicSpot/scenicSpotItem.vue
+++ b/pages_order/components/list/scenicSpot/scenicSpotItem.vue
@@ -9,9 +9,16 @@
-
+
+
+
+
{{ $dayjs(item.createTime).format('YYYY-MM-DD') }}
diff --git a/pages_order/renting/addRenting.vue b/pages_order/renting/addRenting.vue
index fbdded1..1116f5f 100644
--- a/pages_order/renting/addRenting.vue
+++ b/pages_order/renting/addRenting.vue
@@ -20,18 +20,50 @@
>
+
+
+
+
+
+
+ 户型
+
+
+
+
+
+
- 价格/月
+ 付款方式
-
+
+
+
+
+
+
+ 租金/月
+
+
+
@@ -40,44 +72,61 @@
面积
-
+
- 结算方式
+ 看房
+ label="随时可看"
+ name="随时可看">
+
+
+
+
- 看房
+ 租房类型
-
+
+ label="整租"
+ name="整租">
+
+
+
@@ -89,14 +138,49 @@
-
+
+
+
+ 精选照片
+
+
+
+
+
+
+ 选择地区
+
+
+
+ {{ t.name }}
+
+
+
+
+
+
+
发布
@@ -106,11 +190,14 @@
@@ -184,6 +361,37 @@
margin-left: auto;
}
}
+
+ .images{
+ padding: 30rpx;
+ view{
+ padding-bottom: 20rpx;
+ }
+ }
+ }
+
+ .category{
+ padding: 20rpx;
+ .title{
+ // font-weight: 900;
+ // font-size: 30rpx;
+ }
+ .tagList{
+ display: flex;
+ flex-wrap: wrap;
+ padding: 10rpx 0;
+ view{
+ background: rgba($uni-color, 0.1);
+ padding: 10rpx 20rpx;
+ margin: 10rpx;
+ border-radius: 10rpx;
+ font-size: 26rpx;
+ }
+ .act{
+ color: #fff;
+ background: $uni-color;
+ }
+ }
}
}
diff --git a/pages_order/scenicSpot/scenicSpotDetail.vue b/pages_order/scenicSpot/scenicSpotDetail.vue
index ba545a5..c8e0e1d 100644
--- a/pages_order/scenicSpot/scenicSpotDetail.vue
+++ b/pages_order/scenicSpot/scenicSpotDetail.vue
@@ -21,11 +21,17 @@
-
+
+
+
diff --git a/pages_order/work/addWork.vue b/pages_order/work/addWork.vue
index 2c40c84..e5705b3 100644
--- a/pages_order/work/addWork.vue
+++ b/pages_order/work/addWork.vue
@@ -126,7 +126,7 @@
workYear : '',
minPrice : '',
maxPrice : '',
- address : '123',
+ address : '',
},
radiovalue : '',
priceList : [
diff --git a/store/store.js b/store/store.js
index babae20..becbd21 100644
--- a/store/store.js
+++ b/store/store.js
@@ -11,7 +11,7 @@ const store = new Vuex.Store({
configList: [], //配置列表
shop : false,
userInfo : {}, //用户信息
- city : {},//城市列表
+ city : {},//当前城市
cityList : [],//城市列表
category : [],//动态分类
},