diff --git a/components/myAvatar/myAvatar.vue b/components/myAvatar/myAvatar.vue
index 25431a1..5636e89 100644
--- a/components/myAvatar/myAvatar.vue
+++ b/components/myAvatar/myAvatar.vue
@@ -1,8 +1,7 @@
-
-
+
@@ -10,20 +9,46 @@
- 顾发航
+
+ 顾发航
+
+
+
+
diff --git a/components/myForm/myForm.vue b/components/myForm/myForm.vue
index e1cee44..7b50066 100644
--- a/components/myForm/myForm.vue
+++ b/components/myForm/myForm.vue
@@ -16,10 +16,15 @@
+
+
diff --git a/packageMy/memberCenter/memberCenter.vue b/packageMy/memberCenter/memberCenter.vue
index b6820b7..ac0b352 100644
--- a/packageMy/memberCenter/memberCenter.vue
+++ b/packageMy/memberCenter/memberCenter.vue
@@ -3,7 +3,7 @@
-
+
{{commitment}}
@@ -21,6 +21,8 @@
data() {
return {
showM: false,
+ //会员中心的用户名旁边不显示edit图标
+ show: false,
content: `请保持手机畅通
客服会及时联系您`,
commitment: '承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置'
diff --git a/packageMy/myRelease/myRelease.vue b/packageMy/myRelease/myRelease.vue
new file mode 100644
index 0000000..b2e8684
--- /dev/null
+++ b/packageMy/myRelease/myRelease.vue
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+ {{item.needsText}}
+
+
+ {{item.time}}
+
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+
+
+
+ {{item.needsText}}
+
+
+ {{item.time}}
+
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index e569cd4..cf7e578 100644
--- a/pages.json
+++ b/pages.json
@@ -83,6 +83,22 @@
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
+ }, {
+ "path": "myRelease/myRelease",
+ "style": {
+ "navigationBarTitleText": "我的发布",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "changeAvatar/changeAvatar",
+ "style": {
+ "navigationBarTitleText": "修改头像",
+ "navigationBarTextStyle": "white",
+ "enablePullDownRefresh": false
+ }
+
}]
},
{
diff --git a/pages/detail/productsDetail/productsDetail.vue b/pages/detail/productsDetail/productsDetail.vue
index f3705df..a73f97b 100644
--- a/pages/detail/productsDetail/productsDetail.vue
+++ b/pages/detail/productsDetail/productsDetail.vue
@@ -1,13 +1,20 @@
-
-
-
- 收藏
+
+
+
+
+
+
+
+
+
@@ -21,12 +28,30 @@
{{item.classify}}
- {{item.tagOne}}
- {{item.tagTwo}}
+
+
+ {{item.tagOne}}
+ {{item.tagTwo}}
+
+
+
+
+
+
+ 点赞
+
+
+
+
+ 122赞
+
+
-
+
发布日期:
{{item.time}}
@@ -41,14 +66,15 @@
export default {
data() {
return {
- like: false,
+ showStar: false,
+ showHeart: false,
+ isThumb: true,
detailList: [{
- // src: '/static/detail/zhanwei_xppx.png',
title: '锅巴',
tag: '零食铺子',
desc: '糯米蟹黄锅巴散装,非油炸绿色健康食品',
classify: '薯片膨化',
- tagOne: '无添加剂',
+ tagOne: '无添加剂1',
tagTwo: '无添加剂',
time: '2022年12月04日',
content: '一级标题
二级标题
'
@@ -60,8 +86,13 @@
}
},
methods: {
- likeTap() {
- this.like = !this.like
+ //收藏按钮
+ starTap() {
+ this.showStar = !this.showStar
+ },
+ //点赞按钮
+ heartTap() {
+ this.showHeart = !this.showHeart
}
}
}
@@ -73,17 +104,20 @@
position: absolute;
top: 16rpx;
right: 0;
- background-color: #a6a6a6;
color: #fff;
border-radius: 54rpx 0px 0px 54rpx;
padding: 2px 2px 2px 3px;
- .collect_text {
- font-size: 26rpx;
- padding: 1px;
+ .star {
+ position: absolute !important;
+ top: 6px !important;
+ right: 77rpx;
+ z-index: 99;
}
+
}
+
.content {
padding: 20rpx;
background-color: #fff;
@@ -140,25 +174,35 @@
padding: 1rpx 15rpx;
}
- .tagOne {
+ .tag_view {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding-top: 14rpx;
font-size: 20rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #CCCCCC;
line-height: 28rpx;
- float: left;
- padding-top: 14rpx;
- padding-right: 20rpx;
+
+ .tagOne {
+ padding-right: 20rpx;
+ }
+
+ .heart {
+ display: flex;
+
+ .thumb {
+ font-size: 24rpx;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #666666;
+ line-height: 33rpx;
+ margin-left: 14rpx;
+ }
+ }
}
- .tagTwo {
- font-size: 20rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #CCCCCC;
- line-height: 28rpx;
- padding-top: 14rpx;
- }
}
.releaseDate {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index e942a49..e703bdf 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -19,12 +19,17 @@
{{listItem.title}}
-
+
+
+
+
@@ -32,7 +34,6 @@
export default {
data() {
return {
-
showM: false,
content: `138 1222 222
是否拨打客服电话`,
@@ -58,12 +59,20 @@
url: '../../packageMy/browseHistory/browseHistory?id=' + 1
})
},
+
//跳转到我的收藏页面
toMyCollect() {
uni.navigateTo({
url: '../../packageMy/browseHistory/browseHistory?id=' + 2
})
},
+ //跳转到我的发布页面
+ toMyRelease() {
+ uni.navigateTo({
+ url: '../../packageMy/myRelease/myRelease'
+ })
+ },
+
// 联系客服模态框
showModal() {
this.showM = true
@@ -110,6 +119,10 @@
}
+ .u-cell:last-child {
+ border: none !important;
+ }
+
.u-icon__icon--info {
font-size: 28rpx !important;
}
diff --git a/static/detail/xiangqing_icon_shoucang.png b/static/detail/xiangqing_icon_shoucang.png
new file mode 100644
index 0000000..26c9630
Binary files /dev/null and b/static/detail/xiangqing_icon_shoucang.png differ
diff --git a/static/detail/xp_icon_heart.png b/static/detail/xp_icon_heart.png
new file mode 100644
index 0000000..69c04d2
Binary files /dev/null and b/static/detail/xp_icon_heart.png differ
diff --git a/static/detail/xp_icon_star.png b/static/detail/xp_icon_star.png
new file mode 100644
index 0000000..e4c900f
Binary files /dev/null and b/static/detail/xp_icon_star.png differ
diff --git a/static/detail/xp_icon_wstar.png b/static/detail/xp_icon_wstar.png
new file mode 100644
index 0000000..5457890
Binary files /dev/null and b/static/detail/xp_icon_wstar.png differ
diff --git a/static/my/avatar.png b/static/my/avatar.png
deleted file mode 100644
index c961de7..0000000
Binary files a/static/my/avatar.png and /dev/null differ
diff --git a/static/my/sdfb_icon_xg.png b/static/my/sdfb_icon_xg.png
new file mode 100644
index 0000000..f4a2375
Binary files /dev/null and b/static/my/sdfb_icon_xg.png differ
diff --git a/static/my/wd_icon_bj.png b/static/my/wd_icon_bj.png
new file mode 100644
index 0000000..53fa1cd
Binary files /dev/null and b/static/my/wd_icon_bj.png differ
diff --git a/static/my/wo_icon_sc.png b/static/my/wo_icon_sc.png
index 45db566..82e001f 100644
Binary files a/static/my/wo_icon_sc.png and b/static/my/wo_icon_sc.png differ
diff --git a/static/my/wo_icon_wdfb.png b/static/my/wo_icon_wdfb.png
new file mode 100644
index 0000000..78271ee
Binary files /dev/null and b/static/my/wo_icon_wdfb.png differ
diff --git a/static/products/sy_icon_sjf.png b/static/products/sy_icon_sjf.png
deleted file mode 100644
index 1ccc04f..0000000
Binary files a/static/products/sy_icon_sjf.png and /dev/null differ
diff --git a/static/products/xp_icon_sjf.png b/static/products/xp_icon_sjf.png
new file mode 100644
index 0000000..722f3a2
Binary files /dev/null and b/static/products/xp_icon_sjf.png differ
diff --git a/static/styles/form.scss b/static/styles/form.scss
index 04de5ce..5abd879 100644
--- a/static/styles/form.scss
+++ b/static/styles/form.scss
@@ -1,6 +1,6 @@
.u-form {
margin-top: 20rpx;
- }
+
.u-form-item__body__left {
width: auto !important;
@@ -20,3 +20,4 @@
.u-form-item {
background-color: #fff;
}
+}
\ No newline at end of file
diff --git a/static/styles/news.scss b/static/styles/news.scss
index 960be63..dcef5eb 100644
--- a/static/styles/news.scss
+++ b/static/styles/news.scss
@@ -1,6 +1,7 @@
+
.xw_content {
background: #FFFFFF;
- border: 1rpx solid #EEEEEE;
+ border-bottom: 1rpx solid #EEEEEE;
display: flex;
padding: 29rpx 19rpx;