updata
This commit is contained in:
parent
0e2701e575
commit
cd98744baf
|
|
@ -685,7 +685,7 @@
|
||||||
&-right {
|
&-right {
|
||||||
width: 225rpx;
|
width: 225rpx;
|
||||||
height: 77rpx;
|
height: 77rpx;
|
||||||
background: linear-gradient(-77deg, #4A6FE7, #83ACFF);
|
background: #0122A4;
|
||||||
box-shadow: 0 6rpx 8rpx 0 rgba(74, 111, 231, 0.2300);
|
box-shadow: 0 6rpx 8rpx 0 rgba(74, 111, 231, 0.2300);
|
||||||
border-radius: 48rpx;
|
border-radius: 48rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
||||||
|
|
@ -1,396 +1,396 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="b-page-home">
|
<view class="b-page-home">
|
||||||
<view class="content-top">
|
<view class="content-top">
|
||||||
<view class="content-top-banner">
|
<view class="content-top-banner">
|
||||||
<image class="img" :src="qnyurl('banner-1.jpg','rx')" mode=""></image>
|
<image class="img" :src="qnyurl('banner-1.jpg','rx')" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<!-- 地址/搜索/选择 -->
|
<!-- 地址/搜索/选择 -->
|
||||||
<view class="content-top-search">
|
<view class="content-top-search">
|
||||||
<view class="content-top-search-area-search">
|
<view class="content-top-search-area-search">
|
||||||
<navigator url="/pages/restaurant/arealist/arealist" hover-class="none">
|
<navigator url="/pages/restaurant/arealist/arealist" hover-class="none">
|
||||||
<view class="content-top-search-area-search-text">
|
<view class="content-top-search-area-search-text">
|
||||||
<!-- 第一次获取肯定是获取不到的,主要是动态显示用户改变的地址 -->
|
<!-- 第一次获取肯定是获取不到的,主要是动态显示用户改变的地址 -->
|
||||||
{{UserArae1?UserArae1:UserArae2['city']}}
|
{{UserArae1?UserArae1:UserArae2['city']}}
|
||||||
<view
|
<view
|
||||||
style="width: 50rpx;height: 30rpx;display: flex;justify-content: center;align-items: center;">
|
style="width: 50rpx;height: 30rpx;display: flex;justify-content: center;align-items: center;">
|
||||||
<image style="width: 15rpx;height: 12rpx;" class="img" :src="qnyurl('xiala.jpg','rx')">
|
<image style="width: 15rpx;height: 12rpx;" class="img" :src="qnyurl('xiala.jpg','rx')">
|
||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
|
|
||||||
<u-search placeholder="输入门店名称查询" :showAction="false" v-model="keyword" @search="search">
|
<u-search placeholder="输入门店名称查询" :showAction="false" v-model="keyword" @search="search">
|
||||||
</u-search>
|
</u-search>
|
||||||
</view>
|
</view>
|
||||||
<!-- 收藏项 -->
|
<!-- 收藏项 -->
|
||||||
<!-- <view class="content-top-search-tabs">
|
<!-- <view class="content-top-search-tabs">
|
||||||
<u-tabs @change="e=>{tabsconfig['index'] = e['index']}" :list="tabsconfig['list']"
|
<u-tabs @change="e=>{tabsconfig['index'] = e['index']}" :list="tabsconfig['list']"
|
||||||
:scrollable="tabsconfig['scrollable']" :lineColor="tabsconfig['lineColor']"
|
:scrollable="tabsconfig['scrollable']" :lineColor="tabsconfig['lineColor']"
|
||||||
:lineWidth="tabsconfig['lineWidth']"></u-tabs>
|
:lineWidth="tabsconfig['lineWidth']"></u-tabs>
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 店铺列表 -->
|
<!-- 店铺列表 -->
|
||||||
<!-- 因为骨架屏的颜色和UI设置背景色冲突所以在没有列表元素时先将背景色设置为白色 -->
|
<!-- 因为骨架屏的颜色和UI设置背景色冲突所以在没有列表元素时先将背景色设置为白色 -->
|
||||||
<view class="Store-List" :style="{height:`${height}rpx`,'background-color':'#F2F2F2'}">
|
<view class="Store-List" :style="{height:`${height}rpx`,'background-color':'#F2F2F2'}">
|
||||||
<!-- 附近餐厅 -->
|
<!-- 附近餐厅 -->
|
||||||
<view v-show="tabsconfig['index'] == 0">
|
<view v-show="tabsconfig['index'] == 0">
|
||||||
<scroll-view scroll-y="true" class="scroll-Y" :style="{height:`${height}rpx`,'position': 'relative'}"
|
<scroll-view scroll-y="true" class="scroll-Y" :style="{height:`${height}rpx`,'position': 'relative'}"
|
||||||
@scrolltolower="scrolltolower">
|
@scrolltolower="scrolltolower">
|
||||||
<!-- 骨架屏占位元素 -->
|
<!-- 骨架屏占位元素 -->
|
||||||
<template v-if="StoreList[0]['list']['length'] > 0">
|
<template v-if="StoreList[0]['list']['length'] > 0">
|
||||||
<!-- 组件内部会获取到品牌类型,从而显示对应类型的店铺列表样式 -->
|
<!-- 组件内部会获取到品牌类型,从而显示对应类型的店铺列表样式 -->
|
||||||
<view style="padding-bottom: 32rpx;" v-for="(item,index) in StoreList[0]['list']">
|
<view style="padding-bottom: 32rpx;" v-for="(item,index) in StoreList[0]['list']">
|
||||||
<!-- 店铺列表样式 -->
|
<!-- 店铺列表样式 -->
|
||||||
<b-shop-list-item :item="item" :key="index" @itemclick="SETSHOPDETAIL(item);eattypeShow = true">
|
<b-shop-list-item :item="item" :key="index" @itemclick="SETSHOPDETAIL(item);eattypeShow = true">
|
||||||
</b-shop-list-item>
|
</b-shop-list-item>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<!-- 必须先确保scoll有高度 -->
|
<!-- 必须先确保scoll有高度 -->
|
||||||
<!-- 缺省图 -->
|
<!-- 缺省图 -->
|
||||||
<view class="default" v-if="Show == 1">
|
<view class="default" v-if="Show == 1">
|
||||||
<img class="img" :src="qnyurl('default.png','rx')" alt="">
|
<img class="img" :src="qnyurl('default.png','rx')" alt="">
|
||||||
<text>该地区暂无门店信息</text>
|
<text>该地区暂无门店信息</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- 加载中 -->
|
<!-- 加载中 -->
|
||||||
<b-load :show="Show == 2" position="absolute" background="transparent" width="79" height="80" color="#000000"></b-load>
|
<b-load :show="Show == 2" position="absolute" background="transparent" width="79" height="80" color="#000000"></b-load>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- <b-shop-load type="load" width="79" height="74" :show="loading"></b-shop-load> -->
|
<!-- <b-shop-load type="load" width="79" height="74" :show="loading"></b-shop-load> -->
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-modal :show="eattypeShow" title="温馨提示" width="580rpx">
|
<u-modal :show="eattypeShow" title="温馨提示" width="580rpx">
|
||||||
<template v-slot:default>
|
<template v-slot:default>
|
||||||
<view class="slot-content">
|
<view class="slot-content">
|
||||||
<view class="slot-content-Tips">
|
<view class="slot-content-Tips">
|
||||||
瑞幸咖啡点餐为<text class="text1">第三方提供的点餐服务</text>,该服务与瑞幸官方无关,有问题请联系在线客服。
|
瑞幸咖啡点餐为<text class="text1">第三方提供的点餐服务</text>,该服务与瑞幸官方无关,有问题请联系在线客服。
|
||||||
</view>
|
</view>
|
||||||
<view class="slot-content-Tips2">
|
<view class="slot-content-Tips2">
|
||||||
<view>
|
<view>
|
||||||
● 优惠点餐,不支持开发票!
|
● 优惠点餐,不支持开发票!
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
● 出餐后不支持退款!
|
● 出餐后不支持退款!
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:confirmButton>
|
<template v-slot:confirmButton>
|
||||||
<view class="confirmButton" @tap="InforPage">
|
<view class="confirmButton" @tap="InforPage">
|
||||||
我知道了
|
我知道了
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</u-modal>
|
</u-modal>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import mixin from '@/static/js/mixin/mixin.js';
|
import mixin from '@/static/js/mixin/mixin.js';
|
||||||
import restaurantmixins from '@/static/js/mixin/restaurantmixins.js';
|
import restaurantmixins from '@/static/js/mixin/restaurantmixins.js';
|
||||||
// 请求接口
|
// 请求接口
|
||||||
import {
|
import {
|
||||||
restaurantQueryAPI,
|
restaurantQueryAPI,
|
||||||
storeCollectionListAPI
|
storeCollectionListAPI
|
||||||
} from '@/request/restaurant/index.js';
|
} from '@/request/restaurant/index.js';
|
||||||
|
|
||||||
// vuex
|
// vuex
|
||||||
import {
|
import {
|
||||||
mapGetters,
|
mapGetters,
|
||||||
mapMutations
|
mapMutations
|
||||||
} from 'vuex';
|
} from 'vuex';
|
||||||
export default {
|
export default {
|
||||||
mixins: [mixin,restaurantmixins],
|
mixins: [mixin,restaurantmixins],
|
||||||
name: "b-page-home",
|
name: "b-page-home",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 就餐方式
|
// 就餐方式
|
||||||
eattypeShow: false,
|
eattypeShow: false,
|
||||||
eat_type: 'EAT_IN',
|
eat_type: 'EAT_IN',
|
||||||
// 店铺接口数据用于分页
|
// 店铺接口数据用于分页
|
||||||
temporaryData: [],
|
temporaryData: [],
|
||||||
// 收藏接口数据用于分页
|
// 收藏接口数据用于分页
|
||||||
CollectiontemporaryData: [],
|
CollectiontemporaryData: [],
|
||||||
// 餐厅列表/收藏列表
|
// 餐厅列表/收藏列表
|
||||||
StoreList: [{
|
StoreList: [{
|
||||||
page: 1,
|
page: 1,
|
||||||
count: 0,
|
count: 0,
|
||||||
list: []
|
list: []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
page: 1,
|
page: 1,
|
||||||
count: 0,
|
count: 0,
|
||||||
list: []
|
list: []
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// 餐厅列表scroll高度
|
// 餐厅列表scroll高度
|
||||||
height: 0,
|
height: 0,
|
||||||
// 搜索值
|
// 搜索值
|
||||||
keyword: '',
|
keyword: '',
|
||||||
// 滑动tabs配置参数参数
|
// 滑动tabs配置参数参数
|
||||||
tabsconfig: {
|
tabsconfig: {
|
||||||
// 当前激活索引
|
// 当前激活索引
|
||||||
index: 0,
|
index: 0,
|
||||||
scrollable: false,
|
scrollable: false,
|
||||||
// 滑块宽度
|
// 滑块宽度
|
||||||
lineWidth: '40',
|
lineWidth: '40',
|
||||||
// 滑块颜色
|
// 滑块颜色
|
||||||
lineColor: "#C63836",
|
lineColor: "#C63836",
|
||||||
list: [{
|
list: [{
|
||||||
name: '附近餐厅',
|
name: '附近餐厅',
|
||||||
}, {
|
}, {
|
||||||
name: '我的关注',
|
name: '我的关注',
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
// 加载状态
|
// 加载状态
|
||||||
loading: true,
|
loading: true,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
tabindex() {
|
tabindex() {
|
||||||
return this['tabsconfig']['index']
|
return this['tabsconfig']['index']
|
||||||
},
|
},
|
||||||
|
|
||||||
Show(){
|
Show(){
|
||||||
console.log(this['StoreList'][0]['list']['length'],'length');
|
console.log(this['StoreList'][0]['list']['length'],'length');
|
||||||
console.log(this['loading'],'loading');
|
console.log(this['loading'],'loading');
|
||||||
// 显示没地区门店
|
// 显示没地区门店
|
||||||
if(this['StoreList'][0]['list']['length'] <= 0 && !this['loading'] && this['height'] > 0){
|
if(this['StoreList'][0]['list']['length'] <= 0 && !this['loading'] && this['height'] > 0){
|
||||||
return 1;
|
return 1;
|
||||||
};
|
};
|
||||||
// 显示正在加载
|
// 显示正在加载
|
||||||
if(this['loading'] && this['height'] > 0){
|
if(this['loading'] && this['height'] > 0){
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// islist(){
|
// islist(){
|
||||||
// return this['StoreList'][0]['list']['length'] <= 0;
|
// return this['StoreList'][0]['list']['length'] <= 0;
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
GetCityCode(val) {
|
GetCityCode(val) {
|
||||||
console.log(val, '监听器');
|
console.log(val, '监听器');
|
||||||
// 用户自主切换地址时更换列表
|
// 用户自主切换地址时更换列表
|
||||||
this['StoreList'][0]['list'] = [];
|
this['StoreList'][0]['list'] = [];
|
||||||
this.GetList();
|
this.GetList();
|
||||||
},
|
},
|
||||||
tabindex(val) {
|
tabindex(val) {
|
||||||
if (val == 1) {
|
if (val == 1) {
|
||||||
console.log(this['StoreList'][1]['list']);
|
console.log(this['StoreList'][1]['list']);
|
||||||
this['StoreList'][1]['list'] = [];
|
this['StoreList'][1]['list'] = [];
|
||||||
this.GetstoreCollectionList();
|
this.GetstoreCollectionList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log('进入选店组件');
|
console.log('进入选店组件');
|
||||||
this.GetList();
|
this.GetList();
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @搜索
|
* @搜索
|
||||||
* */
|
* */
|
||||||
search() {
|
search() {
|
||||||
if (this['tabsconfig']['index'] == 0) {
|
if (this['tabsconfig']['index'] == 0) {
|
||||||
this['StoreList'][0]['page'] = 1;
|
this['StoreList'][0]['page'] = 1;
|
||||||
this['StoreList'][0]['list'] = [];
|
this['StoreList'][0]['list'] = [];
|
||||||
this.GetList();
|
this.GetList();
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this['StoreList'][1]['page'] = 1;
|
this['StoreList'][1]['page'] = 1;
|
||||||
this['StoreList'][1]['list'] = [];
|
this['StoreList'][1]['list'] = [];
|
||||||
this.GetstoreCollectionList();
|
this.GetstoreCollectionList();
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* @获取餐厅列表
|
* @获取餐厅列表
|
||||||
* */
|
* */
|
||||||
GetList() {
|
GetList() {
|
||||||
let self = this;
|
let self = this;
|
||||||
this['loading'] = true;
|
this['loading'] = true;
|
||||||
// 预留足够的时间让DOM渲染完毕
|
// 预留足够的时间让DOM渲染完毕
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
self.initScrollView({
|
self.initScrollView({
|
||||||
el: 'content-top',
|
el: 'content-top',
|
||||||
}).then(eres => {
|
}).then(eres => {
|
||||||
self['height'] = eres;
|
self['height'] = eres;
|
||||||
let parameters = {
|
let parameters = {
|
||||||
brand_id: this['BrandInfor']['brand_id'],
|
brand_id: this['BrandInfor']['brand_id'],
|
||||||
city_code: this.GetCityCode,
|
city_code: this.GetCityCode,
|
||||||
address: this['keyword'],
|
address: this['keyword'],
|
||||||
}
|
}
|
||||||
restaurantQueryAPI(parameters).then(res => {
|
restaurantQueryAPI(parameters).then(res => {
|
||||||
console.log(res,'ressssssss');
|
console.log(res,'ressssssss');
|
||||||
self['loading'] = false;
|
self['loading'] = false;
|
||||||
if (res['data']['data']['length'] <= 0) {
|
if (res['data']['data']['length'] <= 0) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '该区域暂无数据',
|
title: '该区域暂无数据',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 后端未按照分页数据格式返回所以前端自行分页
|
// 后端未按照分页数据格式返回所以前端自行分页
|
||||||
if (res['data']['data']['length'] > 0) {
|
if (res['data']['data']['length'] > 0) {
|
||||||
// 赋值总长度
|
// 赋值总长度
|
||||||
self['StoreList'][0]['count'] = res['data']['count'];
|
self['StoreList'][0]['count'] = res['data']['count'];
|
||||||
// 辅助临时数据
|
// 辅助临时数据
|
||||||
self['temporaryData'] = res['data']['data'];
|
self['temporaryData'] = res['data']['data'];
|
||||||
self['StoreList'][0]['page'] += 1;
|
self['StoreList'][0]['page'] += 1;
|
||||||
// 取出数据
|
// 取出数据
|
||||||
self.arrObtain('temporaryData', 0);
|
self.arrObtain('temporaryData', 0);
|
||||||
} else {
|
} else {
|
||||||
console.log('没数1');
|
console.log('没数1');
|
||||||
}
|
}
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
self['loading'] = false;
|
self['loading'] = false;
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},1000)
|
},1000)
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @获取关注冽表
|
* @获取关注冽表
|
||||||
* */
|
* */
|
||||||
|
|
||||||
GetstoreCollectionList() {
|
GetstoreCollectionList() {
|
||||||
let parameters = {
|
let parameters = {
|
||||||
brand_id: this['BrandInfor']['brand_id'],
|
brand_id: this['BrandInfor']['brand_id'],
|
||||||
address: this['keyword'],
|
address: this['keyword'],
|
||||||
}
|
}
|
||||||
|
|
||||||
storeCollectionListAPI(parameters).then(data => {
|
storeCollectionListAPI(parameters).then(data => {
|
||||||
if (data['data']['length'] > 0) {
|
if (data['data']['length'] > 0) {
|
||||||
// 赋值总长度
|
// 赋值总长度
|
||||||
this['StoreList'][1]['count'] = data['data']['count'];
|
this['StoreList'][1]['count'] = data['data']['count'];
|
||||||
// 辅助临时数据
|
// 辅助临时数据
|
||||||
this['CollectiontemporaryData'] = data['data']['data'];
|
this['CollectiontemporaryData'] = data['data']['data'];
|
||||||
this['StoreList'][1]['page'] += 1;
|
this['StoreList'][1]['page'] += 1;
|
||||||
// 取出数据
|
// 取出数据
|
||||||
this.arrObtain('CollectiontemporaryData', 1);
|
this.arrObtain('CollectiontemporaryData', 1);
|
||||||
} else {
|
} else {
|
||||||
console.log('没数');
|
console.log('没数');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @进入餐厅
|
* @进入餐厅
|
||||||
* */
|
* */
|
||||||
InforPage(item) {
|
InforPage(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/restaurant/home/shop_home/shop_home?restaurant_id=${this['GetShopInfor']['restaurant_id']}`,
|
url: `/pages/restaurant/home/shop_home/shop_home?restaurant_id=${this['GetShopInfor']['restaurant_id']}`,
|
||||||
success: () => {
|
success: () => {
|
||||||
this['eattypeShow'] = false;
|
this['eattypeShow'] = false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @scroll触底时间
|
* @scroll触底时间
|
||||||
* */
|
* */
|
||||||
scrolltolower() {
|
scrolltolower() {
|
||||||
// 触底防抖
|
// 触底防抖
|
||||||
uni.$u.debounce(() => {
|
uni.$u.debounce(() => {
|
||||||
// 是否是餐厅列表并且待取数组中的长度大于0
|
// 是否是餐厅列表并且待取数组中的长度大于0
|
||||||
if (this['tabsconfig']['index'] == 0 && this['temporaryData']['length'] > 0) {
|
if (this['tabsconfig']['index'] == 0 && this['temporaryData']['length'] > 0) {
|
||||||
this.arrObtain('temporaryData', 0);
|
this.arrObtain('temporaryData', 0);
|
||||||
} else {
|
} else {
|
||||||
this.arrObtain('CollectiontemporaryData', 1);
|
this.arrObtain('CollectiontemporaryData', 1);
|
||||||
}
|
}
|
||||||
}, 800, true)
|
}, 800, true)
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @获取数据前十个
|
* @获取数据前十个
|
||||||
* */
|
* */
|
||||||
arrObtain(key, index) {
|
arrObtain(key, index) {
|
||||||
let arr = this[key].splice(0, 9);
|
let arr = this[key].splice(0, 9);
|
||||||
this['StoreList'][index]['list'].push(...arr);
|
this['StoreList'][index]['list'].push(...arr);
|
||||||
console.log(this['StoreList'][index]['list'], 'list');
|
console.log(this['StoreList'][index]['list'], 'list');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
// 顶部步骤/筛选/查询样式
|
// 顶部步骤/筛选/查询样式
|
||||||
.content-top {
|
.content-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|
||||||
&-banner {
|
&-banner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 314rpx;
|
height: 314rpx;
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&-search {
|
&-search {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
padding: 32rpx;
|
padding: 32rpx;
|
||||||
|
|
||||||
&-area-search {
|
&-area-search {
|
||||||
padding: 0 32rpx;
|
padding: 0 32rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&-text {
|
&-text {
|
||||||
font-size: $FONTSIZE28;
|
font-size: $FONTSIZE28;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.icon-youjiantou {
|
.icon-youjiantou {
|
||||||
font-size: $FONTSIZE25;
|
font-size: $FONTSIZE25;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
margin: 0 15rpx;
|
margin: 0 15rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 列表样式
|
// 列表样式
|
||||||
.Store-List {
|
.Store-List {
|
||||||
padding: 0 32rpx;
|
padding: 0 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 就餐方式弹框
|
// 就餐方式弹框
|
||||||
.slot-content-Tips {
|
.slot-content-Tips {
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
.text1 {
|
.text1 {
|
||||||
color: #DB9F5E;
|
color: #DB9F5E;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.slot-content-Tips2 {
|
.slot-content-Tips2 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #FFF9F3;
|
background-color: #FFF9F3;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
color: #FF7910;
|
color: #FF7910;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
line-height: 49rpx;
|
line-height: 49rpx;
|
||||||
padding: 15rpx 32rpx;
|
padding: 15rpx 32rpx;
|
||||||
}
|
}
|
||||||
.confirmButton{
|
.confirmButton{
|
||||||
background: linear-gradient(-77deg, #4A6FE7, #83ACFF);
|
background: #0122A4;
|
||||||
border-radius: 43px;
|
border-radius: 43px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -195,7 +195,7 @@
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
background: linear-gradient(-77deg, #4A6FE7, #83ACFF);
|
background: #0122A4;
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 60rpx;
|
line-height: 60rpx;
|
||||||
|
|
|
||||||
|
|
@ -329,7 +329,7 @@
|
||||||
&-right {
|
&-right {
|
||||||
width: 254rpx;
|
width: 254rpx;
|
||||||
height: 86rpx;
|
height: 86rpx;
|
||||||
background: linear-gradient(-77deg, #4A6FE7, #83ACFF);
|
background: #0122A4;
|
||||||
box-shadow: 0 6rpx 8rpx 0 rgba(74, 111, 231, 0.2300);
|
box-shadow: 0 6rpx 8rpx 0 rgba(74, 111, 231, 0.2300);
|
||||||
border-radius: 43rpx;
|
border-radius: 43rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@
|
||||||
}
|
}
|
||||||
if (this['BrandInfor']['brand_id'] == 13) {
|
if (this['BrandInfor']['brand_id'] == 13) {
|
||||||
return {
|
return {
|
||||||
'background': 'linear-gradient(-77deg, #4A6FE7, #83ACFF)'
|
'background': '#0122A4'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,244 +1,244 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="Store-List-Item" @tap="itemclick">
|
<view class="Store-List-Item" @tap="itemclick">
|
||||||
<!-- 肯德基店铺列表样式 -->
|
<!-- 肯德基店铺列表样式 -->
|
||||||
<template v-if="BrandInfor['brand_id'] == 1">
|
<template v-if="BrandInfor['brand_id'] == 1">
|
||||||
<view class="Store-List-Item-Top">
|
<view class="Store-List-Item-Top">
|
||||||
<view class="Store-List-Item-Top-Name">
|
<view class="Store-List-Item-Top-Name">
|
||||||
{{item['restaurant_name']}}
|
{{item['restaurant_name']}}
|
||||||
</view>
|
</view>
|
||||||
<b-restaurant-state></b-restaurant-state>
|
<b-restaurant-state></b-restaurant-state>
|
||||||
<view class="Store-List-Item-Top-distance">
|
<view class="Store-List-Item-Top-distance">
|
||||||
{{item['distance']}}m
|
{{item['distance']}}m
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="Store-List-Item-Area">
|
<view class="Store-List-Item-Area">
|
||||||
{{item['restaurant_address']}}
|
{{item['restaurant_address']}}
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<!-- 瑞幸 -->
|
<!-- 瑞幸 -->
|
||||||
<template v-if="BrandInfor['brand_id'] == 13">
|
<template v-if="BrandInfor['brand_id'] == 13">
|
||||||
<view class="Store-List-Item-Top-RX">
|
<view class="Store-List-Item-Top-RX">
|
||||||
<view class="Store-List-Item-Top-RX-Left">
|
<view class="Store-List-Item-Top-RX-Left">
|
||||||
<view class="Store-List-Item-Top-RX-Left-Title">
|
<view class="Store-List-Item-Top-RX-Left-Title">
|
||||||
{{item['restaurant_name']}}
|
{{item['restaurant_name']}}
|
||||||
</view>
|
</view>
|
||||||
<b-restaurant-state :item="item"></b-restaurant-state>
|
<b-restaurant-state :item="item"></b-restaurant-state>
|
||||||
</view>
|
</view>
|
||||||
<view class="Store-List-Item-Top-RX-Right" @tap.stop="openLocation(item['latitude'],item['longitude'])">
|
<view class="Store-List-Item-Top-RX-Right" @tap.stop="openLocation(item['latitude'],item['longitude'])">
|
||||||
<img class="img" :src="qnyurl('Navigation.png','rx')" alt="">
|
<img class="img" :src="qnyurl('Navigation.png','rx')" alt="">
|
||||||
<view class="Store-List-Item-Top-RX-Right-distance">
|
<view class="Store-List-Item-Top-RX-Right-distance">
|
||||||
{{item['distance']}}km
|
{{item['distance']}}km
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="Store-List-Item-Area-RX">
|
<view class="Store-List-Item-Area-RX">
|
||||||
<image class="img" :src="qnyurl('areaicon.png','rx')" mode=""></image>
|
<image class="img" :src="qnyurl('areaicon.png','rx')" mode=""></image>
|
||||||
<view class="Store-List-Item-Area-RX-text">
|
<view class="Store-List-Item-Area-RX-text">
|
||||||
{{item['restaurant_address']}}
|
{{item['restaurant_address']}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<!-- 停店遮罩 -->
|
<!-- 停店遮罩 -->
|
||||||
<view class="state-stop" v-if="item['is_open'] == 0"></view>
|
<view class="state-stop" v-if="item['is_open'] == 0"></view>
|
||||||
<!-- 闭店弹框 -->
|
<!-- 闭店弹框 -->
|
||||||
<u-modal :show="show" title=" " borderRadius="20">
|
<u-modal :show="show" title=" " borderRadius="20">
|
||||||
<template v-slot:default>
|
<template v-slot:default>
|
||||||
<view class="RX-slot-content">
|
<view class="RX-slot-content">
|
||||||
<image class="img" :src="qnyurl('closureimg.png','rx')" mode=""></image>
|
<image class="img" :src="qnyurl('closureimg.png','rx')" mode=""></image>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
抱歉!该门店未营业
|
抱歉!该门店未营业
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:confirmButton>
|
<template v-slot:confirmButton>
|
||||||
<view class="RX-confirmButton">
|
<view class="RX-confirmButton">
|
||||||
<view class="btn" @tap="show = false">
|
<view class="btn" @tap="show = false">
|
||||||
确定
|
确定
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</u-modal>
|
</u-modal>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
/**
|
/**
|
||||||
* @店铺列表组件
|
* @店铺列表组件
|
||||||
* */
|
* */
|
||||||
import {
|
import {
|
||||||
mapGetters,
|
mapGetters,
|
||||||
} from 'vuex';
|
} from 'vuex';
|
||||||
import mixin from '@/static/js/mixin/mixin.js';
|
import mixin from '@/static/js/mixin/mixin.js';
|
||||||
export default {
|
export default {
|
||||||
name: "b-shop-list-item",
|
name: "b-shop-list-item",
|
||||||
mixins: [mixin],
|
mixins: [mixin],
|
||||||
props: {
|
props: {
|
||||||
item: {
|
item: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => {}
|
default: () => {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters({
|
...mapGetters({
|
||||||
// 获取品牌Id
|
// 获取品牌Id
|
||||||
BrandInfor: 'shopping/BrandInfor',
|
BrandInfor: 'shopping/BrandInfor',
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 闭店弹框
|
// 闭店弹框
|
||||||
show: false
|
show: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
itemclick() {
|
itemclick() {
|
||||||
if (this['item']['is_open'] == 0) {
|
if (this['item']['is_open'] == 0) {
|
||||||
this['show'] = true;
|
this['show'] = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.$emit('itemclick', this['item'])
|
this.$emit('itemclick', this['item'])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
// 瑞幸遮罩
|
// 瑞幸遮罩
|
||||||
.state-stop {
|
.state-stop {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(255, 255, 255, 0.3);
|
background-color: rgba(255, 255, 255, 0.3);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Store-List-Item {
|
.Store-List-Item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border-radius: 15rpx;
|
border-radius: 15rpx;
|
||||||
min-height: 155rpx;
|
min-height: 155rpx;
|
||||||
padding: 32rpx;
|
padding: 32rpx;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
// 肯德基样式
|
// 肯德基样式
|
||||||
&-Top {
|
&-Top {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
|
|
||||||
&-Name {
|
&-Name {
|
||||||
font-size: $FONTSIZE30;
|
font-size: $FONTSIZE30;
|
||||||
color: $THEMECOLOR4;
|
color: $THEMECOLOR4;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-distance {
|
&-distance {
|
||||||
font-size: $FONTSIZE26;
|
font-size: $FONTSIZE26;
|
||||||
color: $THEMECOLOR5;
|
color: $THEMECOLOR5;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-Area {
|
&-Area {
|
||||||
font-size: $FONTSIZE26;
|
font-size: $FONTSIZE26;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 瑞幸咖啡样式
|
// 瑞幸咖啡样式
|
||||||
&-Top-RX {
|
&-Top-RX {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
|
|
||||||
&-Left {
|
&-Left {
|
||||||
font-size: $FONTSIZE30;
|
font-size: $FONTSIZE30;
|
||||||
color: $THEMECOLOR4;
|
color: $THEMECOLOR4;
|
||||||
|
|
||||||
&-Title {
|
&-Title {
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-Right {
|
&-Right {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: $THEMECOLOR6;
|
color: $THEMECOLOR6;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 64rpx;
|
width: 64rpx;
|
||||||
height: 64rpx;
|
height: 64rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-distance {
|
&-distance {
|
||||||
margin-top: 15rpx;
|
margin-top: 15rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-Area-RX {
|
&-Area-RX {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
font-size: $FONTSIZE24;
|
font-size: $FONTSIZE24;
|
||||||
padding-top: 22rpx;
|
padding-top: 22rpx;
|
||||||
border-top: 1rpx solid #EDEEF0;
|
border-top: 1rpx solid #EDEEF0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&-text {
|
&-text {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-line-clamp: 1;
|
-webkit-line-clamp: 1;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 22rpx;
|
width: 22rpx;
|
||||||
height: 26rpx;
|
height: 26rpx;
|
||||||
margin-right: 15rpx;
|
margin-right: 15rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// // 闭店弹框
|
// // 闭店弹框
|
||||||
// .slot-content {
|
// .slot-content {
|
||||||
// display: flex;
|
// display: flex;
|
||||||
// flex-direction: column;
|
// flex-direction: column;
|
||||||
// align-items: center;
|
// align-items: center;
|
||||||
// .img {
|
// .img {
|
||||||
// width: 196rpx;
|
// width: 196rpx;
|
||||||
// height: 169rpx;
|
// height: 169rpx;
|
||||||
// margin-bottom: 32rpx;
|
// margin-bottom: 32rpx;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .text {
|
// .text {
|
||||||
// font-size: 32rpx;
|
// font-size: 32rpx;
|
||||||
// color: #333333;
|
// color: #333333;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .confirmButton {
|
// .confirmButton {
|
||||||
// display: flex;
|
// display: flex;
|
||||||
// justify-content: center;
|
// justify-content: center;
|
||||||
|
|
||||||
// .btn {
|
// .btn {
|
||||||
// width: 470rpx;
|
// width: 470rpx;
|
||||||
// height: 86rpx;
|
// height: 86rpx;
|
||||||
// background: linear-gradient(-77deg, #4A6FE7, #83ACFF);
|
// background: #0122A4;
|
||||||
// border-radius: 43rpx;
|
// border-radius: 43rpx;
|
||||||
// font-size: 30rpx;
|
// font-size: 30rpx;
|
||||||
// color: #ffffff;
|
// color: #ffffff;
|
||||||
// text-align: center;
|
// text-align: center;
|
||||||
// line-height: 86rpx;
|
// line-height: 86rpx;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,396 +1,396 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="b-page-home">
|
<view class="b-page-home">
|
||||||
<view class="content-top">
|
<view class="content-top">
|
||||||
<view class="content-top-banner">
|
<view class="content-top-banner">
|
||||||
<image class="img" :src="qnyurl('banner-1.jpg','rx')" mode=""></image>
|
<image class="img" :src="qnyurl('banner-1.jpg','rx')" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<!-- 地址/搜索/选择 -->
|
<!-- 地址/搜索/选择 -->
|
||||||
<view class="content-top-search">
|
<view class="content-top-search">
|
||||||
<view class="content-top-search-area-search">
|
<view class="content-top-search-area-search">
|
||||||
<navigator url="/pages/restaurant/arealist/arealist" hover-class="none">
|
<navigator url="/pages/restaurant/arealist/arealist" hover-class="none">
|
||||||
<view class="content-top-search-area-search-text">
|
<view class="content-top-search-area-search-text">
|
||||||
<!-- 第一次获取肯定是获取不到的,主要是动态显示用户改变的地址 -->
|
<!-- 第一次获取肯定是获取不到的,主要是动态显示用户改变的地址 -->
|
||||||
{{UserArae1?UserArae1:UserArae2}}
|
{{UserArae1?UserArae1:UserArae2}}
|
||||||
<view
|
<view
|
||||||
style="width: 50rpx;height: 30rpx;display: flex;justify-content: center;align-items: center;">
|
style="width: 50rpx;height: 30rpx;display: flex;justify-content: center;align-items: center;">
|
||||||
<image style="width: 15rpx;height: 12rpx;" class="img" :src="qnyurl('xiala.jpg','rx')">
|
<image style="width: 15rpx;height: 12rpx;" class="img" :src="qnyurl('xiala.jpg','rx')">
|
||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
|
|
||||||
<u-search placeholder="输入门店名称查询" :showAction="false" v-model="keyword" @search="search">
|
<u-search placeholder="输入门店名称查询" :showAction="false" v-model="keyword" @search="search">
|
||||||
</u-search>
|
</u-search>
|
||||||
</view>
|
</view>
|
||||||
<!-- 收藏项 -->
|
<!-- 收藏项 -->
|
||||||
<!-- <view class="content-top-search-tabs">
|
<!-- <view class="content-top-search-tabs">
|
||||||
<u-tabs @change="e=>{tabsconfig['index'] = e['index']}" :list="tabsconfig['list']"
|
<u-tabs @change="e=>{tabsconfig['index'] = e['index']}" :list="tabsconfig['list']"
|
||||||
:scrollable="tabsconfig['scrollable']" :lineColor="tabsconfig['lineColor']"
|
:scrollable="tabsconfig['scrollable']" :lineColor="tabsconfig['lineColor']"
|
||||||
:lineWidth="tabsconfig['lineWidth']"></u-tabs>
|
:lineWidth="tabsconfig['lineWidth']"></u-tabs>
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 店铺列表 -->
|
<!-- 店铺列表 -->
|
||||||
<!-- 因为骨架屏的颜色和UI设置背景色冲突所以在没有列表元素时先将背景色设置为白色 -->
|
<!-- 因为骨架屏的颜色和UI设置背景色冲突所以在没有列表元素时先将背景色设置为白色 -->
|
||||||
<view class="Store-List" :style="{height:`${height}rpx`,'background-color':'#F2F2F2'}">
|
<view class="Store-List" :style="{height:`${height}rpx`,'background-color':'#F2F2F2'}">
|
||||||
<!-- 附近餐厅 -->
|
<!-- 附近餐厅 -->
|
||||||
<view v-show="tabsconfig['index'] == 0">
|
<view v-show="tabsconfig['index'] == 0">
|
||||||
<scroll-view scroll-y="true" class="scroll-Y" :style="{height:`${height}rpx`,'position': 'relative'}"
|
<scroll-view scroll-y="true" class="scroll-Y" :style="{height:`${height}rpx`,'position': 'relative'}"
|
||||||
@scrolltolower="scrolltolower">
|
@scrolltolower="scrolltolower">
|
||||||
<!-- 骨架屏占位元素 -->
|
<!-- 骨架屏占位元素 -->
|
||||||
<template v-if="StoreList[0]['list']['length'] > 0">
|
<template v-if="StoreList[0]['list']['length'] > 0">
|
||||||
<!-- 组件内部会获取到品牌类型,从而显示对应类型的店铺列表样式 -->
|
<!-- 组件内部会获取到品牌类型,从而显示对应类型的店铺列表样式 -->
|
||||||
<view style="padding-bottom: 32rpx;" v-for="(item,index) in StoreList[0]['list']">
|
<view style="padding-bottom: 32rpx;" v-for="(item,index) in StoreList[0]['list']">
|
||||||
<!-- 店铺列表样式 -->
|
<!-- 店铺列表样式 -->
|
||||||
<b-shop-list-item :item="item" :key="index" @itemclick="this.SETSHOPDETAIL(item);eattypeShow = true">
|
<b-shop-list-item :item="item" :key="index" @itemclick="this.SETSHOPDETAIL(item);eattypeShow = true">
|
||||||
</b-shop-list-item>
|
</b-shop-list-item>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<!-- 必须先确保scoll有高度 -->
|
<!-- 必须先确保scoll有高度 -->
|
||||||
<!-- 缺省图 -->
|
<!-- 缺省图 -->
|
||||||
<view class="default" v-if="Show == 1">
|
<view class="default" v-if="Show == 1">
|
||||||
<img class="img" :src="qnyurl('default.png','rx')" alt="">
|
<img class="img" :src="qnyurl('default.png','rx')" alt="">
|
||||||
<text>该地区暂无门店信息</text>
|
<text>该地区暂无门店信息</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- 加载中 -->
|
<!-- 加载中 -->
|
||||||
<b-load :show="Show == 2" position="absolute" background="transparent" width="79" height="80" color="#000000"></b-load>
|
<b-load :show="Show == 2" position="absolute" background="transparent" width="79" height="80" color="#000000"></b-load>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- <b-shop-load type="load" width="79" height="74" :show="loading"></b-shop-load> -->
|
<!-- <b-shop-load type="load" width="79" height="74" :show="loading"></b-shop-load> -->
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-modal :show="eattypeShow" title="温馨提示" width="580rpx">
|
<u-modal :show="eattypeShow" title="温馨提示" width="580rpx">
|
||||||
<template v-slot:default>
|
<template v-slot:default>
|
||||||
<view class="slot-content">
|
<view class="slot-content">
|
||||||
<view class="slot-content-Tips">
|
<view class="slot-content-Tips">
|
||||||
瑞幸咖啡点餐为<text class="text1">第三方提供的点餐服务</text>,该服务与瑞幸官方无关,有问题请联系在线客服。
|
瑞幸咖啡点餐为<text class="text1">第三方提供的点餐服务</text>,该服务与瑞幸官方无关,有问题请联系在线客服。
|
||||||
</view>
|
</view>
|
||||||
<view class="slot-content-Tips2">
|
<view class="slot-content-Tips2">
|
||||||
<view>
|
<view>
|
||||||
● 优惠点餐,不支持开发票!
|
● 优惠点餐,不支持开发票!
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
● 出餐后不支持退款!
|
● 出餐后不支持退款!
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:confirmButton>
|
<template v-slot:confirmButton>
|
||||||
<view class="confirmButton" @tap="InforPage">
|
<view class="confirmButton" @tap="InforPage">
|
||||||
我知道了
|
我知道了
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</u-modal>
|
</u-modal>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import mixin from '@/static/js/mixin/mixin.js';
|
import mixin from '@/static/js/mixin/mixin.js';
|
||||||
import restaurantmixins from '@/static/js/mixin/restaurantmixins.js';
|
import restaurantmixins from '@/static/js/mixin/restaurantmixins.js';
|
||||||
// 请求接口
|
// 请求接口
|
||||||
import {
|
import {
|
||||||
restaurantQueryAPI,
|
restaurantQueryAPI,
|
||||||
storeCollectionListAPI
|
storeCollectionListAPI
|
||||||
} from '@/request/restaurant/index.js';
|
} from '@/request/restaurant/index.js';
|
||||||
|
|
||||||
// vuex
|
// vuex
|
||||||
import {
|
import {
|
||||||
mapGetters,
|
mapGetters,
|
||||||
mapMutations
|
mapMutations
|
||||||
} from 'vuex';
|
} from 'vuex';
|
||||||
export default {
|
export default {
|
||||||
mixins: [mixin,restaurantmixins],
|
mixins: [mixin,restaurantmixins],
|
||||||
name: "b-page-home",
|
name: "b-page-home",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 就餐方式
|
// 就餐方式
|
||||||
eattypeShow: false,
|
eattypeShow: false,
|
||||||
eat_type: 'EAT_IN',
|
eat_type: 'EAT_IN',
|
||||||
// 店铺接口数据用于分页
|
// 店铺接口数据用于分页
|
||||||
temporaryData: [],
|
temporaryData: [],
|
||||||
// 收藏接口数据用于分页
|
// 收藏接口数据用于分页
|
||||||
CollectiontemporaryData: [],
|
CollectiontemporaryData: [],
|
||||||
// 餐厅列表/收藏列表
|
// 餐厅列表/收藏列表
|
||||||
StoreList: [{
|
StoreList: [{
|
||||||
page: 1,
|
page: 1,
|
||||||
count: 0,
|
count: 0,
|
||||||
list: []
|
list: []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
page: 1,
|
page: 1,
|
||||||
count: 0,
|
count: 0,
|
||||||
list: []
|
list: []
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// 餐厅列表scroll高度
|
// 餐厅列表scroll高度
|
||||||
height: 0,
|
height: 0,
|
||||||
// 搜索值
|
// 搜索值
|
||||||
keyword: '',
|
keyword: '',
|
||||||
// 滑动tabs配置参数参数
|
// 滑动tabs配置参数参数
|
||||||
tabsconfig: {
|
tabsconfig: {
|
||||||
// 当前激活索引
|
// 当前激活索引
|
||||||
index: 0,
|
index: 0,
|
||||||
scrollable: false,
|
scrollable: false,
|
||||||
// 滑块宽度
|
// 滑块宽度
|
||||||
lineWidth: '40',
|
lineWidth: '40',
|
||||||
// 滑块颜色
|
// 滑块颜色
|
||||||
lineColor: "#C63836",
|
lineColor: "#C63836",
|
||||||
list: [{
|
list: [{
|
||||||
name: '附近餐厅',
|
name: '附近餐厅',
|
||||||
}, {
|
}, {
|
||||||
name: '我的关注',
|
name: '我的关注',
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
// 加载状态
|
// 加载状态
|
||||||
loading: true,
|
loading: true,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
tabindex() {
|
tabindex() {
|
||||||
return this['tabsconfig']['index']
|
return this['tabsconfig']['index']
|
||||||
},
|
},
|
||||||
|
|
||||||
Show(){
|
Show(){
|
||||||
console.log(this['StoreList'][0]['list']['length'],'length');
|
console.log(this['StoreList'][0]['list']['length'],'length');
|
||||||
console.log(this['loading'],'loading');
|
console.log(this['loading'],'loading');
|
||||||
// 显示没地区门店
|
// 显示没地区门店
|
||||||
if(this['StoreList'][0]['list']['length'] <= 0 && !this['loading'] && this['height'] > 0){
|
if(this['StoreList'][0]['list']['length'] <= 0 && !this['loading'] && this['height'] > 0){
|
||||||
return 1;
|
return 1;
|
||||||
};
|
};
|
||||||
// 显示正在加载
|
// 显示正在加载
|
||||||
if(this['loading'] && this['height'] > 0){
|
if(this['loading'] && this['height'] > 0){
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// islist(){
|
// islist(){
|
||||||
// return this['StoreList'][0]['list']['length'] <= 0;
|
// return this['StoreList'][0]['list']['length'] <= 0;
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
GetCityCode(val) {
|
GetCityCode(val) {
|
||||||
console.log(val, '监听器');
|
console.log(val, '监听器');
|
||||||
// 用户自主切换地址时更换列表
|
// 用户自主切换地址时更换列表
|
||||||
this['StoreList'][0]['list'] = [];
|
this['StoreList'][0]['list'] = [];
|
||||||
this.GetList();
|
this.GetList();
|
||||||
},
|
},
|
||||||
tabindex(val) {
|
tabindex(val) {
|
||||||
if (val == 1) {
|
if (val == 1) {
|
||||||
console.log(this['StoreList'][1]['list']);
|
console.log(this['StoreList'][1]['list']);
|
||||||
this['StoreList'][1]['list'] = [];
|
this['StoreList'][1]['list'] = [];
|
||||||
this.GetstoreCollectionList();
|
this.GetstoreCollectionList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log('进入选店组件');
|
console.log('进入选店组件');
|
||||||
this.GetList();
|
this.GetList();
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @搜索
|
* @搜索
|
||||||
* */
|
* */
|
||||||
search() {
|
search() {
|
||||||
if (this['tabsconfig']['index'] == 0) {
|
if (this['tabsconfig']['index'] == 0) {
|
||||||
this['StoreList'][0]['page'] = 1;
|
this['StoreList'][0]['page'] = 1;
|
||||||
this['StoreList'][0]['list'] = [];
|
this['StoreList'][0]['list'] = [];
|
||||||
this.GetList();
|
this.GetList();
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this['StoreList'][1]['page'] = 1;
|
this['StoreList'][1]['page'] = 1;
|
||||||
this['StoreList'][1]['list'] = [];
|
this['StoreList'][1]['list'] = [];
|
||||||
this.GetstoreCollectionList();
|
this.GetstoreCollectionList();
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* @获取餐厅列表
|
* @获取餐厅列表
|
||||||
* */
|
* */
|
||||||
GetList() {
|
GetList() {
|
||||||
let self = this;
|
let self = this;
|
||||||
this['loading'] = true;
|
this['loading'] = true;
|
||||||
// 预留足够的时间让DOM渲染完毕
|
// 预留足够的时间让DOM渲染完毕
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
self.initScrollView({
|
self.initScrollView({
|
||||||
el: 'content-top',
|
el: 'content-top',
|
||||||
}).then(eres => {
|
}).then(eres => {
|
||||||
self['height'] = eres;
|
self['height'] = eres;
|
||||||
let parameters = {
|
let parameters = {
|
||||||
brand_id: this['BrandInfor']['brand_id'],
|
brand_id: this['BrandInfor']['brand_id'],
|
||||||
city_code: this.GetCityCode,
|
city_code: this.GetCityCode,
|
||||||
address: this['keyword'],
|
address: this['keyword'],
|
||||||
}
|
}
|
||||||
restaurantQueryAPI(parameters).then(res => {
|
restaurantQueryAPI(parameters).then(res => {
|
||||||
console.log(res,'ressssssss');
|
console.log(res,'ressssssss');
|
||||||
self['loading'] = false;
|
self['loading'] = false;
|
||||||
if (res['data']['data']['length'] <= 0) {
|
if (res['data']['data']['length'] <= 0) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '该区域暂无数据',
|
title: '该区域暂无数据',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 后端未按照分页数据格式返回所以前端自行分页
|
// 后端未按照分页数据格式返回所以前端自行分页
|
||||||
if (res['data']['data']['length'] > 0) {
|
if (res['data']['data']['length'] > 0) {
|
||||||
// 赋值总长度
|
// 赋值总长度
|
||||||
self['StoreList'][0]['count'] = res['data']['count'];
|
self['StoreList'][0]['count'] = res['data']['count'];
|
||||||
// 辅助临时数据
|
// 辅助临时数据
|
||||||
self['temporaryData'] = res['data']['data'];
|
self['temporaryData'] = res['data']['data'];
|
||||||
self['StoreList'][0]['page'] += 1;
|
self['StoreList'][0]['page'] += 1;
|
||||||
// 取出数据
|
// 取出数据
|
||||||
self.arrObtain('temporaryData', 0);
|
self.arrObtain('temporaryData', 0);
|
||||||
} else {
|
} else {
|
||||||
console.log('没数1');
|
console.log('没数1');
|
||||||
}
|
}
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
self['loading'] = false;
|
self['loading'] = false;
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},1000)
|
},1000)
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @获取关注冽表
|
* @获取关注冽表
|
||||||
* */
|
* */
|
||||||
|
|
||||||
GetstoreCollectionList() {
|
GetstoreCollectionList() {
|
||||||
let parameters = {
|
let parameters = {
|
||||||
brand_id: this['BrandInfor']['brand_id'],
|
brand_id: this['BrandInfor']['brand_id'],
|
||||||
address: this['keyword'],
|
address: this['keyword'],
|
||||||
}
|
}
|
||||||
|
|
||||||
storeCollectionListAPI(parameters).then(data => {
|
storeCollectionListAPI(parameters).then(data => {
|
||||||
if (data['data']['length'] > 0) {
|
if (data['data']['length'] > 0) {
|
||||||
// 赋值总长度
|
// 赋值总长度
|
||||||
this['StoreList'][1]['count'] = data['data']['count'];
|
this['StoreList'][1]['count'] = data['data']['count'];
|
||||||
// 辅助临时数据
|
// 辅助临时数据
|
||||||
this['CollectiontemporaryData'] = data['data']['data'];
|
this['CollectiontemporaryData'] = data['data']['data'];
|
||||||
this['StoreList'][1]['page'] += 1;
|
this['StoreList'][1]['page'] += 1;
|
||||||
// 取出数据
|
// 取出数据
|
||||||
this.arrObtain('CollectiontemporaryData', 1);
|
this.arrObtain('CollectiontemporaryData', 1);
|
||||||
} else {
|
} else {
|
||||||
console.log('没数');
|
console.log('没数');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @进入餐厅
|
* @进入餐厅
|
||||||
* */
|
* */
|
||||||
InforPage(item) {
|
InforPage(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/restaurant/home/shop_home/shop_home?restaurant_id=${this['GetShopInfor']['restaurant_id']}`,
|
url: `/pages/restaurant/home/shop_home/shop_home?restaurant_id=${this['GetShopInfor']['restaurant_id']}`,
|
||||||
success: () => {
|
success: () => {
|
||||||
this['eattypeShow'] = false;
|
this['eattypeShow'] = false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @scroll触底时间
|
* @scroll触底时间
|
||||||
* */
|
* */
|
||||||
scrolltolower() {
|
scrolltolower() {
|
||||||
// 触底防抖
|
// 触底防抖
|
||||||
uni.$u.debounce(() => {
|
uni.$u.debounce(() => {
|
||||||
// 是否是餐厅列表并且待取数组中的长度大于0
|
// 是否是餐厅列表并且待取数组中的长度大于0
|
||||||
if (this['tabsconfig']['index'] == 0 && this['temporaryData']['length'] > 0) {
|
if (this['tabsconfig']['index'] == 0 && this['temporaryData']['length'] > 0) {
|
||||||
this.arrObtain('temporaryData', 0);
|
this.arrObtain('temporaryData', 0);
|
||||||
} else {
|
} else {
|
||||||
this.arrObtain('CollectiontemporaryData', 1);
|
this.arrObtain('CollectiontemporaryData', 1);
|
||||||
}
|
}
|
||||||
}, 800, true)
|
}, 800, true)
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @获取数据前十个
|
* @获取数据前十个
|
||||||
* */
|
* */
|
||||||
arrObtain(key, index) {
|
arrObtain(key, index) {
|
||||||
let arr = this[key].splice(0, 9);
|
let arr = this[key].splice(0, 9);
|
||||||
this['StoreList'][index]['list'].push(...arr);
|
this['StoreList'][index]['list'].push(...arr);
|
||||||
console.log(this['StoreList'][index]['list'], 'list');
|
console.log(this['StoreList'][index]['list'], 'list');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
// 顶部步骤/筛选/查询样式
|
// 顶部步骤/筛选/查询样式
|
||||||
.content-top {
|
.content-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|
||||||
&-banner {
|
&-banner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 314rpx;
|
height: 314rpx;
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&-search {
|
&-search {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
padding: 32rpx;
|
padding: 32rpx;
|
||||||
|
|
||||||
&-area-search {
|
&-area-search {
|
||||||
padding: 0 32rpx;
|
padding: 0 32rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&-text {
|
&-text {
|
||||||
font-size: $FONTSIZE28;
|
font-size: $FONTSIZE28;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.icon-youjiantou {
|
.icon-youjiantou {
|
||||||
font-size: $FONTSIZE25;
|
font-size: $FONTSIZE25;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
margin: 0 15rpx;
|
margin: 0 15rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 列表样式
|
// 列表样式
|
||||||
.Store-List {
|
.Store-List {
|
||||||
padding: 0 32rpx;
|
padding: 0 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 就餐方式弹框
|
// 就餐方式弹框
|
||||||
.slot-content-Tips {
|
.slot-content-Tips {
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
.text1 {
|
.text1 {
|
||||||
color: #DB9F5E;
|
color: #DB9F5E;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.slot-content-Tips2 {
|
.slot-content-Tips2 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #FFF9F3;
|
background-color: #FFF9F3;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
color: #FF7910;
|
color: #FF7910;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
line-height: 49rpx;
|
line-height: 49rpx;
|
||||||
padding: 15rpx 32rpx;
|
padding: 15rpx 32rpx;
|
||||||
}
|
}
|
||||||
.confirmButton{
|
.confirmButton{
|
||||||
background: linear-gradient(-77deg, #4A6FE7, #83ACFF);
|
background: #0122A4;
|
||||||
border-radius: 43px;
|
border-radius: 43px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,267 +1,267 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="b-rx-shop-item">
|
<view class="b-rx-shop-item">
|
||||||
<view class="b-rx-shop-item-commodity">
|
<view class="b-rx-shop-item-commodity">
|
||||||
<image class="b-rx-shop-item-commodity-img" :src="item['product_img']" mode=""></image>
|
<image class="b-rx-shop-item-commodity-img" :src="item['product_img']" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="b-rx-shop-item-commodity-infor">
|
<view class="b-rx-shop-item-commodity-infor">
|
||||||
<!-- 商品标题 -->
|
<!-- 商品标题 -->
|
||||||
<view class="b-rx-shop-item-commodity-infor-title b-rx-shop-item-commodity-infor-bottom">
|
<view class="b-rx-shop-item-commodity-infor-title b-rx-shop-item-commodity-infor-bottom">
|
||||||
{{item['product_name']}}
|
{{item['product_name']}}
|
||||||
</view>
|
</view>
|
||||||
<!-- 补贴金额 -->
|
<!-- 补贴金额 -->
|
||||||
<view v-if="item['max_deduction'] > 0"
|
<view v-if="item['max_deduction'] > 0"
|
||||||
class="b-rx-shop-item-commodity-infor-discount b-rx-shop-item-commodity-infor-bottom">
|
class="b-rx-shop-item-commodity-infor-discount b-rx-shop-item-commodity-infor-bottom">
|
||||||
最高补贴{{RetainDecimalPoint(item['max_deduction'])}}面额
|
最高补贴{{RetainDecimalPoint(item['max_deduction'])}}面额
|
||||||
</view>
|
</view>
|
||||||
<!-- 价格 -->
|
<!-- 价格 -->
|
||||||
<view class="b-rx-shop-item-commodity-infor-original-price b-rx-shop-item-commodity-infor-bottom">
|
<view class="b-rx-shop-item-commodity-infor-original-price b-rx-shop-item-commodity-infor-bottom">
|
||||||
<text class="yang">原价:¥</text>
|
<text class="yang">原价:¥</text>
|
||||||
<text class="price">{{RetainDecimalPoint(item['pay_price'])}}</text>
|
<text class="price">{{RetainDecimalPoint(item['pay_price'])}}</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- 优惠补贴后的价格 -->
|
<!-- 优惠补贴后的价格 -->
|
||||||
<view class="b-rx-shop-item-commodity-infor-price b-rx-shop-item-commodity-infor-bottom">
|
<view class="b-rx-shop-item-commodity-infor-price b-rx-shop-item-commodity-infor-bottom">
|
||||||
<text class="yang">补贴后价格:¥</text>
|
<text class="yang">补贴后价格:¥</text>
|
||||||
<text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text>
|
<text class="price">{{RetainDecimalPoint(item['pay_price'] - item['max_deduction'])}}</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- 直接添加商品 -->
|
<!-- 直接添加商品 -->
|
||||||
<!-- <view class="b-kfc-shop-item-commodity-infor-shopping-cart" v-if="shopCart['num'] > 0">
|
<!-- <view class="b-kfc-shop-item-commodity-infor-shopping-cart" v-if="shopCart['num'] > 0">
|
||||||
<image class="img" :src="qnyurl('reduce.png','rx')" mode=""
|
<image class="img" :src="qnyurl('reduce.png','rx')" mode=""
|
||||||
@tap="reducecommodity"></image>
|
@tap="reducecommodity"></image>
|
||||||
<view class="num">
|
<view class="num">
|
||||||
{{shopCart['num']}}
|
{{shopCart['num']}}
|
||||||
</view>
|
</view>
|
||||||
<image class="img" :src="qnyurl('add.png','rx')" mode="" @tap="GetCommodity"></image>
|
<image class="img" :src="qnyurl('add.png','rx')" mode="" @tap="GetCommodity"></image>
|
||||||
</view> -->
|
</view> -->
|
||||||
<!-- 需要选择规格 -->
|
<!-- 需要选择规格 -->
|
||||||
<view class="b-rx-shop-item-commodity-infor-shopping-cart-sku" @tap="$u.debounce(GetCommodity, 800,true)">
|
<view class="b-rx-shop-item-commodity-infor-shopping-cart-sku" @tap="$u.debounce(GetCommodity, 800,true)">
|
||||||
<view class="b-rx-shop-item-commodity-infor-shopping-cart-sku-btn" :style="[Btnstyle]">
|
<view class="b-rx-shop-item-commodity-infor-shopping-cart-sku-btn" :style="[Btnstyle]">
|
||||||
<u-badge v-if="NumValu > 0" :offset="[-6,-5]" max="99" absolute :value="NumValu"></u-badge>
|
<u-badge v-if="NumValu > 0" :offset="[-6,-5]" max="99" absolute :value="NumValu"></u-badge>
|
||||||
选规格
|
选规格
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
/**
|
/**
|
||||||
* @肯德基店铺商品组件
|
* @肯德基店铺商品组件
|
||||||
* */
|
* */
|
||||||
// 混入
|
// 混入
|
||||||
import mixin from '@/static/js/mixin/mixin.js';
|
import mixin from '@/static/js/mixin/mixin.js';
|
||||||
import restaurantmixins from '@/static/js/mixin/restaurantmixins.js';
|
import restaurantmixins from '@/static/js/mixin/restaurantmixins.js';
|
||||||
// 接口请求
|
// 接口请求
|
||||||
import {
|
import {
|
||||||
GetmenuDetailsAPI,
|
GetmenuDetailsAPI,
|
||||||
} from '@/common/api/restaurant.js';
|
} from '@/common/api/restaurant.js';
|
||||||
import {
|
import {
|
||||||
mapMutations
|
mapMutations
|
||||||
} from 'vuex'
|
} from 'vuex'
|
||||||
export default {
|
export default {
|
||||||
mixins: [mixin, restaurantmixins],
|
mixins: [mixin, restaurantmixins],
|
||||||
name: "b-rx-shop-item",
|
name: "b-rx-shop-item",
|
||||||
props: {
|
props: {
|
||||||
item: {
|
item: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => {}
|
default: () => {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {};
|
return {};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
//当前商店购物信息
|
//当前商店购物信息
|
||||||
shopCart: function() {
|
shopCart: function() {
|
||||||
try {
|
try {
|
||||||
return this['GetCartList'][this['item']['product_id']];
|
return this['GetCartList'][this['item']['product_id']];
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
NumValu(){
|
NumValu(){
|
||||||
try{
|
try{
|
||||||
return this['GetCartList'][this['item']['product_id']]['num']
|
return this['GetCartList'][this['item']['product_id']]['num']
|
||||||
}catch(e){
|
}catch(e){
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 按钮颜色
|
// 按钮颜色
|
||||||
Btnstyle() {
|
Btnstyle() {
|
||||||
if (this['BrandInfor']['brand_id'] == 10) {
|
if (this['BrandInfor']['brand_id'] == 10) {
|
||||||
return {
|
return {
|
||||||
'background': '#00AF66'
|
'background': '#00AF66'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (this['BrandInfor']['brand_id'] == 13) {
|
if (this['BrandInfor']['brand_id'] == 13) {
|
||||||
return {
|
return {
|
||||||
'background': 'linear-gradient(-77deg, #4A6FE7, #83ACFF)'
|
'background': '#0122A4'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapMutations({
|
...mapMutations({
|
||||||
SetcommodityInfor: 'shopping/SETINFOR'
|
SetcommodityInfor: 'shopping/SETINFOR'
|
||||||
}),
|
}),
|
||||||
// 获取商品规格
|
// 获取商品规格
|
||||||
GetCommodity() {
|
GetCommodity() {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: '加载中...'
|
title: '加载中...'
|
||||||
});
|
});
|
||||||
let parameters = {
|
let parameters = {
|
||||||
brand_id: this['BrandInfor']['brand_id'],
|
brand_id: this['BrandInfor']['brand_id'],
|
||||||
restaurant_id: this['GetShopInfor']['restaurant_id'],
|
restaurant_id: this['GetShopInfor']['restaurant_id'],
|
||||||
product_id: this['item']['product_id']
|
product_id: this['item']['product_id']
|
||||||
}
|
}
|
||||||
GetmenuDetailsAPI(parameters).then(res => {
|
GetmenuDetailsAPI(parameters).then(res => {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
// 设置初始数量
|
// 设置初始数量
|
||||||
res['num'] = 1;
|
res['num'] = 1;
|
||||||
this.SetcommodityInfor(res);
|
this.SetcommodityInfor(res);
|
||||||
if (this['BrandInfor']['brand_id'] == 10) {
|
if (this['BrandInfor']['brand_id'] == 10) {
|
||||||
this['$parent']['$refs']['b-xbk-sku-popup']['show'] = true;
|
this['$parent']['$refs']['b-xbk-sku-popup']['show'] = true;
|
||||||
console.log(this['BrandInfor']['brand_id'],'执行1')
|
console.log(this['BrandInfor']['brand_id'],'执行1')
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this['BrandInfor']['brand_id'] == 13) {
|
if (this['BrandInfor']['brand_id'] == 13) {
|
||||||
this['$parent']['$refs']['b-rx-sku-popup']['show'] = true;
|
this['$parent']['$refs']['b-rx-sku-popup']['show'] = true;
|
||||||
console.log(this['BrandInfor']['brand_id'],'执行2')
|
console.log(this['BrandInfor']['brand_id'],'执行2')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.b-rx-shop-item {
|
.b-rx-shop-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
||||||
&-commodity {
|
&-commodity {
|
||||||
width: 220rpx;
|
width: 220rpx;
|
||||||
height: 195rpx;
|
height: 195rpx;
|
||||||
max-width: 220rpx;
|
max-width: 220rpx;
|
||||||
max-height: 195rpx;
|
max-height: 195rpx;
|
||||||
min-width: 220rpx;
|
min-width: 220rpx;
|
||||||
min-height: 195rpx;
|
min-height: 195rpx;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
&-img {
|
&-img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-commodity-infor {
|
&-commodity-infor {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding-left: 22rpx;
|
padding-left: 22rpx;
|
||||||
|
|
||||||
&-bottom {
|
&-bottom {
|
||||||
margin-bottom: 15rpx;
|
margin-bottom: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-title {
|
&-title {
|
||||||
font-size: $FONTSIZE26;
|
font-size: $FONTSIZE26;
|
||||||
color: $THEMECOLOR4;
|
color: $THEMECOLOR4;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-discount {
|
&-discount {
|
||||||
background-color: #FFDADA;
|
background-color: #FFDADA;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
color: $THEMECOLOR1;
|
color: $THEMECOLOR1;
|
||||||
font-size: $FONTSIZE22;
|
font-size: $FONTSIZE22;
|
||||||
padding: 5rpx 15rpx;
|
padding: 5rpx 15rpx;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-original-price {
|
&-original-price {
|
||||||
.yang {
|
.yang {
|
||||||
font-size: $FONTSIZE22;
|
font-size: $FONTSIZE22;
|
||||||
}
|
}
|
||||||
|
|
||||||
.price {
|
.price {
|
||||||
font-size: $FONTSIZE22;
|
font-size: $FONTSIZE22;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-price {
|
&-price {
|
||||||
color: $THEMECOLOR1;
|
color: $THEMECOLOR1;
|
||||||
|
|
||||||
.yang {
|
.yang {
|
||||||
font-size: $FONTSIZE22;
|
font-size: $FONTSIZE22;
|
||||||
}
|
}
|
||||||
|
|
||||||
.price {
|
.price {
|
||||||
font-size: $FONTSIZE30;
|
font-size: $FONTSIZE30;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-shopping-cart {
|
&-shopping-cart {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.num {
|
.num {
|
||||||
max-width: 100rpx;
|
max-width: 100rpx;
|
||||||
min-width: 100rpx;
|
min-width: 100rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 42rpx;
|
width: 42rpx;
|
||||||
height: 42rpx;
|
height: 42rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-shopping-cart-sku {
|
&-shopping-cart-sku {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&-btn {
|
&-btn {
|
||||||
width: 106rpx;
|
width: 106rpx;
|
||||||
height: 50rpx;
|
height: 50rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 25rpx;
|
border-radius: 25rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 50rpx;
|
line-height: 50rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.b-kfc-shop-item-commodity-infor-shopping-cart {
|
.b-kfc-shop-item-commodity-infor-shopping-cart {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.num {
|
.num {
|
||||||
max-width: 100rpx;
|
max-width: 100rpx;
|
||||||
min-width: 100rpx;
|
min-width: 100rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 42rpx;
|
width: 42rpx;
|
||||||
height: 42rpx;
|
height: 42rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,244 +1,244 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="Store-List-Item" @tap="itemclick">
|
<view class="Store-List-Item" @tap="itemclick">
|
||||||
<!-- 肯德基店铺列表样式 -->
|
<!-- 肯德基店铺列表样式 -->
|
||||||
<template v-if="BrandInfor['brand_id'] == 1">
|
<template v-if="BrandInfor['brand_id'] == 1">
|
||||||
<view class="Store-List-Item-Top">
|
<view class="Store-List-Item-Top">
|
||||||
<view class="Store-List-Item-Top-Name">
|
<view class="Store-List-Item-Top-Name">
|
||||||
{{item['restaurant_name']}}
|
{{item['restaurant_name']}}
|
||||||
</view>
|
</view>
|
||||||
<b-restaurant-state></b-restaurant-state>
|
<b-restaurant-state></b-restaurant-state>
|
||||||
<view class="Store-List-Item-Top-distance">
|
<view class="Store-List-Item-Top-distance">
|
||||||
{{item['distance']}}m
|
{{item['distance']}}m
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="Store-List-Item-Area">
|
<view class="Store-List-Item-Area">
|
||||||
{{item['restaurant_address']}}
|
{{item['restaurant_address']}}
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<!-- 瑞幸 -->
|
<!-- 瑞幸 -->
|
||||||
<template v-if="BrandInfor['brand_id'] == 13">
|
<template v-if="BrandInfor['brand_id'] == 13">
|
||||||
<view class="Store-List-Item-Top-RX">
|
<view class="Store-List-Item-Top-RX">
|
||||||
<view class="Store-List-Item-Top-RX-Left">
|
<view class="Store-List-Item-Top-RX-Left">
|
||||||
<view class="Store-List-Item-Top-RX-Left-Title">
|
<view class="Store-List-Item-Top-RX-Left-Title">
|
||||||
{{item['restaurant_name']}}
|
{{item['restaurant_name']}}
|
||||||
</view>
|
</view>
|
||||||
<b-restaurant-state :item="item"></b-restaurant-state>
|
<b-restaurant-state :item="item"></b-restaurant-state>
|
||||||
</view>
|
</view>
|
||||||
<view class="Store-List-Item-Top-RX-Right" @tap.stop="openLocation(item['latitude'],item['longitude'])">
|
<view class="Store-List-Item-Top-RX-Right" @tap.stop="openLocation(item['latitude'],item['longitude'])">
|
||||||
<img class="img" :src="qnyurl('Navigation.png','rx')" alt="">
|
<img class="img" :src="qnyurl('Navigation.png','rx')" alt="">
|
||||||
<view class="Store-List-Item-Top-RX-Right-distance">
|
<view class="Store-List-Item-Top-RX-Right-distance">
|
||||||
{{item['distance']}}km
|
{{item['distance']}}km
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="Store-List-Item-Area-RX">
|
<view class="Store-List-Item-Area-RX">
|
||||||
<image class="img" :src="qnyurl('areaicon.png','rx')" mode=""></image>
|
<image class="img" :src="qnyurl('areaicon.png','rx')" mode=""></image>
|
||||||
<view class="Store-List-Item-Area-RX-text">
|
<view class="Store-List-Item-Area-RX-text">
|
||||||
{{item['restaurant_address']}}
|
{{item['restaurant_address']}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<!-- 停店遮罩 -->
|
<!-- 停店遮罩 -->
|
||||||
<view class="state-stop" v-if="item['is_open'] == 0"></view>
|
<view class="state-stop" v-if="item['is_open'] == 0"></view>
|
||||||
<!-- 闭店弹框 -->
|
<!-- 闭店弹框 -->
|
||||||
<u-modal :show="show" title=" " borderRadius="20">
|
<u-modal :show="show" title=" " borderRadius="20">
|
||||||
<template v-slot:default>
|
<template v-slot:default>
|
||||||
<view class="RX-slot-content">
|
<view class="RX-slot-content">
|
||||||
<image class="img" :src="qnyurl('closureimg.png','rx')" mode=""></image>
|
<image class="img" :src="qnyurl('closureimg.png','rx')" mode=""></image>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
抱歉!该门店未营业
|
抱歉!该门店未营业
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:confirmButton>
|
<template v-slot:confirmButton>
|
||||||
<view class="RX-confirmButton">
|
<view class="RX-confirmButton">
|
||||||
<view class="btn" @tap="show = false">
|
<view class="btn" @tap="show = false">
|
||||||
确定
|
确定
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</u-modal>
|
</u-modal>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
/**
|
/**
|
||||||
* @店铺列表组件
|
* @店铺列表组件
|
||||||
* */
|
* */
|
||||||
import {
|
import {
|
||||||
mapGetters,
|
mapGetters,
|
||||||
} from 'vuex';
|
} from 'vuex';
|
||||||
import mixin from '@/static/js/mixin/mixin.js';
|
import mixin from '@/static/js/mixin/mixin.js';
|
||||||
export default {
|
export default {
|
||||||
name: "b-shop-list-item",
|
name: "b-shop-list-item",
|
||||||
mixins: [mixin],
|
mixins: [mixin],
|
||||||
props: {
|
props: {
|
||||||
item: {
|
item: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => {}
|
default: () => {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters({
|
...mapGetters({
|
||||||
// 获取品牌Id
|
// 获取品牌Id
|
||||||
BrandInfor: 'shopping/BrandInfor',
|
BrandInfor: 'shopping/BrandInfor',
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 闭店弹框
|
// 闭店弹框
|
||||||
show: false
|
show: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
itemclick() {
|
itemclick() {
|
||||||
if (this['item']['is_open'] == 0) {
|
if (this['item']['is_open'] == 0) {
|
||||||
this['show'] = true;
|
this['show'] = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.$emit('itemclick', this['item'])
|
this.$emit('itemclick', this['item'])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
// 瑞幸遮罩
|
// 瑞幸遮罩
|
||||||
.state-stop {
|
.state-stop {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(255, 255, 255, 0.3);
|
background-color: rgba(255, 255, 255, 0.3);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Store-List-Item {
|
.Store-List-Item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border-radius: 15rpx;
|
border-radius: 15rpx;
|
||||||
min-height: 155rpx;
|
min-height: 155rpx;
|
||||||
padding: 32rpx;
|
padding: 32rpx;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
// 肯德基样式
|
// 肯德基样式
|
||||||
&-Top {
|
&-Top {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
|
|
||||||
&-Name {
|
&-Name {
|
||||||
font-size: $FONTSIZE30;
|
font-size: $FONTSIZE30;
|
||||||
color: $THEMECOLOR4;
|
color: $THEMECOLOR4;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-distance {
|
&-distance {
|
||||||
font-size: $FONTSIZE26;
|
font-size: $FONTSIZE26;
|
||||||
color: $THEMECOLOR5;
|
color: $THEMECOLOR5;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-Area {
|
&-Area {
|
||||||
font-size: $FONTSIZE26;
|
font-size: $FONTSIZE26;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 瑞幸咖啡样式
|
// 瑞幸咖啡样式
|
||||||
&-Top-RX {
|
&-Top-RX {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
|
|
||||||
&-Left {
|
&-Left {
|
||||||
font-size: $FONTSIZE30;
|
font-size: $FONTSIZE30;
|
||||||
color: $THEMECOLOR4;
|
color: $THEMECOLOR4;
|
||||||
|
|
||||||
&-Title {
|
&-Title {
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-Right {
|
&-Right {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: $THEMECOLOR6;
|
color: $THEMECOLOR6;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 64rpx;
|
width: 64rpx;
|
||||||
height: 64rpx;
|
height: 64rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-distance {
|
&-distance {
|
||||||
margin-top: 15rpx;
|
margin-top: 15rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-Area-RX {
|
&-Area-RX {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
font-size: $FONTSIZE24;
|
font-size: $FONTSIZE24;
|
||||||
padding-top: 22rpx;
|
padding-top: 22rpx;
|
||||||
border-top: 1rpx solid #EDEEF0;
|
border-top: 1rpx solid #EDEEF0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&-text {
|
&-text {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-line-clamp: 1;
|
-webkit-line-clamp: 1;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 22rpx;
|
width: 22rpx;
|
||||||
height: 26rpx;
|
height: 26rpx;
|
||||||
margin-right: 15rpx;
|
margin-right: 15rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// // 闭店弹框
|
// // 闭店弹框
|
||||||
// .slot-content {
|
// .slot-content {
|
||||||
// display: flex;
|
// display: flex;
|
||||||
// flex-direction: column;
|
// flex-direction: column;
|
||||||
// align-items: center;
|
// align-items: center;
|
||||||
// .img {
|
// .img {
|
||||||
// width: 196rpx;
|
// width: 196rpx;
|
||||||
// height: 169rpx;
|
// height: 169rpx;
|
||||||
// margin-bottom: 32rpx;
|
// margin-bottom: 32rpx;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .text {
|
// .text {
|
||||||
// font-size: 32rpx;
|
// font-size: 32rpx;
|
||||||
// color: #333333;
|
// color: #333333;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .confirmButton {
|
// .confirmButton {
|
||||||
// display: flex;
|
// display: flex;
|
||||||
// justify-content: center;
|
// justify-content: center;
|
||||||
|
|
||||||
// .btn {
|
// .btn {
|
||||||
// width: 470rpx;
|
// width: 470rpx;
|
||||||
// height: 86rpx;
|
// height: 86rpx;
|
||||||
// background: linear-gradient(-77deg, #4A6FE7, #83ACFF);
|
// background: #0122A4;
|
||||||
// border-radius: 43rpx;
|
// border-radius: 43rpx;
|
||||||
// font-size: 30rpx;
|
// font-size: 30rpx;
|
||||||
// color: #ffffff;
|
// color: #ffffff;
|
||||||
// text-align: center;
|
// text-align: center;
|
||||||
// line-height: 86rpx;
|
// line-height: 86rpx;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,5 +1,5 @@
|
||||||
// 星巴克
|
// 星巴克
|
||||||
.RX-Cart {
|
.RX-Cart {
|
||||||
box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.1);
|
box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.1);
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 20rpx 20rpx 0 0;
|
border-radius: 20rpx 20rpx 0 0;
|
||||||
|
|
@ -11,170 +11,170 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: 20rpx 32rpx;
|
padding: 20rpx 32rpx;
|
||||||
|
|
||||||
&-left {
|
&-left {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&-img {
|
&-img {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 65rpx;
|
width: 65rpx;
|
||||||
height: 65rpx;
|
height: 65rpx;
|
||||||
margin-right: 25rpx;
|
margin-right: 25rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&-price {
|
&-price {
|
||||||
color: #000000;
|
color: #000000;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
|
|
||||||
.yang {
|
.yang {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.amount {
|
.amount {
|
||||||
font-size: 50rpx;
|
font-size: 50rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-right {
|
&-right {
|
||||||
width: 225rpx;
|
width: 225rpx;
|
||||||
height: 77rpx;
|
height: 77rpx;
|
||||||
background: linear-gradient(-77deg, #4A6FE7, #83ACFF);
|
background: #0122A4;
|
||||||
box-shadow: 0 6rpx 8rpx 0 rgba(74, 111, 231, 0.2300);
|
box-shadow: 0 6rpx 8rpx 0 rgba(74, 111, 231, 0.2300);
|
||||||
border-radius: 48rpx;
|
border-radius: 48rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
line-height: 77rpx;
|
line-height: 77rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.RX-Cart-Popup {
|
.RX-Cart-Popup {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
// padding-bottom: calc();
|
// padding-bottom: calc();
|
||||||
height: 642rpx;
|
height: 642rpx;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|
||||||
.RX-Cart-Popup-top {
|
.RX-Cart-Popup-top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 87rpx;
|
height: 87rpx;
|
||||||
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
|
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
|
||||||
padding: 0 32rpx;
|
padding: 0 32rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-empty {
|
&-empty {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 15rpx 0 15rpx 15rpx;
|
padding: 15rpx 0 15rpx 15rpx;
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 29rpx;
|
width: 29rpx;
|
||||||
height: 31rpx;
|
height: 31rpx;
|
||||||
margin-right: 15rpx;
|
margin-right: 15rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-item {
|
&-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 32rpx;
|
padding: 32rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
&-commodity {
|
&-commodity {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
&-img {
|
&-img {
|
||||||
width: 120rpx;
|
width: 120rpx;
|
||||||
height: 120rpx;
|
height: 120rpx;
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-infor {
|
&-infor {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-left: 22rpx;
|
padding-left: 22rpx;
|
||||||
|
|
||||||
&-name {
|
&-name {
|
||||||
font-size: $FONTSIZE30;
|
font-size: $FONTSIZE30;
|
||||||
max-width: 336rpx;
|
max-width: 336rpx;
|
||||||
min-width: 336rpx;
|
min-width: 336rpx;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-line-clamp: 1;
|
-webkit-line-clamp: 1;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-sku {
|
&-sku {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
font-size: $FONTSIZE22;
|
font-size: $FONTSIZE22;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-money {
|
&-money {
|
||||||
color: $THEMECOLOR1;
|
color: $THEMECOLOR1;
|
||||||
max-width: 115rpx;
|
max-width: 115rpx;
|
||||||
min-width: 115rpx;
|
min-width: 115rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #FF780F;
|
color: #FF780F;
|
||||||
|
|
||||||
&-yang {
|
&-yang {
|
||||||
font-size: $FONTSIZE22;
|
font-size: $FONTSIZE22;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-price {
|
&-price {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: $FONTSIZE30;
|
font-size: $FONTSIZE30;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.quantity {
|
.quantity {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: $FONTSIZE36;
|
font-size: $FONTSIZE36;
|
||||||
|
|
||||||
.num {
|
.num {
|
||||||
max-width: 100rpx;
|
max-width: 100rpx;
|
||||||
min-width: 100rpx;
|
min-width: 100rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img {
|
.img {
|
||||||
width: 42rpx;
|
width: 42rpx;
|
||||||
height: 42rpx;
|
height: 42rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -337,7 +337,9 @@
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
this.SETPHONE(res['data'].phone)
|
this.SETPHONE(res['data'].phone)
|
||||||
this.getCart();
|
this.getCart();
|
||||||
})
|
});
|
||||||
|
|
||||||
|
this.getUserCard();
|
||||||
},
|
},
|
||||||
|
|
||||||
getCart() {
|
getCart() {
|
||||||
|
|
@ -391,7 +393,6 @@
|
||||||
|
|
||||||
// 佣金计算
|
// 佣金计算
|
||||||
this.computedOrder(this.FormInfor);
|
this.computedOrder(this.FormInfor);
|
||||||
this.getUserCard();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -344,7 +344,9 @@
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.SETPHONE(res['data'].phone)
|
this.SETPHONE(res['data'].phone)
|
||||||
this.getCart();
|
this.getCart();
|
||||||
})
|
});
|
||||||
|
|
||||||
|
this.getUserCard();
|
||||||
},
|
},
|
||||||
|
|
||||||
getCart() {
|
getCart() {
|
||||||
|
|
@ -406,7 +408,6 @@
|
||||||
|
|
||||||
// 佣金计算
|
// 佣金计算
|
||||||
this.computedOrder(this.FormInfor);
|
this.computedOrder(this.FormInfor);
|
||||||
this.getUserCard();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// 是否使用券
|
// 是否使用券
|
||||||
|
|
|
||||||
1790
static/js/config.js
1790
static/js/config.js
File diff suppressed because it is too large
Load Diff
|
|
@ -1,2 +1,2 @@
|
||||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>在线点餐</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>在线点餐</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><script src="https://h5.dhcc.wang/api/apilink-native.min.js?v=20200701"></script><link rel=stylesheet href=/privilege/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.05bba68b.js></script><script src=/privilege/static/js/index.720c046e.js></script></body></html>
|
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><script src="https://h5.dhcc.wang/api/apilink-native.min.js?v=20200701"></script><link rel=stylesheet href=/privilege/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.6763e5fb.js></script><script src=/privilege/static/js/index.36be406f.js></script></body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/static/js/pages-diy-orders-order-infor-order-infor.402bf48c.js
vendored
Normal file
1
unpackage/dist/build/web/static/js/pages-diy-orders-order-infor-order-infor.402bf48c.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/static/js/pages-diy-shopping_cart-shopping_cart.0f6e727d.js
vendored
Normal file
1
unpackage/dist/build/web/static/js/pages-diy-shopping_cart-shopping_cart.0f6e727d.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-diy-shopping_cart-shopping_cart"],{"3ee3":function(t,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={data:function(){return{loading:!0,swiperList:["https://cdn.uviewui.com/uview/swiper/swiper1.png","https://cdn.uviewui.com/uview/swiper/swiper2.png","https://cdn.uviewui.com/uview/swiper/swiper3.png"]}},mounted:function(){var t=this;setTimeout((function(){t["loading"]=!1}),2e3)}};i.default=n},7041:function(t,i,e){"use strict";e.r(i);var n=e("bc6d"),u=e("a8bb");for(var r in u)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return u[t]}))}(r);var s=e("828b"),a=Object(s["a"])(u["default"],n["b"],n["c"],!1,null,"32b3d7e1",null,!1,n["a"],void 0);i["default"]=a.exports},a8bb:function(t,i,e){"use strict";e.r(i);var n=e("3ee3"),u=e.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(r);i["default"]=u.a},bc6d:function(t,i,e){"use strict";e.d(i,"b",(function(){return u})),e.d(i,"c",(function(){return r})),e.d(i,"a",(function(){return n}));var n={uSwiper:e("77c3").default},u=function(){var t=this.$createElement,i=this._self._c||t;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"content-Swiper"},[i("u-swiper",{attrs:{list:this.swiperList,height:"585",loading:this.loading}})],1)],1)},r=[]}}]);
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-diy-shopping_cart-shopping_cart"],{"3ee3":function(t,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={data:function(){return{loading:!0,swiperList:["https://cdn.uviewui.com/uview/swiper/swiper1.png","https://cdn.uviewui.com/uview/swiper/swiper2.png","https://cdn.uviewui.com/uview/swiper/swiper3.png"]}},mounted:function(){var t=this;setTimeout((function(){t["loading"]=!1}),2e3)}};i.default=n},7041:function(t,i,e){"use strict";e.r(i);var n=e("bc6d9"),u=e("a8bb");for(var r in u)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return u[t]}))}(r);var s=e("828b"),a=Object(s["a"])(u["default"],n["b"],n["c"],!1,null,"32b3d7e1",null,!1,n["a"],void 0);i["default"]=a.exports},a8bb:function(t,i,e){"use strict";e.r(i);var n=e("3ee3"),u=e.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(r);i["default"]=u.a},bc6d9:function(t,i,e){"use strict";e.d(i,"b",(function(){return u})),e.d(i,"c",(function(){return r})),e.d(i,"a",(function(){return n}));var n={uSwiper:e("77c3").default},u=function(){var t=this.$createElement,i=this._self._c||t;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"content-Swiper"},[i("u-swiper",{attrs:{list:this.swiperList,height:"585",loading:this.loading}})],1)],1)},r=[]}}]);
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/static/js/pages-restaurant-home-shop_home-shop_home.57144f28.js
vendored
Normal file
1
unpackage/dist/build/web/static/js/pages-restaurant-home-shop_home-shop_home.57144f28.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/static/js/pages-restaurant-order-order-details-details.c8480ab4.js
vendored
Normal file
1
unpackage/dist/build/web/static/js/pages-restaurant-order-order-details-details.c8480ab4.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue