Browse Source

上传代码

master
杨豪 3 years ago
parent
commit
8463d577a3
  1. 4
      .gitignore
  2. 11
      .hbuilderx/launch.json
  3. 3
      App.vue
  4. 6
      api/store.js
  5. 6
      config/index.js
  6. 21
      dist/mixins/basic.js
  7. 63
      dist/mixins/button.js
  8. 32
      dist/mixins/link.js
  9. 41
      dist/mixins/page-scroll.js
  10. 47
      dist/mixins/touch.js
  11. 156
      dist/mixins/transition.js
  12. 12
      dist/wxs/add-unit.wxs
  13. 5
      dist/wxs/array.wxs
  14. 52
      dist/wxs/bem.wxs
  15. 52
      dist/wxs/memoize.wxs
  16. 10
      dist/wxs/object.wxs
  17. 45
      dist/wxs/style.wxs
  18. 128
      dist/wxs/utils.wxs
  19. 4
      pages.json
  20. 44
      pages/Loading/index.vue
  21. 139
      pages/life/addGoods/index.vue
  22. 65
      pages/life/index.vue
  23. 15
      pages/release/index.vue
  24. 5
      pages/shop/GoodSearch/index.vue
  25. 2
      pages/shop/GoodsCon/index.vue
  26. 23
      pages/user/goodsManage/index.vue
  27. 1
      pages/user/index.vue
  28. 3
      pagesB/pages/shop/GoodsList/index.vue
  29. BIN
      static/images/.DS_Store
  30. BIN
      static/images/home/.DS_Store
  31. BIN
      static/images/loading.gif
  32. BIN
      static/images/user/.DS_Store
  33. 0
      unpackage/dist/build/.automator/mp-weixin/.automator.json
  34. 4
      unpackage/dist/build/mp-weixin/app.js
  35. 169
      unpackage/dist/build/mp-weixin/app.json
  36. 3
      unpackage/dist/build/mp-weixin/app.wxss
  37. 1
      unpackage/dist/build/mp-weixin/common/main.js
  38. 71
      unpackage/dist/build/mp-weixin/common/main.wxss
  39. 4
      unpackage/dist/build/mp-weixin/common/runtime.js
  40. 13
      unpackage/dist/build/mp-weixin/common/vendor.js
  41. 10
      unpackage/dist/build/mp-weixin/components/AddressWindow.js
  42. 4
      unpackage/dist/build/mp-weixin/components/AddressWindow.json
  43. 1
      unpackage/dist/build/mp-weixin/components/AddressWindow.wxml
  44. 10
      unpackage/dist/build/mp-weixin/components/CitySelect.js
  45. 8
      unpackage/dist/build/mp-weixin/components/CitySelect.json
  46. 1
      unpackage/dist/build/mp-weixin/components/CitySelect.wxml
  47. 1
      unpackage/dist/build/mp-weixin/components/CitySelect.wxss
  48. 10
      unpackage/dist/build/mp-weixin/components/CountDown.js
  49. 4
      unpackage/dist/build/mp-weixin/components/CountDown.json
  50. 1
      unpackage/dist/build/mp-weixin/components/CountDown.wxml
  51. 10
      unpackage/dist/build/mp-weixin/components/CouponListWindow.js
  52. 6
      unpackage/dist/build/mp-weixin/components/CouponListWindow.json
  53. 1
      unpackage/dist/build/mp-weixin/components/CouponListWindow.wxml
  54. 1
      unpackage/dist/build/mp-weixin/components/CouponListWindow.wxss
  55. 10
      unpackage/dist/build/mp-weixin/components/CouponPop.js
  56. 4
      unpackage/dist/build/mp-weixin/components/CouponPop.json
  57. 1
      unpackage/dist/build/mp-weixin/components/CouponPop.wxml
  58. 10
      unpackage/dist/build/mp-weixin/components/DataFormat.js
  59. 4
      unpackage/dist/build/mp-weixin/components/DataFormat.json
  60. 1
      unpackage/dist/build/mp-weixin/components/DataFormat.wxml
  61. 10
      unpackage/dist/build/mp-weixin/components/DataFormatT.js
  62. 4
      unpackage/dist/build/mp-weixin/components/DataFormatT.json
  63. 1
      unpackage/dist/build/mp-weixin/components/DataFormatT.wxml
  64. 10
      unpackage/dist/build/mp-weixin/components/GoodList.js
  65. 4
      unpackage/dist/build/mp-weixin/components/GoodList.json
  66. 1
      unpackage/dist/build/mp-weixin/components/GoodList.wxml
  67. 10
      unpackage/dist/build/mp-weixin/components/Loading.js
  68. 4
      unpackage/dist/build/mp-weixin/components/Loading.json
  69. 1
      unpackage/dist/build/mp-weixin/components/Loading.wxml
  70. 10
      unpackage/dist/build/mp-weixin/components/OrderGoods.js
  71. 4
      unpackage/dist/build/mp-weixin/components/OrderGoods.json
  72. 1
      unpackage/dist/build/mp-weixin/components/OrderGoods.wxml
  73. 1
      unpackage/dist/build/mp-weixin/components/OrderGoods.wxss
  74. 10
      unpackage/dist/build/mp-weixin/components/Payment.js
  75. 4
      unpackage/dist/build/mp-weixin/components/Payment.json
  76. 1
      unpackage/dist/build/mp-weixin/components/Payment.wxml
  77. 1
      unpackage/dist/build/mp-weixin/components/Payment.wxss
  78. 10
      unpackage/dist/build/mp-weixin/components/PriceChange.js
  79. 4
      unpackage/dist/build/mp-weixin/components/PriceChange.json
  80. 1
      unpackage/dist/build/mp-weixin/components/PriceChange.wxml
  81. 1
      unpackage/dist/build/mp-weixin/components/PriceChange.wxss
  82. 10
      unpackage/dist/build/mp-weixin/components/ProductConSwiper.js
  83. 4
      unpackage/dist/build/mp-weixin/components/ProductConSwiper.json
  84. 1
      unpackage/dist/build/mp-weixin/components/ProductConSwiper.wxml
  85. 10
      unpackage/dist/build/mp-weixin/components/ProductWindow.js
  86. 4
      unpackage/dist/build/mp-weixin/components/ProductWindow.json
  87. 1
      unpackage/dist/build/mp-weixin/components/ProductWindow.wxml
  88. 1
      unpackage/dist/build/mp-weixin/components/ProductWindow.wxss
  89. 10
      unpackage/dist/build/mp-weixin/components/PromotionGood.js
  90. 4
      unpackage/dist/build/mp-weixin/components/PromotionGood.json
  91. 1
      unpackage/dist/build/mp-weixin/components/PromotionGood.wxml
  92. 1
      unpackage/dist/build/mp-weixin/components/PromotionGood.wxss
  93. 10
      unpackage/dist/build/mp-weixin/components/Recommend.js
  94. 6
      unpackage/dist/build/mp-weixin/components/Recommend.json
  95. 1
      unpackage/dist/build/mp-weixin/components/Recommend.wxml
  96. 10
      unpackage/dist/build/mp-weixin/components/ShareInfo.js
  97. 4
      unpackage/dist/build/mp-weixin/components/ShareInfo.json
  98. 1
      unpackage/dist/build/mp-weixin/components/ShareInfo.wxml
  99. 1
      unpackage/dist/build/mp-weixin/components/ShareInfo.wxss
  100. 10
      unpackage/dist/build/mp-weixin/components/ShopLiveCard.js
  101. Some files were not shown because too many files have changed in this diff Show More

4
.gitignore vendored

@ -4,6 +4,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
unpackage/
dist/
# Editor directories and files
.idea
@ -15,3 +16,6 @@ unpackage/
assets/css/style.css
assets/css/style.css.map
.hbuilderx
unpackage/dist
unpackage/resources

11
.hbuilderx/launch.json

@ -1,11 +0,0 @@
{ // launch.json configurations app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtypelocalremote, localremote
"version": "0.0",
"configurations": [{
"type": "uniCloud",
"default": {
"launchtype": "local"
}
}
]
}

3
App.vue

@ -104,8 +104,7 @@ export default {
this.globalData.CustomBar = res.statusBarHeight + 45;
this.globalData.systemInfo = res;
let model = res.model;
if (/iphone\sx/i.test(model) || /iphone/i.test(model) && /unknown/.test(model) || /iphone\s11/i.test(model) || /iphone\s12/i.test(model)) {
if (/iphone\sx/i.test(model) || /iphone/i.test(model) && /unknown/.test(model) || /iphone\s11/i.test(model) || /iphone\s12/i.test(model) || /iphone\s13/i.test(model)) {
this.globalData.isIphoneX = true;
}
}

6
api/store.js

@ -32,6 +32,12 @@ export function editProduct(data) {
login: true
});
}
// sku属性集合
export function getFormatAttr(data) {
return request.post("/getFormatAttr", data, {
login: true
});
}
/*
* 商品发货

6
config/index.js

@ -1,8 +1,8 @@
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'
export const VUE_APP_API_URL = 'http://192.168.0.112:8092/api'
// export const VUE_APP_API_URL = 'http://192.168.0.114:8092/api'
// export const VUE_APP_API_URL = 'https://cloud.api.cyjyyjy.com/api'
// export const VUE_APP_API_URL = 'http://192.168.0.112:8092/api'
// export const VUE_APP_API_URL = 'http://192.168.0.111:8092/api'
export const VUE_APP_API_URL = 'https://cloud.api.cyjyyjy.com/api'
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api'
// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api';

21
dist/mixins/basic.js vendored

@ -1,21 +0,0 @@
module.exports = {
data() {
return {};
},
props: {},
methods: {
$emit(name, detail, options) {
this.$emit(name, {
detail: detail
}, options);
},
set(data) {
this.setData(data);
return new Promise(resolve => uni.nextTick(resolve));
}
}
};

63
dist/mixins/button.js vendored

@ -1,63 +0,0 @@
import { canIUseGetUserProfile } from '../common/version';
module.exports = {
data() {
return {
canIUseGetUserProfile: canIUseGetUserProfile()
};
},
props: {
id: String,
lang: String,
businessId: Number,
sessionFrom: String,
sendMessageTitle: String,
sendMessagePath: String,
sendMessageImg: String,
showMessageCard: Boolean,
appParameter: String,
ariaLabel: String,
openType: String,
getUserProfileDesc: String
},
externalClasses: ['hover-class'],
methods: {
onGetUserInfo(event) {
this.$emit('getuserinfo', {
detail: event.detail
});
},
onContact(event) {
this.$emit('contact', {
detail: event.detail
});
},
onGetPhoneNumber(event) {
this.$emit('getphonenumber', {
detail: event.detail
});
},
onError(event) {
this.$emit('error', {
detail: event.detail
});
},
onLaunchApp(event) {
this.$emit('launchapp', {
detail: event.detail
});
},
onOpenSetting(event) {
this.$emit('opensetting', {
detail: event.detail
});
}
}
};

32
dist/mixins/link.js vendored

@ -1,32 +0,0 @@
module.exports = {
data() {
return {};
},
props: {
url: String,
linkType: {
type: String,
default: 'navigateTo'
}
},
methods: {
jumpLink(urlKey = 'url') {
const url = this[urlKey];
if (url) {
if (this.linkType === 'navigateTo' && getCurrentPages().length > 9) {
uni.redirectTo({
url
});
} else {
uni[this.linkType]({
url
});
}
}
}
}
};

41
dist/mixins/page-scroll.js vendored

@ -1,41 +0,0 @@
import { getCurrentPage } from '../common/utils';
function onPageScroll(event) {
const {
vanPageScroller = []
} = getCurrentPage();
vanPageScroller.forEach(scroller => {
if (typeof scroller === 'function') {
// @ts-ignore
scroller(event);
}
});
}
module.exports = {
data() {
return {};
},
props: {},
beforeMount() {
const page = getCurrentPage();
if (Array.isArray(page.vanPageScroller)) {
page.vanPageScroller.push(scroller.bind(this));
} else {
page.vanPageScroller = typeof page.onPageScroll === 'function' ? [page.onPageScroll.bind(page), scroller.bind(this)] : [scroller.bind(this)];
}
page.onPageScroll = onPageScroll;
},
destroyed() {
var _a;
const page = getCurrentPage();
page.vanPageScroller = ((_a = page.vanPageScroller) === null || _a === void 0 ? void 0 : _a.filter(item => item !== scroller)) || [];
},
methods: {}
};

47
dist/mixins/touch.js vendored

@ -1,47 +0,0 @@
// @ts-nocheck
const MIN_DISTANCE = 10;
function getDirection(x, y) {
if (x > y && x > MIN_DISTANCE) {
return 'horizontal';
}
if (y > x && y > MIN_DISTANCE) {
return 'vertical';
}
return '';
}
module.exports = {
data() {
return {};
},
props: {},
methods: {
resetTouchStatus() {
this.direction = '';
this.deltaX = 0;
this.deltaY = 0;
this.offsetX = 0;
this.offsetY = 0;
},
touchStart(event) {
this.resetTouchStatus();
const touch = event.touches[0];
this.startX = touch.clientX;
this.startY = touch.clientY;
},
touchMove(event) {
const touch = event.touches[0];
this.deltaX = touch.clientX - this.startX;
this.deltaY = touch.clientY - this.startY;
this.offsetX = Math.abs(this.deltaX);
this.offsetY = Math.abs(this.deltaY);
this.direction = this.direction || getDirection(this.offsetX, this.offsetY);
}
}
};

156
dist/mixins/transition.js vendored

@ -1,156 +0,0 @@
// @ts-nocheck
import { requestAnimationFrame } from '../common/utils';
import { isObj } from '../common/validator';
const getClassNames = name => ({
enter: `van-${name}-enter van-${name}-enter-active enter-class enter-active-class`,
'enter-to': `van-${name}-enter-to van-${name}-enter-active enter-to-class enter-active-class`,
leave: `van-${name}-leave van-${name}-leave-active leave-class leave-active-class`,
'leave-to': `van-${name}-leave-to van-${name}-leave-active leave-to-class leave-active-class`
});
export default function () {
return {
data() {
return {
type: '',
inited: false,
display: false
};
},
props: {
customStyle: String,
// @ts-ignore
show: {
type: Boolean,
default: showDefaultValue
},
// @ts-ignore
duration: {
type: null,
default: 300
},
name: {
type: String,
default: 'fade'
}
},
watch: {
show: {
handler: 'observeShow',
immediate: true
},
duration: {
handler: 'observeDuration',
immediate: true
}
},
mounted() {
if (this.show === true) {
this.observeShow(true, false);
}
},
methods: {
observeShow(value, old) {
if (value === old) {
return;
}
value ? this.enter() : this.leave();
},
enter() {
const {
duration,
name
} = this;
const classNames = getClassNames(name);
const currentDuration = isObj(duration) ? duration.enter : duration;
this.status = 'enter';
this.$emit('before-enter');
requestAnimationFrame(() => {
if (this.status !== 'enter') {
return;
}
this.$emit('enter');
this.setData({
inited: true,
display: true,
classes: classNames.enter,
currentDuration
});
requestAnimationFrame(() => {
if (this.status !== 'enter') {
return;
}
this.transitionEnded = false;
this.setData({
classes: classNames['enter-to']
});
});
});
},
leave() {
if (!this.display) {
return;
}
const {
duration,
name
} = this;
const classNames = getClassNames(name);
const currentDuration = isObj(duration) ? duration.leave : duration;
this.status = 'leave';
this.$emit('before-leave');
requestAnimationFrame(() => {
if (this.status !== 'leave') {
return;
}
this.$emit('leave');
this.setData({
classes: classNames.leave,
currentDuration
});
requestAnimationFrame(() => {
if (this.status !== 'leave') {
return;
}
this.transitionEnded = false;
setTimeout(() => this.onTransitionEnd(), currentDuration);
this.setData({
classes: classNames['leave-to']
});
});
});
},
onTransitionEnd() {
if (this.transitionEnded) {
return;
}
this.transitionEnded = true;
this.$emit(`after-${this.status}`);
const {
show,
display
} = this;
if (!show && display) {
this.setData({
display: false
});
}
}
}
};
}

12
dist/wxs/add-unit.wxs vendored

@ -1,12 +0,0 @@
/* eslint-disable */
var REGEXP = getRegExp('^-?\d+(\.\d+)?$');
function addUnit(value) {
if (value == null) {
return undefined;
}
return REGEXP.test('' + value) ? value + 'px' : value;
}
module.exports = addUnit;

