fix::新版本商品页面\订单页面逻辑完善\依赖完善

This commit is contained in:
GaoHao
2024-07-31 10:12:23 +08:00
37 changed files with 21537 additions and 17772 deletions

View File

@@ -1,8 +1,7 @@
<template>
<view class="content">
<!-- 占位符导航栏 -->
<navseat :opacity='false' :title='"歌曲列表"' :titleshow='true' :heightshow='true' :namecolor='"#fff"'
:iconshow='false'></navseat>
<navseat :opacity='false' :title='"歌曲列表"' :titleshow='true' :heightshow='true' :namecolor='"#fff"' iconcolor='#fff'></navseat>
<view class="search flex-between">
<view class="searchinput flex-between">
<input type="text" class="searchinput_input" placeholder-style="color:#FFFFFF" @input="onInput"
@@ -140,14 +139,12 @@
if (e.q) {
this.shopId = this.getQueryString(decodeURIComponent(e.q), 'shopId')
}
uni.hideHomeButton();
},
computed: {},
mounted() {},
onShow() {
if (!uni.cache.get('miniAppOpenId')) {
if (!uni.cache.get('miniAppOpenId')) {//单独登录
uni.login({
provider: 'weixin',
success: async (data) => {

View File

@@ -61,7 +61,7 @@
let tableCode = this.getQueryString(decodeURIComponent(res.result), 'code')
uni.cache.set('tableCode', tableCode)
if (tableCode) {
uni.pro.navigateTo('order_food/order_goods')
uni.pro.navigateTo('order_food/goodsList_scroll')
// uni.pro.navigateTo('order_food/order_food')
}

View File

@@ -1,7 +1,7 @@
<template>
<view>
<!-- 占位符导航栏 -->
<navseat class="navbar" :opacity='opacitys' :title='toplist.name' :titleshow='true'></navseat>
<navseat class="navbar" :opacity='opacitys' :backColor="'#E8AD7B'" :title='toplist.name' :titleshow='true'></navseat>
<!-- #ifdef MP-WEIXIN -->
<view :style="{'height':HeighT.customBar+HeighT.heightBar+'px;background-color: #E8AD7B;position: fixed;top: 0;width: 100%;z-index: 9'}"></view>
<view :style="{'height':HeighT.customBar+HeighT.heightBar+'px;background-color: #E8AD7B;'}"></view>
@@ -9,7 +9,10 @@
<!-- 头部内容 -->
<view class="head">
<view class="head_bg"></view>
<view class="tips">温馨提示请适量点餐避免浪费</view>
<view class="tips">
<image class="informIcon" src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/confirmOrder/informIcon.png" mode="widthFix"/>
<text class="informText">温馨提示请适量点餐避免浪费</text>
</view>
<!-- <view class="tabBox"> -->
<!-- <view class="tab">
<view :class="is_type==(index+1)?'tab_item'+is_type+' tab_item active ':'tab_item'" v-for="(item,index) in is_typeList" :key="index" @click="tabClick(index+1)">
@@ -546,13 +549,21 @@
line-height: 64rpx;
background: #FFF8E8;
border-radius: 8rpx 8rpx 8rpx 8rpx;
font-size: $uni-font-size-base;
color: #FF803D;
font-weight: 400;
padding: 0 16rpx;
box-sizing: border-box;
position: relative;
z-index: 1;
display: flex;
align-items: center;
.informIcon{
width: 26.7rpx;
margin-right: 8rpx;
}
.informText{
font-size: $uni-font-size-base;
color: #FF803D;
font-weight: 400;
}
}
.tabBox{
width: 100%;

View File

@@ -257,7 +257,7 @@
},
onHide() {
this.socketTicket.Close()
uni.$off('message')
uni.$off('getMessage')
},
onShow() {
uni.$on('message', this.getMessage)

File diff suppressed because it is too large Load Diff

View File

@@ -30,6 +30,7 @@
</view>
<div class="signatureDish dishes">
<view class="signatureDish_title"></view>
<scroll-view scroll-x class="scroll-view">
<view class="signatureDish_list">
<view class="signatureDish_item" v-for="(item,index) in signatureDish_list" :key="index">