修改首页下拉
This commit is contained in:
@@ -6,8 +6,8 @@ const proxyApi = "/api"
|
||||
// const proxyApi = 'http://192.168.2.42:9889/cashierService' // 王伟
|
||||
// const proxyApi = 'http://192.168.2.74:9888/cashierService' // 帆哥
|
||||
// const proxyApiwws = 'ws://192.168.2.74:9888/cashierService' // 测试
|
||||
const proxyApi = 'https://wxcashiertest.sxczgkj.cn/cashierService' // 测试
|
||||
const proxyApiwws = 'wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试
|
||||
// const baseUrl = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试
|
||||
// const baseUrlwws ='wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试
|
||||
|
||||
// #endif
|
||||
|
||||
@@ -16,10 +16,9 @@ const baseUrl = debug ? proxyApi : "https://wxcashiertest.sxczgkj.cn/cashierServ
|
||||
const baseUrlwws = 'ws://cashier.sxczgkj.cn/cashierService'
|
||||
// #endif
|
||||
// #ifdef APP || MP-WEIXIN
|
||||
const baseUrl = debug ? proxyApi : 'https://cashier.sxczgkj.cn/cashierService'// 线上
|
||||
const baseUrlwws = debug ? proxyApiwws : 'wss://cashier.sxczgkj.cn/cashierService' // 线上
|
||||
// const baseUrl = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试
|
||||
// const baseUrlwws ='wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试
|
||||
const baseUrl = 'https://cashier.sxczgkj.cn/cashierService'// 线上
|
||||
const baseUrlwws = 'wss://cashier.sxczgkj.cn/cashierService' // 线上
|
||||
|
||||
// #endif
|
||||
|
||||
// import VConsole from "./vConsole.js"
|
||||
|
||||
@@ -121,7 +121,6 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": "个人中心",
|
||||
"navigationBarBackgroundColor": "#FFD158",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}, {
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<!-- 今日上线 -->
|
||||
<todaylist :todayList='hometoplist.todayList' :salesList='hometoplist.salesList'></todaylist>
|
||||
<!-- 类目 -->
|
||||
<view class="fourcontent flex-between">
|
||||
<view class="fourcontent flex-between" v-if="!isFixedTop">
|
||||
<view class="fourcontent_item flex-start" v-for="(item,index) in hometoplist.menu" :key="index"
|
||||
@click="viewHistory(item,index)"
|
||||
:class="!item.isChild && viewHistoryindex == index ? 'fourcontent_itemactev':''">
|
||||
@@ -60,7 +60,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="fivecontent">
|
||||
<view class="fivecontent flex-colum">
|
||||
<!-- <view class="fivecontent" :style="{'height':seighT + 'px'}"> -->
|
||||
<!-- <scroll-view :style="{'height':seighT + 'px'}" scroll-y @scrolltolower="loadMore"
|
||||
scroll-with-animation> -->
|
||||
@@ -258,7 +258,7 @@
|
||||
quilt: ''
|
||||
}, //下拉点击的数据
|
||||
form: {
|
||||
address: '西安市', //地址
|
||||
address: '', //地址
|
||||
type: '', //品类
|
||||
orderBy: '', //1.理我最近 2.销量优先 3.价格优先
|
||||
other: '', //附近1KM 1选中 0不选中
|
||||
@@ -388,7 +388,7 @@
|
||||
this.seighT = data.windowHeight;
|
||||
this.$u.getRect('.fourcontent').then(res => {
|
||||
console.log(res.top)
|
||||
this.Topdistance = res.top - res.height - 22 //滚动距离
|
||||
this.Topdistance = res.top - res.height //滚动距离
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -283,7 +283,7 @@
|
||||
text-align: center;
|
||||
background: #FFFFFF;
|
||||
border-radius: 8rpx;
|
||||
border: 1rpx solid #333333;
|
||||
// border: 1rpx solid #333333;
|
||||
font-size: 28rpx;
|
||||
font-family: Roboto-Medium, Roboto;
|
||||
font-weight: 500;
|
||||
|
||||
@@ -141,27 +141,11 @@
|
||||
{{listdata.purchaseNotice.refundPolicy || '无'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="fivecontenitem">
|
||||
<view class="fivecontenitem" v-if="listdata.purchaseNotice.usageRules">
|
||||
<view class="fivecontenitemone">
|
||||
使用规则
|
||||
</view>
|
||||
<view class="fivecontenitemtow">
|
||||
不可使用包间
|
||||
本单发票由商家提供,详情请咨询商家
|
||||
堂食外带均可
|
||||
1.购买:本券购买后,无需复制券码,进入书亦烧仙草小APP/
|
||||
程序【我的-兑换卡券】点击【获取美团券】即可。
|
||||
2.使用:请登录书亦烧仙草APP/小程序,选择对应商品,结算时
|
||||
券会自动抵扣。
|
||||
3.限1件商品使用,不可抵扣配送费、奶油等附加费用,如遇门
|
||||
店原料不足无法供应时,或售罄,您可视情况更换核销门店或
|
||||
退款处理。
|
||||
4.适用范围:部分门店不可用,最终已下单时系统结算为准。
|
||||
5.售后服务:如有疑问请致电400-888-1717。
|
||||
团购用户可享受店内其他所有优惠
|
||||
使用优惠券购买团单,有效期以优惠券规则为准
|
||||
每人每天最多购买2张美团券
|
||||
无需预约,消费高峰期可能需要等位
|
||||
<view class="fivecontenitemtow" v-html="listdata.purchaseNotice.usageRules">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -403,7 +387,7 @@
|
||||
// 通用门店
|
||||
productgeneralstore(name) {
|
||||
uni.navigateTo({
|
||||
url:'/pages/product/generalstore?name=' + encodeURIComponent(JSON.stringify(name))
|
||||
url: '/pages/product/generalstore?name=' + encodeURIComponent(JSON.stringify(name))
|
||||
})
|
||||
},
|
||||
goMap(d) {
|
||||
@@ -1119,9 +1103,8 @@
|
||||
}
|
||||
|
||||
.classshowpopupitem {
|
||||
margin-top: 32rpx;
|
||||
|
||||
.classshowpopupitemone {
|
||||
margin-top: 32rpx;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
font-size: 32rpx;
|
||||
@@ -1129,6 +1112,7 @@
|
||||
}
|
||||
|
||||
.classshowpopupitemtow {
|
||||
margin-top: 16rpx;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/user/kf.png" mode="aspectFill">
|
||||
</view>
|
||||
|
||||
<image @click="memberlist" class="boxtop_botton" src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/user/member.png"
|
||||
mode="aspectFit"></image>
|
||||
<image @click="memberlist" class="boxtop_botton"
|
||||
src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/user/member.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="userinfoone" v-if="teblist.length!=0">
|
||||
<view class="userinfoonebox">
|
||||
@@ -72,11 +72,10 @@
|
||||
userInfo: {},
|
||||
teblist: [],
|
||||
list: [],
|
||||
Topdistance: ''
|
||||
Topdistance: '',
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
onLoad() {},
|
||||
computed: {
|
||||
HeighT() { //手机类型的尺寸
|
||||
return this.$store.getters.is_BarHeight
|
||||
@@ -90,6 +89,14 @@
|
||||
}, 1000)
|
||||
// 当组件挂载完成后获取距离
|
||||
|
||||
},
|
||||
onPageScroll(e) {
|
||||
if (e.scrollTop <= 44) { //搜索导航栏
|
||||
this.opacity = false
|
||||
} else {
|
||||
this.opacity = true
|
||||
}
|
||||
|
||||
},
|
||||
onShow() {
|
||||
if (uni.cache.get('token')) {
|
||||
@@ -114,10 +121,10 @@
|
||||
this.Topdistance = res.height //滚动距离
|
||||
})
|
||||
},
|
||||
memberlist(){
|
||||
memberlist() {
|
||||
if (uni.cache.get('token')) {
|
||||
uni.pro.navigateTo('member/list')
|
||||
}else{
|
||||
} else {
|
||||
this.loginClick()
|
||||
}
|
||||
},
|
||||
@@ -312,6 +319,7 @@
|
||||
.boxtop_top {
|
||||
padding: 0 32rpx;
|
||||
margin-top: 52rpx;
|
||||
|
||||
.boxtop_topleft {
|
||||
.flex-start {
|
||||
text {
|
||||
|
||||
Reference in New Issue
Block a user