diff --git a/api/newFun.js b/api/newFun.js index c7a7e2c..da18d97 100644 --- a/api/newFun.js +++ b/api/newFun.js @@ -1,5 +1,15 @@ import request from '@/utils/request' +// 邀请有礼 记录 +export const inviteGetList = (param) => { + return request.post('invite/getList', param) +} + +// 邀请有礼 +export const inviteInit = (param) => { + return request.post('invite/index', param) +} + // 足迹列表 删除 export const goodsBrowseDel = (param) => { return request.get('goods/browseDel', param) diff --git a/manifest.json b/manifest.json index 601bd31..3201889 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,9 @@ { - "name" : "萤火商城2.0", + "name" : "惠云商", "appid" : "__UNI__1D774AF", - "description" : "萤火商城V2.0,是全新推出的一款轻量级、高性能、前后端分离的电商系统,让您快速搭建个性化独立商城", - "versionName" : "2.3.12", - "versionCode" : 235, + "description" : "慧云商是一款提供家电,3C数码,家装建材为一体的批发采购平台,一站式解决找货方案,简化采购流程", + "versionName" : "1.0.0", + "versionCode" : 1, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { @@ -98,7 +98,7 @@ // 是否检查安全域名和 TLS 版本 "urlCheck" : true, // es6转es5 - "es6" : false, + "es6" : true, // 上传代码时自动压缩 "minified" : true, // 调试器 wxml面板展示 shadow-root @@ -107,7 +107,8 @@ "minifyWXSS" : true, // 上传代码时是否自动压缩wxml文件 // 因uniappp构建出来的wxml本身就是压缩好的, 如果再用微信开发工具压缩一次的话, 有可能会破坏到文件, 所以此处设为false - "minifyWXML" : false + "minifyWXML" : false, + "postcss" : true }, "usingComponents" : true, "lazyCodeLoading" : "requiredComponents", diff --git a/pages.json b/pages.json index 92ae861..95e4d22 100644 --- a/pages.json +++ b/pages.json @@ -36,14 +36,14 @@ { "path": "pages/index/index", "style": { - "enablePullDownRefresh": true, + "enablePullDownRefresh": false, "navigationStyle": "custom" } }, { "path": "pages/serve/index", "style": { - "enablePullDownRefresh": true, + "enablePullDownRefresh": false, "navigationBarTitleText": "服务" } }, @@ -63,7 +63,7 @@ "path": "pages/user/index", "style": { "navigationBarTitleText": "个人中心", - "enablePullDownRefresh": true, + "enablePullDownRefresh": false, "navigationStyle": "custom", "mp-alipay": { "defaultTitle": "", @@ -94,6 +94,11 @@ "navigationBarBackgroundColor": "#FF5554", "navigationBarTextStyle": "white" } + },{ + "path": "pages/invite/list", + "style": { + "navigationBarTitleText": "邀请记录" + } }, { "path": "pages/custom/index", diff --git a/pages/activity/intimate.vue b/pages/activity/intimate.vue index 69d4756..3a35476 100644 --- a/pages/activity/intimate.vue +++ b/pages/activity/intimate.vue @@ -4,9 +4,9 @@ - - {{storeInfo.store_name}} - {{storeInfo.describe}} + + {{storeInfo.shop_name}} + {{storeInfo.summary}} + + {{isToggle == false?'查看更多':'点击收起'}} + + - - - + + - - - 查看更多 + + + ¥ - 2516 + {{couList.reduce_price}} - 新人券包 - 领取后7天内有效 + {{couList.name}} + 领取后{{couList.expire_day}}天内有效 - + - 去领取 + @@ -92,18 +96,19 @@ - + 店内现货 - + + 查看更多 - + - + - - ¥{{item.goods_price_min}} + + {{item.goods_price_min}} {{item.goods_name}} @@ -115,33 +120,36 @@ - + + 查看更多 - 本场剩余 - - 02 - : - 15 - : - 55 - + 本场剩余 + + + {{timeData.hours>10?timeData.hours:'0'+timeData.hours}} + : + {{ timeData.minutes>10?timeData.minutes:'0'+timeData.minutes}} + : + {{ timeData.seconds>10?timeData.seconds:'0'+timeData.seconds}} + + - + - + {{seckill_price_min}} - ¥{{seckill_price_max}} + {{seckill_price_max}} @@ -155,15 +163,16 @@ - - + + + 查看更多 - - + + - ¥{{item.goods_price_min}} + {{item.goods_price_min}} @@ -171,14 +180,15 @@ - - + + + 查看更多 - - + + - ¥{{item.goods_price_min}} + {{item.goods_price_min}} @@ -203,10 +213,10 @@ 包邮 - - {{item.goods_price_max}} + + {{item.goods_price_max}} 到手价 - ¥{{item.line_price_max}} + ¥{{item.line_price_max}} {{item.goods_sales}}条评论 @@ -218,11 +228,8 @@ - - - - + @@ -242,13 +249,13 @@ - + 咨询 - + 电话 @@ -259,13 +266,13 @@ - + {{cityInfo.address}} - + {{cityInfo.full_address}} @@ -273,7 +280,7 @@ - + 附近停车场 @@ -283,20 +290,20 @@ 店内现货 - + 查看更多 - + - - - - + + + {{item.goods_name}} - + @@ -304,54 +311,52 @@ 同城服务 查看更多 - + - - - - + + + + {{item.name}} - + - 门店评价(30) - + 门店评价({{cityInfo.evaluate?cityInfo.evaluate.length:''}}) + 查看更多 - + - + - - {{cityInfo.evaluate?cityInfo.evaluate.nickname:''}} + + {{a.nickname}} - {{cityInfo.evaluate?cityInfo.evaluate.content:''}} + {{a.content}} - + 门店相册 - - + - + - - - + + @@ -362,7 +367,7 @@ 门店历史 - + \ No newline at end of file +} + diff --git a/pages/login/index.vue b/pages/login/index.vue index eedc2e5..111b240 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -27,7 +27,6 @@ diff --git a/pages/news/consult/comment.vue b/pages/news/consult/comment.vue index 1f1aad6..48772a3 100644 --- a/pages/news/consult/comment.vue +++ b/pages/news/consult/comment.vue @@ -1,13 +1,13 @@ @@ -32,11 +28,20 @@ background: `url(${this.$picUrl}/static/news/login-bg.png) center top no-repeat`, // background: 'url('+ img+') center top no-repeat', backgroundSize: '100%', - }, + }, + cityInfo: {}, } + }, + onLoad() { + this.cityInfo = uni.getStorageSync("cityInfo"); }, methods: { - + openMap() { + uni.openLocation({ + latitude: Number(this.cityInfo.latitude), + longitude: Number(this.cityInfo.longitude) + }) + }, } } diff --git a/pages/news/user/invite.vue b/pages/news/user/invite.vue index 15c1412..3fab161 100644 --- a/pages/news/user/invite.vue +++ b/pages/news/user/invite.vue @@ -1,7 +1,7 @@ - @@ -35,7 +52,7 @@ padding: 0 0 130rpx; overflow: hidden; &-bd{ - padding: 0 0 0 60rpx;; + padding: 0 20rpx 0 60rpx;; background-color: #FFFFFF; overflow: hidden; margin-top: 20rpx; diff --git a/pages/news3/updatePrice.vue b/pages/news3/updatePrice.vue index 4305714..5aa5aca 100644 --- a/pages/news3/updatePrice.vue +++ b/pages/news3/updatePrice.vue @@ -117,8 +117,9 @@ export default{ } } let {status, message, data} = await newFunApi.updatePrice({ - uni.navigateBack({delta:1}) + }); + uni.navigateBack({delta:1}) } }, onLoad(option){ diff --git a/pages/serve/index.vue b/pages/serve/index.vue index 88c48b9..ad7b54c 100644 --- a/pages/serve/index.vue +++ b/pages/serve/index.vue @@ -5,11 +5,11 @@ 不满意重做 - + 7x24小时服务 - + 全场保障 - + 专业服务 @@ -41,7 +41,7 @@ 支付订单 服务评价 - + 会员中心 @@ -72,7 +72,7 @@ this.getList(); }, onShow() { - this.userInfo = uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo"):{} + this.userInfo = uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo"): "" }, methods:{ openPage1(){ @@ -110,35 +110,38 @@