zhouzhenyuan 12 months ago
parent 33c2e53433
commit 418776b88a
  1. 606
      pages.json
  2. 316
      pages/goods/detail.vue
  3. 7
      pages/index/index.vue
  4. 23
      pages/user/index.vue

@ -110,7 +110,7 @@
{
"path": "pages/login/index",
"style": {
"navigationStyle": "custom",
"navigationStyle": "custom",
"navigationBarTitleText": "会员登录"
}
},
@ -492,245 +492,77 @@
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
],
"subPackages": [
{
"root": "pages/news/",
"pages": [
{
"path" : "consult/store",
"style" :
{
"navigationBarTitleText": "门店相册",
"enablePullDownRefresh": false
}
},
{
"path" : "consult/comment",
"style" :
{
"navigationBarTitleText": "评论",
"enablePullDownRefresh": false
}
},
{
"path" : "consult/about",
"style" :
{
"navigationBarTitleText": "联系我们",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path" : "consult/index",
"style" :
{
"navigationBarTitleText": "咨询",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path" : "park/index",
"style" :
{
"navigationBarTitleText": "停车指引",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path" : "park/recordHistory",
"style" :
{
"navigationBarTitleText": "预约记录",
"enablePullDownRefresh": false
}
},{
"path" : "park/addressList",
"style" :
{
"navigationBarTitleText": "地址",
"enablePullDownRefresh": false
}
},{
"path" : "park/addressEdit",
"style" :
{
"navigationBarTitleText": "地址",
"enablePullDownRefresh": false
}
},{
"path" : "park/personal",
"style" :
{
"navigationBarTitleText": "编辑信息",
"enablePullDownRefresh": false
}
},
{
"path" : "coupon/index",
"style" :
{
"navigationBarTitleText": "领券中心",
"navigationBarBackgroundColor": "#FB3A22",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false
}
},
{
"path" : "coupon/list",
"style" :
{
"navigationBarTitleText": "领券中心",
"navigationBarBackgroundColor": "#FB3A22",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false
}
},
{
"path" : "recycling/index",
"style" :
{
"navigationBarTitleText": "上门回收",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
"enablePullDownRefresh": false
}
}
],
"subPackages": [{
"root": "pages/news/",
"pages": [{
"path": "consult/store",
"style": {
"navigationBarTitleText": "门店相册",
"enablePullDownRefresh": false
}
},
{
"path" : "recycling/detail",
"style" :
{
"navigationBarTitleText": "上门回收",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
"path": "consult/comment",
"style": {
"navigationBarTitleText": "评论",
"enablePullDownRefresh": false
}
},
{
"path" : "recycling/confirm",
"style" :
{
"navigationBarTitleText": "确认服务订单",
"path": "consult/about",
"style": {
"navigationBarTitleText": "联系我们",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
"enablePullDownRefresh": false
}
},
{
"path" : "recycling/timer",
"style" :
{
"navigationBarTitleText": "选择时间",
"path": "consult/index",
"style": {
"navigationBarTitleText": "咨询",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
"enablePullDownRefresh": false
}
},
{
"path" : "recycling/order",
"style" :
{
"navigationBarTitleText": "订单详情",
"path": "park/index",
"style": {
"navigationBarTitleText": "停车指引",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
]
},
{
"root": "pages/activity/",
"pages": [
{
"path" : "presale",
"style" :
{
"navigationBarTitleText": "预售专区",
"enablePullDownRefresh": false
}
},
{
"path" : "presaleRule",
"style" :
{
"navigationBarTitleText": "预售规则",
"enablePullDownRefresh": false
}
},
{
"path" : "intimate",
"style" :
{
"navigationBarTitleText": "贴心服务",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path" : "newsshop",
"style" :
{
"navigationBarTitleText": "新年换新",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path" : "newPeople",
"style" :
{
"navigationBarTitleText": "新人首单礼",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
]
},
{
"root": "pages/news1/",
"pages": [
{
"path" : "logistics",
"style" :
{
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "物流问题"
}
},
{
"path": "help",
"enablePullDownRefresh": false
}
},
{
"path": "park/recordHistory",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "帮助与客服"
"navigationBarTitleText": "预约记录",
"enablePullDownRefresh": false
}
},
{
"path": "jinqun",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "进社群享更多福利"
}
}
]
}
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
],
"subPackages": [{
"root": "pages/news/",
"pages": [{
}, {
"path": "park/addressList",
"style": {
"navigationBarTitleText": "地址",
"enablePullDownRefresh": false
}
}, {
"path": "park/addressEdit",
"style": {
"navigationBarTitleText": "地址",
"enablePullDownRefresh": false
}
}, {
"path": "park/personal",
"style": {
"navigationBarTitleText": "编辑信息",
"enablePullDownRefresh": false
}
},
{
"path": "coupon/index",
"style": {
"navigationBarTitleText": "领券中心",
@ -829,31 +661,8 @@
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "seckill",
"style": {
"navigationBarTitleText": "限时秒杀",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "ranking",
"style": {
"navigationBarTitleText": "排行",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "newGoods",
"style": {
"navigationBarTitleText": "新品首发",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
]
},
{
@ -874,70 +683,233 @@
"navigationBarTextStyle": "black",
"navigationBarTitleText": "帮助与客服"
}
},
{
},
{
"path": "jinqun",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "进社群享更多福利"
}
},{
"path": "wallet",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "我的钱包"
}
},
{
"path": "huoyuan",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "我要货源"
}
},
{
"path": "feedback",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "我要反馈"
}
},
{
"path": "MerchantSettlement",
"style": {
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "商家入驻"
// "enablePullDownRefresh": true,
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "进社群享更多福利"
}
}
]
}
}
]
}
]
}],
"subPackages": [{
"root": "pages/news/",
"pages": [{
"path": "coupon/index",
"style": {
"navigationBarTitleText": "领券中心",
"navigationBarBackgroundColor": "#FB3A22",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false
}
},
{
"path": "coupon/list",
"style": {
"navigationBarTitleText": "领券中心",
"navigationBarBackgroundColor": "#FB3A22",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false
}
},
{
"path": "recycling/index",
"style": {
"navigationBarTitleText": "上门回收",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "recycling/detail",
"style": {
"navigationBarTitleText": "上门回收",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "recycling/confirm",
"style": {
"navigationBarTitleText": "确认服务订单",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "recycling/timer",
"style": {
"navigationBarTitleText": "选择时间",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "recycling/order",
"style": {
"navigationBarTitleText": "订单详情",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
]
},
{
"root": "pages/activity/",
"pages": [{
"path": "presale",
"style": {
"navigationBarTitleText": "预售专区",
"enablePullDownRefresh": false
}
},
{
"path": "presaleRule",
"style": {
"navigationBarTitleText": "预售规则",
"enablePullDownRefresh": false
}
},
{
"path": "intimate",
"style": {
"navigationBarTitleText": "贴心服务",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "newsshop",
"style": {
"navigationBarTitleText": "新年换新",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "newPeople",
"style": {
"navigationBarTitleText": "新人首单礼",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "seckill",
"style": {
"navigationBarTitleText": "限时秒杀",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "ranking",
"style": {
"navigationBarTitleText": "排行",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "newGoods",
"style": {
"navigationBarTitleText": "新品首发",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
]
},
{
"root": "pages/news1/",
"pages": [{
"path": "logistics",
"style": {
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "物流问题"
}
},
{
"path": "help",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "帮助与客服"
}
},
{
"path": "jinqun",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "进社群享更多福利"
}
}, {
"path": "wallet",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "我的钱包"
}
},
{
"path": "huoyuan",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "我要货源"
}
},
{
"path": "feedback",
"style": {
// "enablePullDownRefresh": true,
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "我要反馈"
}
},
{
"path": "MerchantSettlement",
"style": {
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "商家入驻"
}
}
]
}
],
"globalStyle": {
// #ifdef H5
// "navigationStyle": "custom",
"maxWidth": 750,
"rpxCalcMaxDeviceWidth": 750, // rpx px 960
"rpxCalcBaseDeviceWidth": 560, // rpx 使 rpx px 375
"rpxCalcIncludeWidth": 9999, // rpx rpx 750
// #endif
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "",
"navigationBarTextStyle": "black",
"backgroundTextStyle": "dark"
},
"easycom": {
"autoscan": true,
"custom": {}
}
],
"globalStyle": {
// #ifdef H5
// "navigationStyle": "custom",
"maxWidth": 750,
"rpxCalcMaxDeviceWidth": 750, // rpx px 960
"rpxCalcBaseDeviceWidth": 560, // rpx 使 rpx px 375
"rpxCalcIncludeWidth": 9999, // rpx rpx 750
// #endif
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "",
"navigationBarTextStyle": "black",
"backgroundTextStyle": "dark"
},
"easycom": {
"autoscan": true,
"custom": {}
}
}

@ -184,8 +184,8 @@
</view>
</view>
<view class="dia">
<view class="preSuc">
<view class="dia" v-if="openDialog">
<view class="preSuc" v-if="diaShow">
<view class="preImg">
<image src="../../static/order/ld.png" mode="" class="ldImg"></image>
</view>
@ -196,6 +196,91 @@
我知道了
</view>
</view>
<view class="setMs" v-if="setPrice">
<view class="msprice">
设置秒杀价格
</view>
<view class="msLine">
<u-line class="u-line"></u-line>
</view>
<view class="msp">
<text>秒杀价:</text>
<input type="text" placeholder="秒杀价格可低于成本价" class="inp"/>
</view>
<view class="qj">
<text class="msQj">秒杀区间:</text>
<view class="date">
<view class="beginTime timeCommn">
开始时间
</view>
-
<view class="timeCommn endTime">
结束时间
</view>
</view>
</view>
<view class="msLimit">
<text>秒杀限购:</text>
<switch @change="switch1Change" />
</view>
<view class="peoLimit">
<text>每人限购</text>
<view class="num">
1
</view>
<text></text>
</view>
<view class="operaBtn">
<view class="cancel btnComm">
取消
</view>
<view class="sureBtn btnComm">
确定
</view>
</view>
</view>
<view class="shareWechat">
<view class="shareGoods">
<image src="/static/detail/tv.png" mode="" class="shareImg"></image>
</view>
<view class="shareInfo">
<view class="shareGoodsInfo">
夏普4T-M70H7DA 70英寸 4K 高清进口屏智能语音平板液晶电视机6575
</view>
<view class="sharePrice">
4980
</view>
</view>
<view class="shareOpera">
<view class="operaItem">
<view class="imgIcon">
<u-icon name="order" class="iconIm"></u-icon>
</view>
<view class="shareText">
复制文案
</view>
</view>
<view class="operaItem">
<view class="imgIcon weChatIcon">
<u-icon name="order" class="iconIm"></u-icon>
</view>
<view class="shareText">
微信好友
</view>
</view>
<view class="operaItem">
<view class="imgIcon hb">
<u-icon name="order" class="iconIm"></u-icon>
</view>
<view class="shareText">
生成海报
</view>
</view>
</view>
<view class="shareCancel" @click="shareCancel">
取消
</view>
</view>
</view>
</view>
</template>
@ -203,8 +288,11 @@
export default {
data() {
return {
diaShow:false,
searchValue: '',
isPre:false,
setPrice:false,
openDialog:false,
}
},
onLoad(options){
@ -245,6 +333,9 @@
url:'/pages/sureOrder/index'
})
},
shareCancel(){
//
},
}
}
</script>
@ -902,5 +993,226 @@
margin-top: 70rpx;
}
}
.setMs{
width: 656rpx;
height: 690rpx;
background: #FFFFFF;
border-radius: 12rpx 12rpx 12rpx 12rpx;
opacity: 1;
.msprice{
width: 100%;
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
color: #262626;
line-height: 38rpx;
text-align: center;
margin-top: 24rpx;
margin-bottom: 26rpx;
}
.msLine{
margin-bottom: 30rpx;
}
.msp{
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 30rpx;
.inp{
width: 440rpx;
height: 72rpx;
background: #FFFFFF;
border-radius: 4rpx 4rpx 4rpx 4rpx;
opacity: 1;
border: 2rpx solid #EBEBEB;
margin-left: 20rpx;
line-height: 72rpx;
}
}
.qj{
font-size: 28rpx;
font-weight: 400;
color: #262626;
line-height: 33rpx;
margin-bottom: 34rpx;
.msQj{
position: relative;
left:-218rpx;
}
.date{
display: flex;
align-items: center;
justify-content: center;
margin-top: 16rpx;
.timeCommn{
width: 260rpx;
height: 68rpx;
background: #F1F1F1;
border-radius: 62rpx 62rpx 62rpx 62rpx;
opacity: 1;
line-height: 68rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #929292;
padding-left: 34rpx;
}
.beginTime{
margin-right: 16rpx;
}
.endTime{
margin-left: 20rpx;
}
}
}
.msLimit{
display: flex;
justify-content: space-between;
padding: 0 38rpx 0 42rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #262626;
line-height: 33rpx;
}
.peoLimit{
display: flex;
margin-left: 42rpx;
align-items: center;
.num{
width: 106rpx;
height: 60rpx;
background: #FFFFFF;
border-radius: 4rpx 4rpx 4rpx 4rpx;
opacity: 1;
border: 2rpx solid #EBEBEB;
text-align: center;
line-height: 60rpx;
margin: 0 18rpx 0 16rpx;
}
}
.operaBtn{
display: flex;
justify-content: center;
margin-top: 52rpx;
.btnComm{
width: 216rpx;
height: 70rpx;
background: #EEEEEE;
border-radius: 44rpx 44rpx 44rpx 44rpx;
opacity: 1;
line-height: 70rpx;
text-align: center;
}
.sureBtn{
width: 214rpx;
height: 74rpx;
background: linear-gradient(180deg, #FD5D06 0%, #F3211A 100%);
border-radius: 100rpx 100rpx 100rpx 100rpx;
opacity: 1;
text-align: center;
line-height:74rpx ;
font-size: 28rpx;
font-weight: 500;
color: #FFFFFF;
margin-left: 24rpx;
}
}
}
.shareWechat{
width: 656rpx;
height: 884rpx;
background: #FFFFFF;
border-radius: 12rpx 12rpx 12rpx 12rpx;
opacity: 1;
display: flex;
flex-direction: column;
padding-top: 24rpx;
.shareGoods{
margin-left: 28rpx;
width: 604rpx;
height: 382rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
image{
width: 100%;
height: 100%;
}
}
.shareInfo{
display: flex;
align-items: center;
margin-top: 12rpx;
.shareGoodsInfo{
width: 410rpx;
height: 120rpx;
font-size: 28rpx;
font-weight: 400;
color: #000000;
line-height: 33rpx;
}
.sharePrice{
height: 64rpx;
font-size: 46rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #FF645A;
line-height: 54rpx;
}
}
.shareOpera{
display: flex;
align-items: center;
justify-content: space-around;
margin-top: 36rpx;
margin-bottom: 46rpx;
.operaItem{
.imgIcon{
width: 88rpx;
height: 88rpx;
background: linear-gradient(180deg, #EC6244 0%, #FA938C 100%);
border-radius: 50%;
opacity: 1;
line-height: 88rpx;
text-align: center;
color: #fff;
.iconIm{
font-size: 32rpx;
}
}
.weChatIcon{
background: #28C445;
}
.hb{
background: linear-gradient(180deg, #53A2EE 0%, #6FB2F4 100%);
}
.shareText{
width: 96rpx;
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #000000;
line-height: 28rpx;
}
}
}
.shareCancel{
width: 556rpx;
height: 82rpx;
background: #EEEEEE;
border-radius: 44rpx 44rpx 44rpx 44rpx;
opacity: 1;
font-size: 28rpx;
font-weight: 500;
color: #585858;
line-height: 82rpx;
text-align: center;
left: 0;
right: 0;
margin: auto;
}
}
}
</style>

@ -350,7 +350,7 @@
<view class="evaLine">
</view>
<view class="fli">
<view class="fli" @click="shopPicture">
<view class="xh">
门店相册
</view>
@ -500,6 +500,11 @@
url: '/pages/activity/intimate'
})
},
shopPicture(){
uni.navigateTo({
url:'/pages/news/consult/store'
})
},
}
}
</script>

@ -278,13 +278,13 @@
我的服务
</view>
<view class="serve">
<view class="serveIcon" v-if="userType==1">
<view class="serveIcon" v-if="userType==1" @click="goPage()">
<image src="/static/user/record.png" mode="" class="icons"></image>
<view class="serveInfo">
发货记录
</view>
</view>
<view class="serveIcon" v-if="userType==1">
<view class="serveIcon" v-if="userType==1" @click="goPage()">
<image src="/static/user/car.png" mode="" class="icons"></image>
<view class="serveInfo">
物流查询
@ -302,7 +302,7 @@
分销价
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" @click="goPage('/pages/news1/MerchantSettlement')">
<image src="/static/user/checkIn.png" mode="" class="icons"></image>
<view class="serveInfo">
商家入驻
@ -320,13 +320,13 @@
店铺设置
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" @click="goPage('/pages/news/park/addressList')">
<image src="/static/user/address.png" mode="" class="icons"></image>
<view class="serveInfo">
地址
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" @click="goPage('/pages/invite/index')">
<image src="/static/user/invite.png" mode="" class="icons"></image>
<view class="serveInfo">
邀请会员
@ -359,19 +359,19 @@
投诉
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" @click="goPage('/pages/news/consult/about')">
<image src="/static/user/about.png" mode="" class="icons"></image>
<view class="serveInfo">
联系我们
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" @click="goPage('/pages/help/index')">
<image src="/static/user/help.png" mode="" class="icons"></image>
<view class="serveInfo">
帮助中心
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" @click="goPage('/pages/news1/huoyuan')">
<image src="/static/user/help.png" mode="" class="icons"></image>
<view class="serveInfo">
我要找货
@ -473,7 +473,7 @@
myWallet() {
//
uni.navigateTo({
url: '/pages/wallet/index'
url: '/pages/news1/wallet'
})
},
goGoodsOrder(val) {
@ -488,6 +488,11 @@
url: '/pages/goods/detail'
})
},
goPage(url){
uni.navigateTo({
url:url
})
},
}
}
</script>

Loading…
Cancel
Save