5
dist/wxs/array.wxs vendored

@ -1,5 +0,0 @@
function isArray(array) {
return array && array.constructor === 'Array';
}
module.exports.isArray = isArray;

52
dist/wxs/bem.wxs vendored

@ -1,52 +0,0 @@
/* eslint-disable */
///////////////////////////////////dist\wxs\array.wxs/////////////////////////////////
function isArray(array) {
return array && array.constructor === 'Array';
}
/* eslint-disable */
///////////////////////////////////dist\wxs\object.wxs/////////////////////////////////
var REGEXP = getRegExp('{|}|"', 'g');
function keys(obj) {
return JSON.stringify(obj).replace(REGEXP, '').split(',').map(function (item) {
return item.split(':')[0];
});
}
var PREFIX = 'van-';
function join(name, mods) {
name = PREFIX + name;
mods = mods.map(function (mod) {
return name + '--' + mod;
});
mods.unshift(name);
return mods.join(' ');
}
function traversing(mods, conf) {
if (!conf) {
return;
}
if (typeof conf === 'string' || typeof conf === 'number') {
mods.push(conf);
} else if (isArray(conf)) {
conf.forEach(function (item) {
traversing(mods, item);
});
} else if (typeof conf === 'object') {
keys(conf).forEach(function (key) {
conf[key] && mods.push(key);
});
}
}
function bem(name, conf) {
var mods = [];
traversing(mods, conf);
return join(name, mods);
}
module.exports = bem;

52
dist/wxs/memoize.wxs vendored

@ -1,52 +0,0 @@
/**
* Simple memoize
* wxs doesn't support fn.apply, so this memoize only support up to 2 args
*/
/* eslint-disable */
function isPrimitive(value) {
var type = typeof value;
return type === 'boolean' || type === 'number' || type === 'string' || type === 'undefined' || value === null;
} // mock simple fn.call in wxs
function call(fn, args) {
if (args.length === 2) {
return fn(args[0], args[1]);
}
if (args.length === 1) {
return fn(args[0]);
}
return fn();
}
function serializer(args) {
if (args.length === 1 && isPrimitive(args[0])) {
return args[0];
}
var obj = {};
for (var i = 0; i < args.length; i++) {
obj['key' + i] = args[i];
}
return JSON.stringify(obj);
}
function memoize(fn) {
var cache = {};
return function () {
var key = serializer(arguments);
if (cache[key] === undefined) {
cache[key] = call(fn, arguments);
}
return cache[key];
};
}
module.exports = memoize;

10
dist/wxs/object.wxs vendored

@ -1,10 +0,0 @@
/* eslint-disable */
var REGEXP = getRegExp('{|}|"', 'g');
function keys(obj) {
return JSON.stringify(obj).replace(REGEXP, '').split(',').map(function (item) {
return item.split(':')[0];
});
}
module.exports.keys = keys;

45
dist/wxs/style.wxs vendored

@ -1,45 +0,0 @@
/* eslint-disable */
/* eslint-disable */
///////////////////////////////////dist\wxs\object.wxs/////////////////////////////////
var REGEXP = getRegExp('{|}|"', 'g');
function keys(obj) {
return JSON.stringify(obj).replace(REGEXP, '').split(',').map(function (item) {
return item.split(':')[0];
});
}
///////////////////////////////////dist\wxs\array.wxs/////////////////////////////////
function isArray(array) {
return array && array.constructor === 'Array';
}
function kebabCase(word) {
var newWord = word.replace(getRegExp("[A-Z]", 'g'), function (i) {
return '-' + i;
}).toLowerCase();
return newWord;
}
function style(styles) {
if (isArray(styles)) {
return styles.filter(function (item) {
return item != null && item !== '';
}).map(function (item) {
return style(item);
}).join(';');
}
if ('Object' === styles.constructor) {
return keys(styles).filter(function (key) {
return styles[key] != null && styles[key] !== '';
}).map(function (key) {
return [kebabCase(key), [styles[key]]].join(':');
}).join(';');
}
return styles;
}
module.exports = style;

128
dist/wxs/utils.wxs vendored

@ -1,128 +0,0 @@
/* eslint-disable */
///////////////////////////////////dist\wxs\array.wxs/////////////////////////////////
/* eslint-disable */
///////////////////////////////////dist\wxs\bem.wxs/////////////////////////////////
function isArray(array) {
return array && array.constructor === 'Array';
}
/* eslint-disable */
///////////////////////////////////dist\wxs\object.wxs/////////////////////////////////
var REGEXP = getRegExp('{|}|"', 'g');
function keys(obj) {
return JSON.stringify(obj).replace(REGEXP, '').split(',').map(function (item) {
return item.split(':')[0];
});
}
var PREFIX = 'van-';
function join(name, mods) {
name = PREFIX + name;
mods = mods.map(function (mod) {
return name + '--' + mod;
});
mods.unshift(name);
return mods.join(' ');
}
function traversing(mods, conf) {
if (!conf) {
return;
}
if (typeof conf === 'string' || typeof conf === 'number') {
mods.push(conf);
} else if (isArray(conf)) {
conf.forEach(function (item) {
traversing(mods, item);
});
} else if (typeof conf === 'object') {
keys(conf).forEach(function (key) {
conf[key] && mods.push(key);
});
}
}
function bem(name, conf) {
var mods = [];
traversing(mods, conf);
return join(name, mods);
}
module.exports = bem;
/**
* Simple memoize
* wxs doesn't support fn.apply, so this memoize only support up to 2 args
*/
/* eslint-disable */
///////////////////////////////////dist\wxs\memoize.wxs/////////////////////////////////
function isPrimitive(value) {
var type = typeof value;
return type === 'boolean' || type === 'number' || type === 'string' || type === 'undefined' || value === null;
} // mock simple fn.call in wxs
function call(fn, args) {
if (args.length === 2) {
return fn(args[0], args[1]);
}
if (args.length === 1) {
return fn(args[0]);
}
return fn();
}
function serializer(args) {
if (args.length === 1 && isPrimitive(args[0])) {
return args[0];
}
var obj = {};
for (var i = 0; i < args.length; i++) {
obj['key' + i] = args[i];
}
return JSON.stringify(obj);
}
function memoize(fn) {
var cache = {};
return function () {
var key = serializer(arguments);
if (cache[key] === undefined) {
cache[key] = call(fn, arguments);
}
return cache[key];
};
}
module.exports = memoize;
/* eslint-disable */
///////////////////////////////////dist\wxs\add-unit.wxs/////////////////////////////////
var REGEXP = getRegExp('^-?\d+(\.\d+)?$');
function addUnit(value) {
if (value == null) {
return undefined;
}
return REGEXP.test('' + value) ? value + 'px' : value;
}
module.exports = addUnit;
module.exports = {
bem: memoize(bem),
memoize: memoize,
addUnit: addUnit
};

4
pages.json

