feat(custom): 地图apiKey更换,订单核销详情新增支付方式
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {ref} from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import Taro from '@tarojs/taro';
|
||||
import './index.scss';
|
||||
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
class="card_item"
|
||||
v-for="item in list"
|
||||
:key="item.ID"
|
||||
:style="{backgroundImage: `url(${item.cover})`}"
|
||||
:style="{ backgroundImage: `url(${item.cover})` }"
|
||||
@click="toPage(item)"></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import Taro from '@tarojs/taro';
|
||||
import {getPersonalInfo} from '@/api/user';
|
||||
import { getPersonalInfo } from '@/api/user';
|
||||
|
||||
const list = ref<any[]>([]);
|
||||
|
||||
@@ -58,7 +58,7 @@ const getList = async () => {
|
||||
Taro.request({
|
||||
url: `${process.env.TARO_APP_HOME}`,
|
||||
method: 'POST',
|
||||
success: ({data: res}) => {
|
||||
success: ({ data: res }) => {
|
||||
list.value =
|
||||
res.data.data.sort((a: any, b: any) => b.sort - a.sort) || [];
|
||||
},
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import {ref} from 'vue';
|
||||
import {getStorageSync, useDidShow} from '@tarojs/taro';
|
||||
import {WebView} from '@tarojs/components';
|
||||
import { ref } from 'vue';
|
||||
import { getStorageSync, useDidShow } from '@tarojs/taro';
|
||||
import { WebView } from '@tarojs/components';
|
||||
|
||||
const url = ref('');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user