全局:清理多余的 request2.js

This commit is contained in:
YunaiV
2024-01-20 10:07:11 +08:00
parent ce389efdae
commit 492d84073d
35 changed files with 123 additions and 964 deletions
+4 -19
View File
@@ -102,25 +102,10 @@
</template>
<script setup>
import {
computed,
reactive
} from 'vue';
import { reactive } from 'vue';
import sheep from '@/sheep';
import _ from 'lodash';
import {
onLoad,
onReachBottom
} from '@dcloudio/uni-app';
import {
useDurationTime
} from '@/sheep/hooks/useGoods';
import {
showShareModal
} from '@/sheep/hooks/useModal';
import {
isEmpty
} from 'lodash';
import { onLoad } from '@dcloudio/uni-app';
import BargainApi from '@/sheep/api/promotion/bargain'
const state = reactive({
id: '',
@@ -142,7 +127,7 @@
let {
data,
code
} = await sheep.$api.activity.getBargainActivityDetail({
} = await BargainApi.getBargainActivityDetail({
id: state.id
})
if (code == 0) {
+1 -1
View File
@@ -82,7 +82,7 @@
import {
fen2yuan
} from '@/sheep/hooks/useGoods';
import BargainApi from '@/sheep/api/activity'
import BargainApi from '@/sheep/api/promotion/bargain'
const state = reactive({
navH: '',
returnShow: true,
+1 -1
View File
@@ -38,7 +38,7 @@
<view class="order-card-footer ss-flex ss-row-right ss-p-x-20">
<button
class="detail-btn ss-reset-button"
@tap="sheep.$router.go('/pages/order/detail', { id: record.id })"
@tap="sheep.$router.go('/pages/order/detail', { id: record.orderId })"
>
订单详情
</button>