From 6a8e45847987d8790b7c732aea707f9a71f451bd Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 3 Jan 2024 16:48:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trippest-mobile-site/jsconfig.json | 9 +++++++++ trippest-mobile-site/src/components/TopDestinations.js | 10 +++++----- 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 trippest-mobile-site/jsconfig.json diff --git a/trippest-mobile-site/jsconfig.json b/trippest-mobile-site/jsconfig.json new file mode 100644 index 0000000..130459b --- /dev/null +++ b/trippest-mobile-site/jsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "experimentalDecorators": true, + "baseUrl": "./", + "paths": { + "@/*": ["src/*"] + } + } +} diff --git a/trippest-mobile-site/src/components/TopDestinations.js b/trippest-mobile-site/src/components/TopDestinations.js index ae29676..e4035ca 100644 --- a/trippest-mobile-site/src/components/TopDestinations.js +++ b/trippest-mobile-site/src/components/TopDestinations.js @@ -5,11 +5,11 @@ import { WhiteSpace } from 'antd-mobile'; import * as Icons from '@/components/Icons'; const destinations = [ - { name: 'beijing', cover: "https://www.trippest.com/wp-content/uploads/2018/05/d1.jpg" }, - { name: 'xi\'an', cover: "https://www.trippest.com/wp-content/uploads/2018/05/d4.jpg" }, - { name: 'guilin', cover: "https://www.trippest.com/wp-content/uploads/2018/05/d3.jpg" }, - { name: 'chengdu', cover: "https://www.trippest.com/wp-content/uploads/2019/02/chengdu.jpg" }, - { name: 'shanghai', cover: "https://www.trippest.com/wp-content/uploads/2018/05/d2.jpg" } + { name: 'beijing', cover: "https://data.trippest.com/images/destinations/beijing/mobile.jpg" }, + { name: 'xi\'an', cover: "https://data.trippest.com/images/destinations/xian/000.jpg" }, + { name: 'guilin', cover: "https://data.trippest.com/images/destinations/guilin/mobile.jpg" }, + { name: 'chengdu', cover: "https://data.trippest.com/images/destinations/chengdu/mobile.jpg" }, + { name: 'shanghai', cover: "https://data.trippest.com/images/destinations/shanghai/mobile.jpg" } ]; @inject("store")