parent
32fc4eb430
commit
838f64ff71
8
App.vue
8
App.vue
|
|
@ -7,12 +7,12 @@
|
|||
data: {
|
||||
// 基础配置
|
||||
// 数据接口请求地址
|
||||
// request_url: 'http://shopxo.com/',
|
||||
request_url: 'https://new.shopxo.vip/',
|
||||
request_url: 'http://shopxo.com/',
|
||||
// request_url: 'https://new.shopxo.vip/',
|
||||
|
||||
// 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/)
|
||||
// static_url: 'http://shopxo.com/',
|
||||
static_url: 'https://new.shopxo.vip/',
|
||||
static_url: 'http://shopxo.com/',
|
||||
// static_url: 'https://new.shopxo.vip/',
|
||||
|
||||
// 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立)
|
||||
system_type: 'default',
|
||||
|
|
|
|||
|
|
@ -87,11 +87,11 @@
|
|||
<!-- 底部内容 -->
|
||||
<view class="goods-bottom pr margin-top-sm flex-row jc-sb align-c">
|
||||
<!-- 价格 -->
|
||||
<view v-if="(item.show_field_price_status || 0) == 1">
|
||||
<view v-if="(item.show_field_price_status || 0) == 1">
|
||||
<text class="sales-price fw-b va-m">
|
||||
<text class="text-size-sm">{{ item.show_price_symbol }}</text>
|
||||
<text class="text-size-lg">{{ item.price }}</text>
|
||||
</text>
|
||||
<text class="text-size-lg">{{ item.price }}</text>
|
||||
</text>
|
||||
<text class="cr-grey text-size-xs va-m">{{ item.show_price_unit }}</text>
|
||||
</view>
|
||||
|
||||
|
|
@ -318,7 +318,7 @@
|
|||
import componentNavBack from '../../components/nav-back/nav-back';
|
||||
import componentRealstoreCart from '../../components/realstore-cart/realstore-cart';
|
||||
import componentBottomLine from '../../components/bottom-line/bottom-line';
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
|
||||
var common_static_url = app.globalData.get_static_url('common');
|
||||
var status_bar_height = parseInt(app.globalData.get_system_info('statusBarHeight', 0, true));
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
var common_static_url = app.globalData.get_static_url('common');
|
||||
import componentPopup from "../../components/popup/popup";
|
||||
import componentPopup from "@/components/popup/popup";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
import base64 from "../../common/js/lib/base64.js";
|
||||
import componentPopup from "../../components/popup/popup";
|
||||
import componentPopup from "@/components/popup/popup";
|
||||
import componentBadge from "../../components/badge/badge";
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
import base64 from '../../common/js/lib/base64.js';
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
</template>
|
||||
<script>
|
||||
const app = getApp();
|
||||
import componentPopup from "../../components/popup/popup";
|
||||
import componentPopup from "@/components/popup/popup";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
import base64 from '../../common/js/lib/base64.js';
|
||||
import componentPopup from "../../components/popup/popup";
|
||||
import componentPopup from "@/components/popup/popup";
|
||||
import componentGoodsBuy from '../../components/goods-buy/goods-buy';
|
||||
import componentCartParaCurve from '../../components/cart-para-curve/cart-para-curve';
|
||||
import componentBadge from '../../components/badge/badge';
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
var common_static_url = app.globalData.get_static_url('common');
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
import componentUserBase from '../../components/user-base/user-base';
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
</template>
|
||||
<script>
|
||||
const app = getApp();
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -337,7 +337,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
import base64 from '../../common/js/lib/base64.js';
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
import componentNoData from '../../components/no-data/no-data';
|
||||
import componentTimeSelect from '../../components/time-select/time-select';
|
||||
import componentPayment from '@/components/payment/payment';
|
||||
|
|
|
|||
|
|
@ -127,11 +127,11 @@
|
|||
<view v-if="(item.simple_desc || null) != null" class="simple-desc cr-grey-9 text-size-xs margin-top-sm single-text">{{ item.simple_desc }}</view>
|
||||
</view>
|
||||
<view v-if="(item.show_field_price_status || 0) == 1" class="oh flex-row jc-sb align-c">
|
||||
<view class="single-text va-m">
|
||||
<view class="single-text va-m">
|
||||
<text class="sales-price">
|
||||
<text class="text-size-xss">{{ item.show_price_symbol }}</text>
|
||||
<text class="text-size-lg">{{ item.min_price }}</text>
|
||||
</text>
|
||||
<text class="text-size-lg">{{ item.min_price }}</text>
|
||||
</text>
|
||||
<text class="text-size-xs cr-grey">{{ item.show_price_unit }}</text>
|
||||
</view>
|
||||
<view v-if="common_site_type != 1" class="buy-opt flex-row align-c tc">
|
||||
|
|
@ -372,7 +372,7 @@
|
|||
import componentGoodsBuy from '../../components/goods-buy/goods-buy';
|
||||
import componentSearch from '../../components/search/search';
|
||||
import componentNoData from '../../components/no-data/no-data';
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
import componentBadge from '../../components/badge/badge';
|
||||
import componentCartParaCurve from '../../components/cart-para-curve/cart-para-curve';
|
||||
import componentUserBase from '../../components/user-base/user-base';
|
||||
|
|
@ -433,8 +433,8 @@
|
|||
// 商品列表模式一级分类图标类型
|
||||
category_goods_model_icon_field: icon_type == 0 ? 'realistic_images' : icon_type == 1 ? 'icon' : 'big_images',
|
||||
// 商品分类页面搜索进入独立搜索页面
|
||||
category_goods_is_search_alone: app.globalData.data.category_goods_is_search_alone,
|
||||
// 商品分类页面开启购物车导航
|
||||
category_goods_is_search_alone: app.globalData.data.category_goods_is_search_alone,
|
||||
// 商品分类页面开启购物车导航
|
||||
category_goods_is_show_cart_nav: app.globalData.data.category_goods_is_show_cart_nav,
|
||||
// 临时操作数据
|
||||
temp_opt_data: null,
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
import componentQuickNav from "../../components/quick-nav/quick-nav";
|
||||
import componentPopup from "../../components/popup/popup";
|
||||
import componentPopup from "@/components/popup/popup";
|
||||
import componentNoData from "../../components/no-data/no-data";
|
||||
import componentBottomLine from "../../components/bottom-line/bottom-line";
|
||||
import componentGoodsList from "../../components/goods-list/goods-list";
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
import base64 from '../../common/js/lib/base64.js';
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
let login_static_url = app.globalData.get_static_url('thirdpartylogin', true) + 'icon/';
|
||||
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -143,9 +143,9 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
var common_static_url = app.globalData.get_static_url('common');
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentSharePopup from '../../components/share-popup/share-popup';
|
||||
import componentEmojiPopup from '../../components/emoji-popup/emoji-popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
import componentSharePopup from '@/components/share-popup/share-popup';
|
||||
import componentEmojiPopup from '@/components/emoji-popup/emoji-popup';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -153,9 +153,9 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
var common_static_url = app.globalData.get_static_url('common');
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentSharePopup from '../../components/share-popup/share-popup';
|
||||
import componentEmojiPopup from '../../components/emoji-popup/emoji-popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
import componentSharePopup from '@/components/share-popup/share-popup';
|
||||
import componentEmojiPopup from '@/components/emoji-popup/emoji-popup';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
import componentNoData from '../../components/no-data/no-data';
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@
|
|||
<script>
|
||||
const app = getApp();
|
||||
import base64 from '../../common/js/lib/base64.js';
|
||||
import componentPopup from '../../components/popup/popup';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
import componentNoData from '../../components/no-data/no-data';
|
||||
import componentBottomLine from '../../components/bottom-line/bottom-line';
|
||||
import componentPayment from '@/components/payment/payment';
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@
|
|||
</template>
|
||||
<script>
|
||||
const app = getApp();
|
||||
import componentPopup from "../../components/popup/popup";
|
||||
import componentPopup from "@/components/popup/popup";
|
||||
import componentNoData from "../../components/no-data/no-data";
|
||||
import componentBottomLine from "../../components/bottom-line/bottom-line";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue