diff --git a/pages.json b/pages.json
index 44ee586..7bc5563 100644
--- a/pages.json
+++ b/pages.json
@@ -62,6 +62,16 @@
"navigationBarTitleText" : "商品详情"
}
}
+
+ ,{
+ "path" : "pages/published/published",
+ "style" :
+ {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": true
+ }
+
+ }
],
"tabBar" : {
"color" : "#CCCCCC",
diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue
index 8329b3a..6dc756b 100644
--- a/pages/detail/detail.vue
+++ b/pages/detail/detail.vue
@@ -1,7 +1,7 @@
-
+
-
+
@@ -10,15 +10,15 @@
- 22
+ 22
租金
- 22
+ 22
转让费
- 22
+ 22
面积
@@ -34,28 +34,30 @@
-
+
-
+
分享
-
+
客服
-
-
- 打电话
+
+
+ 打电话
-
+
+
+
@@ -76,11 +78,28 @@
},
data() {
return {
+ viewheight:'',
}
},
methods: {
-
+ // getHeight(){
+ // let height = this.$refs.viewref.$el.offsetHeight
+ // this.viewheight = height
+ // },
+ phonecall(){
+ console.log('打电话');
+ },
+ share(){
+ console.log('分享');
+ },
+ assist(){
+ console.log('客服');
+ }
+ },
+ mounted(){
+ // this.getHeight();
+ // console.log(viewheight)
}
}
@@ -90,12 +109,22 @@
// background-color: #F8F8F8;
height: 100%;
}
+ .bug-figure{
+ height: 100rpx;
+ }
.swiper {
}
.title{
padding: 20rpx;
background-color: #fff;
}
+ .grid-textup{
+ color: #CC3333;
+ font-size: 20px;
+ }
+ .grid-text{
+ color: #B3B3B3;
+ }
.location-detail{
display: flex;
margin-top: 20rpx;
@@ -120,7 +149,8 @@
background-color: #fff;
width: 100%;
z-index: 100;
- height: 100rpx;
+ // height: 100rpx;
+ // bottom: calc(var(--window-bottom) + 20px);
}
.bot-tab{
display: flex;
@@ -131,19 +161,36 @@
width: 50%;
display: flex;
justify-content: space-around;
- height: 100px;
+ height: 50px;
}
- .coustom{
- height: 100px;
- }
- .tab-right{
- width: 50%;
- height: 100%;
+ .customer{
+ // height: 50px;
display: flex;
justify-content: center;
align-items: center;
+ flex-direction: column;
+ width: 50%;
+ }
+ .tab-right{
+ width: 50%;
+ height: 50px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ background-image: linear-gradient(to right, #E86262, #CC3333);
}
.share{
-
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
+ width: 50%;
+ }
+ .call{
+ color: #fff;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
}
\ No newline at end of file
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 20f3c16..ffdd9c8 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -12,11 +12,12 @@
-
-
-
-
-
+
+
+
+
+
+
@@ -30,13 +31,23 @@
return {
src: 'https://cdn.uviewui.com/uview/album/2.jpg',
account:'11111111',
- username:'用户名'
+ username:'用户名',
}
},
onLoad() {
// this.getInfo()
},
methods: {
+ topublished(title){
+ uni.navigateTo({
+ url:'/pages/published/published?titletext='+title
+ })
+ },
+ todetail(){
+ uni.navigateTo({
+ url:'/pages/detail/detail'
+ })
+ }
//---------页面调用接口示例------------
// getInfo() {
// this.$api.getUserInfo().then(res => {
@@ -60,6 +71,7 @@
gap: 10rpx;
.profile-bgi{
position: absolute;
+ width: 100%;
z-index: -1;
}
.avator{
diff --git a/pages/published/published.vue b/pages/published/published.vue
new file mode 100644
index 0000000..300d12e
--- /dev/null
+++ b/pages/published/published.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+