Commit 72970b97 authored by 刘玉宏's avatar 刘玉宏
parents 8dc7f65b cfd44d99
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
:draggable="true" :draggable="true"
inactiveIcon="a-controlplatform" inactiveIcon="a-controlplatform"
> >
<view class="custom-button" @click="go('/pages/assistingAgriculture/index/index')">
<image class="fab-icon" src="../../static/index/order.png"></image>
<text class="fab-text">助农</text>
</view>
<view class="custom-button" @click="go('/pages/ticket/ticket')"> <view class="custom-button" @click="go('/pages/ticket/ticket')">
<image class="fab-icon" src="../../static/index/coupon.png"></image> <image class="fab-icon" src="../../static/index/coupon.png"></image>
<text class="fab-text">优惠券</text> <text class="fab-text">优惠券</text>
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<div class="package-list"> <div class="package-list">
<div <div
class="package-item" class="package-item"
:class="{ active: activeMeal === v, 'special-offer': true }" :class="{ active: activeMeal === v, 'special-offer': v.isEspecially }"
v-for="(v, i) in mealList" v-for="(v, i) in mealList"
@click="onActiveMeal(v)" @click="onActiveMeal(v)"
:key="i" :key="i"
......
...@@ -110,6 +110,12 @@ ...@@ -110,6 +110,12 @@
</template> </template>
<script setup> <script setup>
const props = defineProps({
dataList: {
type: Array,
default: null,
},
});
const show = ref(false); const show = ref(false);
// 正则表达式匹配电话号码 // 正则表达式匹配电话号码
const phoneRegex = /\b(\d{3,4}-\d{7,8}|\d{11})\b/g; const phoneRegex = /\b(\d{3,4}-\d{7,8}|\d{11})\b/g;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment