| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UPopup from '@/uview-components/uview-ui/components/u-popup/u-popup.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UAlertTips from '@/uview-components/uview-ui/components/u-alert-tips/u-alert-tips.vue'; |
| | | |
| | | import * as API_trade from '@/api/trade.js'; |
| | | import setup from './popup'; |
| | | import uniNumberBox from '@/components/uni-number-box' |
| | |
| | | </u-popup> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import UPopup from '@/uview-components/uview-ui/components/u-popup/u-popup.vue'; |
| | | |
| | | import { h5Copy } from "@/js_sdk/h5-copy/h5-copy.js"; |
| | | import configs from "@/config/config"; |
| | | import mpShare from "@/uview-components/uview-ui/index.js"; |
| | | |
| | | export default { |
| | | components: {UIcon,UPopup}, |
| | | mixins: [mpShare], |
| | | data() { |
| | | return { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UPopup from '@/uview-components/uview-ui/components/u-popup/u-popup.vue'; |
| | | |
| | | import goodsRecommend from "@/components/m-goods-recommend/index.vue"; |
| | | |
| | | export default { |
| | | components: { goodsRecommend,UPopup }, |
| | | data() { |
| | | return { |
| | | show: true, // 是否显示 |
| | | }; |
| | | }, |
| | | components: { goodsRecommend }, |
| | | }; |
| | | </script> |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | |
| | | export default { |
| | | components: {UIcon}, |
| | | props: { |
| | | maskBg: { |
| | | type: String, |
| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "components/popups/popups", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "components/m-share/index", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-popup": "view", |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "components/m-buy/goods", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-popup": "view", |
| | | "u-image": "view", |
| | | "u-alert-tips": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "components/m-take-down-sale-goods/index", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-popup": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/navigation/search/searchPage", |
| | | "style": { |
| | | "navigationBarTitleText": "搜索", |
| | |
| | | "navigationStyle": "custom" |
| | | } |
| | | }, |
| | | { |
| | | "path": "goods", |
| | | "style": { |
| | | "backgroundColor": "#fff", |
| | | "navigationStyle": "custom", |
| | | "app-plus": { |
| | | // 将回弹属性关掉 |
| | | "bounce": "none", |
| | | // 禁止页面滚动 |
| | | "scrollIndicator": "none", |
| | | "safearea": { |
| | | "bottom": { |
| | | "offset": "none" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "askList", |
| | | "style": { |
| | | "navigationBarTitleText": "问答专区" |
| | | } |
| | | }, |
| | | { //商品评价 |
| | | "path": "comment", |
| | | { |
| | | "path": "goods", |
| | | "style": { |
| | | "backgroundColor": "#fff", |
| | | "navigationStyle": "custom", |
| | | "style": { |
| | | "navigationBarTitleText": "商品评价", |
| | | //app页面不显示滚动条 |
| | | "scrollIndicator": "none" |
| | | } |
| | | }, |
| | | { // 客服 |
| | | "path": "customerservice/index", |
| | | "style": { |
| | | "navigationBarTitleText": "客服", |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "chat": "plugin://myPlugin/chat" |
| | | // #endif |
| | | } |
| | | "app-plus": { |
| | | // 将回弹属性关掉 |
| | | "bounce": "none", |
| | | // 禁止页面滚动 |
| | | "scrollIndicator": "none", |
| | | "safearea": { |
| | | "bottom": { |
| | | "offset": "none" |
| | | } |
| | | } |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-icon": "view", |
| | | "u-navbar": "view", |
| | | "u-popup": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "askList", |
| | | "style": { |
| | | "navigationBarTitleText": "问答专区" |
| | | } |
| | | }, |
| | | { |
| | | "path": "product/promotion/-promotion-details", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-tag": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "product/promotion/-promotion-assemble-promotions", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-tag": "view", |
| | | "u-count-down": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "product/promotion/-promotion-assemble-list", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-image": "view", |
| | | "u-button": "view", |
| | | "u-empty": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "product/goods/-goods-intro", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-empty": "view", |
| | | "u-parse": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "product/shop/-shop", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-image": "view", |
| | | "u-loading": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "product/evaluation/-evaluation", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-avatar": "view", |
| | | "u-read-more": "view", |
| | | "u-image": "view", |
| | | "u-empty": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "product/goods/-goods-swiper", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-loading": "view", |
| | | "u-image": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "product/popup/address", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-popup": "view", |
| | | "u-icon": "view", |
| | | "u-empty": "view" |
| | | } |
| | | } |
| | | }, |
| | | { //商品评价 |
| | | "path": "comment", |
| | | "navigationStyle": "custom", |
| | | "style": { |
| | | "navigationBarTitleText": "商品评价", |
| | | //app页面不显示滚动条 |
| | | "scrollIndicator": "none" |
| | | } |
| | | }, |
| | | { // 客服 |
| | | "path": "customerservice/index", |
| | | "style": { |
| | | "navigationBarTitleText": "客服", |
| | | "usingComponents": { |
| | | // #ifdef MP-WEIXIN |
| | | "chat": "plugin://myPlugin/chat" |
| | | // #endif |
| | | } |
| | | } |
| | | } |
| | | |
| | | ] |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import UNavbar from '@/uview-components/uview-ui/components/u-navbar/u-navbar.vue'; |
| | | import UPopup from '@/uview-components/uview-ui/components/u-popup/u-popup.vue'; |
| | | |
| | | |
| | | /************接口API***************/ |
| | | import { getGoods, getGoodsList, getMpScene, getGoodsDistribution } from "@/api/goods.js"; |
| | | import * as API_trade from "@/api/trade.js"; |
| | |
| | | GoodsSwiper, |
| | | popupGoods, |
| | | popupAddress, |
| | | takeDownFormSaleGoods |
| | | takeDownFormSaleGoods, |
| | | UIcon, |
| | | UNavbar, |
| | | UPopup, |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UAvatar from '@/uview-components/uview-ui/components/u-avatar/u-avatar.vue'; |
| | | import UReadMore from '@/uview-components/uview-ui/components/u-read-more/u-read-more.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | |
| | | import * as API_Members from "@/api/members.js"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import UParse from '@/uview-components/uview-ui/components/u-parse/u-parse.vue'; |
| | | |
| | | import { getGoodsMessage } from "@/api/goods"; |
| | | export default { |
| | | components: {UEmpty,UParse}, |
| | | data() { |
| | | return { |
| | | goodsDetail: "", |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import ULoading from '@/uview-components/uview-ui/components/u-loading/u-loading.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | |
| | | export default { |
| | | components: {ULoading,UImage}, |
| | | data() { |
| | | return { |
| | | current: 1, |
| | |
| | | </u-popup> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UPopup from '@/uview-components/uview-ui/components/u-popup/u-popup.vue'; |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | |
| | | import setup from "@/components/m-buy/popup.js"; |
| | | /************请求存储***************/ |
| | | |
| | | import * as API_Address from "@/api/address.js"; |
| | | export default { |
| | | components: {UPopup,UIcon,UEmpty}, |
| | | data() { |
| | | return { |
| | | checked: "", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UButton from '@/uview-components/uview-ui/components/u-button/u-button.vue'; |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | |
| | | import * as API_Promotions from "@/api/promotions"; |
| | | import configs from '@/config/config' |
| | | export default { |
| | | components: {UImage,UButton,UEmpty}, |
| | | data() { |
| | | return { |
| | | configs, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UTag from '@/uview-components/uview-ui/components/u-tag/u-tag.vue'; |
| | | import UCountDown from '@/uview-components/uview-ui/components/u-count-down/u-count-down.vue'; |
| | | |
| | | export default { |
| | | components: {UTag,UCountDown}, |
| | | data() { |
| | | return {}; |
| | | }, |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UTag from '@/uview-components/uview-ui/components/u-tag/u-tag.vue'; |
| | | |
| | | export default { |
| | | components: {UTag}, |
| | | data() { |
| | | return {}; |
| | | }, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import ULoading from '@/uview-components/uview-ui/components/u-loading/u-loading.vue'; |
| | | |
| | | export default { |
| | | data() { |
| | | return {}; |