@ -6,7 +6,9 @@
{
"path": "pages/Loading/index",
"style": {
"navigationBarTitleText": "禅易云生态"
"navigationBarTitleText": " ",
"navigationBarBackgroundColor": "#FE915D",
"navigationBarTextStyle": "white"
}
},
{

44
pages/Loading/index.vue

@ -1,7 +1,10 @@
<template>
<view class="lottie-bg">
<view id="lottie">
<image src="https://download.cyjyyjy.com/miniappLogo.png" mode="aspectFill"></image>
<text>海量资源与福利尽在云生态~</text>
<!-- <image src="@/static/live-logo.gif" rel="preload" mode="widthFix" style="width: 100%" /> -->
<image src="../../static/images/loading.gif" class="loading" mode=""></image>
</view>
</view>
</template>
@ -23,13 +26,13 @@ export default {
return {}
},
onShow() {
console.log('getUser',this.userInfo)
// console.log('getUser',this.userInfo)
var url = handleQrCode()
if (!url) {
url = handleUrlParam(getCurrentPageUrlWithArgs())
}
console.log(url)
console.log('判断是否是分销')
// console.log(url)
// console.log('')
//
if (url) {
let urlSpread = parseInt(url.spread)
@ -51,15 +54,9 @@ export default {
}
console.log('进行登录操作')
login().finally(() => {
if(this.userInfo.isPromoter == 1){
this.$yrouter.reLaunch({
path: '/pages/serviceTeacher/index',
})
} else{
this.$yrouter.switchTab({
path: '/pages/home/index',
})
}
this.$yrouter.switchTab({
path: '/pages/home/index',
})
})
},
methods: {
@ -90,7 +87,7 @@ export default {
position: fixed;
left: 0;
top: 0;
background-color: #fff;
background-color: #FE915D;
width: 100%;
height: 100%;
z-index: 999;
@ -103,10 +100,21 @@ export default {
}
#lottie {
width: 35%;
display: block;
overflow: hidden;
transform: translate3d(0, 0, 0);
margin: auto;
width: 100%;
height: 100%;
color: #fff;
font-size: 32rpx;
text-align: center;
image{
width: 233rpx;
height: 209rpx;
display: block;
margin: 300rpx auto 40rpx;
}
.loading{
width: 68rpx;
height: 68rpx;
margin: 60rpx auto;
}
}
</style>

139
pages/life/addGoods/index.vue

@ -80,7 +80,7 @@
:key="index"
@click="editAttr(index)"
>
<view class="attr-item-l">{{item.attrName}}({{item.attrOptions.length}})</view>
<view class="attr-item-l">{{item.value}}({{item.detail.length}})</view>
<image src="../../../static/images/arror-r-s.png"></image>
<view class="del-attr" @tap.stop="delAttr(index)">×</view>
@ -111,11 +111,12 @@
<view class="attr-name w15">库存</view>
<view class="attr-name w15">价格</view>
</view>
<block v-for="(i,idx) in batchData.attrArr" :key="idx">
<block v-for="(i,idx) in batchData.priceArr" :key="idx">
<view class="box-b acea-row row-between-wrapper">
<view class="name line1">{{i.join('/')}}</view>
<view class="inp-box w15"><input type="number" placeholder="0" v-model="batchData.priceArr[idx].stock"></view>
<view class="inp-box w15"><input type="number" placeholder="0" v-model="batchData.priceArr[idx].price"></view>
<!-- <view class="name line1">{{i.sku.replace(/,/, '/')}}</view> -->
<view class="name line1">{{i.sku.split(',').reverse().join('/')}}</view>
<view class="inp-box w15"><input type="number" placeholder="0" v-model="i.stock"></view>
<view class="inp-box w15"><input type="number" placeholder="0" v-model="i.price"></view>
</view>
</block>
</view>
@ -151,11 +152,11 @@
<view class="close" @click="maskShow = false; addOptionsDialog = false">×</view>
</view>
<view>
<view class="a-name"><input type="text" v-model="attr.attrName" placeholder="输入属性名称,如:颜色"></view>
<view class="a-name"><input type="text" v-model="attr.value" placeholder="输入属性名称,如:颜色"></view>
<view class="o-name-box">
<block v-for="(o,i) in attr.attrOptions" :key="i">
<block v-for="(o,i) in attr.detail" :key="i">
<view class="o-item-box acea-row row-between row-middle">
<input type="text" v-model="attr.attrOptions[i]" maxlength="10" placeholder="输入选项,如:红色,10个字以内">
<input type="text" v-model="attr.detail[i]" maxlength="10" placeholder="输入选项,如:红色,10个字以内">
<text class="close" @click="delOption(i)">×</text>
</view>
</block>
@ -170,7 +171,7 @@
<script>
import { chooseImage, chooseImages } from "@/utils"
import { addProduct, getProductInfo, editProduct } from '@/api/store'
import { addProduct, getProductInfo, editProduct, getFormatAttr } from '@/api/store'
export default{
data(){
return {
@ -205,19 +206,50 @@
}
},
onLoad() {
// var arr = [
// {value: "", detail: [""]},
// {value: "", detail: ["29cm", "30cm"]}
// ]
// let result = arr.reduce((res, item) => {
// return item.detail.reduce((list, ci) => {
// let nobj = {[item.value]: ci}
// let narr = res.length ? res.map(r => ({...r, ...nobj})) : [nobj]
// return list.concat(narr)
// }, [])
// }, [])
// console.log(result)
this.id = this.$yroute.query.id || ''
if(this.id){
uni.setNavigationBarTitle({
 title:'修改商品'
})
getProductInfo({id: this.id}).then((res)=>{
let info = res.data
var info = res.data
this.slider_image = info.slider_image
this.image = info.slider_image[0]
this.unit_name = info.unit_name
this.description = info.description
this.store_name = info.store_name
this.attrs = info.attrs
this.items = info.items
if(info.attrs){
this.$set(this.batchData,'priceArr',info.attrs)
this.attrArr = info.items
let strArr = info.items.map(item=>{
return item.value
})
console.log(strArr)
this.$set(this.batchData,'titleStr',strArr.join('/'))
} else{
this.attrs[0].price = info.price
this.attrs[0].stock = info.stock
}
// this.batchData.titleStr = strArr.join('/')
// this.$set(this.batchData,'titleStr',strArr.join('/'))
// this.$set(this.batchData,'attrArr',attrArr)
}).then(()=>{
// this.getFormatAttr()
})
} else{
console.log('新增')
@ -225,9 +257,11 @@
},
methods:{
uploadImgs(){
var imgurls = []
chooseImages((imgs)=>{
this.slider_image.push(imgs)
imgurls.push(imgs)
})
this.slider_image = imgurls
},
uploadImg(idx){
chooseImage((img)=>{
@ -256,8 +290,8 @@
//
addAttr(){
let j = {
attrName: '',
attrOptions:['']
value: '',
detail:['']
}
this.attr = j
this.editattr = false; //attrFALSE
@ -273,25 +307,25 @@
},
delAttr(i){
this.attrArr.splice(i,1)
this.setBatchData(this.attrArr)
// this.setBatchData(this.attrArr)
this.getFormatAttr()
},
addOption(){
this.attr.attrOptions.push('')
this.attr.detail.push('')
},
delOption(i){
this.attr.attrOptions.splice(i,1)
this.attr.detail.splice(i,1)
},
///
submitAddAttr(){
if(this.attr.attrName == ''){
if(this.attr.value == ''){
return uni.showToast({
title: '请填写属性名称!',
icon: 'none'
})
}
try{
var o = this.attr.attrOptions;
var o = this.attr.detail;
o.forEach(function(item,index) {
if(item == ""){
throw "属性规格不能为空!";
@ -307,33 +341,41 @@
if(!this.editattr){
this.attrArr.push(this.attr)
}
console.log(this.attrArr)
this.items = this.attrArr.map((item)=>{
var rObj = {};
rObj.value = item.attrName;
rObj.detail = item.attrOptions;
return rObj;
})
console.log(this.items)
this.setBatchData(this.attrArr)
this.items = this.attrArr
this.getFormatAttr()
this.addOptionsDialog = false
this.maskShow = false
// console.log(this.setData(this.attrArr),'attrArr')
},
getFormatAttr(){
let data = { attrs: this.items, productId: this.id || 0 }
getFormatAttr(data).then((res)=>{
if(res.success){
this.$set(this.batchData,'priceArr',res.data.value)
let strArr = res.data.attr.map(item=>{
return item.value
})
this.$set(this.batchData,'titleStr',strArr.join('/'))
} else{
uni.showToast({
title: res.msg,
icon: 'none'
})
}
})
},
//
setBatchData(arr){
var titleArr = []
for (var i in arr) {
titleArr.push(arr[i].attrName)
}
var titleStr = titleArr.join('/')
// for (var i in arr) {
// titleArr.push(arr[i].value)
// }
// var titleStr = titleArr.join('/')
var attrArr = this.setData(arr)
var branchList = []
attrArr.forEach((item)=>{
var hash = {}
attrArr.forEach((item,idx)=>{
branchList.push({
sku: item.join('/'),
pic: '', //" --",
price: '', //" ",
ot_orice: '', //" --",
@ -342,22 +384,18 @@
volume: '', //" --"
})
})
console.log(attrArr,'attrArr')
this.priceArr = branchList
this.batchData = {
titleStr: titleStr,
attrArr: attrArr,
priceArr: this.priceArr
}
this.batchData.attrArr = attrArr
console.log(this.batchData)
},
//
setData(attrArr){
var tmp = []
for (var i in attrArr) {
tmp.push(attrArr[i].attrOptions)
tmp.push(attrArr[i].detail)
}
// console.log(tmp)
console.log(tmp,'tmp')
function cartesianProductOf() {
return Array.prototype.reduce.call(arguments, function (a, b) {
var ret = [];
@ -379,7 +417,7 @@
item.price = price
})
this.attrs[0].price = price
console.log(this.batchData.priceArr,'this.batchData.priceArr')
// console.log(this.batchData.priceArr,'this.batchData.priceArr')
},
changeStock(e){
const stock = e.detail.value
@ -411,12 +449,11 @@
// console.log(e)
this.infinite = !e.detail.value
},
radioChange(e){
this.state = e.detail.value
},
submit(){
console.log(this.batchData)
// console.log(this.batchData)
var arrtsArr = []
if(this.batchData.priceArr && this.batchData.priceArr[0].price != ''){
arrtsArr = this.batchData.priceArr
@ -468,7 +505,7 @@
})
setTimeout((res)=>{
uni.navigateTo({
url: 'pages/user/goodsManage/index'
url: '/pages/user/goodsManage/index'
})
},1500)
} else{
@ -487,7 +524,7 @@
})
setTimeout((res)=>{
uni.navigateTo({
url: 'pages/user/goodsManage/index'
url: '/pages/user/goodsManage/index'
})
},1500)
} else{

65
pages/life/index.vue

@ -102,23 +102,32 @@ export default {
}
}
},
onShow: function (options) {
this.getProducts();
},
mounted: function() {
// onShow: function (options) {
// },
mounted: function() {
this.getProducts();
},
onReachBottom() {
this.page = this.page+1
this.getProducts();
if(this.isLoad){
this.page = this.page+1
this.getProducts();
}
},
onPullDownRefresh(){
wx.showNavigationBarLoading();
this.isLoad= true
this.flowList = []
this.page= 1
this.getProducts();
this.clear().then(()=>{
console.log('清除')
this.getProducts();
})
},
methods: {
async clear(){
this.$refs.uWaterfall.clear();
},
tabBarClick(index){
this.currentTabIndex = index
},
@ -162,27 +171,25 @@ export default {
});
},
getProducts(){
if(this.isLoad){
this.loadStatus = 'loading';
getProducts({page:this.page,limit:this.limit}).then((res)=>{
// console.log(res)
if(this.page > 1){
this.flowList = this.flowList.concat(res.data)
} else{
this.flowList = res.data
}
this.isLoad = this.limit <= res.data.length
if(this.limit <= res.data.length){ //length
this.isLoad = true
} else{
console.log('没有了')
this.isLoad = false
this.loadStatus = 'nomore';
}
uni.stopPullDownRefresh()
})
}
this.loadStatus = 'loading';
getProducts({page:this.page,limit:this.limit}).then((res)=>{
// console.log(res)
if(this.page > 1){
this.flowList = this.flowList.concat(res.data)
} else{
this.flowList = res.data
}
this.isLoad = this.limit <= res.data.length
if(this.limit <= res.data.length){ //length
this.isLoad = true
} else{
console.log('没有了')
this.isLoad = false
this.loadStatus = 'nomore';
}
wx.hideNavigationBarLoading()
uni.stopPullDownRefresh()
})
},
submitForm: function() {

15
pages/release/index.vue

@ -70,17 +70,7 @@ export default {
* 生命周期函数--监听页面显示
*/
onShow: function () {
let userInfo = uni.getStorageSync('userInfo');
console.log(userInfo.phone && userInfo.phone != '')
if (userInfo.phone && userInfo.phone != '') {
this.isAuthentication();
} else {
var pages = getCurrentPages().pop(); //
uni.setStorageSync('redirect','/'+pages.route)
uni.navigateTo({
url: '/pages/authorization/index'
});
}
this.isAuthentication();
},
/**
@ -110,7 +100,8 @@ export default {
methods: {
back() {
let pages = getCurrentPages();
let pagePath = '/' + pages[pages.length - 2].route;
console.log(pages)
// let pagePath = '/' + pages[pages.length - 2].route;
// if(pagePath){
// uni.navigateTo({
// url: pagePath

5
pages/shop/GoodSearch/index.vue

@ -59,7 +59,10 @@ export default {
this.toSearch(search);
},
toSearch(s) {
this.$yrouter.push({ path: "pagesB/pages/shop/GoodsList/index", query: { s } });
this.$yrouter.push({ path: "/pagesB/pages/shop/GoodsList/index", query: { s } });
// uni.navigateTo({
// url: '/pagesB/pages/shop/GoodsList/index?s'
// })
},
getData() {
getSearchKeyword().then(res => {

2
pages/shop/GoodsCon/index.vue

@ -13,7 +13,7 @@
<!-- <text class="vip-money" v-if="storeInfo.vipPrice && storeInfo.vipPrice > 0">{{ attr.productSelect.vipPrice || storeInfo.vipPrice }}</text> -->
<!-- <text class="vip-money" v-if="storeInfo.giveIntegral>0">+{{storeInfo.giveIntegral}}积分</text> -->
<!-- <image :src="`${$VUE_APP_RESOURCES_URL}/images/vip.png`" class="image" v-if="storeInfo.vipPrice && storeInfo.vipPrice > 0" /> -->
<text v-if="!isIntegral" class="colG">市场价:{{ storeInfo.otPrice }}</text>
<!-- <text v-if="!isIntegral" class="colG">市场价:{{ storeInfo.otPrice }}</text> -->
</view>
<!-- <view class="money font-color" v-if="isIntegral">
<text class="num">{{ attr.productSelect.integral || storeInfo.integral }}积分</text>

23
pages/user/goodsManage/index.vue

@ -11,6 +11,12 @@
<view class="goods-list-box">
<view class="no-order" v-if="goodsList.length == 0"><image src="https://download.cyjyyjy.com/no-goods.png"></image></view>
<view class="goods-item" v-else v-for="item in goodsList" :key="item" @click="goGoodsCon(item)">
<view class="review-box acea-row row-between" v-if="type == 0">
<view class="status" v-if="item.status == 0">等待审核</view>
<view class="status" v-if="item.status == 1">审核通过</view>
<view class="status" v-if="item.status == -1">审核不通过</view>
<view class="message line1" v-if="item.status == -1">商品有问题</view>
</view>
<view class="item-top acea-row">
<image class="goods-img" :src="item.image" mode="aspectFill"></image>
<view class="info-box">
@ -245,6 +251,23 @@
}
}
}
.review-box{
font-size: 24rpx;
.status{
color: #ff4949;
}
.info{
color: #67c23a;
}
.succsess{
color: #409eff;
}
.message{
font-size: 22rpx;
color:#ff4949;
width: 60%;
}
}
.add-btn{
width: 670rpx;
height: 80rpx;

1
pages/user/index.vue

@ -265,7 +265,6 @@ export default {
this.getInfo()
},
methods: {
tabBarClick(index){
this.currentTabIndex = index
},

3
pagesB/pages/shop/GoodsList/index.vue

@ -67,7 +67,7 @@
<image :src="`${$VUE_APP_RESOURCES_URL}/images/noGood.png`" class="image" />
</view>
</view>
<Recommend v-if="productList.length === 0 && where.page > 1" :recommendLoading="recommendLoading" @changeRecommendLoading="changeRecommendLoading"></Recommend>
<!-- <Recommend v-if="productList.length === 0 && where.page > 1" :recommendLoading="recommendLoading" @changeRecommendLoading="changeRecommendLoading"></Recommend> -->
</view>
</template>
<script>
@ -147,6 +147,7 @@ export default {
},
},
mounted: function() {
console.log(this.$yroute.query)
const { s = '', id = 0, title = '', isIntegral = false } = this.$yroute.query
this.where.keyword = s

BIN
static/images/.DS_Store vendored

Binary file not shown.

BIN
static/images/home/.DS_Store vendored

Binary file not shown.

BIN
static/images/loading.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
static/images/user/.DS_Store vendored

Binary file not shown.

0
unpackage/dist/build/.automator/mp-weixin/.automator.json vendored

4
unpackage/dist/build/mp-weixin/app.js vendored

@ -1,4 +0,0 @@
require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js')

169
unpackage/dist/build/mp-weixin/app.json vendored

@ -1,169 +0,0 @@
{
"pages": [
"pages/Loading/index",
"pages/home/index",
"pages/user/index",
"pages/login/index",
"pages/authorization/index",
"pages/webview/index",
"pages/guide/index",
"pages/user/needsOrder/index",
"pages/user/resourcesOrder/index",
"pages/user/needsManage/index",
"pages/user/resourcesManage/index",
"pages/user/goodsManage/index",
"pages/user/orderManage/index",
"pages/user/sendGoods/index",
"pages/user/openStore/index",
"pages/user/myShop/index",
"pages/user/withdraw/index",
"pages/user/editNeeds/index",
"pages/user/mine/index",
"pages/user/agreement/index",
"pages/user/incomeDetail/index",
"pages/user/profession/index",
"pages/user/completeData/index",
"pages/user/personalData/index",
"pages/user/addServiceCode/index",
"pages/demandHall/createProject/index",
"pages/demandHall/needsContact/index",
"pages/demandHall/needsDetail/index",
"pages/demandHall/resourcesDetail/index",
"pages/demandHall/companyDetail/index",
"pages/demandHall/resourcesContact/index",
"pages/demandHall/applyDetail/index",
"pages/demandHall/platform/index",
"pages/demandHall/index",
"pages/release/index",
"pages/release/personAuth/index",
"pages/release/companyAuth/index",
"pages/release/perfectPersonInfo/index",
"pages/release/perfectCompanyInfo/index",
"pages/life/index",
"pages/life/temp/index",
"pages/life/tempList/index",
"pages/life/addGoods/index",
"pages/life/goodsDetails/index",
"pages/life/preview/preview",
"pages/activity/index",
"pages/activity/detail/index",
"pages/activity/describe/index",
"pages/activity/signIn/index",
"pages/activity/signIn/confirm/index",
"pages/activity/signIn/paymentSuccess/index",
"pages/shop/GoodSearch/index",
"pages/shop/GoodsClass/index",
"pages/shop/ShoppingCart/index",
"pages/shop/GoodsCon/index",
"pages/order/MyOrder/index",
"pages/order/Logistics/index",
"pages/order/OrderDetails/index",
"pages/order/OrderSubmission/index",
"pages/order/PaymentStatus/index",
"pages/order/GoodsReturn/index",
"pages/order/ReturnList/index"
],
"subPackages": [
{
"root": "pagesB",
"pages": [
"pages/shop/StoreList/index",
"pages/shop/GoodsList/index",
"pages/shop/GoodsCollection/index",
"pages/shop/GoodsFoot/index",
"pages/shop/EvaluateList/index",
"pages/shop/GoodsEvaluate/index",
"pages/shop/GoodsPromotion/index",
"pages/shop/HotNewGoods/index",
"pages/shop/IntegralGoodsCon/index",
"pages/user/RetrievePassword/index",
"pages/shop/news/NewsDetail/index",
"pages/shop/news/NewsList/index",
"pages/user/BindingPhone/index",
"pages/user/address/AddAddress/index",
"pages/user/UserAccount/index",
"pages/user/address/AddressManagement/index",
"pages/user/promotion/Poster/index",
"pages/user/signIn/Sign/index",
"pages/user/signIn/SignRecord/index",
"pages/user/promotion/CashAudit/index",
"pages/user/promotion/PromoterOrder/index",
"pages/user/promotion/PromoterList/index",
"pages/user/promotion/UserPromotion/index",
"pages/user/UserBill/index",
"pages/user/promotion/CashRecord/index",
"pages/user/promotion/CommissionDetails/index",
"pages/user/signIn/Integral/index",
"pages/user/UserVip/index",
"pages/user/coupon/UserCoupon/index",
"pages/user/coupon/GetCoupon/index",
"pages/user/promotion/UserCash/index",
"pages/user/CustomerList/index",
"pages/user/Recharge/index",
"pages/orderAdmin/AdminOrderList/index",
"pages/orderAdmin/GoodsDeliver/index",
"pages/orderAdmin/AdminOrder/index",
"pages/orderAdmin/Statistics/index",
"pages/orderAdmin/OrderCancellation/index",
"pages/activity/Poster/index",
"pages/activity/GoodsGroup/index",
"pages/activity/DargainDetails/index",
"pages/activity/GoodsBargain/index",
"pages/activity/BargainRecord/index",
"pages/activity/GroupDetails/index",
"pages/activity/GroupRule/index",
"pages/activity/GoodsSeckill/index",
"pages/activity/SeckillDetails/index",
"pages/map/index",
"pages/shop/Live/LiveList/index"
]
}
],
"window": {
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "禅易云生态",
"navigationBarTextStyle": "black"
},
"tabBar": {
"backgroundColor": "#ffffff",
"color": "#D4D4D4",
"selectedColor": "#FF6F34",
"list": [
{
"pagePath": "pages/home/index",
"text": "首页",
"iconPath": "/static/tabbarComponent/icon/home.png",
"selectedIconPath": "/static/tabbarComponent/icon/home-a.png"
},
{
"pagePath": "pages/demandHall/index",
"text": "供需大厅",
"iconPath": "/static/tabbarComponent/icon/tab2.png",
"selectedIconPath": "/static/tabbarComponent/icon/tab2-a.png"
},
{
"pagePath": "pages/life/index",
"text": "生活",
"iconPath": "/static/tabbarComponent/icon/tab3.png",
"selectedIconPath": "/static/tabbarComponent/icon/tab3-a.png"
},
{
"pagePath": "pages/user/index",
"text": "我的",
"iconPath": "/static/tabbarComponent/icon/tab4.png",
"selectedIconPath": "/static/tabbarComponent/icon/tab4-a.png"
}
]
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
},
"plugins": {},
"usingComponents": {
"cu-custom": "/components/colorui/components/cu-custom"
},
"sitemapLocation": "sitemap.json"
}

3
unpackage/dist/build/mp-weixin/app.wxss vendored

@ -1,3 +0,0 @@
@import './common/main.wxss';
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

1
unpackage/dist/build/mp-weixin/common/main.js vendored

File diff suppressed because one or more lines are too long

71
unpackage/dist/build/mp-weixin/common/main.wxss vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/build/mp-weixin/common/runtime.js vendored

File diff suppressed because one or more lines are too long

13
unpackage/dist/build/mp-weixin/common/vendor.js vendored

File diff suppressed because one or more lines are too long

10
unpackage/dist/build/mp-weixin/components/AddressWindow.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/AddressWindow"],{"27c7":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=n("aa63"),r={name:"AddressWindow",props:{value:Boolean,checked:Number},data:function(){return{addressList:[],current:0,cartId:0,pinkId:0,couponId:0}},mounted:function(){},methods:{getAddressList:function(){var t=this;(0,s.getAddressList)().then((function(e){t.addressList=e.data}))},closeAddress:function(){this.$emit("input",!1)},goAddressPages:function(){this.$yrouter.push("/pagesB/pages/user/address/AddressManagement/index"),this.$emit("redirect")},tapAddress:function(t){this.$emit("checked",this.addressList[t]),this.$emit("input",!1)}}};e.default=r},"2da6":function(t,e,n){"use strict";n.r(e);var s=n("b0b6"),r=n("cdcf");for(var d in r)"default"!==d&&function(t){n.d(e,t,(function(){return r[t]}))}(d);var u,i=n("f0c5"),a=Object(i["a"])(r["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],u);e["default"]=a.exports},b0b6:function(t,e,n){"use strict";var s;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return d})),n.d(e,"a",(function(){return s}));var r=function(){var t=this,e=t.$createElement;t._self._c},d=[]},cdcf:function(t,e,n){"use strict";n.r(e);var s=n("27c7"),r=n.n(s);for(var d in s)"default"!==d&&function(t){n.d(e,t,(function(){return s[t]}))}(d);e["default"]=r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/AddressWindow-create-component',
{
'components/AddressWindow-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("2da6"))
})
},
[['components/AddressWindow-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/AddressWindow.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/AddressWindow.wxml vendored

@ -1 +0,0 @@
<view><view class="{{['address-window',value===true?'on':'']}}"><view class="title">选择地址<text data-event-opts="{{[['tap',[['closeAddress',['$event']]]]]}}" class="iconfont icon-guanbi" bindtap="__e"></text></view><block wx:if="{{addressList.length}}"><view class="list"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="addressIndex" wx:key="addressIndex"><view data-event-opts="{{[['tap',[['tapAddress',[addressIndex]]]]]}}" class="{{['item acea-row row-between-wrapper',item.id===checked?'font-color-red':'']}}" bindtap="__e"><text class="{{['iconfont icon-ditu',item.id===checked?'font-color-red':'']}}"></text><view class="addressTxt"><view class="{{['name',item.id===checked?'font-color-red':'']}}">{{''+item.realName+''}}<text class="phone">{{item.phone}}</text></view><view class="line1">{{''+item.province+item.city+item.district+item.detail+''}}</view></view><text class="{{['iconfont icon-complete',item.id===checked?'font-color-red':'']}}"></text></view></block></view></block><block wx:if="{{addressList.length<1}}"><view class="pictrue"><image class="image" src="{{$VUE_APP_RESOURCES_URL+'/images/noAddress.png'}}"></image></view></block><view data-event-opts="{{[['tap',[['goAddressPages',['$event']]]]]}}" class="addressBnt bg-color-red" bindtap="__e">新加地址</view></view><view class="mask" hidden="{{value===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAddress',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view>

10
unpackage/dist/build/mp-weixin/components/CitySelect.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CitySelect"],{"157a":function(t,i,n){},"279b":function(t,i,n){"use strict";n.r(i);var e=n("402c"),c=n.n(e);for(var u in e)"default"!==u&&function(t){n.d(i,t,(function(){return e[t]}))}(u);i["default"]=c.a},"402c":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=function(){Promise.all([n.e("common/vendor"),n.e("components/uni-popup/uni-popup")]).then(function(){return resolve(n("e0d4"))}.bind(null,n)).catch(n.oe)},c=function(){n.e("components/uni-popup/uni-popup-message").then(function(){return resolve(n("b74e"))}.bind(null,n)).catch(n.oe)},u=function(){n.e("components/uni-popup/uni-popup-dialog").then(function(){return resolve(n("0e02"))}.bind(null,n)).catch(n.oe)},o={name:"CitySelect",components:{uniPopup:e,uniPopupMessage:c,uniPopupDialog:u},props:["callback","items","defaultValue"],data:function(){return{value:"请选择",show:this.value,province:[],provinceActive:null,city:[],cityActive:null,district:[],districtActive:null,current:0}},watch:{items:function(t){this.province=t},defaultValue:function(t){this.value=t}},mounted:function(){console.log(this),this.value&&(this.value=this.value),this.province=this.items},methods:{open:function(){this.province=this.items,this.provinceActive=null,this.cityActive=null,this.districtActive=null,this.city=[],this.district=[],this.current=0,this.$refs.popup.open()},changeNav:function(t){0==t&&(this.provinceActive=null),1==t&&(this.cityActive=null),2==t&&(this.districtActive=null),this.current=t},selectProvince:function(t){this.provinceActive=this.province[t],this.city=this.province[t].c,this.current=1},selectCity:function(t){this.cityActive=this.city[t],this.district=this.city[t].c,this.current=2},selectDistrict:function(t){this.districtActive=this.district[t],this.value="".concat(this.provinceActive.n," ").concat(this.cityActive.n," ").concat(this.districtActive.n),this.$emit("callback",{province:{id:this.provinceActive.v,name:this.provinceActive.n},city:{id:this.cityActive.v,name:this.cityActive.n},district:{id:this.districtActive.v,name:this.districtActive.n}}),this.$refs.popup.close()}}};i.default=o},"4cd4":function(t,i,n){"use strict";n.r(i);var e=n("5a39"),c=n("279b");for(var u in c)"default"!==u&&function(t){n.d(i,t,(function(){return c[t]}))}(u);n("a0f5");var o,s=n("f0c5"),r=Object(s["a"])(c["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],o);i["default"]=r.exports},"5a39":function(t,i,n){"use strict";n.d(i,"b",(function(){return c})),n.d(i,"c",(function(){return u})),n.d(i,"a",(function(){return e}));var e={uniPopup:function(){return Promise.all([n.e("common/vendor"),n.e("components/uni-popup/uni-popup")]).then(n.bind(null,"e0d4"))}},c=function(){var t=this,i=t.$createElement;t._self._c},u=[]},a0f5:function(t,i,n){"use strict";var e=n("157a"),c=n.n(e);c.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/CitySelect-create-component',
{
'components/CitySelect-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("4cd4"))
})
},
[['components/CitySelect-create-component']]
]);

8
unpackage/dist/build/mp-weixin/components/CitySelect.json vendored

@ -1,8 +0,0 @@
{
"component": true,
"usingComponents": {
"uni-popup": "/components/uni-popup/uni-popup",
"uni-popup-message": "/components/uni-popup/uni-popup-message",
"uni-popup-dialog": "/components/uni-popup/uni-popup-dialog"
}
}

1
unpackage/dist/build/mp-weixin/components/CitySelect.wxml vendored

@ -1 +0,0 @@
<view><text data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="uni-input" bindtap="__e">{{value}}</text><uni-popup class="vue-ref" vue-id="3ebf26e4-1" type="bottom" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="cityselect"><view class="cityselect-header"><view class="cityselect-title"><text>请选择地址</text></view><view class="cityselect-nav"><block wx:if="{{provinceActive}}"><view data-event-opts="{{[['tap',[['changeNav',[0]]]]]}}" class="item" bindtap="__e"><text>{{provinceActive.n}}</text></view></block><block wx:if="{{cityActive}}"><view data-event-opts="{{[['tap',[['changeNav',[1]]]]]}}" class="item" bindtap="__e"><text>{{cityActive.n}}</text></view></block><block wx:if="{{districtActive}}"><view data-event-opts="{{[['tap',[['changeNav',[2]]]]]}}" class="item" bindtap="__e"><text>{{districtActive.n}}</text></view></block><block wx:else><view class="item active"><text>请选择</text></view></block></view></view><view class="cityselect-content"><swiper class="swiper" disable-touch="true" touchable="false" current="{{current}}"><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{province}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectProvince',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{city}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectCity',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{district}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectDistrict',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item></swiper></view></view></uni-popup></view>

1
unpackage/dist/build/mp-weixin/components/CitySelect.wxss vendored

@ -1 +0,0 @@
.cityselect{width:100%;height:75%;background-color:#fff;z-index:1502;position:relative;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.cityselect .cityScroll{height:100%}.cityselect .swiper{height:800rpx}.cityselect-header{width:100%;z-index:1}.cityselect-title{width:100%;font-size:30rpx;text-align:center;height:95rpx;line-height:95rpx;position:relative}.cityselect-title:cityselect-title:after{height:1px;position:absolute;z-index:0;bottom:0;left:0;content:"";width:100%;background-image:-webkit-linear-gradient(bottom,#ececec 50%,transparent 0);background-image:linear-gradient(0deg,#ececec 50%,transparent 0)}.cityselect-nav{width:100%;padding-left:20rpx;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.cityselect-nav .item{font-size:26rpx;color:#222;display:block;height:80rpx;line-height:92rpx;padding:0 16rpx;position:relative;margin-right:30rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.cityselect-nav .item.active{color:#f99c10!important;border-bottom:1rpx solid #f99c10}.cityselect-content{height:100%;width:100%}.cityselect-item .cityselect-item-box{display:block;padding:0 40rpx;position:relative;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:64rpx;max-height:65rpx;font-size:26rpx;color:#333}.cityselect-item .cityselect-item-box:after{content:"";height:1rpx;position:absolute;z-index:0;bottom:0;left:0;width:100%;background-image:-webkit-linear-gradient(bottom,#ececec 50%,transparent 0);background-image:linear-gradient(0deg,#ececec 50%,transparent 0)}

10
unpackage/dist/build/mp-weixin/components/CountDown.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CountDown"],{6826:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={name:"CountDown",props:{tipText:{type:String,default:"倒计时"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{},isDay:{type:Boolean,default:!0}},data:function(){return{time:null,day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},watch:{datatime:function(t){clearInterval(this.timeInterval),this.time=t,this.show_time()}},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var e=t.time-Date.parse(new Date)/1e3,n=0,o=0,i=0,a=0;e>0?(n=!0===t.isDay?Math.floor(e/86400):0,o=Math.floor(e/3600)-24*n,i=Math.floor(e/60)-24*n*60-60*o,a=Math.floor(e)-24*n*60*60-60*o*60-60*i,o<=9&&(o="0"+o),i<=9&&(i="0"+i),a<=9&&(a="0"+a),t.day=n,t.hour=o,t.minute=i,t.second=a):(t.day="00",t.hour="00",t.minute="00",t.second="00")}13==parseInt(this.time).length?(console.log("毫秒"),this.time=this.time/1e3):10==parseInt(this.time).length?console.log("秒"):(console.log("时间"),console.log(this.time),this.time=Date.parse(this.time)/1e3),console.log(t.time),e(),this.timeInterval=setInterval(e,1e3)}}};e.default=o},efc3:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var i=function(){var t=this,e=t.$createElement;t._self._c},a=[]},fa94:function(t,e,n){"use strict";n.r(e);var o=n("6826"),i=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},fdd5:function(t,e,n){"use strict";n.r(e);var o=n("efc3"),i=n("fa94");for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);var r,u=n("f0c5"),l=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);e["default"]=l.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/CountDown-create-component',
{
'components/CountDown-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("fdd5"))
})
},
[['components/CountDown-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/CountDown.json vendored

@ -1,4 +0,0 @@
{
"usingComponents": {},
"component": true
}

1
unpackage/dist/build/mp-weixin/components/CountDown.wxml vendored

@ -1 +0,0 @@
<view class="time">{{''+tipText+''}}<block wx:if="{{isDay===true}}"><text class="styleAll">{{day}}</text></block><text class="timeTxt">{{dayText}}</text><text class="styleAll">{{hour}}</text><text class="timeTxt">{{hourText}}</text><text class="styleAll">{{minute}}</text><text class="timeTxt">{{minuteText}}</text><text class="styleAll">{{second}}</text><text class="timeTxt">{{secondText}}</text></view>

10
unpackage/dist/build/mp-weixin/components/CouponListWindow.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CouponListWindow"],{"0b4b":function(t,n,e){"use strict";var o=e("43ce"),i=e.n(o);i.a},"43ce":function(t,n,e){},"4ead":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("2d3a"),i=function(){e.e("components/DataFormatT").then(function(){return resolve(e("6d89"))}.bind(null,e)).catch(e.oe)},u={name:"CouponListWindow",components:{DataFormatT:i},props:{value:Boolean,checked:Number,price:{type:[Number,String],default:void 0},cartid:{type:String,default:""}},data:function(){return{couponList:[],loaded:!1}},watch:{price:function(t){void 0!==t&&null!=t&&this.getCoupon()},cartid:function(t){void 0!==t&&null!=t&&this.getCoupon()}},mounted:function(){},methods:{close:function(){this.$emit("input",!1),this.$emit("close")},getCoupon:function(){var t=this;(0,o.getOrderCoupon)(this.cartid).then((function(n){t.couponList=n.data,t.loaded=!0}))},click:function(t){this.$emit("checked",t),this.$emit("input",!1)},couponNo:function(){this.$emit("checked",null),this.$emit("input",!1)}}};n.default=u},a771:function(t,n,e){"use strict";e.r(n);var o=e("4ead"),i=e.n(o);for(var u in o)"default"!==u&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},d090:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var i=function(){var t=this,n=t.$createElement;t._self._c},u=[]},d26e:function(t,n,e){"use strict";e.r(n);var o=e("d090"),i=e("a771");for(var u in i)"default"!==u&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("0b4b");var c,a=e("f0c5"),r=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"c89231e6",null,!1,o["a"],c);n["default"]=r.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/CouponListWindow-create-component',
{
'components/CouponListWindow-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("d26e"))
})
},
[['components/CouponListWindow-create-component']]
]);

6
unpackage/dist/build/mp-weixin/components/CouponListWindow.json vendored

@ -1,6 +0,0 @@
{
"component": true,
"usingComponents": {
"data-format-t": "/components/DataFormatT"
}
}

1
unpackage/dist/build/mp-weixin/components/CouponListWindow.wxml vendored

@ -1 +0,0 @@
<view class="data-v-c89231e6"><view class="{{['coupon-list-window data-v-c89231e6',value===true?'on':'']}}"><view class="title data-v-c89231e6">优惠券<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-c89231e6" bindtap="__e"></text></view><block wx:if="{{couponList.length>0}}"><view class="data-v-c89231e6"><view class="coupon-list data-v-c89231e6"><block wx:for="{{couponList}}" wx:for-item="coupon" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['click',['$0'],[[['couponList','id',coupon.id]]]]]]]}}" class="item acea-row row-center-wrapper _div data-v-c89231e6" bindtap="__e"><view class="money _div data-v-c89231e6"><view class="_div data-v-c89231e6">¥<label class="num _span data-v-c89231e6">{{coupon.couponPrice}}</label></view><view class="pic-num _div data-v-c89231e6">{{"满"+coupon.useMinPrice+"元可用"}}</view></view><view class="text _div data-v-c89231e6"><view class="condition line1 _div data-v-c89231e6">{{coupon.couponTitle}}</view><view class="data acea-row row-between-wrapper _div data-v-c89231e6"><block wx:if="{{coupon.endTime===0}}"><view class="_div data-v-c89231e6">不限时</view></block><block wx:else><view class="_div data-v-c89231e6">{{"截止:"+coupon.endTime}}</view></block><block wx:if="{{checked===coupon.id}}"><view class="iconfont icon-xuanzhong1 font-color-red _div data-v-c89231e6"></view></block><block wx:else><view class="iconfont icon-weixuanzhong _div data-v-c89231e6"></view></block></view></view></view></block></view><view data-event-opts="{{[['tap',[['couponNo',['$event']]]]]}}" class="couponNo bg-color-red data-v-c89231e6" bindtap="__e">不使用优惠券</view></view></block><block wx:if="{{!couponList.length&&loaded}}"><view class="data-v-c89231e6"><view class="pictrue data-v-c89231e6"><image class="image data-v-c89231e6" src="{{$VUE_APP_RESOURCES_URL+'/images/noCoupon.png'}}"></image></view></view></block></view><view class="mask data-v-c89231e6" hidden="{{value===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['close',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view>

1
unpackage/dist/build/mp-weixin/components/CouponListWindow.wxss vendored

@ -1 +0,0 @@
.coupon-list-window .iconfont.data-v-c89231e6{font-size:40rpx}.couponNo.data-v-c89231e6{font-size:30rpx;font-weight:700;color:#fff;width:690rpx;height:86rpx;border-radius:43rpx;text-align:center;line-height:86rpx;margin:60rpx auto}

10
unpackage/dist/build/mp-weixin/components/CouponPop.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CouponPop"],{"32d6":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=e("aa63"),o={name:"CouponPop",props:{coupon:{type:Object,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{close:function(){this.$emit("changeFun",{action:"changecoupon",value:!1})},getCouponUser:function(t,e){var o=this,c=o.coupon.list;!0!==c[t].is_use&&(0,u.getCouponReceive)(e).then((function(){n.showToast({title:"已领取",icon:"none",duration:2e3}),o.$set(c[t],"is_use",!0),o.$emit("changefun",{action:"currentcoupon",value:t}),o.$emit("changeFun",{action:"changecoupon",value:!1})}))}}};t.default=o}).call(this,e("543d")["default"])},"467b":function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){return u}));var o=function(){var n=this,t=n.$createElement;n._self._c},c=[]},"8ebf":function(n,t,e){"use strict";e.r(t);var u=e("467b"),o=e("fbd2");for(var c in o)"default"!==c&&function(n){e.d(t,n,(function(){return o[n]}))}(c);var a,i=e("f0c5"),r=Object(i["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],a);t["default"]=r.exports},fbd2:function(n,t,e){"use strict";e.r(t);var u=e("32d6"),o=e.n(u);for(var c in u)"default"!==c&&function(n){e.d(t,n,(function(){return u[n]}))}(c);t["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/CouponPop-create-component',
{
'components/CouponPop-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("8ebf"))
})
},
[['components/CouponPop-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/CouponPop.json vendored

@ -1,4 +0,0 @@
{
"usingComponents": {},
"component": true
}

1
unpackage/dist/build/mp-weixin/components/CouponPop.wxml vendored

@ -1 +0,0 @@
<view><view class="{{['coupon-list-window',coupon.coupon===true?'on':'']}}"><view class="title">优惠券<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi" bindtap="__e"></text></view><block wx:if="{{coupon.list.length>0}}"><view class="coupon-list"><block wx:for="{{coupon.list}}" wx:for-item="item" wx:for-index="couponpopIndex" wx:key="couponpopIndex"><view data-event-opts="{{[['tap',[['getCouponUser',[couponpopIndex,'$0'],[[['coupon.list','',couponpopIndex,'id']]]]]]]}}" class="item acea-row row-center-wrapper" bindtap="__e"><view class="money">¥<text class="num">{{item.couponPrice}}</text></view><view class="text"><view class="condition line1">{{"购物满"+item.useMinPrice+"元可用"}}</view><view class="data acea-row row-between-wrapper"><block wx:if="{{item.end_time===0}}"><view>不限时</view></block><block wx:else><view>{{item.startTime+"-"+item.endTime}}</view></block><view class="{{['bnt acea-row row-center-wrapper',!item.isUse?'bg-color-red':'gray']}}">{{!item.isUse?"立即领取":"已领取"}}</view></view></view></view></block></view></block><block wx:else><view class="pictrue"><image class="image" src="{{$VUE_APP_RESOURCES_URL+'/images/noCoupon.png'}}"></image></view></block></view><view class="mask" hidden="{{coupon.coupon===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['close',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view>

10
unpackage/dist/build/mp-weixin/components/DataFormat.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/DataFormat"],{"1d72":function(t,n,a){"use strict";var e;a.d(n,"b",(function(){return r})),a.d(n,"c",(function(){return u})),a.d(n,"a",(function(){return e}));var r=function(){var t=this,n=t.$createElement;t._self._c},u=[]},"42f8":function(t,n,a){"use strict";a.r(n);var e=a("d087"),r=a.n(e);for(var u in e)"default"!==u&&function(t){a.d(n,t,(function(){return e[t]}))}(u);n["default"]=r.a},d087:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a("b6d1"),r={name:"DataFormat",props:["date"],data:function(){return{time:""}},mounted:function(){this.time=(0,e.dataFormat)(this.date)},watch:{"$props.date":function(t){this.time=(0,e.dataFormat)(this.date)}}};n.default=r},f080:function(t,n,a){"use strict";a.r(n);var e=a("1d72"),r=a("42f8");for(var u in r)"default"!==u&&function(t){a.d(n,t,(function(){return r[t]}))}(u);var o,i=a("f0c5"),c=Object(i["a"])(r["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],o);n["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/DataFormat-create-component',
{
'components/DataFormat-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("f080"))
})
},
[['components/DataFormat-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/DataFormat.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/DataFormat.wxml vendored

@ -1 +0,0 @@
<text>{{time}}</text>

10
unpackage/dist/build/mp-weixin/components/DataFormatT.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/DataFormatT"],{"21d1":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var r=function(){var t=this,n=t.$createElement;t._self._c},u=[]},"2a85":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("b6d1"),r={name:"DataFormatT",props:["date"],data:function(){return{time:""}},mounted:function(){this.time=(0,a.dateFormatT)(this.date)},watch:{"$props.date":function(t){this.time=(0,a.dateFormatT)(this.date)}}};n.default=r},"6d89":function(t,n,e){"use strict";e.r(n);var a=e("21d1"),r=e("8eae");for(var u in r)"default"!==u&&function(t){e.d(n,t,(function(){return r[t]}))}(u);var o,i=e("f0c5"),c=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);n["default"]=c.exports},"8eae":function(t,n,e){"use strict";e.r(n);var a=e("2a85"),r=e.n(a);for(var u in a)"default"!==u&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/DataFormatT-create-component',
{
'components/DataFormatT-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("6d89"))
})
},
[['components/DataFormatT-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/DataFormatT.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/DataFormatT.wxml vendored

@ -1 +0,0 @@
<text>{{time}}</text>

10
unpackage/dist/build/mp-weixin/components/GoodList.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/GoodList"],{6293:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var u=function(){var t=this,n=t.$createElement;t._self._c},r=[]},d1a2:function(t,n,e){"use strict";e.r(n);var o=e("6293"),u=e("e3b8");for(var r in u)"default"!==r&&function(t){e.d(n,t,(function(){return u[t]}))}(r);var a,f=e("f0c5"),i=Object(f["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);n["default"]=i.exports},e3b8:function(t,n,e){"use strict";e.r(n);var o=e("f3f1"),u=e.n(o);for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=u.a},f3f1:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"GoodList",props:{goodList:{type:Array,default:function(){return[]}},isSort:{type:Boolean,default:!0}},data:function(){return{}},methods:{routerGo:function(t){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:t.id}})}}};n.default=o}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/GoodList-create-component',
{
'components/GoodList-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("d1a2"))
})
},
[['components/GoodList-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/GoodList.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/GoodList.wxml vendored

@ -1 +0,0 @@
<view class="goodList"><block wx:for="{{goodList}}" wx:for-item="item" wx:for-index="goodlistIndex" wx:key="goodlistIndex"><view data-event-opts="{{[['tap',[['routerGo',['$0'],[[['goodList','',goodlistIndex]]]]]]]}}" class="item acea-row row-between-wrapper" bindtap="__e"><view class="pictrue"><image class="image" src="{{item.image}}"></image><block wx:if="{{isSort===true&&index===0}}"><image class="numPic" src="{{$VUE_APP_RESOURCES_URL+'/images/one.png'}}"></image></block><block wx:if="{{isSort===true&&index===1}}"><image class="numPic" src="{{$VUE_APP_RESOURCES_URL+'/images/two.png'}}"></image></block><block wx:if="{{isSort===true&&index===2}}"><image class="numPic" src="{{$VUE_APP_RESOURCES_URL+'/images/three.png'}}"></image></block></view><view class="underline"><view class="text"><view class="line1">{{item.storeName}}</view><view class="money font-color-red">¥<text class="num">{{item.price}}</text></view><view class="vip-money acea-row row-middle"><view class="vip">{{"¥"+(item.otPrice||0)}}</view><text class="num">{{"已售"+item.sales+item.unitName}}</text></view></view></view></view></block></view>

10
unpackage/dist/build/mp-weixin/components/Loading.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Loading"],{"624a":function(n,t,e){"use strict";e.r(t);var a=e("e723"),u=e("6f15");for(var o in u)"default"!==o&&function(n){e.d(t,n,(function(){return u[n]}))}(o);var r,c=e("f0c5"),f=Object(c["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);t["default"]=f.exports},"6f15":function(n,t,e){"use strict";e.r(t);var a=e("fc8a"),u=e.n(a);for(var o in a)"default"!==o&&function(n){e.d(t,n,(function(){return a[n]}))}(o);t["default"]=u.a},e723:function(n,t,e){"use strict";var a;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return a}));var u=function(){var n=this,t=n.$createElement;n._self._c},o=[]},fc8a:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"Loading",props:{loaded:Boolean,loading:Boolean}};t.default=a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/Loading-create-component',
{
'components/Loading-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("624a"))
})
},
[['components/Loading-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/Loading.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/Loading.wxml vendored

@ -1 +0,0 @@
<block wx:if="{{loading||!loaded}}"><view class="Loads acea-row row-center-wrapper" style="margin-top:20rpx;"><block wx:if="{{loading}}"><view class="iconfont icon-jiazai loading acea-row row-center-wrapper"></view>正在加载中</block><block wx:if="{{!loading}}">上拉加载更多</block></view></block>

10
unpackage/dist/build/mp-weixin/components/OrderGoods.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/OrderGoods"],{"32e9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"OrderGoods",props:{evaluate:Number,cartInfo:{type:Array,default:function(){return[]}},isIntegral:Boolean},data:function(){return{}},mounted:function(){},methods:{routerGo:function(t){this.$yrouter.push({path:"/pagesB/pages/shop/GoodsEvaluate/index",query:{id:t.unique}})}}};e.default=u},"40d2":function(t,e,n){"use strict";n.r(e);var u=n("32e9"),r=n.n(u);for(var a in u)"default"!==a&&function(t){n.d(e,t,(function(){return u[t]}))}(a);e["default"]=r.a},6442:function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return u}));var r=function(){var t=this,e=t.$createElement;t._self._c},a=[]},daac:function(t,e,n){"use strict";n.r(e);var u=n("6442"),r=n("40d2");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("dda4");var o,c=n("f0c5"),d=Object(c["a"])(r["default"],u["b"],u["c"],!1,null,"5379de6e",null,!1,u["a"],o);e["default"]=d.exports},dda4:function(t,e,n){"use strict";var u=n("e804"),r=n.n(u);r.a},e804:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/OrderGoods-create-component',
{
'components/OrderGoods-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("daac"))
})
},
[['components/OrderGoods-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/OrderGoods.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/OrderGoods.wxml vendored

@ -1 +0,0 @@
<view class="orderGoods data-v-5379de6e"><view class="goodWrapper data-v-5379de6e"><block wx:for="{{cartInfo}}" wx:for-item="cart" wx:for-index="__i0__" wx:key="id"><view class="item acea-row-nowrap data-v-5379de6e"><view class="pictrue data-v-5379de6e"><image class="image data-v-5379de6e" src="{{cart.productInfo.image}}"></image></view><view class="text data-v-5379de6e"><view class="acea-row row-between-wrapper data-v-5379de6e"><view class="name line1 data-v-5379de6e">{{cart.productInfo.storeName}}</view></view><view class="acea-row-nowrap row-middle data-v-5379de6e"><block wx:if="{{cart.productInfo.attrInfo}}"><view class="attr data-v-5379de6e">{{cart.productInfo.attrInfo.sku}}</view></block><view class="num data-v-5379de6e">{{"x "+cart.cartNum}}</view></view><view class="money data-v-5379de6e"><text class="sm-word data-v-5379de6e">¥</text>{{cart.productInfo.price}}<block wx:if="{{cart.productInfo.giveIntegral>0}}"><text class="sm-word data-v-5379de6e">{{"+"+cart.productInfo.giveIntegral+"积分"}}</text></block></view><block wx:if="{{evaluate==3&&cart.isReply==0}}"><view data-event-opts="{{[['tap',[['routerGo',['$0'],[[['cartInfo','id',cart.id]]]]]]]}}" class="evaluate data-v-5379de6e" bindtap="__e">评价</view></block></view></view></block></view></view>

1
unpackage/dist/build/mp-weixin/components/OrderGoods.wxss vendored

@ -1 +0,0 @@
.orderGoods.data-v-5379de6e{border-radius:10rpx;margin:20rpx 0}.orderGoods .goodWrapper .item.data-v-5379de6e{height:auto;padding:30rpx 0}.orderGoods .goodWrapper .item .pictrue.data-v-5379de6e{width:170rpx;height:170rpx;border-radius:10rpx}.orderGoods .goodWrapper .item .attr.data-v-5379de6e{width:auto;margin-right:12rpx;color:#999;font-size:24rpx;line-height:34rpx}.orderGoods .goodWrapper .item .text.data-v-5379de6e{width:auto;margin-left:30rpx}.orderGoods .goodWrapper .item .text .name.data-v-5379de6e{width:420rpx;font-size:28rpx;color:#222;line-height:40rpx}.orderGoods .goodWrapper .item .text .money.data-v-5379de6e{font-size:38rpx;color:#e5270f;font-weight:500;margin-top:38rpx}.orderGoods .goodWrapper .item .text .sm-word.data-v-5379de6e{font-size:24rpx}.orderGoods .goodWrapper .item .text .evaluate.data-v-5379de6e{font-size:26rpx;line-height:46rpx;text-align:center}

10
unpackage/dist/build/mp-weixin/components/Payment.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Payment"],{"0010":function(e,t,n){"use strict";n.r(t);var u=n("9f90"),a=n("6639");for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);n("1e0e");var c,r=n("f0c5"),o=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,"c40b6dba",null,!1,u["a"],c);t["default"]=o.exports},"1e0e":function(e,t,n){"use strict";var u=n("eb31"),a=n.n(u);a.a},3272:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"Payment",props:{value:{type:Boolean,default:!1},balance:{type:[Number,String],default:0},types:{type:Array,default:function(){return["weixin","alipay","yue","offline"]}}},data:function(){return{}},mounted:function(){},methods:{checked:function(e){this.$emit("checked",e),this.close()},close:function(){this.$emit("input",!1)}}};t.default=u},6639:function(e,t,n){"use strict";n.r(t);var u=n("3272"),a=n.n(u);for(var i in u)"default"!==i&&function(e){n.d(t,e,(function(){return u[e]}))}(i);t["default"]=a.a},"9f90":function(e,t,n){"use strict";var u;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return u}));var a=function(){var e=this,t=e.$createElement,n=(e._self._c,e.types.indexOf("weixin")),u=e.types.indexOf("yue");e.$mp.data=Object.assign({},{$root:{g0:n,g1:u}})},i=[]},eb31:function(e,t,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/Payment-create-component',
{
'components/Payment-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("0010"))
})
},
[['components/Payment-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/Payment.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/Payment.wxml vendored

@ -1 +0,0 @@
<view class="data-v-c40b6dba"><view class="{{['payment data-v-c40b6dba',value===true?'on':'']}}"><view class="title acea-row row-center-wrapper data-v-c40b6dba">选择付款方式<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-c40b6dba" bindtap="__e"></text></view><block wx:if="{{$root.g0!==-1}}"><view data-event-opts="{{[['tap',[['checked',['weixin']]]]]}}" class="item acea-row row-between-wrapper data-v-c40b6dba" bindtap="__e"><view class="left acea-row row-between-wrapper data-v-c40b6dba"><view class="iconfont icon-weixinzhifu data-v-c40b6dba"></view><view class="text data-v-c40b6dba"><view class="name data-v-c40b6dba">微信支付</view><view class="info data-v-c40b6dba">使用微信快捷支付</view></view></view><view class="iconfont icon-xiangyou data-v-c40b6dba"></view></view></block><block wx:if="{{$root.g1!==-1}}"><view data-event-opts="{{[['tap',[['checked',['yue']]]]]}}" class="item acea-row row-between-wrapper data-v-c40b6dba" bindtap="__e"><view class="left acea-row row-between-wrapper data-v-c40b6dba"><view class="iconfont icon-yuezhifu data-v-c40b6dba"></view><view class="text data-v-c40b6dba"><view class="name data-v-c40b6dba">余额支付</view><view class="info data-v-c40b6dba">当前可用余额:<text class="money data-v-c40b6dba">{{balance}}</text></view></view></view><view class="iconfont icon-xiangyou data-v-c40b6dba"></view></view></block></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" hidden="{{!(value)}}" class="mask data-v-c40b6dba" bindtap="__e"></view></view>

1
unpackage/dist/build/mp-weixin/components/Payment.wxss vendored

@ -1 +0,0 @@
.payment.data-v-c40b6dba{position:fixed;bottom:0;left:0;width:100%;border-radius:16rpx 16rpx 0 0;background-color:#fff;padding-bottom:60rpx;z-index:99;transition:all .3s cubic-bezier(.25,.5,.5,.9);-webkit-transition:all .3s cubic-bezier(.25,.5,.5,.9);-moz-transition:all .3s cubic-bezier(.25,.5,.5,.9);-o-transition:all .3s cubic-bezier(.25,.5,.5,.9);transform:translate3d(0,100%,0);-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);-moz-transform:translate3d(0,100%,0);-o-transform:translate3d(0,100%,0)}.payment.on.data-v-c40b6dba{transform:translateZ(0);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);-moz-transform:translateZ(0);-o-transform:translateZ(0)}.payment .title.data-v-c40b6dba{text-align:center;height:123rpx;font-size:32rpx;color:#282828;font-weight:700;padding-right:30rpx;margin-left:30rpx;position:relative;border-bottom:1rpx solid #eee}.payment .title .iconfont.data-v-c40b6dba{position:absolute;right:30rpx;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:43rpx;color:#8a8a8a;font-weight:400}.payment .item.data-v-c40b6dba{border-bottom:1rpx solid #eee;height:130rpx;margin-left:30rpx;padding-right:30rpx}.payment .item .left.data-v-c40b6dba{width:610rpx}.payment .item .left .text.data-v-c40b6dba{width:540rpx}.payment .item .left .text .name.data-v-c40b6dba{font-size:32rpx;color:#282828}.payment .item .left .text .info.data-v-c40b6dba{font-size:24rpx;color:#999}.payment .item .left .text .info .money.data-v-c40b6dba{color:#f90}.payment .item .left .iconfont.data-v-c40b6dba{font-size:45rpx;color:#09bb07}.payment .item .left .iconfont.icon-zhifubao.data-v-c40b6dba{color:#00aaea}.payment .item .left .iconfont.icon-yuezhifu.data-v-c40b6dba{color:#f90}.payment .item .left .iconfont.icon-yuezhifu1.data-v-c40b6dba{color:#eb6623}.payment .item .iconfont.data-v-c40b6dba{font-size:30rpx;color:#999}

10
unpackage/dist/build/mp-weixin/components/PriceChange.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/PriceChange"],{"0ac6":function(e,r,n){},"12a0":function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var t={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{focus:!1,price:0,refund_price:0,remark:""}},watch:{orderInfo:function(){this.price=this.orderInfo.payPrice,this.refund_price=this.orderInfo.payPrice,this.remark=""}},mounted:function(){},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.payPrice,this.$emit("closechange",!1)},save:function(){var e=this;e.$emit("savePrice",{price:e.price,refund_price:e.refund_price,type:1,remark:e.remark})},refuse:function(){var e=this;e.$emit("savePrice",{price:e.price,refund_price:e.refund_price,type:2,remark:e.remark})}}};r.default=t},2167:function(e,r,n){"use strict";n.r(r);var t=n("7786"),c=n("4c79");for(var i in c)"default"!==i&&function(e){n.d(r,e,(function(){return c[e]}))}(i);n("2c27");var a,u=n("f0c5"),o=Object(u["a"])(c["default"],t["b"],t["c"],!1,null,"60cb0979",null,!1,t["a"],a);r["default"]=o.exports},"2c27":function(e,r,n){"use strict";var t=n("0ac6"),c=n.n(t);c.a},"4c79":function(e,r,n){"use strict";n.r(r);var t=n("12a0"),c=n.n(t);for(var i in t)"default"!==i&&function(e){n.d(r,e,(function(){return t[e]}))}(i);r["default"]=c.a},7786:function(e,r,n){"use strict";var t;n.d(r,"b",(function(){return c})),n.d(r,"c",(function(){return i})),n.d(r,"a",(function(){return t}));var c=function(){var e=this,r=e.$createElement;e._self._c},i=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/PriceChange-create-component',
{
'components/PriceChange-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("2167"))
})
},
[['components/PriceChange-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/PriceChange.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/PriceChange.wxml vendored

@ -1 +0,0 @@
<view class="data-v-60cb0979"><view class="{{['priceChange data-v-60cb0979',change===true?'on':'']}}"><view class="priceTitle data-v-60cb0979"><block wx:if="{{status==0}}"><text class="data-v-60cb0979"><block wx:if="{{orderInfo.refundStatus==1}}"><text class="data-v-60cb0979">立即退款</text></block><block wx:if="{{orderInfo.refundStatus!=1}}"><text class="data-v-60cb0979">一键改价</text></block></text></block><block wx:if="{{status!=0}}"><text class="data-v-60cb0979">订单备注</text></block><text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-60cb0979" bindtap="__e"></text></view><block wx:if="{{status==0}}"><view class="listChange data-v-60cb0979"><block wx:if="{{orderInfo.refundStatus===0}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">商品总价(¥)</view><view class="money data-v-60cb0979">{{''+orderInfo.totalPrice+''}}<text class="iconfont icon-suozi data-v-60cb0979"></text></view></view></block><block wx:if="{{orderInfo.refundStatus===0}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">原始邮费(¥)</view><view class="money data-v-60cb0979">{{''+orderInfo.payPostage+''}}<text class="iconfont icon-suozi data-v-60cb0979"></text></view></view></block><block wx:if="{{orderInfo.refundStatus===0}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">实际支付(¥)</view><view class="money data-v-60cb0979"><input class="{{['data-v-60cb0979',focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','price','$event',[]]]]]]}}" value="{{price}}" bindfocus="__e" bindinput="__e"/></view></view></block><block wx:if="{{orderInfo.refundStatus===1}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">实际支付(¥)</view><view class="money data-v-60cb0979">{{''+orderInfo.payPrice+''}}<text class="iconfont icon-suozi data-v-60cb0979"></text></view></view></block><block wx:if="{{orderInfo.refundStatus===1}}"><view class="item acea-row row-between-wrapper data-v-60cb0979"><view class="data-v-60cb0979">退款金额(¥)</view><view class="money data-v-60cb0979"><input class="{{['data-v-60cb0979',focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','refund_price','$event',[]]]]]]}}" value="{{refund_price}}" bindfocus="__e" bindinput="__e"/></view></view></block></view></block><block wx:else><view class="listChange data-v-60cb0979"><textarea placeholder="请填写备注信息..." data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e" class="data-v-60cb0979"></textarea></view></block><view data-event-opts="{{[['tap',[['save',['$event']]]]]}}" class="modify data-v-60cb0979" bindtap="__e">{{orderInfo.refundStatus===0?"立即修改":"确认退款"}}</view><block wx:if="{{orderInfo.refundStatus===1}}"><view data-event-opts="{{[['tap',[['refuse',['$event']]]]]}}" class="modify1 data-v-60cb0979" bindtap="__e">拒绝退款</view></block></view><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" hidden="{{!(change===true)}}" class="mask data-v-60cb0979" bindtouchmove="__e"></view></view>

1
unpackage/dist/build/mp-weixin/components/PriceChange.wxss vendored

@ -1 +0,0 @@
.priceChange .listChange textarea.data-v-60cb0979{border:1px solid #eee;width:100%;height:200rpx;margin-top:50rpx;border-radius:10rpx;color:#333;padding:20rpx}

10
unpackage/dist/build/mp-weixin/components/ProductConSwiper.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ProductConSwiper"],{"22ce":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={name:"ProductConSwiper",components:{},props:{imgUrls:{type:Array,default:function(){return[]}}},data:function(){var n=this;return{currents:1,ProductConSwiper:{autoplay:{disableOnInteraction:!1,delay:2e3},loop:!0,speed:1e3,observer:!0,observeParents:!0,on:{slideChangeTransitionStart:function(){n.currents=this.realIndex+1}}}}},mounted:function(){},methods:{handleChange:function(n){this.currents=n.mp.detail.current+1},previewImage:function(e){n.previewImage({current:e,urls:this.imgUrls})}}};e.default=t}).call(this,t("543d")["default"])},3363:function(n,e,t){"use strict";var r;t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},a=[]},"53dd":function(n,e,t){"use strict";t.r(e);var r=t("22ce"),u=t.n(r);for(var a in r)"default"!==a&&function(n){t.d(e,n,(function(){return r[n]}))}(a);e["default"]=u.a},a7e0:function(n,e,t){"use strict";t.r(e);var r=t("3363"),u=t("53dd");for(var a in u)"default"!==a&&function(n){t.d(e,n,(function(){return u[n]}))}(a);var o,c=t("f0c5"),i=Object(c["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],o);e["default"]=i.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/ProductConSwiper-create-component',
{
'components/ProductConSwiper-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("a7e0"))
})
},
[['components/ProductConSwiper-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/ProductConSwiper.json vendored

@ -1,4 +0,0 @@
{
"usingComponents": {},
"component": true
}

1
unpackage/dist/build/mp-weixin/components/ProductConSwiper.wxml vendored

@ -1 +0,0 @@
<view class="slider-banner product-bg"><block wx:if="{{imgUrls.length>0}}"><swiper data-event-opts="{{[['change',[['handleChange',['$event']]]]]}}" class="swiper-wrapper" bindchange="__e"><block wx:for="{{imgUrls}}" wx:for-item="item" wx:for-index="imgUrlsIndex" wx:key="imgUrlsIndex"><block><swiper-item><image class="slide-image" src="{{item}}" mode="aspectFit" data-event-opts="{{[['tap',[['previewImage',[imgUrlsIndex]]]]]}}" bindtap="__e"></image></swiper-item></block></block></swiper></block><view class="pages">{{(currents||1)+"/"+(imgUrls.length||1)}}</view></view>

10
unpackage/dist/build/mp-weixin/components/ProductWindow.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ProductWindow"],{"072a":function(t,n,e){},1484:function(t,n,e){"use strict";var a=e("072a"),u=e.n(a);u.a},"17fb":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return a}));var u=function(){var t=this,n=t.$createElement;t._self._c},r=[]},"619b":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"ProductWindow",props:{isIntegral:Boolean,attr:{type:Object,default:function(){}},cartNum:{type:Number,default:function(){return 1}}},data:function(){return{}},mounted:function(){console.log(this)},watch:{attr:function(t){}},methods:{closeAttr:function(){this.$emit("changeFun",{action:"changeattr",value:!1})},CartNumDes:function(){this.$emit("changeFun",{action:"ChangeCartNum",value:!1})},CartNumAdd:function(){this.$emit("changeFun",{action:"ChangeCartNum",value:1})},tapAttr:function(t,n){this.attr.productAttr[t].index=n;var e=this,a=e.getCheckedValue().sort().join(",");e.$emit("changeFun",{action:"ChangeAttr",value:{value:a,indexw:t,indexn:n}})},getCheckedValue:function(){for(var t=this.attr.productAttr,n=[],e=0;e<t.length;e++)for(var a=0;a<t[e].attrValueArr.length;a++)t[e].index===a&&n.push(t[e].attrValueArr[a]);return n},previewImage:function(){t.previewImage({current:0,urls:[this.attr.productSelect.image]})}}};n.default=e}).call(this,e("543d")["default"])},9157:function(t,n,e){"use strict";e.r(n);var a=e("17fb"),u=e("c7a1");for(var r in u)"default"!==r&&function(t){e.d(n,t,(function(){return u[t]}))}(r);e("1484");var c,i=e("f0c5"),o=Object(i["a"])(u["default"],a["b"],a["c"],!1,null,"8dc04c7c",null,!1,a["a"],c);n["default"]=o.exports},c7a1:function(t,n,e){"use strict";e.r(n);var a=e("619b"),u=e.n(a);for(var r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/ProductWindow-create-component',
{
'components/ProductWindow-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("9157"))
})
},
[['components/ProductWindow-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/ProductWindow.json vendored

@ -1,4 +0,0 @@
{
"usingComponents": {},
"component": true
}

1
unpackage/dist/build/mp-weixin/components/ProductWindow.wxml vendored

@ -1 +0,0 @@
<view class="data-v-8dc04c7c"><view class="{{['product-window data-v-8dc04c7c',attr.cartAttr===true?'on':'']}}"><view class="textpic acea-row row-between-wrapper data-v-8dc04c7c"><view class="pictrue data-v-8dc04c7c"><image class="image data-v-8dc04c7c" src="{{attr.productSelect.image}}" data-event-opts="{{[['tap',[['previewImage',['$event']]]]]}}" bindtap="__e"></image></view><view class="text data-v-8dc04c7c"><view class="line1 data-v-8dc04c7c">{{attr.productSelect.store_name}}</view><block wx:if="{{!isIntegral}}"><view class="money font-color-red data-v-8dc04c7c">¥<text class="num data-v-8dc04c7c">{{attr.productSelect.price}}</text><text class="stock data-v-8dc04c7c">{{"库存: "+attr.productSelect.stock}}</text></view></block><block wx:if="{{isIntegral}}"><view class="money font-color-red data-v-8dc04c7c"><text class="num data-v-8dc04c7c">{{attr.productSelect.integral+"积分"}}</text><text class="stock data-v-8dc04c7c">{{"库存: "+attr.productSelect.stock}}</text></view></block></view><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-8dc04c7c" bindtap="__e"></view></view><view class="productWinList data-v-8dc04c7c"><block wx:for="{{attr.productAttr}}" wx:for-item="item" wx:for-index="indexw" wx:key="indexw"><view class="item data-v-8dc04c7c"><view class="title data-v-8dc04c7c">{{item.attrName}}</view><view class="listn acea-row row-middle data-v-8dc04c7c"><block wx:for="{{item.attrValue}}" wx:for-item="itemn" wx:for-index="indexn" wx:key="indexn"><view data-event-opts="{{[['tap',[['tapAttr',[indexw,indexn]]]]]}}" class="{{['itemn data-v-8dc04c7c',item.index==indexn?'on':'']}}" bindtap="__e">{{itemn.attr}}</view></block></view></view></block></view><view class="cart data-v-8dc04c7c"><view class="title data-v-8dc04c7c">数量</view><view class="carnum acea-row row-left data-v-8dc04c7c"><view data-event-opts="{{[['tap',[['CartNumDes',['$event']]]]]}}" class="{{['item reduce data-v-8dc04c7c',cartNum<=1?'on':'']}}" bindtap="__e">-</view><view class="item num data-v-8dc04c7c">{{cartNum}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',['$event']]]]]}}" class="{{['item plus data-v-8dc04c7c',cartNum>=attr.productSelect.stock?'on':'']}}" bindtap="__e">+</view></view></view></view><view class="mask data-v-8dc04c7c" hidden="{{attr.cartAttr===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view>

1
unpackage/dist/build/mp-weixin/components/ProductWindow.wxss vendored

@ -1 +0,0 @@
.product-window.data-v-8dc04c7c{padding-bottom:190rpx}

10
unpackage/dist/build/mp-weixin/components/PromotionGood.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/PromotionGood"],{"414f":function(n,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={name:"PromotionGood",props:["benefit"],data:function(){return{}},methods:{routerGo:function(n){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:n.id}})}},mounted:function(){}};t.default=e},"59b2":function(n,t,o){"use strict";o.r(t);var e=o("7fda"),u=o("c9a7");for(var r in u)"default"!==r&&function(n){o.d(t,n,(function(){return u[n]}))}(r);o("ce26");var c,a=o("f0c5"),f=Object(a["a"])(u["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],c);t["default"]=f.exports},"7fda":function(n,t,o){"use strict";var e;o.d(t,"b",(function(){return u})),o.d(t,"c",(function(){return r})),o.d(t,"a",(function(){return e}));var u=function(){var n=this,t=n.$createElement;n._self._c},r=[]},bcc7:function(n,t,o){},c9a7:function(n,t,o){"use strict";o.r(t);var e=o("414f"),u=o.n(e);for(var r in e)"default"!==r&&function(n){o.d(t,n,(function(){return e[n]}))}(r);t["default"]=u.a},ce26:function(n,t,o){"use strict";var e=o("bcc7"),u=o.n(e);u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/PromotionGood-create-component',
{
'components/PromotionGood-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("59b2"))
})
},
[['components/PromotionGood-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/PromotionGood.json vendored

@ -1,4 +0,0 @@
{
"component": true,
"usingComponents": {}
}

1
unpackage/dist/build/mp-weixin/components/PromotionGood.wxml vendored

@ -1 +0,0 @@
<view><view class="sh-title-card mb10"><view class="title-box"><image class="title-bg" src="{{$VUE_APP_RESOURCES_URL+'/images/title1.png'}}" mode="aspectFill"></image><view class="title-text">为你推荐</view></view></view><block wx:if="{{benefit.length}}"><view class="hot-goods mx20 mb10"><view class="goods-list x-f"><block wx:for="{{benefit}}" wx:for-item="item" wx:for-index="promotionGoodIndex" wx:key="promotionGoodIndex"><view class="goods-item"><view data-event-opts="{{[['tap',[['routerGo',['$0'],[[['benefit','',promotionGoodIndex]]]]]]]}}" class="goods-box" bindtap="__e"><view class="img-box"><image class="img" src="{{item.image}}" lazy-load="{{true}}" mode="aspectFill"></image></view><view class="tip one-t">{{item.storeName}}</view><view class="title more-t">{{item.storeName}}</view><view class="price-box"><view class="flex x-bc align-end"><view class="current">{{(item.activity_type==='groupon'?item.price:item.otPrice)+''}}</view><view class="sales miso-font">{{"仅剩:"+item.stock+item.unitName}}</view></view><view class="x-f tag-box"></view></view></view></view></block></view></view></block></view>

1
unpackage/dist/build/mp-weixin/components/PromotionGood.wxss vendored

@ -1 +0,0 @@
@charset "UTF-8";.sh-title-card{width:750rpx}.title-box{width:710rpx;height:88rpx;margin:0 auto;position:relative;border-radius:30rpx}.title-box .title-bg{width:100%;height:100%}.title-box .title-text{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-weight:700}.goods-box{width:345rpx;background:#fff;padding-bottom:20rpx;border-radius:20rpx;overflow:hidden}.goods-box .img-box{width:345rpx;height:345rpx;overflow:hidden;position:relative}.goods-box .img-box .tag-img{position:absolute;left:0;top:0;z-index:2;width:80rpx;height:40rpx}.goods-box .img-box .img{width:345rpx;height:345rpx;background-color:#ccc}.goods-box .tip{width:346rpx;line-height:56rpx;background:#f6f2ea;font-size:22rpx;font-family:PingFang SC;font-weight:400;color:#a8700d;padding:0 20rpx}.goods-box .title{font-size:24rpx;font-family:PingFang SC;font-weight:500;line-height:36rpx;height:72rpx;margin:20rpx 20rpx 10rpx}.goods-box .price-box{padding:10rpx 20rpx 0;width:344rpx;box-sizing:border-box}.goods-box .price-box .sales{font-size:20rpx;font-family:PingFang SC;font-weight:400;color:#999;line-height:20rpx;margin-bottom:20rpx}.goods-box .price-box .current{font-size:30rpx;font-weight:500;color:#e1212b;line-height:30rpx;margin-bottom:20rpx}.goods-box .price-box .current:before{content:"¥";font-size:26rpx}.goods-box .price-box .original{font-size:22rpx;font-weight:400;text-decoration:line-through;color:#999;margin-left:14rpx;line-height:22rpx;margin-bottom:10rpx}.goods-box .price-box .original:before{content:"¥";font-size:20rpx}.goods-box .price-box .tag-box .discount{line-height:28rpx;border:1rpx solid #e1212b;border-radius:8rpx;font-size:18rpx;font-family:PingFang SC;font-weight:500;color:#e1212b;padding:0 8rpx;margin-right:10rpx}.hot-goods .goods-list{-webkit-flex-wrap:wrap;flex-wrap:wrap;width:710rpx}.hot-goods .goods-list .goods-item{margin-right:20rpx;margin-bottom:20rpx;width:345rpx;box-shadow:0 0 10rpx 4rpx hsla(0,0%,78%,.22);border-radius:20rpx}.hot-goods .goods-list .goods-item:nth-child(2n){margin-right:0}

10
unpackage/dist/build/mp-weixin/components/Recommend.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Recommend"],{"0996":function(n,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=o("2df4"),a=function(){o.e("components/Loading").then(function(){return resolve(o("624a"))}.bind(null,o)).catch(o.oe)},u={name:"Recommend",props:{recommendLoading:Boolean},components:{Loading:a},watch:{recommendLoading:function(n){n&&this.hostProducts()}},data:function(){return{hostProduct:[],page:1,limit:20,loadTitle:"",loading:!1,loadend:!1}},mounted:function(){this.hostProducts()},methods:{routerGo:function(n){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:n.id}})},hostProducts:function(){var n=this,t=this;t.loading||t.loadend||(t.loading=!0,(0,e.getHostProducts)(t.page,t.limit).then((function(o){t.loading=!1,t.hostProduct.push.apply(t.hostProduct,o.data),t.loadend=o.data.length<t.limit,t.page=t.page+1,n.$emit("changeRecommendLoading",!1)})))}}};t.default=u},a773:function(n,t,o){"use strict";o.r(t);var e=o("0996"),a=o.n(e);for(var u in e)"default"!==u&&function(n){o.d(t,n,(function(){return e[n]}))}(u);t["default"]=a.a},cb56:function(n,t,o){"use strict";var e;o.d(t,"b",(function(){return a})),o.d(t,"c",(function(){return u})),o.d(t,"a",(function(){return e}));var a=function(){var n=this,t=n.$createElement;n._self._c},u=[]},fc41:function(n,t,o){"use strict";o.r(t);var e=o("cb56"),a=o("a773");for(var u in a)"default"!==u&&function(n){o.d(t,n,(function(){return a[n]}))}(u);var c,i=o("f0c5"),d=Object(i["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],c);t["default"]=d.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/Recommend-create-component',
{
'components/Recommend-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("fc41"))
})
},
[['components/Recommend-create-component']]
]);

6
unpackage/dist/build/mp-weixin/components/Recommend.json vendored

@ -1,6 +0,0 @@
{
"component": true,
"usingComponents": {
"loading": "/components/Loading"
}
}

1
unpackage/dist/build/mp-weixin/components/Recommend.wxml vendored

@ -1 +0,0 @@
<view data-ref="container" class="recommend vue-ref"><view class="title acea-row row-center-wrapper"><text class="iconfont icon-zhuangshixian"></text><text class="name">为你推荐</text><text class="iconfont icon-zhuangshixian lefticon"></text></view><view class="recommendList acea-row row-between-wrapper"><block wx:for="{{hostProduct}}" wx:for-item="item" wx:for-index="recommendIndex" wx:key="recommendIndex"><view data-event-opts="{{[['tap',[['routerGo',['$0'],[[['hostProduct','',recommendIndex]]]]]]]}}" class="item" bindtap="__e"><view class="pictrue"><image class="image" src="{{item.image}}"></image></view><view class="name line1">{{item.storeName}}</view><view class="money font-color-red">¥<text class="num">{{item.price}}</text></view></view></block></view><loading vue-id="b67b5196-1" loaded="{{loadend}}" loading="{{loading}}" bind:__l="__l"></loading></view>

10
unpackage/dist/build/mp-weixin/components/ShareInfo.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ShareInfo"],{"01a9":function(n,t,e){},"02c0":function(n,t,e){"use strict";e.r(t);var a=e("848e"),u=e.n(a);for(var r in a)"default"!==r&&function(n){e.d(t,n,(function(){return a[n]}))}(r);t["default"]=u.a},"14f3":function(n,t,e){"use strict";var a=e("01a9"),u=e.n(a);u.a},"1ca3":function(n,t,e){"use strict";var a;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return a}));var u=function(){var n=this,t=n.$createElement;n._self._c},r=[]},"848e":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"ShareInfo",props:{shareInfoStatus:Boolean},data:function(){return{}},mounted:function(){},methods:{shareInfoClose:function(){this.$emit("setShareInfoStatus")}}};t.default=a},e00a:function(n,t,e){"use strict";e.r(t);var a=e("1ca3"),u=e("02c0");for(var r in u)"default"!==r&&function(n){e.d(t,n,(function(){return u[n]}))}(r);e("14f3");var o,c=e("f0c5"),f=Object(c["a"])(u["default"],a["b"],a["c"],!1,null,"0ad1a366",null,!1,a["a"],o);t["default"]=f.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/ShareInfo-create-component',
{
'components/ShareInfo-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("e00a"))
})
},
[['components/ShareInfo-create-component']]
]);

4
unpackage/dist/build/mp-weixin/components/ShareInfo.json vendored

@ -1,4 +0,0 @@
{
"usingComponents": {},
"component": true
}

1
unpackage/dist/build/mp-weixin/components/ShareInfo.wxml vendored

@ -1 +0,0 @@
<block wx:if="{{shareInfoStatus}}"><view class="poster-first data-v-0ad1a366"><view class="mask-share data-v-0ad1a366"></view></view></block>

1
unpackage/dist/build/mp-weixin/components/ShareInfo.wxss vendored

@ -1 +0,0 @@
.poster-first.data-v-0ad1a366{overscroll-behavior:contain}.mask-share.data-v-0ad1a366{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999}.mask-share image.data-v-0ad1a366{width:100%}

10
unpackage/dist/build/mp-weixin/components/ShopLiveCard.js vendored

@ -1,10 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ShopLiveCard"],{2563:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"533e":function(t,e,i){"use strict";var n=i("73ff"),a=i.n(n);a.a},"73ff":function(t,e,i){},ca4e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i("b6d1");var n=!1;n=!0;var a={name:"shopLiveCard",components:{},data:function(){return{liveStatus:{101:{img:"https://wx.yixiang.co/static/images/live.png",title:"直播中"},102:{img:"https://wx.yixiang.co/static/images/prevue.png",title:"未开始"},103:{img:"https://wx.yixiang.co/static/images/playback.png",title:"已结束"},104:{img:"https://wx.yixiang.co/static/images/104.png",title:"禁播"},105:{img:"https://wx.yixiang.co/static/images/105.png",title:"暂停中"},106:{img:"https://wx.yixiang.co/static/images/106.png",title:"异常"},107:{img:"https://wx.yixiang.co/static/images/past.png",title:"已过期"}}}},props:{detail:{type:Object,default:null},wh:{type:Number,default:345}},computed:{},created:function(){this.getLiveStatus()},mounted:function(){var t=this;setInterval((function(){t.getLiveStatus()}),6e4)},beforeDestroy:function(){null},methods:{goRoom:function(){var t=this;wx.navigateTo({url:"plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=".concat(t.detail.roomId)})},dateFormat:function(t,e){var i,n={"Y+":e.getFullYear().toString(),"m+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"H+":e.getHours().toString(),"M+":e.getMinutes().toString(),"S+":e.getSeconds().toString()};for(var a in n)i=new RegExp("("+a+")").exec(t),i&&(t=t.replace(i[1],1==i[1].length?n[a]:n[a].padStart(i[1].length,"0")));return t},getLiveStatus:function(){if(n){var t=this,e="";102==t.detail.liveStatus&&(e=this.dateFormat("mm-dd HH:MM",new Date(1e3*t.detail.startTime)).replace("-","/"),t.liveStatus["102"].title="预告 "+e)}}}};e.default=a},f746:function(t,e,i){"use strict";i.r(e);var n=i("2563"),a=i("f9c2");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("533e");var r,c=i("f0c5"),u=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=u.exports},f9c2:function(t,e,i){"use strict";i.r(e);var n=i("ca4e"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/ShopLiveCard-create-component',
{
'components/ShopLiveCard-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("f746"))
})
},
[['components/ShopLiveCard-create-component']]
]);

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save