Merge branch 'dev' of http://139.186.142.91:10010/r/productDev/preselect into dev
| | |
| | | |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/preselect_interface/' |
| | | |
| | | VUE_APP_API = 'http://127.0.0.1:10022/' |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/preselect_web_interface/' |
| | | |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/preselect_web_interface/' |
| | | |
| | |
| | | |
| | | # VUE_APP_API = 'https://dm.ahapp.net/preselect_interface/' |
| | | |
| | | # VUE_APP_API = 'http://yx.doumee.com/preselect_interface/' |
| | | VUE_APP_API = 'https://yx.ahapp.net/web_interface/' |
| | | |
| | | # VUE_APP_API = 'http://mjyx.doumee.com/preselect_interface/' |
| | |
| | | export function getUserInfo() { |
| | | return get('system/getUserInfo') |
| | | } |
| | | |
| | | // éåºç»å½ |
| | | export function logout(data){ |
| | | return post('system/logout', data) |
| | | } |
| | |
| | | "devServer" : { |
| | | "https" : false, |
| | | "proxy" : { |
| | | "/web_interface" : { |
| | | "target" : "http://127.0.0.1:10022/", |
| | | "/preselect_h5_interface" : { |
| | | // "target" : "http://127.0.0.1:10022/", |
| | | // "target" : "http://127.0.0.1:10024/", |
| | | "target" : "https://dmtest.ahapp.net/preselect_h5_interface/", |
| | | // "target" : "http://121.41.164.217/", |
| | | // "target" : "http://192.168.0.15:10022/", |
| | | // "target" : "https://dmtest.ahapp.net/", |
| | | "changeOrigin" : true, |
| | | "secure" : false, |
| | | "pathRewrite" : {"^/web_interface":""} |
| | | "pathRewrite": { |
| | | "^/preselect_h5_interface" : "/" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | import search from '@/components/search.vue' |
| | | import noData from '@/components/noData.vue' |
| | | import { mapState } from 'vuex' |
| | | import { categoryList, goodsList, brandList, h5Image, goodsPage, listForH5 } from '@/apis/index.js' |
| | | import { categoryList, goodsList, brandList, h5Image, goodsPage, listForH5, logout } from '@/apis/index.js' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | } |
| | | } |
| | | }, |
| | | onUnload() { |
| | | //æ¸
é¤ |
| | | document.onmouseup = function(ev){ |
| | | document.onmousemove = null; |
| | | } |
| | | //æ¸
é¤ |
| | | document.onkeydown = null |
| | | }, |
| | | computed: { |
| | | // æå¯¼ä»·æ»è®¡ |
| | | zdTotalPrice() { |
| | |
| | | }, |
| | | // éåº |
| | | loginOut() { |
| | | logout({}) |
| | | .then(res => { |
| | | this.$store.commit('clean') |
| | | uni.redirectTo({ url: '/pages/login/login' }); |
| | | }) |
| | | }, |
| | | // æ¥è¯¢ååæ°æ® |
| | | getShopList(type) { |
| | |
| | | // min-width: 750px; |
| | | .box_content_left { |
| | | position: fixed; |
| | | left: 50px; |
| | | left: 80px; |
| | | top: 50%; |
| | | cursor: pointer; |
| | | transform: translate(-50%, 0); |
| | |
| | | } |
| | | .box_content_right { |
| | | position: fixed; |
| | | right: 50px; |
| | | right: 0px; |
| | | top: 50%; |
| | | cursor: pointer; |
| | | transform: translate(-50%, 0); |
| | |
| | | font-weight: 500; |
| | | } |
| | | .commodityFrom_body_content_item_num_img { |
| | | width: 24px; |
| | | height: 24px; |
| | | width: 28px; |
| | | height: 28px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-right: 4px; |
| | | image { |
| | | width: 100%; |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | padding: 0 10px; |
| | | box-sizing: border-box; |
| | | &:hover { |
| | | text { |
| | | color: #FFF200; |
| | |
| | | line-height: 40px; |
| | | text-align: center; |
| | | cursor: pointer; |
| | | padding: 0 10px; |
| | | box-sizing: border-box; |
| | | &:hover { |
| | | text { |
| | | color: #FFF200; |
| | |
| | | // http://127.0.0.1/interface/ http://192.168.0.15:10024/ preselect_web_interface |
| | | // https://dmtest.ahapp.net/preselect_web_interface/${url} http://127.0.0.1:10022/ http://192.168.0.35:10024/ |
| | | // http://127.0.0.1:10024/ æµè¯ |
| | | // https://yx.ahapp.net/h5_interface/${url} |
| | | uni.request({ |
| | | url: `http://127.0.0.1:10024/${url}`, |
| | | url: `https://dmtest.ahapp.net/preselect_h5_interface/${url}`, |
| | | method, |
| | | data, |
| | | header: { |
| | |
| | | queryWrapper.lambda().orderByAsc(BaseCategory::getSortnum); |
| | | |
| | | IPage<BaseCategory> baseCategoryIPage = baseCategoryMapper.selectPage(page, queryWrapper); |
| | | String preUrl = getPreUrl(); |
| | | if (!CollectionUtils.isEmpty(baseCategoryIPage.getRecords())){ |
| | | baseCategoryIPage.getRecords().forEach(s->s.setImgfullurl(getPreUrl()+s.getImgurl())); |
| | | baseCategoryIPage.getRecords().forEach(s->s.setImgfullurl(preUrl+s.getImgurl())); |
| | | } |
| | | |
| | | return PageData.from(baseCategoryIPage); |