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

@ -497,30 +497,25 @@
}
],
"subPackages": [
{
"subPackages": [{
"root": "pages/news/",
"pages": [
{
"pages": [{
"path": "consult/store",
"style" :
{
"style": {
"navigationBarTitleText": "门店相册",
"enablePullDownRefresh": false
}
},
{
"path": "consult/comment",
"style" :
{
"style": {
"navigationBarTitleText": "评论",
"enablePullDownRefresh": false
}
},
{
"path": "consult/about",
"style" :
{
"style": {
"navigationBarTitleText": "联系我们",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -528,8 +523,7 @@
},
{
"path": "consult/index",
"style" :
{
"style": {
"navigationBarTitleText": "咨询",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -537,8 +531,7 @@
},
{
"path": "park/index",
"style" :
{
"style": {
"navigationBarTitleText": "停车指引",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -546,37 +539,32 @@
},
{
"path": "park/recordHistory",
"style" :
{
"style": {
"navigationBarTitleText": "预约记录",
"enablePullDownRefresh": false
}
}, {
"path": "park/addressList",
"style" :
{
"style": {
"navigationBarTitleText": "地址",
"enablePullDownRefresh": false
}
}, {
"path": "park/addressEdit",
"style" :
{
"style": {
"navigationBarTitleText": "地址",
"enablePullDownRefresh": false
}
}, {
"path": "park/personal",
"style" :
{
"style": {
"navigationBarTitleText": "编辑信息",
"enablePullDownRefresh": false
}
},
{
"path": "coupon/index",
"style" :
{
"style": {
"navigationBarTitleText": "领券中心",
"navigationBarBackgroundColor": "#FB3A22",
"navigationBarTextStyle": "white",
@ -585,8 +573,7 @@
},
{
"path": "coupon/list",
"style" :
{
"style": {
"navigationBarTitleText": "领券中心",
"navigationBarBackgroundColor": "#FB3A22",
"navigationBarTextStyle": "white",
@ -595,8 +582,7 @@
},
{
"path": "recycling/index",
"style" :
{
"style": {
"navigationBarTitleText": "上门回收",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -604,8 +590,7 @@
},
{
"path": "recycling/detail",
"style" :
{
"style": {
"navigationBarTitleText": "上门回收",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -613,8 +598,7 @@
},
{
"path": "recycling/confirm",
"style" :
{
"style": {
"navigationBarTitleText": "确认服务订单",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -622,8 +606,7 @@
},
{
"path": "recycling/timer",
"style" :
{
"style": {
"navigationBarTitleText": "选择时间",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -631,8 +614,7 @@
},
{
"path": "recycling/order",
"style" :
{
"style": {
"navigationBarTitleText": "订单详情",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -642,27 +624,23 @@
},
{
"root": "pages/activity/",
"pages": [
{
"pages": [{
"path": "presale",
"style" :
{
"style": {
"navigationBarTitleText": "预售专区",
"enablePullDownRefresh": false
}
},
{
"path": "presaleRule",
"style" :
{
"style": {
"navigationBarTitleText": "预售规则",
"enablePullDownRefresh": false
}
},
{
"path": "intimate",
"style" :
{
"style": {
"navigationBarTitleText": "贴心服务",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -670,8 +648,7 @@
},
{
"path": "newsshop",
"style" :
{
"style": {
"navigationBarTitleText": "新年换新",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -679,8 +656,7 @@
},
{
"path": "newPeople",
"style" :
{
"style": {
"navigationBarTitleText": "新人首单礼",
"navigationStyle": "custom",
"enablePullDownRefresh": false
@ -691,11 +667,9 @@
},
{
"root": "pages/news1/",
"pages": [
{
"pages": [{
"path": "logistics",
"style" :
{
"style": {
"navigationStyle": "default",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "物流问题"
@ -721,13 +695,11 @@
}
]
}
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
],
]
}],
"subPackages": [{
"root": "pages/news/",
"pages": [{

@ -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