release(custom):
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-06 21:35:17 +08:00
parent 2f31aa7b70
commit 94822f693a
7 changed files with 22 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "jdt-user", "name": "jdt-user",
"version": "4.0.4", "version": "4.0.5",
"private": true, "private": true,
"description": "", "description": "",
"templateInfo": { "templateInfo": {
@@ -9,7 +9,7 @@
"css": "sass" "css": "sass"
}, },
"taroConfig": { "taroConfig": {
"version": "4.0.4" "version": "4.0.5"
}, },
"scripts": { "scripts": {
"build:weapp": "taro build --type weapp", "build:weapp": "taro build --type weapp",

View File

@@ -235,7 +235,7 @@ defineExpose({
<view class="price flex"> <view class="price flex">
<view>现金:{{ item.price }}</view> <view>现金:{{ item.price }}</view>
<view class="ml-2">积分:{{ item.exchange }}</view> <view v-if="item.discount_integral > 0" class="ml-2">积分:{{ item.discount_integral }}</view>
</view> </view>
</view> </view>
</view> </view>

View File

@@ -1,14 +1,12 @@
<template> <template>
<view> <view>
<view :style="{marginTop: BarHeight + 'px'}"></view> <view :style="{ marginTop: BarHeight + 'px' }"></view>
<view class="local"> <view class="local">
<view class="iconfont icon-dizhi" style="font-size: 20px"></view> <view class="iconfont icon-dizhi" style="font-size: 20px"></view>
<text class="text-[28px]">{{ address }}</text> <text class="text-[28px]">{{ address }}</text>
</view> </view>
<view class="search"> <view class="search">
<view <view class="iconfont icon-sousuo" style="color: #8f8f8f; margin-right: 8px"></view>
class="iconfont icon-sousuo"
style="color: #8f8f8f; margin-right: 8px"></view>
<input placeholder="请输入商家名称搜索" v-model="searchVal" /> <input placeholder="请输入商家名称搜索" v-model="searchVal" />
<view class="search-btn" @click="clickSearch">搜索</view> <view class="search-btn" @click="clickSearch">搜索</view>
</view> </view>
@@ -16,36 +14,18 @@
<view class="title"></view> <view class="title"></view>
<navigator class="jf-btn" hover-class="none"></navigator> <navigator class="jf-btn" hover-class="none"></navigator>
<view class="footer"> <view class="footer">
<navigator <navigator hover-class="none" class="btn-1" url="/pages/fastBuy/index?type=1"></navigator>
hover-class="none" <navigator hover-class="none" openType="switchTab" url="/pages/game/gamehome/index" class="btn-2"></navigator>
class="btn-1" <navigator hover-class="none" class="btn-3" url="/pages/fastBuy/index?type=2"></navigator>
url="/pages/fastBuy/index?type=1"></navigator>
<navigator
hover-class="none"
openType="switchTab"
url="/pages/game/gamehome/index"
class="btn-2"></navigator>
<navigator
hover-class="none"
class="btn-3"
url="/pages/fastBuy/index?type=2"></navigator>
</view> </view>
</view> </view>
<view class="navigation"> <view class="navigation">
<view <view class="item" v-for="(item, index) in navigationList" :key="index" @click="toPage(item)">
class="item"
v-for="(item, index) in navigationList"
:key="index"
@click="toPage(item)">
<image class="icon" :src="item.icon" /> <image class="icon" :src="item.icon" />
<view class="text">{{ item.name }}</view> <view class="text">{{ item.name }}</view>
</view> </view>
</view> </view>
<navigator <navigator class="ad" url="/pages/marketing/yq/index" open-type="navigate" hover-class="none">
class="ad"
url="/pages/marketing/yq/index"
open-type="navigate"
hover-class="none">
</navigator> </navigator>
<MerList :get-user-location="getUserLocal" /> <MerList :get-user-location="getUserLocal" />
<Popup :imgArr="imgList" /> <Popup :imgArr="imgList" />
@@ -54,8 +34,8 @@
<script setup lang="ts"> <script setup lang="ts">
import Taro from '@tarojs/taro'; import Taro from '@tarojs/taro';
import {ref} from 'vue'; import { ref } from 'vue';
import {getHomeList} from '@/api/home'; import { getHomeList } from '@/api/home';
import MerList from '@/components/MerList.vue'; import MerList from '@/components/MerList.vue';
import Popup from '@/components/Popup.vue'; import Popup from '@/components/Popup.vue';
@@ -74,7 +54,6 @@ const navigationList = ref<Array<navigationType>>([]);
const imgList = ref([ const imgList = ref([
require('../../static/popTip.png'), require('../../static/popTip.png'),
require('../../static/popTip2.png'),
]); ]);
Taro.useShareAppMessage(() => ({ Taro.useShareAppMessage(() => ({

View File

@@ -65,6 +65,8 @@ interface GoodsItem {
Goods: { Goods: {
name: string; name: string;
cover: string; cover: string;
discount_price: number;
exchange: number;
}; };
ID: number; ID: number;
gid: string; gid: string;
@@ -275,8 +277,8 @@ const closed = () => {
<view class="flex flex-col justify-between flex-1"> <view class="flex flex-col justify-between flex-1">
<view class="title">{{ itm.Goods?.name }}</view> <view class="title">{{ itm.Goods?.name }}</view>
<view class="text-[#F83D3D] mt-5"> <view class="text-[#F83D3D] mt-5">
<view>{{ itm.pay_price }} <view>{{ itm.Goods.discount_price }}
<text v-if="itm.pay_integral > 0">+{{ itm.pay_integral }}积分</text> <text v-if="itm.Goods.exchange > 0">+{{ itm.Goods.exchange }}积分</text>
</view> </view>
</view> </view>
</view> </view>

View File

@@ -86,8 +86,8 @@
<view class="flex flex-col justify-between flex-1"> <view class="flex flex-col justify-between flex-1">
<view class="title">{{ item.Goods?.name }}</view> <view class="title">{{ item.Goods?.name }}</view>
<view class="text-[#F83D3D] mt-5"> <view class="text-[#F83D3D] mt-5">
<view>{{ item.pay_price }} <view>{{ item.Goods.discount_price }}
<text v-if="item.pay_integral > 0">+{{ item.pay_integral }}积分</text> <text v-if="item.Goods.exchange > 0">+{{ item.Goods.exchange }}积分</text>
</view> </view>
</view> </view>
</view> </view>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB