135个文件已修改
2个文件已添加
424 文件已重命名
| | |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | @import "uview-ui/index.scss"; |
| | | @import '@/uview-components/uview-ui/index.scss'; |
| | | |
| | | // -------éé
åºé¨å®å
¨åº è¹æxç³»ååæµ·å± |
| | | |
New file |
| | |
| | | /** |
| | | * è§é¢æ ç¾ç¸å
³API |
| | | */ |
| | | |
| | | import { http, Method } from "@/utils/request.js"; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * æ¶è/åæ¶æ¶è |
| | | * |
| | | * @param params |
| | | */ |
| | | export function changeCollect(data) { |
| | | return http.request({ |
| | | url: "/lmk/my-collect/change", |
| | | method: Method.POST, |
| | | needToken: true, |
| | | data: data |
| | | }); |
| | | } |
| | |
| | | data: data |
| | | }); |
| | | } |
| | | |
| | | /** |
| | | * è·åäºä¸ªæ¨èè§é¢ |
| | | * |
| | | * @param params |
| | | */ |
| | | export function getRecommendVideos() { |
| | | return http.request({ |
| | | url: "/lmk/video/recommend", |
| | | method: Method.GET, |
| | | needToken: true |
| | | }); |
| | | } |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_trade from '@/api/trade.js'; |
| | | import setup from './popup'; |
| | | import uniNumberBox from '@/components/uni-number-box' |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | // å¼å
¥ç»å¶æä»¶ |
| | | import DrawPoster from "@/js_sdk/u-draw-poster"; |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | 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'; |
| | | import UTag from '@/uview-components/uview-ui/components/u-tag/u-tag.vue'; |
| | | |
| | | import commonTpl from '@/components/m-goods-list/common' |
| | | export default { |
| | | components: {UIcon,UImage,ULoading,UTag}, |
| | | data() { |
| | | return { |
| | | lightColor: this.$mainColor |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import commonTpl from '@/components/m-goods-list/common' |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | |
| | | export default { |
| | | components: {UIcon}, |
| | | props: { |
| | | mode: { |
| | | value: Number, |
| | |
| | | </u-popup> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { h5Copy } from "@/js_sdk/h5-copy/h5-copy.js"; |
| | | import configs from "@/config/config"; |
| | | import mpShare from "uview-ui/libs/mixin/mpShare.js"; |
| | | import mpShare from "@/uview-components/uview-ui/index.js"; |
| | | |
| | | export default { |
| | | mixins: [mpShare], |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import goodsRecommend from "@/components/m-goods-recommend/index.vue"; |
| | | |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | props: { |
| | | maskBg: { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import api from "@/config/api.js"; |
| | | import storage from "@/utils/storage.js"; |
| | | import uuid from "@/utils/uuid.modified.js"; |
| | |
| | | */ |
| | | // å¼åç¯å¢ |
| | | const dev = { |
| | | im: "http://127.0.0.1:8885", |
| | | common: "http://127.0.0.1:8890", |
| | | buyer: "http://127.0.0.1:8888", |
| | | im: "http://192.168.0.4:8885", |
| | | common: "http://192.168.0.4:8890", |
| | | buyer: "http://192.168.0.4:8888", |
| | | // common: "http://192.168.0.113:8890", |
| | | // buyer: "http://192.168.0.113:8888", |
| | | // im: "http://192.168.0.113:8885", |
| | |
| | | import Vue from "vue"; |
| | | import App from "./App"; |
| | | import * as filters from "./utils/filters.js"; // global filter |
| | | import uView from "uview-ui"; |
| | | import uView from '@/uview-components/uview-ui' |
| | | import store from "./store"; |
| | | import config from '@/config/config'; |
| | | import airBtn from "@/components/m-airbtn/index.vue"; |
| | |
| | | // #endif |
| | | |
| | | // å¼å
¥uView对å°ç¨åºå享çmixinå°è£
|
| | | let mpShare = require('uview-ui/libs/mixin/mpShare.js'); |
| | | let mpShare = require('./uview-components/uview-ui/libs/mixin/mpShare.js'); |
| | | Vue.mixin(mpShare) |
| | | |
| | | /** |
| | |
| | | Vue.filter(key, filters[key]); |
| | | }); |
| | | |
| | | console.log("æåï¼",uView); |
| | | // å¼å
¥Vuex |
| | | Vue.prototype.$store = store; |
| | | // Vue.prototype.socketIo = new socketIO(); |
| | |
| | | { |
| | | |
| | | "easycom": { |
| | | "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" |
| | | }, |
| | | "easycom": { |
| | | "autoscan": true, |
| | | "custom": { |
| | | "^u-(.*)": "@/uview-components/uview-ui/components/u-$1/u-$1.vue"//uview |
| | | } |
| | | }, |
| | | "preloadRule": { |
| | | "pages/tabbar/index/home": // 页é¢è·¯å¾ |
| | | // 页é¢çé¢ä¸è½½é
ç½® |
| | | { |
| | | "network": "all", // all(ä¸éç½ç») wifi(ä»
wifiä¸é¢ä¸è½½) |
| | | "packages": ["uview-components"] // é¢ä¸è½½åå
ç root æ nameã__APP__ 表示主å
|
| | | } |
| | | }, |
| | | "pages": [ |
| | | // 第ä¸ä¸ªå°±æ¯é¦é¡µ |
| | | { |
| | |
| | | } |
| | | }, |
| | | { |
| | | "path":"pages/tabbar/screen/fullScreen", |
| | | "style": { |
| | | "navigationStyle": "custom", // éèç³»ç»å¯¼èªæ |
| | | "app-plus":{ |
| | | "animationType": "fade-in", // 设置fade-inæ·¡å
¥å¨ç»ï¼ä¸ºæåççå¨ç»ç±»å |
| | | "background": "transparent", // èæ¯éæ |
| | | "backgroundColor": "rgba(0,0,0,0)", // èæ¯éæ |
| | | "popGesture": "none" // å
³éIOSå±å¹å·¦è¾¹æ»å¨å
³éå½å页é¢çåè½ |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/tabbar/home/title", |
| | | "style": { |
| | | "navigationBarTitleText": "æ¶æ¯" |
| | |
| | | "navigationBarTitleText": "è´ç©è½¦", |
| | | "navigationStyle": "custom", // éèç³»ç»å¯¼èªæ |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "enablePullDownRefresh":true //å®ç°ä¸æå·æ°æ ·å¼ |
| | | |
| | | "enablePullDownRefresh":true, //å®ç°ä¸æå·æ°æ ·å¼ |
| | | "componentPlaceholder": { |
| | | "u-navbar": "view", |
| | | "u-checkbox-group": "view", |
| | | "u-checkbox": "view", |
| | | "u-swipe-action": "view", |
| | | "u-image": "view", |
| | | "u-icon": "view", |
| | | "u-count-down": "view", |
| | | "u-modal": "view", |
| | | "u-popup": "view", |
| | | "u-toast": "view" |
| | | } |
| | | } |
| | | }, { |
| | | "path": "pages/tabbar/category/category", |
| | |
| | | "navigationStyle": "custom", // éèç³»ç»å¯¼èªæ |
| | | "navigationBarTextStyle": "black", |
| | | "disableScroll": true, |
| | | "bounce": "none", |
| | | "scrollIndicator": "none" |
| | | |
| | | |
| | | "bounce": "none", |
| | | "scrollIndicator": "none", |
| | | "componentPlaceholder": { |
| | | "u-navbar": "view", |
| | | "u-search": "view", |
| | | "u-image": "view" |
| | | } |
| | | } |
| | | }, |
| | | |
| | | { |
| | | "path": "pages/navigation/search/searchPage", |
| | | "path": "components/m-search-revision/m-search-revision", |
| | | "style": { |
| | | "navigationBarTitleText": "æç´¢", |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | |
| | | "app-plus": { |
| | | //app页é¢ä¸æ¾ç¤ºæ»å¨æ¡ |
| | | "scrollIndicator": "none", |
| | |
| | | "safearea": { |
| | | "bottom": "none" |
| | | } |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "components/m-goods-list/list", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | "app-plus": { |
| | | //app页é¢ä¸æ¾ç¤ºæ»å¨æ¡ |
| | | "scrollIndicator": "none", |
| | | "bottom": "0", |
| | | "contentAdjust": "false", |
| | | "bounce": "none", |
| | | "safearea": { |
| | | "bottom": "none" |
| | | } |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-image": "view", |
| | | "u-loading": "view", |
| | | "u-tag": "view", |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/navigation/search/searchPage", |
| | | "style": { |
| | | "navigationBarTitleText": "æç´¢", |
| | | "navigationStyle": "custom", |
| | | "app-plus": { |
| | | //app页é¢ä¸æ¾ç¤ºæ»å¨æ¡ |
| | | "scrollIndicator": "none", |
| | | "bottom": "0", |
| | | "contentAdjust": "false", |
| | | "bounce": "none", |
| | | "safearea": { |
| | | "bottom": "none" |
| | | } |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-navbar": "view", |
| | | "u-popup": "view", |
| | | "u-input": "view", |
| | | "u-back-top": "view" |
| | | } |
| | | } |
| | | }, { |
| | |
| | | "style": { |
| | | "navigationBarTextStyle": "white", |
| | | "enablePullDownRefresh": true, |
| | | "navigationStyle": "custom" |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-icon": "view", |
| | | "u-row": "view", |
| | | "u-col": "view" |
| | | } |
| | | } |
| | | }, |
| | | |
| | |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "åå¸è§é¢", |
| | | "enablePullDownRefresh" : false |
| | | "enablePullDownRefresh" : false, |
| | | "componentPlaceholder": { |
| | | "u-icon": "view", |
| | | "u-button": "view", |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view", |
| | | "u-popup": "view", |
| | | "u-search": "view" |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | ], |
| | | "subPackages": [ |
| | | |
| | | { |
| | | "root": "uview-components", // å¿
é¡»ä¸preloadRuleä¸çåç§°å®å
¨ä¸è´ |
| | | "name": "uview-components", |
| | | "pages": [ |
| | | { |
| | | "path": "pages/empty-page/empty-page", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "disableScroll": true |
| | | } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | "root": "pages/mine", |
| | | "pages": [ |
| | |
| | | { |
| | | "path": "signIn", |
| | | "style": { |
| | | "navigationBarTitleText": "ç¾å°" |
| | | "navigationBarTitleText": "ç¾å°", |
| | | "componentPlaceholder": { |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | | }, { |
| | | "path": "myTracks", |
| | | "style": { |
| | | "navigationBarTitleText": "æç足迹", |
| | | "enablePullDownRefresh": true, |
| | | "navigationStyle": "custom" |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-navbar": "view", |
| | | "u-notice-bar": "view", |
| | | "u-empty": "view", |
| | | "u-swipe-action": "view", |
| | | "u-checkbox-group": "view", |
| | | "u-checkbox": "view" |
| | | } |
| | | } |
| | | }, { |
| | | "path": "myCollect", |
| | |
| | | "navigationStyle": "custom", |
| | | "app-plus": { |
| | | "scrollIndicator": "none" |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-navbar": "view", |
| | | "u-tabs": "view", |
| | | "u-empty": "view", |
| | | "u-swipe-action": "view", |
| | | "u-image": "view", |
| | | "u-loading": "view", |
| | | "u-tag": "view" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "app-plus": { |
| | | //app页é¢ä¸æ¾ç¤ºæ»å¨æ¡ |
| | | "scrollIndicator": "none" |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-swipe-action": "view", |
| | | "u-image": "view", |
| | | "u-modal": "view" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "app-plus": { |
| | | //app页é¢ä¸æ¾ç¤ºæ»å¨æ¡ |
| | | "scrollIndicator": "none" |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-input": "view" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "app-plus": { |
| | | //app页é¢ä¸æ¾ç¤ºæ»å¨æ¡ |
| | | "scrollIndicator": "none" |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-tabs": "view", |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view", |
| | | "u-button": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "distribution/history", |
| | | "style": { |
| | | "navigationBarTitleText": "æç°åå²" |
| | | |
| | | "navigationBarTitleText": "æç°åå²", |
| | | "componentPlaceholder": { |
| | | "u-loadmore": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "distribution/auth", |
| | | "style": { |
| | | "navigationBarTitleText": "ä¼åå®å认è¯" |
| | | |
| | | "navigationBarTitleText": "ä¼åå®å认è¯", |
| | | "componentPlaceholder": { |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view", |
| | | "u-button": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "distribution/achievement", |
| | | "style": { |
| | | "navigationBarTitleText": "æçåéä¸ç»©" |
| | | |
| | | } |
| | | }, |
| | | { |
| | | "path": "distribution/home", |
| | | "style": { |
| | | "navigationBarTitleText": "æ¨å¹¿åä½£" |
| | | |
| | | "navigationBarTitleText": "æ¨å¹¿åä½£", |
| | | "componentPlaceholder": { |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | { |
| | | "path": "address/add", |
| | | "style": { |
| | | "navigationBarTitleText": "æ¶è´§äºº" |
| | | "navigationBarTitleText": "æ¶è´§äºº", |
| | | "componentPlaceholder": { |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view", |
| | | "u-icon": "view", |
| | | "u-action-sheet": "view", |
| | | "u-checkbox-group": "view", |
| | | "u-checkbox": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "address/addressManage", |
| | | "style": { |
| | | "navigationBarTitleText": "å°å管ç" |
| | | "navigationBarTitleText": "å°å管ç", |
| | | "componentPlaceholder": { |
| | | "u-empty": "view", |
| | | "u-icon": "view", |
| | | "u-action-sheet": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | { |
| | | "path": "set/feedBack", |
| | | "style": { |
| | | "navigationBarTitleText": "æè§åé¦" |
| | | "navigationBarTitleText": "æè§åé¦", |
| | | "componentPlaceholder": { |
| | | "u-input": "view", |
| | | "u-upload": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | { |
| | | "path": "set/editionIntro", |
| | | "style": { |
| | | "navigationBarTitleText": "å
³äºæä»¬" |
| | | "navigationBarTitleText": "å
³äºæä»¬", |
| | | "componentPlaceholder": { |
| | | "u-cell-group": "view", |
| | | "u-cell-item": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "set/setUp", |
| | | "style": { |
| | | "navigationBarTitleText": "设置" |
| | | "navigationBarTitleText": "设置", |
| | | "componentPlaceholder": { |
| | | "u-image": "view", |
| | | "u-icon": "view", |
| | | "u-cell-group": "view", |
| | | "u-cell-item": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | }, { |
| | | "path": "help/tips", |
| | | "style": { |
| | | "navigationBarTitleText": "" |
| | | "navigationBarTitleText": "", |
| | | "componentPlaceholder": { |
| | | "u-parse": "view" |
| | | } |
| | | } |
| | | }, { |
| | | "path": "point/myPoint", |
| | | "style": { |
| | | "navigationBarTitleText": "æç积å" |
| | | "navigationBarTitleText": "æç积å", |
| | | "componentPlaceholder": { |
| | | "u-row": "view", |
| | | "u-col": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | "path": "entry/seller/index", |
| | | "style": { |
| | | "navigationBarTitleText": "åºéºå
¥é©»", |
| | | "navigationStyle": "custom" |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-navbar": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "entry/seller/step1", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view", |
| | | "u-upload": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "entry/seller/step2", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "entry/seller/step3", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view", |
| | | "u-upload": "view", |
| | | "u-select": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "entry/seller/control", |
| | | "style": { |
| | | "navigationBarTitleText": "", |
| | | "navigationStyle": "custom" |
| | | "navigationStyle": "custom", |
| | | "componentPlaceholder": { |
| | | "u-navbar": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | "style": { |
| | | "navigationBarTitleText": "å°ç¨åºç»å½", |
| | | "navigationStyle": "custom", |
| | | "navigationBarTextStyle": "black" |
| | | "navigationBarTextStyle": "black", |
| | | "componentPlaceholder": { |
| | | "u-navbar": "view", |
| | | "u-modal": "view", |
| | | "u-checkbox": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | },{ |
| | | "path": "bargain/log", |
| | | "style": { |
| | | "navigationBarTitleText": "ç ä»·è®°å½" |
| | | "navigationBarTitleText": "ç ä»·è®°å½", |
| | | "componentPlaceholder": { |
| | | "u-image": "view", |
| | | "u-empty": "view" |
| | | } |
| | | } |
| | | },{ |
| | | "path": "point/detail", |
| | |
| | | "navigationBarTitleText": "æç伿 å¸", |
| | | "app-plus": { |
| | | "bounce": "coupon/none" |
| | | |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-empty": "view", |
| | | "u-icon": "view" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "path": "coupon/couponCenter", |
| | | "style": { |
| | | "navigationBarTitleText": "é¢å¸ä¸å¿", |
| | | "enablePullDownRefresh": true |
| | | |
| | | "enablePullDownRefresh": true, |
| | | "componentPlaceholder": { |
| | | "u-empty": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | { |
| | | "path": "complain/complainList", |
| | | "style": { |
| | | "navigationBarTitleText": "æè¯å表" |
| | | "navigationBarTitleText": "æè¯å表", |
| | | "componentPlaceholder": { |
| | | "u-line": "view", |
| | | "u-image": "view", |
| | | "u-tag": "view", |
| | | "u-empty": "view", |
| | | "u-modal": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | "enablePullDownRefresh": true, |
| | | "app-plus": { |
| | | "bounce": "none" |
| | | |
| | | }, |
| | | "componentPlaceholder": { |
| | | "u-empty": "view", |
| | | "u-modal": "view", |
| | | "u-image": "view", |
| | | "u-popup": "view", |
| | | "u-radio-group": "view", |
| | | "u-radio": "view", |
| | | "u-button": "view", |
| | | "u-toast": "view", |
| | | "u-modal": "view" |
| | | } |
| | | } |
| | | }, |
| | |
| | | { |
| | | "path": "evaluate/myEvaluate", |
| | | "style": { |
| | | "navigationBarTitleText": "æçè¯ä»·" |
| | | "navigationBarTitleText": "æçè¯ä»·", |
| | | "componentPlaceholder": { |
| | | "u-empty": "view", |
| | | "u-tabs": "view", |
| | | "u-image": "view", |
| | | "u-read-more": "view", |
| | | "u-tag": "view" |
| | | } |
| | | } |
| | | }, |
| | | |
| | |
| | | "path": "afterSales/afterSales", |
| | | "style": { |
| | | "navigationBarTitleText": "å®å管ç", |
| | | "enablePullDownRefresh": true |
| | | "enablePullDownRefresh": true, |
| | | "componentPlaceholder": { |
| | | "u-modal": "view", |
| | | "u-tabs": "view", |
| | | "u-image": "view", |
| | | "u-search": "view", |
| | | "u-icon": "view", |
| | | "u-loadmore": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | |
| | | ], |
| | | "globalStyle": { |
| | | "navigationBarTextStyle": "black", |
| | | "navigationBarTitleText": "Liliåå", |
| | | "navigationBarTitleText": "绿满ç", |
| | | "titleColor": "#303133", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "backgroundColor": "#fff", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import { |
| | | receiveCoupons |
| | | } from "@/api/members.js"; |
| | |
| | | getAllCoupons |
| | | } from "@/api/promotions.js"; |
| | | export default { |
| | | components: {UEmpty}, |
| | | data() { |
| | | return { |
| | | loadStatus: "more", //ä¸æç¶æ |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { useCoupon } from "@/api/trade.js"; |
| | | |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | |
| | | import { getMemberCoupons } from "@/api/members.js"; |
| | | |
| | | export default { |
| | | components: {UEmpty,UIcon}, |
| | | data() { |
| | | return { |
| | | tabCurrentIndex: 0, //tabæ 䏿 é»è®¤ä¸º0 æªä½¿ç¨ |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Trade from "@/api/trade"; |
| | | import {payCallback} from '@/api/members' |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getGoods } from "@/api/goods.js"; |
| | | import { getPinTuanShare } from "@/api/order"; |
| | | import shares from "@/components/m-share/index"; |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue'; |
| | | import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import UCheckboxGroup from '@/uview-components/uview-ui/components/u-checkbox-group/u-checkbox-group.vue'; |
| | | import UCheckbox from '@/uview-components/uview-ui/components/u-checkbox/u-checkbox.vue'; |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import UActionSheet from '@/uview-components/uview-ui/components/u-action-sheet/u-action-sheet.vue'; |
| | | |
| | | import { addAddress, editAddress, getAddressDetail } from "@/api/address.js"; |
| | | import city from "@/components/m-city/m-city.vue"; |
| | | import uniMap from "@/components/uniMap"; |
| | |
| | | components: { |
| | | "m-city": city, |
| | | uniMap, |
| | | UForm,UFormItem,UInput,UCheckboxGroup,UCheckbox,UIcon,UActionSheet |
| | | }, |
| | | onShow() { |
| | | // 夿å½åç³»ç»æéå®ä½æ¯å¦å¼å¯ |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Trade from "@/api/trade"; |
| | | import * as API_Address from "@/api/address.js"; |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import UActionSheet from '@/uview-components/uview-ui/components/u-action-sheet/u-action-sheet.vue'; |
| | | |
| | | import * as API_Address from "@/api/address.js"; |
| | | export default { |
| | | components: {UEmpty,UIcon,UActionSheet}, |
| | | data() { |
| | | return { |
| | | addressList: [], //å°åå表 |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Trade from "@/api/trade"; |
| | | import * as API_Store from "@/api/store.js"; |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getUserRecharge, getWalletLog } from "@/api/members"; |
| | | import { getUserWallet } from "@/api/members"; |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default {}; |
| | | </script> |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getUserWallet } from "@/api/members"; |
| | | export default { |
| | | data() { |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { recharge } from "@/api/members"; |
| | | export default { |
| | | data() { |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getUserWallet, withdrawalApply, withdrawalSettingVO } from "@/api/members"; |
| | | export default { |
| | | data() { |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue'; |
| | | import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import UButton from '@/uview-components/uview-ui/components/u-button/u-button.vue'; |
| | | |
| | | import { applyDistribution } from "@/api/goods"; |
| | | import { checkBankno } from "@/utils/Foundation"; |
| | | export default { |
| | | components: {UForm,UFormItem,UInput,UButton}, |
| | | data() { |
| | | return { |
| | | ruleForm: { |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import ULoadmore from '@/uview-components/uview-ui/components/u-loadmore/u-loadmore.vue'; |
| | | import { cashLog, distributionOrderList } from "@/api/goods"; |
| | | export default { |
| | | components: {ULoadmore}, |
| | | data () { |
| | | return { |
| | | cashLogData: [], //æç°è®°å½æ°æ®éå |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import { distribution } from "@/api/goods"; |
| | | export default { |
| | | |
| | | components: {UIcon}, |
| | | data() { |
| | | return { |
| | | distributionData: "", |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import UTabs from '@/uview-components/uview-ui/components/u-tabs/u-tabs.vue'; |
| | | import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue'; |
| | | import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import UButton from '@/uview-components/uview-ui/components/u-button/u-button.vue'; |
| | | |
| | | export default { |
| | | components: {}, |
| | | components: {UTabs,UForm,UFormItem,UInput,UButton}, |
| | | // å¿
é¡»è¦å¨onReadyçå½å¨æï¼å 为onLoadçå½å¨æç»ä»¶å¯è½å°æªåå»ºå®æ¯ |
| | | onReady() { |
| | | this.$refs.uForm.setRules(this.rules); |
| | |
| | | <template> |
| | | <view class="wrapper"> |
| | | <!-- çéå¼¹åºå± TODOåç»çæ¬æ´æ° --> |
| | | <!-- <u-popup width="90%" v-model="popup" mode="right"> |
| | | <view class="screen-title">ååçé</view> |
| | | |
| | | <view class="screen-view"> |
| | | <view class="screen-item"> |
| | | <h4>ä»·æ ¼åºé´</h4> |
| | | <view class="flex"> |
| | | <u-input class="u-bg" placeholder-style="font-size:22rpx;" type="number" input-align="center" placeholder="æä½ä»·"></u-input> |
| | | <view class="line"></view> |
| | | <u-input class="u-bg" placeholder-style="font-size:22rpx;" type="number" input-align="center" placeholder="æé«ä»·"></u-input> |
| | | </view> |
| | | </view> |
| | | <view class="screen-item"> |
| | | <h4>éé</h4> |
| | | <view class="flex"> |
| | | <u-input class="u-bg w200 flex1" placeholder-style="font-size:22rpx;" type="number" input-align="center" placeholder="éé"></u-input> |
| | | <view class="flex1">ç¬ä»¥ä¸</view> |
| | | </view> |
| | | </view> |
| | | <view class="screen-item"> |
| | | <h4>æ¶å
¥æ¯ç</h4> |
| | | <view class="flex"> |
| | | <u-input class="u-bg" placeholder-style="font-size:22rpx;" type="number" input-align="center" placeholder="æä½%"></u-input> |
| | | <view class="line"></view> |
| | | <u-input class="u-bg" placeholder-style="font-size:22rpx;" type="number" input-align="center" placeholder="æé«%"></u-input> |
| | | </view> |
| | | </view> |
| | | <view class="screen-item"> |
| | | <h4>å
é®</h4> |
| | | <view class="flex"> |
| | | <u-tag class="u-tag" shape="circle" text="å
é®" mode="plain" type="info" /> |
| | | </view> |
| | | </view> |
| | | <view class="screen-item"> |
| | | <h4>ä¿éæ´»å¨</h4> |
| | | <view class="flex"> |
| | | <u-tag class="u-tag" shape="circle" text="éæ¶æ¢è´" mode="plain" type="info" /> |
| | | <u-tag class="u-tag" shape="circle" text="æ¼å¢ç§æ" mode="plain" type="info" /> |
| | | </view> |
| | | </view> |
| | | <view class="screen-item"> |
| | | <h4>ç»è¥ç±»å</h4> |
| | | <view class="flex"> |
| | | <u-tag class="u-tag" shape="circle" text="å¹³å°èªè¥" mode="plain" type="info" /> |
| | | <u-tag class="u-tag" shape="circle" text="䏿¹åºéº" mode="plain" type="info" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="screen-btn"> |
| | | <view class="screen-clear"> éç½® </view> |
| | | <view class="screen-submit"> ç¡®å® </view> |
| | | </view> |
| | | </u-popup> --> |
| | | |
| | | <!-- å¯¼èªæ --> |
| | | <view class="nav"> |
| | | <view class="nav-item" @click="handleMyGoods(true)" :class="{ checked: params.checked }">已鿩</view> |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import USwipeAction from '@/uview-components/uview-ui/components/u-swipe-action/u-swipe-action.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UModal from '@/uview-components/uview-ui/components/u-modal/u-modal.vue'; |
| | | |
| | | import { |
| | | distributionGoods, |
| | | checkedDistributionGoods, |
| | |
| | | |
| | | import drawCanvas from "@/components/m-canvas"; |
| | | export default { |
| | | components: {USwipeAction,UImage,UModal}, |
| | | data() { |
| | | return { |
| | | lightColor: this.$lightColor, |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import { distribution, cash } from "@/api/goods"; |
| | | export default { |
| | | components: {UInput}, |
| | | data() { |
| | | return { |
| | | price: 0, |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import UParse from '@/uview-components/uview-ui/components/u-parse/u-parse.vue'; |
| | | |
| | | import { getArticleDetailByType } from "@/api/article"; |
| | | export default { |
| | | components: {UParse}, |
| | | data() { |
| | | return { |
| | | res: "", |
| | |
| | | var wh |
| | | // é¡¶é¨ç©ºçåçé«åº¦ |
| | | var mgUpHeight |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | getTalkMessage, |
| | | getTalkByUser, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getTalkList, clearmeaager } from "@/api/im.js"; |
| | | import storage from "@/utils/storage.js"; |
| | | import { beautifyTime } from "@/utils/filters.js" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | mapMutations |
| | | } from "vuex"; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Message from "@/api/message.js"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getExpress } from "@/api/trade.js"; |
| | | export default { |
| | | data() { |
| | |
| | | |
| | | <script> |
| | | import { mapMutations } from "vuex"; |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | data() { |
| | | return {}; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { mapMutations } from "vuex"; |
| | | import * as API_Message from "@/api/message.js"; |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UNavbar from '@/uview-components/uview-ui/components/u-navbar/u-navbar.vue'; |
| | | import UTabs from '@/uview-components/uview-ui/components/u-tabs/u-tabs.vue'; |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import USwipeAction from '@/uview-components/uview-ui/components/u-swipe-action/u-swipe-action.vue'; |
| | | 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'; |
| | | import UTag from '@/uview-components/uview-ui/components/u-tag/u-tag.vue'; |
| | | |
| | | import { |
| | | getGoodsCollection, |
| | | getStoreCollection, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UNavbar from '@/uview-components/uview-ui/components/u-navbar/u-navbar.vue'; |
| | | import UNoticeBar from '@/uview-components/uview-ui/components/u-notice-bar/u-notice-bar.vue'; |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import USwipeAction from '@/uview-components/uview-ui/components/u-swipe-action/u-swipe-action.vue'; |
| | | import UCheckboxGroup from '@/uview-components/uview-ui/components/u-checkbox-group/u-checkbox-group.vue'; |
| | | import UCheckbox from '@/uview-components/uview-ui/components/u-checkbox/u-checkbox.vue'; |
| | | |
| | | import { |
| | | myTrackList, |
| | | deleteHistoryListId |
| | | } from "@/api/members.js"; |
| | | |
| | | export default { |
| | | components: {UNavbar,UNoticeBar,UEmpty,USwipeAction,UCheckboxGroup,UCheckbox}, |
| | | data() { |
| | | return { |
| | | isEdit:false, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import URow from '@/uview-components/uview-ui/components/u-row/u-row.vue'; |
| | | import UCol from '@/uview-components/uview-ui/components/u-col/u-col.vue'; |
| | | |
| | | import { getPointsData } from "@/api/members.js"; |
| | | import { getMemberPointSum } from "@/api/members.js"; |
| | | export default { |
| | | components: {URow, UCol}, |
| | | data() { |
| | | return { |
| | | count: { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UCellGroup from '@/uview-components/uview-ui/components/u-cell-group/u-cell-group.vue'; |
| | | import UCellItem from '@/uview-components/uview-ui/components/u-cell-item/u-cell-item.vue'; |
| | | |
| | | import APPUpdate from "@/plugins/APPUpdate"; |
| | | import config from "@/config/config"; |
| | | import { getAppVersion } from "@/api/message.js"; |
| | | export default { |
| | | components: {UCellGroup,UCellItem}, |
| | | data() { |
| | | return { |
| | | config, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import UUpload from '@/uview-components/uview-ui/components/u-upload/u-upload.vue'; |
| | | |
| | | import storage from "@/utils/storage.js"; |
| | | import config from "@/config/config"; |
| | | import { feedBack } from "@/api/members.js"; |
| | | import { upload } from "@/api/common.js"; |
| | | export default { |
| | | components: {UInput,UUpload}, |
| | | data() { |
| | | return { |
| | | storage, |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { saveUserInfo, getUserInfo } from "@/api/members.js"; |
| | | import { upload } from "@/api/common.js"; |
| | | import storage from "@/utils/storage.js"; |
| | | import uFormItem from "@/uview-ui/components/u-form-item/u-form-item.vue"; |
| | | import uFormItem from "@/uview-components/uview-ui/components/u-form-item/u-form-item.vue"; |
| | | import city from "@/components/m-city/m-city.vue"; |
| | | export default { |
| | | components: { uFormItem, "m-city": city }, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | sendMobile, |
| | | bindMobile |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | sendMobile, |
| | | resetByMobile, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import storage from "@/utils/storage.js"; |
| | | import { setBiolofy } from "@/api/passport.js"; |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import storage from "@/utils/storage.js"; |
| | | import { setBiolofy } from "@/api/passport.js"; |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import UCellGroup from '@/uview-components/uview-ui/components/u-cell-group/u-cell-group.vue'; |
| | | import UCellItem from '@/uview-components/uview-ui/components/u-cell-item/u-cell-item.vue'; |
| | | |
| | | import config from "@/config/config"; |
| | | export default { |
| | | components: {UImage,UIcon,UCellGroup,UCellItem}, |
| | | data() { |
| | | return { |
| | | config, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getAppVersionList } from "@/api/message"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | |
| | | import { sign, signTime } from "@/api/point.js"; |
| | | export default { |
| | | components: {UIcon}, |
| | | data() { |
| | | return { |
| | | aiderLightColor:this.$aiderLightColor, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | 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'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import UBackTop from '@/uview-components/uview-ui/components/u-back-top/u-back-top.vue'; |
| | | |
| | | import { getGoodsList, getGoodsRelated } from '@/api/goods.js'; |
| | | import goodsList from '@/components/m-goods-list/list.vue'; |
| | | import { getHotKeywords } from '@/api/home.js'; |
| | | import mSearch from '@/components/m-search-revision/m-search-revision.vue'; |
| | | import storage from '@/utils/storage'; |
| | | export default { |
| | | components: { |
| | | UNavbar,UPopup,UInput,UBackTop,mSearch,goodsList |
| | | }, |
| | | data() { |
| | | return { |
| | | empty: false, |
| | |
| | | this.isShowSeachGoods = true; |
| | | } |
| | | this.loadData(); |
| | | }, |
| | | components: { |
| | | mSearch, |
| | | goodsList |
| | | }, |
| | | watch: { |
| | | /** |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UTabs from '@/uview-components/uview-ui/components/u-tabs/u-tabs.vue'; |
| | | import USearch from '@/uview-components/uview-ui/components/u-search/u-search.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import ULoadmore from '@/uview-components/uview-ui/components/u-loadmore/u-loadmore.vue'; |
| | | import UModal from '@/uview-components/uview-ui/components/u-modal/u-modal.vue'; |
| | | |
| | | import uniLoadMore from "@/components/uni-load-more/uni-load-more.vue"; |
| | | import { getAfterSaleList, cancelAfterSale } from "@/api/after-sale.js"; |
| | | import { getOrderList } from "@/api/order.js"; |
| | |
| | | |
| | | export default { |
| | | components: { |
| | | uniLoadMore, |
| | | uniLoadMore,UTabs,USearch,UImage,UIcon,ULoadmore |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | getAfterSaleReason, |
| | | applyReturn, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getLogistics } from "@/api/address.js"; |
| | | import { fillShipInfo } from "@/api/after-sale.js"; |
| | | import storage from "@/utils/storage"; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getAfterSaleInfo } from "@/api/after-sale"; |
| | | import storage from "@/utils/storage"; |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | getServiceDetail, |
| | | getStoreAfterSaleAddress, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | data() { |
| | | return {}; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import storage from "@/utils/storage.js"; |
| | | import { getOrderDetail } from "@/api/order.js"; |
| | | import { getComplainReason, addComplain } from "@/api/after-sale.js"; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getComplainDetail, communication } from "@/api/after-sale"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import ULine from '@/uview-components/uview-ui/components/u-line/u-line.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UTag from '@/uview-components/uview-ui/components/u-tag/u-tag.vue'; |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import UModal from '@/uview-components/uview-ui/components/u-modal/u-modal.vue'; |
| | | |
| | | import { getComplain, clearComplain } from "@/api/after-sale"; |
| | | |
| | | export default { |
| | | components: {ULine,UImage,UTag,UEmpty,UModal}, |
| | | data() { |
| | | return { |
| | | statusData: { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import configs from '@/config/config' |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UTabs from '@/uview-components/uview-ui/components/u-tabs/u-tabs.vue'; |
| | | import UReadMore from '@/uview-components/uview-ui/components/u-read-more/u-read-more.vue'; |
| | | import UTag from '@/uview-components/uview-ui/components/u-tag/u-tag.vue'; |
| | | import { getOrderList } from "@/api/order.js"; |
| | | import { getComments } from "@/api/members.js"; |
| | | |
| | | export default { |
| | | components: {UEmpty,UImage,UTabs,UReadMore,UTag}, |
| | | data() { |
| | | return { |
| | | list: [ |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import storage from "@/utils/storage.js"; |
| | | import { commentsMemberOrder } from "@/api/members.js"; |
| | | import { upload } from "@/api/common.js"; |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Address from "@/api/address"; |
| | | import * as API_Order from "@/api/order"; |
| | | import * as API_Trade from "@/api/trade"; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getReceiptDetail } from "@/api/order.js"; |
| | | |
| | | export default { |
| | |
| | | </u-popup> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { addReceipt } from "@/api/members"; |
| | | export default { |
| | | props: ["res"], |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UEmpty from '@/uview-components/uview-ui/components/u-empty/u-empty.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import UPopup from '@/uview-components/uview-ui/components/u-popup/u-popup.vue'; |
| | | import URadioGroup from '@/uview-components/uview-ui/components/u-radio-group/u-radio-group.vue'; |
| | | import URadio from '@/uview-components/uview-ui/components/u-radio/u-radio.vue'; |
| | | import UButton from '@/uview-components/uview-ui/components/u-button/u-button.vue'; |
| | | import UToast from '@/uview-components/uview-ui/components/u-toast/u-toast.vue'; |
| | | import UModal from '@/uview-components/uview-ui/components/u-modal/u-modal.vue'; |
| | | import uniLoadMore from "@/components/uni-load-more/uni-load-more.vue"; |
| | | import { getOrderList, cancelOrder, confirmReceipt } from "@/api/order.js"; |
| | | import { getClearReason } from "@/api/after-sale.js"; |
| | | import LiLiWXPay from "@/js_sdk/lili-pay/wx-pay.js"; |
| | | export default { |
| | | components: { |
| | | uniLoadMore, |
| | | uniLoadMore,UEmpty,UImage,UPopup,URadioGroup,URadio,UButton,UToast,UModal |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getExpress, getPackage } from "@/api/trade.js"; |
| | | import { cancelOrder, confirmReceipt, getOrderDetail } from "@/api/order.js"; |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getArticleDetail } from "@/api/article.js"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UNavbar from '@/uview-components/uview-ui/components/u-navbar/u-navbar.vue'; |
| | | |
| | | import { getCompanyDetail } from "@/api/entry"; |
| | | import step1 from "./step1"; |
| | | import step2 from "./step2"; |
| | |
| | | step1, |
| | | step2, |
| | | step3, |
| | | UNavbar |
| | | }, |
| | | mounted() { |
| | | this.init(); |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UNavbar from '@/uview-components/uview-ui/components/u-navbar/u-navbar.vue'; |
| | | |
| | | import { getCompanyDetail } from "@/api/entry"; |
| | | export default { |
| | | components: {}, |
| | | components: {UNavbar}, |
| | | |
| | | data() { |
| | | return { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue'; |
| | | import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import UUpload from '@/uview-components/uview-ui/components/u-upload/u-upload.vue'; |
| | | |
| | | import { applyFirst } from "@/api/entry"; |
| | | import city from "@/components/m-city/m-city.vue"; |
| | | import storage from "@/utils/storage.js"; |
| | | import { upload } from "@/api/common.js"; |
| | | import * as RegExp from "@/utils/RegExp.js"; |
| | | export default { |
| | | components: { "m-city": city }, |
| | | components: { "m-city": city , UForm,UFormItem,UInput,UUpload}, |
| | | data() { |
| | | return { |
| | | storage, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue'; |
| | | import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | |
| | | import { applySecond } from "@/api/entry"; |
| | | |
| | | export default { |
| | | components: {UForm,UFormItem,UInput}, |
| | | data() { |
| | | return { |
| | | defaultInputStyle: { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue'; |
| | | import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import UUpload from '@/uview-components/uview-ui/components/u-upload/u-upload.vue'; |
| | | import USelect from '@/uview-components/uview-ui/components/u-select/u-select.vue'; |
| | | |
| | | import { applyThird } from "@/api/entry"; |
| | | import { getCategoryList } from "@/api/goods"; |
| | | import city from "@/components/m-city/m-city.vue"; |
| | |
| | | import uniMap from "@/components/uniMap"; |
| | | import permision from "@/js_sdk/wa-permission/permission.js"; |
| | | export default { |
| | | components: { "m-city": city, uniMap }, |
| | | components: { "m-city": city, uniMap, UForm,UFormItem,UInput,UUpload,USelect}, |
| | | data() { |
| | | return { |
| | | storage, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | openIdLogin, |
| | | loginCallback |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { scannerCodeLogin, scannerCodeLoginConfirm } from "@/api/login"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { whetherNavigate } from "@/utils/Foundation"; //ç»å½è·³è½¬ |
| | | import config from "@/config/config"; |
| | | import api from "@/config/api.js"; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UCheckBox from '@/uview-components/uview-ui/components/u-checkbox/u-checkbox.vue'; |
| | | import UNavbar from '@/uview-components/uview-ui/components/u-navbar/u-navbar.vue'; |
| | | import UModel from '@/uview-components/uview-ui/components/u-modal/u-modal.vue'; |
| | | import { |
| | | mpAutoLogin |
| | | } from "@/api/connect.js"; |
| | |
| | | import storage from "@/utils/storage.js"; |
| | | import config from '@/config/config' |
| | | export default { |
| | | components: {UCheckBox, UModel,UNavbar}, |
| | | data() { |
| | | return { |
| | | lightColor:this.$lightColor, |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_GOODS from "../../api/goods"; |
| | | import * as API_MEM from "../../api/members"; |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | // import { getGoodsDetail } from '@/api/goods.js'; |
| | | import * as membersApi from "@/api/members.js"; |
| | | import configs from '@/config/config' |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | /************æ¥å£API***************/ |
| | | import { getGoods, getGoodsList, getMpScene, getGoodsDistribution } from "@/api/goods.js"; |
| | | import * as API_trade from "@/api/trade.js"; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getLicencePhoto } from "@/api/store.js"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Members from "@/api/members.js"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getGoodsMessage } from "@/api/goods"; |
| | | export default { |
| | | data() { |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | </u-popup> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import setup from "@/components/m-buy/popup.js"; |
| | | /************请æ±åå¨***************/ |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Promotions from "@/api/promotions"; |
| | | import configs from '@/config/config' |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | data() { |
| | | return {}; |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | data() { |
| | | return {}; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | data() { |
| | | return {}; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getStoreList } from "@/api/store"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | // å¼ç¨ç»ä»¶ |
| | | import tpl_banner from "@/pages/tabbar/home/template/tpl_banner"; //å¯¼èªæ 模å |
| | | import tpl_title from "@/pages/tabbar/home/template/tpl_title"; //æ 颿 模å |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | getGoodsList |
| | | } from "@/api/goods.js"; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import popupGoods from "@/components/m-buy/goods"; //è´ç©è½¦ååçæ¨¡å |
| | | import { |
| | | getBargainDetail, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getBargainList } from "@/api/promotions"; |
| | | import goodsTemplate from '@/components/m-goods-list/promotion' |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | 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 { getMineBargainLog } from "@/api/promotions"; |
| | | export default { |
| | | components: {UImage, UEmpty}, |
| | | data() { |
| | | return { |
| | | params: { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Promotions from "@/api/promotions"; |
| | | import * as API_Goods from "@/api/goods"; |
| | | import goodsTemplate from '@/components/m-goods-list/promotion.vue' |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getLiveList } from "@/api/promotions.js"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import popupGoods from "@/components/m-buy/goods"; //è´ç©è½¦ååçæ¨¡å |
| | | import { getPointsGoodsDetail } from "@/api/promotions"; |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getPointsCategory, getPointsGoods } from "@/api/promotions.js"; |
| | | import userPoint from "./user"; |
| | | export default { |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getUserInfo } from "@/api/members"; |
| | | export default { |
| | | data() { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | getSeckillTimeLine, |
| | | getSeckillTimeGoods |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | |
| | | import UNavbar from '@/uview-components/uview-ui/components/u-navbar/u-navbar.vue'; |
| | | import UCheckboxGroup from '@/uview-components/uview-ui/components/u-checkbox-group/u-checkbox-group.vue'; |
| | | import UCheckbox from '@/uview-components/uview-ui/components/u-checkbox/u-checkbox.vue'; |
| | | import USwipeAction from '@/uview-components/uview-ui/components/u-swipe-action/u-swipe-action.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | 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 UCountDown from '@/uview-components/uview-ui/components/u-count-down/u-count-down.vue'; |
| | | import UModal from '@/uview-components/uview-ui/components/u-modal/u-modal.vue'; |
| | | import UToast from '@/uview-components/uview-ui/components/u-toast/u-toast.vue'; |
| | | import * as API_Trade from "@/api/trade"; |
| | | import { debounce } from "@/utils/tools.js"; |
| | | import uniNumberBox from '@/components/uni-number-box' |
| | | export default { |
| | | components:{uniNumberBox}, // æ°éå åç»ä»¶ |
| | | components:{uniNumberBox,UNavbar,UCheckboxGroup,UCheckbox,USwipeAction,UImage,UIcon,UPopup,UCountDown,UModal,UToast}, // æ°éå åç»ä»¶ |
| | | data() { |
| | | return { |
| | | loading:false, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import USearch from '@/uview-components/uview-ui/components/u-search/u-search.vue'; |
| | | import UNavbar from '@/uview-components/uview-ui/components/u-navbar/u-navbar.vue'; |
| | | import UImage from '@/uview-components/uview-ui/components/u-image/u-image.vue'; |
| | | import { getCategoryList } from "@/api/goods.js"; |
| | | export default { |
| | | components: {USearch,UNavbar,UImage}, |
| | | data() { |
| | | return { |
| | | currentId: 0, |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getAutoCoup } from "@/api/login"; |
| | | import storage from "@/utils/storage.js"; |
| | | export default { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { modelNavigateTo } from "./tpl"; |
| | | export default { |
| | | title: "å¯¼èªæ ", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { modelNavigateTo } from "./tpl"; |
| | | export default { |
| | | title: "äºååè¡å¾ç模å", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { modelNavigateTo } from "./tpl"; |
| | | export default { |
| | | title: "åååè¡å¾ç模å", |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { modelNavigateTo } from "./tpl"; |
| | | import hotzone from "@/pages/tabbar/home/template/tpl_hot_zone.vue"; |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { modelNavigateTo } from "./tpl"; |
| | | |
| | | export default { |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import uImage from "@/uview-ui/components/u-image/u-image.vue"; |
| | | import '@/uview-components/uview-ui' |
| | | import uImage from "@/uview-components/uview-ui/components/u-image/u-image.vue"; |
| | | import { modelNavigateTo } from "./tpl"; |
| | | export default { |
| | | components: { uImage }, |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { getGoodsList } from "@/api/goods.js"; |
| | | export default { |
| | | title: "ååå类以ååå", |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | |
| | | import '@/uview-components/uview-ui' |
| | | import { modelNavigateTo } from "./tpl"; |
| | | export default { |
| | | title: "å·¦ä¸å³äº", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import {modelNavigateTo} from './tpl' |
| | | export default { |
| | | title: "å·¦äºå³ä¸", |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { modelNavigateTo } from "./tpl"; |
| | | export default { |
| | | title: "äºåèå", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | title: "å
Œ", |
| | | props: ["res"], |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import * as API_Promotions from "@/api/promotions"; |
| | | import Foundation from "@/utils/Foundation.js"; |
| | | export default { |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | export default { |
| | | title:"æç´¢æ ", |
| | | props: ["res","storeId"], |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import '@/uview-components/uview-ui' |
| | | import {modelNavigateTo} from './tpl' |
| | | export default { |
| | | title: "æåå¾ç模æ¿", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { modelNavigateTo } from "./tpl"; |
| | | export default { |
| | | title: "ä¸ä¸ä¸äº", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import {modelNavigateTo} from './tpl' |
| | | export default { |
| | | title: "ä¸äºä¸ä¸", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | import { |
| | | messages, |
| | | editMessages |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | // å¼ç¨ç»ä»¶ |
| | | import tpl_banner from "@/pages/tabbar/home/template/tpl_banner"; //å¯¼èªæ 模å |
| | | import tpl_title from "@/pages/tabbar/home/template/tpl_title"; //æ 颿 模å |
| | |
| | | <swiper-item v-for="(item, index) in videoList" :key="item.id"> |
| | | <video |
| | | :id="'video'+index" |
| | | :src="item.url" |
| | | :src="item.videoUrl" |
| | | :autoplay="currentIndex === index" |
| | | :controls="false" |
| | | :loop="true" |
| | |
| | | <view class="goods-link"> |
| | | <view class="goods-container"> |
| | | <!-- ååå¾ç --> |
| | | <image class="goods-image" :src="item.goods.image" mode="aspectFill"></image> |
| | | <image class="goods-image" :src="item.goods.imageUrl" mode="aspectFill"></image> |
| | | |
| | | <!-- ååä¿¡æ¯ --> |
| | | <view class="goods-info"> |
| | |
| | | <text class="current-price">Â¥{{item.goods.price}}</text> |
| | | <text class="original-price" v-if="item.goods.originalPrice">Â¥{{item.goods.originalPrice}}</text> |
| | | </view> |
| | | <text class="sales-count">{{item.goods.sales}}人已è´</text> |
| | | <text class="sales-count">{{item.goods.saleNum}}人已è´</text> |
| | | </view> |
| | | |
| | | <!-- è´ä¹°æé® --> |
| | |
| | | <!-- è§é¢ä¿¡æ¯å± --> |
| | | <view class="video-info"> |
| | | <view> |
| | | <text class="video-author">@{{item.author}}</text> |
| | | <text class="video-author">@{{item.authorName}}</text> |
| | | </view> |
| | | <view style="width: 100%;word-wrap: break-word;white-space: normal;overflow-wrap: break-word;"> |
| | | <text class="video-title">{{item.title}}</text> |
| | | <text class="video-tag" v-for="(tag, index) in item.tags" :key="tag">#{{tag}}</text> |
| | | <text class="video-tag" v-for="(tag, index) in item.tagList" :key="tag">#{{tag.tagName}}</text> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | <text class="iconfont"></text> |
| | | </view> |
| | | </view> |
| | | <view class="action-item" @click="toggleCollect(item)"> |
| | | <!-- <image :src="item.isCollected ? '/static/collected.png' : '/static/collect.png'"></image> --> |
| | | <view class="action-item" @click="toggleCollect(item, index)"> |
| | | <text class="iconfont" v-if="item.collected"></text> |
| | | <text class="iconfont" v-else></text> |
| | | <text style="font-size: 10px;font-weight: lighter;">{{item.collectCount}}</text> |
| | | <text style="font-size: 10px;font-weight: lighter;">{{item.collectNum}}</text> |
| | | </view> |
| | | <view class="action-item" @click="showComments(item)"> |
| | | <text class="iconfont"></text> |
| | | <text style="font-size: 10px;font-weight: lighter;">{{item.commentCount}}</text> |
| | | <text style="font-size: 10px;font-weight: lighter;">{{item.commentNum}}</text> |
| | | </view> |
| | | </view> |
| | | </swiper-item> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getRecommendVideos } from "@/api/video.js"; |
| | | import { changeCollect } from "@/api/collect.js"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | windowHeight: 0, |
| | | currentIndex: 0, // å½åææ¾çè§é¢ç´¢å¼ |
| | | videoList: [ |
| | | { |
| | | url: 'http://vjs.zencdn.net/v/oceans.mp4', |
| | | objectFit: 'contain', |
| | | title: 'æäºä¸ª', |
| | | author: 'xp', |
| | | authorAvatar: 'https://picsum.photos/200/200?random=2', |
| | | collected: true, |
| | | commentCount: 12, |
| | | collectCount: 45, |
| | | tags: ["äºä¸", "ç±ç¾é£", "士大夫é度åç²çº¢è²çæ¢å¤é度çå£è¢ç©ºç©º"], |
| | | goods: { |
| | | name: 'æ¨æµ', |
| | | price: '10', |
| | | originalPrice: '48.9', |
| | | sales: 1988, |
| | | image: 'https://picsum.photos/200/200?random=2' |
| | | } |
| | | }, |
| | | { |
| | | url: 'https://videos.pexels.com/video-files/30900524/13210612_1080_1920_30fps.mp4', |
| | | objectFit: 'cover', |
| | | title: 'æäºä¸ª', |
| | | author: 'xp', |
| | | authorAvatar: 'https://picsum.photos/200/200?random=2', |
| | | collected: false, |
| | | commentCount: 6, |
| | | collectCount: 45, |
| | | tags: ["æå欢"], |
| | | goods: { |
| | | name: 'æ¨æµ', |
| | | price: '10', |
| | | originalPrice: '48.9', |
| | | sales: 1988, |
| | | image: 'https://picsum.photos/200/200?random=2' |
| | | } |
| | | }, |
| | | |
| | | ], // è§é¢åè¡¨æ°æ® |
| | | videoContexts: [], // è§é¢ä¸ä¸æå¯¹è±¡éå |
| | | loading: false, // æ¯å¦æ£å¨å è½½ |
| | |
| | | pageSize: 10 // æ¯é¡µæ°é |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.loadVideos(); |
| | | }, |
| | | onLoad() { |
| | | // this.loadVideos(); |
| | | if(!this.videoList || this.videoList.length < 1) { |
| | | this.loadVideos(); |
| | | } |
| | | |
| | | }, |
| | | onReady() { |
| | | // åå§åè§é¢ä¸ä¸æ |
| | |
| | | initVideoContexts() { |
| | | this.videoContexts = this.videoList.map((_, index) => { |
| | | let videoContent = uni.createVideoContext(`video${index}`, this); |
| | | // videoContent.requestFullScreen({ direction: 0 }); |
| | | return videoContent; |
| | | }); |
| | | }, |
| | |
| | | if (this.loading) return; |
| | | this.loading = true; |
| | | |
| | | try { |
| | | const res = await uni.request({ |
| | | url: 'https://your-api.com/videos', |
| | | data: { |
| | | page: this.page, |
| | | pageSize: this.pageSize |
| | | } |
| | | }); |
| | | |
| | | if (this.page === 1) { |
| | | this.videoList = res.data.list; |
| | | } else { |
| | | this.videoList = [...this.videoList, ...res.data.list]; |
| | | } |
| | | |
| | | this.page++; |
| | | this.$nextTick(() => { |
| | | this.initVideoContexts(); |
| | | }); |
| | | } catch (e) { |
| | | console.error('å è½½è§é¢å¤±è´¥', e); |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | | getRecommendVideos({pageNumber: this.page, pageSize: this.pageSize}).then(res => { |
| | | console.log(res, "è§é¢æ°æ®"); |
| | | if (this.page === 1) { |
| | | this.videoList = res.data.data; |
| | | } else { |
| | | this.videoList = [...this.videoList, ...res.data.data]; |
| | | } |
| | | |
| | | this.page++; |
| | | this.$nextTick(() => { |
| | | this.initVideoContexts(); |
| | | }); |
| | | this.loading = false; |
| | | }) |
| | | }, |
| | | |
| | | // æ»å¨åæ¢è§é¢ |
| | |
| | | } |
| | | }, |
| | | |
| | | // ç¹èµ/åæ¶ç¹èµ |
| | | toggleLike(item) { |
| | | item.isLiked = !item.isLiked; |
| | | item.likeCount += item.isLiked ? 1 : -1; |
| | | |
| | | uni.request({ |
| | | url: `https://your-api.com/video/${item.id}/like`, |
| | | method: item.isLiked ? 'POST' : 'DELETE' |
| | | }); |
| | | // æ¶è/åæ¶æ¶è |
| | | toggleCollect(item, index) { |
| | | let data = { |
| | | refId: item.id, |
| | | collectType: 'video' |
| | | } |
| | | const beforeCollected = item.collected |
| | | const beforeCollectNum = item.collectNum |
| | | if(item.collected) { |
| | | this.videoList[index].collected = false |
| | | this.videoList[index].collectNum -= 1 |
| | | } else { |
| | | this.videoList[index].collected = true |
| | | this.videoList[index].collectNum += 1 |
| | | } |
| | | changeCollect(data).then(res => { |
| | | if(res.data.code !== 200) { |
| | | this.videoList[index].collected = beforeCollected |
| | | this.videoList[index].collectNum = beforeCollectNum |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | // è§é¢ææ¾äºä»¶ |
| | |
| | | // è§é¢ç»æäºä»¶ |
| | | onEnded(index) { |
| | | console.log(`è§é¢ ${index} ææ¾ç»æ`); |
| | | // èªå¨ææ¾ä¸ä¸ä¸ªï¼å¦æä¸å¨æåä¸ä¸ªï¼ |
| | | if (index < this.videoList.length - 1) { |
| | | this.currentIndex = index + 1; |
| | | } |
| | | // // èªå¨ææ¾ä¸ä¸ä¸ªï¼å¦æä¸å¨æåä¸ä¸ªï¼ |
| | | // if (index < this.videoList.length - 1) { |
| | | // this.currentIndex = index + 1; |
| | | // } |
| | | } |
| | | } |
| | | } |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/uview-components/uview-ui' |
| | | // å¼ç¨ç»ä»¶ |
| | | import tpl_banner from "@/pages/tabbar/home/template/tpl_banner"; //å¯¼èªæ 模å |
| | | import tpl_title from "@/pages/tabbar/home/template/tpl_title"; //æ 颿 模å |
| | |
| | | </view> |
| | | </template> |
| | | <script> |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import URow from '@/uview-components/uview-ui/components/u-row/u-row.vue'; |
| | | import UCol from '@/uview-components/uview-ui/components/u-col/u-col.vue'; |
| | | import tool from "@/pages/tabbar/user/utils/tool.vue"; |
| | | import { getCouponsNum, getFootprintNum } from "@/api/members.js"; |
| | | import { getUserWallet } from "@/api/members"; |
| | | import configs from '@/config/config' |
| | | export default { |
| | | components: { |
| | | tool, |
| | | tool,UIcon,URow,UCol |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | :poster="videoInfo.cover || ''" |
| | | ></video> |
| | | <view class="progress-box"> |
| | | <progress style="width: 100%;" :percent="videoUploadProgress" show-info stroke-width="6" :active="true" active-color="#ff573e" /> |
| | | <progress style="width: 100%;" :percent="videoUploadProgress" active-mode="forwards" show-info stroke-width="6" :active="true" active-color="#ff573e" /> |
| | | </view> |
| | | <view class="video-actions"> |
| | | <u-button type="error" size="mini" @click="reUpload">éæ°ä¸ä¼ </u-button> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; |
| | | import UButton from '@/uview-components/uview-ui/components/u-button/u-button.vue'; |
| | | import UForm from '@/uview-components/uview-ui/components/u-form/u-form.vue'; |
| | | import UFormItem from '@/uview-components/uview-ui/components/u-form-item/u-form-item.vue'; |
| | | import UInput from '@/uview-components/uview-ui/components/u-input/u-input.vue'; |
| | | import USearch from '@/uview-components/uview-ui/components/u-search/u-search.vue'; |
| | | import UPopup from '@/uview-components/uview-ui/components/u-popup/u-popup.vue'; |
| | | import MyTag from "@/components/my-tag.vue" |
| | | import { getSTSToken } from "@/api/common.js"; |
| | | import { publish } from "@/api/video.js"; |
| | | import { getRecommendTag3 } from "@/api/video-tag.js"; |
| | | import { getFileKey } from "@/utils/file.js"; |
| | | export default { |
| | | components: {MyTag}, |
| | | components: {MyTag,UIcon,UButton,UForm,UFormItem,UInput,USearch,UPopup}, |
| | | data() { |
| | | return { |
| | | cosClient: null, |
| | |
| | | /* 页é¢å·¦å³é´è· */ |
| | | $page-color-base: #f8f8f8; |
| | | @import "uview-ui/theme.scss"; |
| | | @import '@/uview-components/uview-ui/theme.scss'; |
| | | |
| | | /* æå尺寸 */ |
| | | $font-sm: 24rpx; |
New file |
| | |
| | | <template> |
| | | <view> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return { |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | </style> |
File was renamed from uview-ui/index.js |
| | |
| | | import '../../uview-components/uview-ui/theme.scss' |
| | | // å¼å
¥å
¨å±mixin |
| | | import mixin from './libs/mixin/mixin.js' |
| | | // å¼å
¥å
³äºæ¯å¦mixinéæå°ç¨åºå享çé
ç½® |