diff --git a/pages.json b/pages.json
index 89ad462..db2cb7e 100644
--- a/pages.json
+++ b/pages.json
@@ -662,7 +662,7 @@
{
"path": "recycling/index",
"style": {
- "navigationBarTitleText": "上门回收",
+ "navigationBarTitleText": "旧物回收",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
diff --git a/pages/activity/charts.vue b/pages/activity/charts.vue
index eec8a6f..58de211 100644
--- a/pages/activity/charts.vue
+++ b/pages/activity/charts.vue
@@ -1,7 +1,7 @@
-
@@ -16,7 +16,7 @@
根据商品销量等级排序|每日更新
- 入会规则
+ 入选规则
全部榜单
- 现货热卖
+ 抢先体验
@@ -36,10 +36,15 @@
-
-
+
+
+ 再挑挑看
+
+
+ 本活动最终解释权为xxxxxx公司所有
+
@@ -104,12 +109,37 @@
})
.finally(() => app.isLoading = false)
},
+ backtop() {
+ uni.pageScrollTo({
+ scrollTop: 0
+ });
+ }
+
}
}
\ No newline at end of file
+
diff --git a/pages/news/goods/components/category.vue b/pages/news/goods/components/category.vue
index 5ca5b5b..d3714f2 100644
--- a/pages/news/goods/components/category.vue
+++ b/pages/news/goods/components/category.vue
@@ -6,7 +6,7 @@
请选择分类
-
+
@@ -26,7 +26,7 @@
-
+
重置
@@ -58,6 +58,7 @@
reset() {
this.activeIndex.splice(0)
},
+
getShop(item, category_id) {
let arrIndex = this.activeIndex.indexOf(category_id)
if (arrIndex > -1) {
@@ -142,7 +143,6 @@
.shopItem {
margin-top: 40rpx;
max-height: 750rpx;
- overflow-y: auto;
.shopText {
margin-right: 12rpx;
diff --git a/pages/news/recycling/confirm.vue b/pages/news/recycling/confirm.vue
index 1369eb5..5c54e07 100644
--- a/pages/news/recycling/confirm.vue
+++ b/pages/news/recycling/confirm.vue
@@ -1,101 +1,100 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- {{info.server_name}}
- ¥{{info.line_price}}
-
-
- x1
-
-
-
-
-
-
- 服务时间
-
- {{server_time?server_time:'请选择预约到店时间'}}
-
-
+
+
+
+
+
+
+
+
+
+ {{info.server_name}}
+ ¥{{info.line_price}}
+
+
+ x1
+
+
+
+
+
+
+ 服务时间
+
+ {{server_time?server_time:'请选择预约到店时间'}}
+
+
+
优惠券
- {{couponIndex >= 0? couponList[couponIndex].name:(couponList.length > 0?(couponIndex == -9998?'不使用优惠券':'请选择优惠券'):'暂无优惠券')}}
+ {{couponIndex >= 0? couponList[couponIndex].name:(couponList.length > 0?(couponIndex == -9998?'不使用优惠券':'请选择优惠券'):'暂无优惠券')}}
-
-
- 联系人
-
-
-
-
-
-
- 联系电话
-
-
-
+
+
+ 联系人
+
+
+
+
+
+
+ 联系电话
+
+
+
所在城市
-
-
-
- {{
- region.length > 0?region[0]+region[1]+region[2]:'请选择所在人城市'
- }}
-
+
+
+
+
@@ -103,24 +102,25 @@
-
-
-
-
-
- 免支付预购
- ¥{{pay_price}}元
- 提交订单
+
+
+
+
+
+ 免支付预购
+ ¥{{pay_price}}元
+ 提交订单
@@ -128,28 +128,33 @@
优惠券列表
- 不使用
- {{a.name}}
+
+ 不使用
+
+
+ {{a.name}}
+
-
+
-
-
-
+
+
+
-
\ No newline at end of file
+ }
+ }
+ }
+
+ &-fd {
+ width: 100%;
+ height: 120rpx;
+ background-color: #FFFFFF;
+ padding: 25rpx 25rpx;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ box-sizing: border-box;
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ z-index: 99;
+
+ .a {
+ font-size: 28rpx;
+ font-weight: 400;
+ color: #727272;
+ }
+
+ .b {
+ width: 502rpx;
+ height: 88rpx;
+ line-height: 88rpx;
+ background: #FE483B;
+ border-radius: 88rpx;
+ text-align: center;
+ font-size: 28rpx;
+ font-weight: 600;
+ color: #FFFFFF;
+ }
+ }
+ }
+
diff --git a/pages/news/recycling/detail.vue b/pages/news/recycling/detail.vue
index b920f2a..14e8c11 100644
--- a/pages/news/recycling/detail.vue
+++ b/pages/news/recycling/detail.vue
@@ -1,530 +1,627 @@
-
-
-
-
-
-
-
-
-
- ¥{{info.server_price}}
- 免支付预约
- 已售{{info.sold}}
-
- {{info.server_name}}
- {{info.server_category}}
- {{info.recovery_name}}
- {{info.recovery_category}}
-
-
- 24小时客服
-
-
- 未服务全额退
-
-
- 未额外收费
-
-
- 全程保障
-
-
-
-
-
- 已选
- 上门服务
- {{selector[tabIndex]}}
-
-
- 门店
+
+
+
+
+
+
+
+
+
+
+ ¥{{info.server_price}}
+ {{info.recovery_name}}
+ 已售{{info.sold}}
+
+ {{info.server_name}}
+ {{info.server_category}}
+
+
+
+ 24小时客服
+
+
+ 未服务全额退
+
+
+ 未额外收费
+
+
+ 全程保障
+
+
+
+
+
+ 已选
+ 上门服务
+ {{selector[tabIndex]}}
+
+
+
+
+ 门店
- {{storeIndex>=0?storeList[storeIndex].shop_name:'请选择门店'}}
-
-
-
- 服务
- 优质服务全程跟踪
-
-
-
-
- 用户评价(30)
- 查看更多
-
-
- 全部12
- 沟通愉快4
-
-
-
-
- Shark特
-
- 非常棒,讲解细致,下次还来!
-
-
-
-
- 产品详情
-
-
-
-
- 客服
-
+ {{storeIndex>=0?storeList[storeIndex].shop_name:'请选择门店'}}
+
+
+
+
+ 服务
+
+
+
+
+
+
+
+
+ 用户评价(30)
+ 查看更多
+
+
+
+ 全部12
+ 沟通愉快4
+
+
+
+
+ Shark特
+
+ 非常棒,讲解细致,下次还来!
+
+
+
+
+ 产品详情
+
+
+
+
+ 客服
+
客服
-
-
+
+
+
立即预约
立即预约
-
+
+
+
门店列表
- {{a.shop_name}}
+
+ {{a.shop_name}}
+
-
-
-
-
+
+
+
+
-
\ No newline at end of file
+ }
+ }
+
+ .b {
+ width: 200rpx;
+ height: 78rpx;
+ line-height: 78rpx;
+ background: #FF9E2B;
+ border-radius: 78rpx;
+ text-align: center;
+ font-size: 24rpx;
+ font-weight: 600;
+ color: #FFFFFF;
+ margin-left: 20rpx;
+ }
+
+ .c {
+ width: 500rpx;
+ height: 78rpx;
+ line-height: 78rpx;
+ background: linear-gradient(102deg, #FE5E06 0%, #F3221A 100%);
+ border-radius: 78rpx;
+ text-align: center;
+ font-size: 24rpx;
+ font-weight: 600;
+ color: #FFFFFF;
+ margin-left: 20rpx;
+ }
+ }
+ }
+
diff --git a/pages/news/recycling/index.vue b/pages/news/recycling/index.vue
index 5ad41a2..4b5a6c8 100644
--- a/pages/news/recycling/index.vue
+++ b/pages/news/recycling/index.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/pages/news/user/vip.vue b/pages/news/user/vip.vue
index f9e4718..1e31ab9 100644
--- a/pages/news/user/vip.vue
+++ b/pages/news/user/vip.vue
@@ -1,11 +1,26 @@
-
+
-
-
+
+
+
+ 全部
+
+
+ 无身份
+
+
+ 游客
+
+
+ 会员
+
+
@@ -17,163 +32,103 @@
{{i.nick_name}}
{{i.user_type_text}}
-
+
{{i.mobile}}
-
+
-
-
-
余额(元)¥{{i.balance?i.balance:0.00}}
- 积分(分){{i.points?i.points:0}}
+ 积分(分){{i.points?i.points:0}}
-
-
-
-
-
+
+
+
+
-
-
diff --git a/pages/news3/components/category.vue b/pages/news3/components/category.vue
index 5ca5b5b..78d9677 100644
--- a/pages/news3/components/category.vue
+++ b/pages/news3/components/category.vue
@@ -6,27 +6,27 @@
请选择分类
-
-
-
- {{ item.name }}
-
-
-
-
-
- {{ item.name }}
+
+
+
+ {{ item.name }}
+
+
+ {{ item.name }}
+
+
+
+
-
-
+
重置
@@ -80,7 +80,7 @@
background-color: #FF6257 !important;
border-color: #FF6257;
}
-
+
.afterSales {
padding: 32upx;
@@ -142,7 +142,6 @@
.shopItem {
margin-top: 40rpx;
max-height: 750rpx;
- overflow-y: auto;
.shopText {
margin-right: 12rpx;
diff --git a/pages/news3/vipPrice.vue b/pages/news3/vipPrice.vue
index 9df89f2..96a62ba 100644
--- a/pages/news3/vipPrice.vue
+++ b/pages/news3/vipPrice.vue
@@ -62,15 +62,17 @@
- 最低利润率:%
+ 最低利润:元
确认
- 备注:利润低于_____元的商品不展示在商城里。
+ 说明:低于最低利润的商品不展示在商城里。
@@ -149,7 +151,7 @@
return this.$toast('最低利率不能低于等于0%')
}
this.min_profit = rate
-
+
},
// 获取详情
async getInfor() {
@@ -275,11 +277,17 @@
list: list,
type: this.type
});
+ console.log(status)
if (status == 200) {
uni.showToast({
- title: "保存成功"
+ title: "保存成功",
+ duration: 2000,
+ icon: 'none'
+
})
- this.getCategory()
+ setTimeout(() => {
+ this.getCategory()
+ }, 2000);
}
}
},
@@ -305,7 +313,7 @@
// 计算利润率
onRate(e, index_1, index_2) {
let rate = Number(e.detail.value)
- if (0 >rate) {
+ if (0 > rate) {
this.list[this.index_1].price_list[this.index_2].add_price_rate = ''
return this.$toast('最低利率不能低于等于0%')
}
@@ -461,7 +469,7 @@
height: 70rpx !important;
line-height: 70rpx !important;
margin-left: 20rpx;
-
+
}
::v-deep uni-input {
diff --git a/pages/search/index.vue b/pages/search/index.vue
index 372b4b4..e1d9ac2 100644
--- a/pages/search/index.vue
+++ b/pages/search/index.vue
@@ -1,8 +1,8 @@
-
-
+
+
搜索
@@ -10,19 +10,21 @@
搜索发现
-
+
-
+
-
+
-
+
- {{item.word}}
+ {{item}}
@@ -32,7 +34,8 @@
{{item.name}}
-
+
{{k+1}}
@@ -45,9 +48,9 @@
{{k+1}}
-
+
-
+
@@ -70,21 +73,22 @@
data() {
return {
showEye: true,
- searchValue: 'iPhone15',
+ searchValue: '',
searchData: [],
searchList: [],
- searchFindList:[],
- page:1,
- goodsList:[],
+ searchFindList: [],
+ page: 1,
+ goodsList: [],
}
},
onShow() {
- // if(uni.getStorageSync('searchList')){
- // this.searchList = uni.getStorageSync('searchList')
- // this.searchList = Array.from(new Set(this.searchList));
- // }
-
+ if (uni.getStorageSync('searchList')) {
+ this.searchList = uni.getStorageSync('searchList')
+ this.searchList = Array.from(new Set(this.searchList));
+ this.searchList=this.searchList.length>0?this.searchList.slice(0,6):[]
+ }
+
},
onLoad() {
this.getHot()
@@ -92,49 +96,58 @@
},
methods: {
- changePage(){
- GoodsApi.searchFind({page:this.page}).then(res => {
- if(res.data.length==0){
- this.page=1;
- }else{
+ // 跳转到秒杀商品详情
+ handleTargetGoods(sharpGoodsId) {
+ uni.navigateTo({
+ url: '/pages/goods/detail?goodsId=' + sharpGoodsId
+ })
+ },
+ changePage() {
+ GoodsApi.searchFind({
+ page: this.page
+ }).then(res => {
+ if (res.data.length == 0) {
+ this.page = 1;
+ } else {
this.page++
}
this.getHot()
})
},
- getHot(){
- GoodsApi.searchFind({page:this.page}).then(res => {
- if(res.data.length==0){
- this.page=1;
- }else{
+ getHot() {
+ GoodsApi.searchFind({
+ page: this.page
+ }).then(res => {
+ if (res.data.length == 0) {
+ this.page = 1;
+ this.$toast('暂无其他搜索发现')
+ } else {
this.page++;
this.searchFindList = res.data;
}
-
+
})
},
- searchGoods(item){
- // this.searchList.push(this.searchValue)
- // this.searchList = Array.from(new Set(this.searchList));
- // uni.setStorageSync('searchList', this.searchList)
+ searchGoods(item) {
uni.navigateTo({
- url: '/pages/goods/list?search=' + item.word
+ url: '/pages/goods/list?search=' + item
})
},
getSearchInfo() {
// 搜索
+ this.searchList.push(this.searchValue)
+ this.searchList = Array.from(new Set(this.searchList));
+ uni.setStorageSync('searchList', this.searchList)
uni.navigateTo({
url: '/pages/goods/list?search=' + this.searchValue
})
},
- chartsGoodsJingHandle(){
+ chartsGoodsJingHandle() {
GoodsApi.chartsGoodsJingApi().then(res => {
-
- console.log(res,"8899")
this.goodsList = res.data;
-
+
})
-
+
}
}
}
@@ -157,7 +170,7 @@
// margin: 10rpx 0 0 20rpx;
display: flex;
align-items: center;
- margin:0 40rpx;
+ margin: 0 40rpx;
.searchIcon {
width: 28rpx;
@@ -191,9 +204,11 @@
display: flex;
justify-content: space-between;
align-items: center;
- margin:0 40rpx;
+ margin: 0 40rpx;
margin-top: 44rpx;
+
.findTitle {
+
// width: 200rpx;
// height: 44rpx;
// font-size: 32rpx;
@@ -202,7 +217,7 @@
// color: #000000;
// line-height: 44rpx;
// margin-left: 40rpx;
- &>text{
+ &>text {
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
@@ -215,14 +230,14 @@
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
margin-left: 22rpx;
- margin-top:3rpx;
+ margin-top: 3rpx;
position: relative;
- top:4rpx;
+ top: 4rpx;
}
}
.others {
-
+
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
@@ -235,18 +250,18 @@
display: flex;
align-items: center;
flex-wrap: wrap;
- margin:0 40rpx;
+ margin: 0 40rpx;
margin-top: 20rpx;
- justify-content: space-between;
-
+ // justify-content: space-between;
+
.hotItem {
- padding:10rpx 30rpx;
+ padding: 10rpx 30rpx;
background: #FFFFFF;
border-radius: 34px 34px 34px 34px;
opacity: 1;
display: flex;
align-items: center;
- margin-left:12rpx;
+ margin-left: 12rpx;
// margin:0 20rpx;
margin-bottom: 24rpx;
// height: 64rpx;
@@ -274,9 +289,10 @@
.hotSuggest {
width: 100%;
// margin-left: 32rpx;
- margin-top:12rpx;
- margin-left:40rpx;
+ margin-top: 12rpx;
+ margin-left: 40rpx;
padding-right: 40rpx;
+
.hotList {
width: 100%;
white-space: nowrap;
@@ -291,25 +307,26 @@
background-size: 100% 100%;
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
- padding:18rpx 20rpx 48rpx 20rpx;
+ padding: 18rpx 20rpx 48rpx 20rpx;
// border: 2rpx solid #FFFFFF;
.itemHeade {
display: flex;
align-items: center;
- margin-bottom:46rpx;
+ margin-bottom: 46rpx;
+
image {
width: 48rpx;
height: auto;
}
-
+
.headTitle {
-
+
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
color: #F3202A;
- margin-left:14rpx;
+ margin-left: 14rpx;
}
}
@@ -333,9 +350,10 @@
align-items: center;
justify-content: center;
flex-shrink: 0;
- text{
+
+ text {
position: relative;
- left:-1rpx;
+ left: -1rpx;
}
}
@@ -354,26 +372,29 @@
.num4 {
background-image: url('/static/search/common.png');
}
- .picContent{
+
+ .picContent {
width: 100rpx;
height: 90rpx;
border-radius: 8rpx 8rpx 8rpx 8rpx;
overflow: hidden;
margin-left: 10rpx;
flex-shrink: 0;
+
.goodsImg {
width: 100%;
- height:100%;
+ height: 100%;
// opacity: 1;
//
}
}
-
+
.goodsInfo {
margin-left: 18rpx;
width: calc(100% - 160rpx);
+
.goodName {
// width: 138rpx;
// height: 34rpx;
@@ -406,4 +427,4 @@
}
}
}
-
\ No newline at end of file
+
diff --git a/pages/serve/index.vue b/pages/serve/index.vue
index 055a590..85685d5 100644
--- a/pages/serve/index.vue
+++ b/pages/serve/index.vue
@@ -1,7 +1,7 @@
-
+
不满意重做
@@ -65,7 +65,8 @@
data (){
return{
list: [],
- userInfo: {}
+ userInfo: {},
+ timestamp: new Date().getTime(),
}
},
mounted() {
diff --git a/pages/user/index.vue b/pages/user/index.vue
index 92e73e5..a475ed7 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -17,7 +17,7 @@
{{userInfo.nick_name}}
-
+
店长
分销
Plus会员
@@ -27,7 +27,7 @@
- 客服
+ 消息