1.提交代码

yj-dev
杨杰 4 years ago
parent fe6f9596d7
commit 98977f7049
  1. 6
      App.vue
  2. 46
      Utils/Api.js
  3. 2
      components/Authorize.vue
  4. 2
      components/uni-badge/components/uni-badge/uni-badge.vue
  5. 20
      pages.json
  6. 9
      pages/goods/HM-search/HM-search.vue
  7. 39
      pages/goods/coupon-details/coupon-details.vue
  8. 233
      pages/goods/coupons-info-details/coupons-info-details.vue
  9. 220
      pages/goods/goods.vue
  10. 2
      pages/goods/recording/recording.vue
  11. 210
      pages/goods/store-list/store-details.vue
  12. 26
      pages/goods/store-list/store-list.vue
  13. 772
      pages/order/confirmation.vue
  14. 5
      pages/pay/payment/payment.vue
  15. 140
      pages/tabBar/category/category.vue
  16. 49
      pages/tabBar/home/home.vue
  17. 99
      pages/tabBar/user/user.vue
  18. 428
      pages/user/coupon/coupon.vue
  19. 16
      pages/user/mineCoupons/mineCoupons.vue
  20. 203
      pages/user/mineCouponsDestails/mineCouponsDestails.vue
  21. 74
      pages/user/order_details/order_details.vue
  22. 22
      pages/user/order_list/order_list.vue
  23. BIN
      static/img/1.jpg
  24. BIN
      static/img/2.jpg
  25. BIN
      static/img/3.jpg
  26. BIN
      static/img/addricon.png
  27. BIN
      static/img/banner1.png
  28. BIN
      static/img/face.jpg
  29. BIN
      static/img/goods/oil.png
  30. BIN
      static/img/goods/p1.jpg
  31. BIN
      static/img/goods/p10.jpg
  32. BIN
      static/img/goods/p2.jpg
  33. BIN
      static/img/goods/p3.jpg
  34. BIN
      static/img/goods/p4.jpg
  35. BIN
      static/img/goods/p5.jpg
  36. BIN
      static/img/goods/p6.jpg
  37. BIN
      static/img/goods/p7.jpg
  38. BIN
      static/img/goods/p8.jpg
  39. BIN
      static/img/goods/p9.jpg
  40. BIN
      static/img/im/face/face_1.jpg
  41. BIN
      static/img/im/face/face_10.jpg
  42. BIN
      static/img/im/face/face_11.jpg
  43. BIN
      static/img/im/face/face_12.jpg
  44. BIN
      static/img/im/face/face_13.jpg
  45. BIN
      static/img/im/face/face_14.jpg
  46. BIN
      static/img/im/face/face_15.jpg
  47. BIN
      static/img/im/face/face_2.jpg
  48. BIN
      static/img/im/face/face_3.jpg
  49. BIN
      static/img/im/face/face_4.jpg
  50. BIN
      static/img/im/face/face_5.jpg
  51. BIN
      static/img/im/face/face_6.jpg
  52. BIN
      static/img/im/face/face_7.jpg
  53. BIN
      static/img/im/face/face_8.jpg
  54. BIN
      static/img/im/face/face_9.jpg
  55. BIN
      static/img/q.jpg
  56. BIN
      static/img/qr.png
  57. BIN
      static/img/s1.jpg
  58. BIN
      static/img/s2.jpg
  59. BIN
      static/img/shop/1.jpg
  60. BIN
      static/img/shop/2.jpg
  61. BIN
      static/img/shop/3.jpg
  62. BIN
      static/img/shop/4.jpg
  63. 4
      uni.scss
  64. 6
      unpackage/dist/build/mp-weixin/app.json
  65. 2
      unpackage/dist/build/mp-weixin/common/main.js
  66. 2
      unpackage/dist/build/mp-weixin/common/main.wxss
  67. 2
      unpackage/dist/build/mp-weixin/common/runtime.js
  68. 6
      unpackage/dist/build/mp-weixin/common/vendor.js
  69. 4
      unpackage/dist/build/mp-weixin/components/Authorize.js
  70. 2
      unpackage/dist/build/mp-weixin/components/Authorize.wxml
  71. 2
      unpackage/dist/build/mp-weixin/components/Authorize.wxss
  72. 4
      unpackage/dist/build/mp-weixin/components/mehaotian-search-revision/mehaotian-search-revision.js
  73. 2
      unpackage/dist/build/mp-weixin/components/mehaotian-search-revision/mehaotian-search-revision.wxss
  74. 4
      unpackage/dist/build/mp-weixin/components/mpvue-citypicker/mpvueCityPicker.js
  75. 10
      unpackage/dist/build/mp-weixin/components/uni-badge/components/uni-badge/uni-badge.js
  76. 4
      unpackage/dist/build/mp-weixin/components/uni-badge/components/uni-badge/uni-badge.json
  77. 1
      unpackage/dist/build/mp-weixin/components/uni-badge/components/uni-badge/uni-badge.wxml
  78. 1
      unpackage/dist/build/mp-weixin/components/uni-badge/components/uni-badge/uni-badge.wxss
  79. 2
      unpackage/dist/build/mp-weixin/pages/goods/HM-search/HM-search.js
  80. 2
      unpackage/dist/build/mp-weixin/pages/goods/HM-search/HM-search.wxml
  81. 4
      unpackage/dist/build/mp-weixin/pages/goods/HM-search/HM-search.wxss
  82. 2
      unpackage/dist/build/mp-weixin/pages/goods/coupon-details/coupon-details.js
  83. 2
      unpackage/dist/build/mp-weixin/pages/goods/coupon-details/coupon-details.wxml
  84. 2
      unpackage/dist/build/mp-weixin/pages/goods/coupon-details/coupon-details.wxss
  85. 1
      unpackage/dist/build/mp-weixin/pages/goods/coupons-info-details/coupons-info-details.js
  86. 5
      unpackage/dist/build/mp-weixin/pages/goods/coupons-info-details/coupons-info-details.json
  87. 1
      unpackage/dist/build/mp-weixin/pages/goods/coupons-info-details/coupons-info-details.wxml
  88. 1
      unpackage/dist/build/mp-weixin/pages/goods/coupons-info-details/coupons-info-details.wxss
  89. 2
      unpackage/dist/build/mp-weixin/pages/goods/goods-list/goods-list.js
  90. 2
      unpackage/dist/build/mp-weixin/pages/goods/goods-list/goods-list.wxss
  91. 2
      unpackage/dist/build/mp-weixin/pages/goods/goods.js
  92. 2
      unpackage/dist/build/mp-weixin/pages/goods/goods.wxml
  93. 8
      unpackage/dist/build/mp-weixin/pages/goods/goods.wxss
  94. 2
      unpackage/dist/build/mp-weixin/pages/goods/ratings/ratings.js
  95. 2
      unpackage/dist/build/mp-weixin/pages/goods/ratings/ratings.wxss
  96. 2
      unpackage/dist/build/mp-weixin/pages/goods/recording/recording.js
  97. 2
      unpackage/dist/build/mp-weixin/pages/goods/recording/recording.wxml
  98. 2
      unpackage/dist/build/mp-weixin/pages/goods/recording/recording.wxss
  99. 2
      unpackage/dist/build/mp-weixin/pages/goods/store-list/store-details.js
  100. 2
      unpackage/dist/build/mp-weixin/pages/goods/store-list/store-details.wxml
  101. Some files were not shown because too many files have changed in this diff Show More

@ -3,7 +3,7 @@
globalData: {
url: 'https://hsgcs.dctpay.com/crest',
// url: 'http://192.168.3.4:9301/crest',
// url: 'http://192.168.3.21:9301/crest',
// url: 'http://192.168.12.53.21:9301/crest',
brestUrl : 'https://hsgcs.dctpay.com/brest',
imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
userInfo: "",
@ -12,7 +12,9 @@
code: '',
token: '',
brestToken:'',
cityId: ''
cityId: '',
longitude : '',
latitude : ''
},
onLaunch: function() {
},

@ -35,10 +35,18 @@ export const OpenidGetUser = (openId, params) => {
export const getCouponList = params => {
return POST('GET', `${base}/coupon/getCouponList`, params).then(res => res.data);
};
//根据卡券id获取门店信息
//获取门店信息
export const getStoreListByCoupon = params => {
return POST('GET', `${base}/highMerchantStore/getStoreListByCoupon`, params).then(res => res.data);
}
//根据门店ID 获取门店详情
export const getMerchantStoreById = params => {
return POST('GET', `${base}/highMerchantStore/getMerchantStoreById`, params).then(res => res.data);
}
//根据门店ID 获取卡券
export const getCouponListByStoreId = params => {
return POST('GET', `${base}/coupon/getCouponListByStoreId`, params).then(res => res.data);
}
//卡券详情
export const getCouponById = params => {
return POST('GET', `${base}/coupon/getCouponById`, params).then(res => res.data);
@ -79,10 +87,38 @@ export const cancelOrder = params => {
export const getOrderById = params => {
return POST('GET', `${base}/highOrder/getOrderById`, params).then(res => res.data);
}
// 门店登录
//获取商户列表
export const getMerchantList = params => {
return POST('GET', `${base}/highMerchantStore/getMerchantList`, params).then(res => res.data);
}
//首页获取门店
export const getStoreListByMerchant = params => {
return POST('GET', `${base}/highMerchantStore/getStoreListByMerchant`, params).then(res => res.data);
}
//获取优惠券详情
export const getDiscountByQrCode = params => {
return POST('GET', `${base}/discount/getDiscountByQrCode`, params).then(res => res.data);
}
//领取优惠券
export const receiveDiscount = params => {
return POST('POST', `${base}/userDiscount/receiveDiscount`, params).then(res => res.data);
}
// 根据优惠券查卡券
export const getCouponByDiscount = params => {
return POST('GET', `${base}/discount/getCouponByDiscount`, params).then(res => res.data);
}
//查询我的优惠券
export const getUserDiscountList = params => {
return POST('GET', `${base}/userDiscount/getUserDiscountList`, params).then(res => res.data);
}
//我的优惠券查详情
export const getDiscountByUserDiscountId = params => {
return POST('GET', `${base}/userDiscount/getDiscountByUserDiscountId`, params).then(res => res.data);
}
//确认订单查优惠券
export const getUserNormalDiscountList = params => {
return POST('GET', `${base}/userDiscount/getUserNormalDiscountList`, params).then(res => res.data);
}
export const userLogin = params => {
return POST('POST', `${brestBase}/login/userLogin`, params).then(res => res.data);
}

@ -64,7 +64,7 @@
//
var code = res.code
//
wx.getUserInfo({
uni.getUserInfo({
success: function(res) {
let params = {
openId: app.globalData.openId,

@ -57,7 +57,7 @@
},
methods: {
setStyle() {
this.badgeStyle = `width: ${String(this.text).length * 8 + 12}px`
this.badgeStyle = `width: 20px`
},
onClick() {
this.$emit('click');

@ -293,7 +293,25 @@
}
}
],
,{
"path" : "pages/goods/coupons-info-details/coupons-info-details",
"style" :
{
"navigationBarTitleText": "优惠券详情",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/user/mineCouponsDestails/mineCouponsDestails",
"style" :
{
"navigationBarTitleText": "优惠券详情",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -131,7 +131,10 @@
title: '支付成功'
})
setTimeout(() => {
uni.navigateBack({})
// uni.navigateBack({})
uni.navigateTo({
url: '../../goods/coupon-details/coupon-details?id=' + item
})
}, 100)
},
fail: function(err) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,27 +1,28 @@
<template>
<view>
<view class="tabr" :style="{top:headerTop}">
<view :class="{on:typeClass=='valid'}" @tap="switchType('valid')">可用({{couponValidList.length}})</view><view :class="{on:typeClass=='invalid'}" @tap="switchType('invalid')">已失效</view>
<view :class="{on:typeClass=='valid'}" @tap="switchType('valid')">可用({{couponValidList.length}})</view>
<view :class="{on:typeClass=='invalid'}" @tap="switchType('invalid')">已失效</view>
<view class="border" :class="typeClass"></view>
</view>
<view class="place" ></view>
<view class="place"></view>
<view class="list">
<!-- 优惠券列表 -->
<view class="sub-list valid" :class="subState">
<view class="tis" v-if="couponValidList.length==0">没有数据~</view>
<view class="row" v-for="(row,index) in couponValidList" :key="index" >
<view class="row" v-for="(row,index) in couponValidList" :key="index">
<!-- 删除按钮 -->
<view class="menu" @tap.stop="deleteCoupon(row.id,couponValidList)">
<view class="icon shanchu"></view>
</view>
<!-- content -->
<view class="carrier" :class="[typeClass=='valid'?theIndex==index?'open':oldIndex==index?'close':'':'']" @touchstart="touchStart(index,$event)" @touchmove="touchMove(index,$event)" @touchend="touchEnd(index,$event)">
<view class="carrier">
<view class="left">
<view class="title">
{{row.title}}
{{row.highDiscount.discountName}}
</view>
<view class="term">
{{row.termStart}} ~ {{row.termEnd}}
截止时间:{{row.highDiscount.salesEndTime | formatDate('-')}}
</view>
<view class="gap-top"></view>
<view class="gap-bottom"></view>
@ -29,16 +30,16 @@
<view class="right">
<view class="ticket">
<view class="num">
{{row.ticket}}
{{row.highDiscount.discountPrice}}
</view>
<view class="unit">
</view>
</view>
<view class="criteria">
{{row.criteria}}
{{row.highDiscount.discountName}}
</view>
<view class="use">
<view class="use" @click="jumpcoupons(row.id)">
去使用
</view>
</view>
@ -47,22 +48,22 @@
</view>
<view class="sub-list invalid" :class="subState">
<view class="tis" v-if="couponinvalidList.length==0">没有数据~</view>
<view class="row" v-for="(row,index) in couponinvalidList" :key="index" >
<view class="row" v-for="(row,index) in couponinvalidList" :key="index">
<!-- 删除按钮 -->
<view class="menu" @tap.stop="deleteCoupon(row.id,couponinvalidList)">
<view class="icon shanchu"></view>
</view>
<!-- content -->
<view class="carrier" :class="[typeClass=='invalid'?theIndex==index?'open':oldIndex==index?'close':'':'']" @touchstart="touchStart(index,$event)" @touchmove="touchMove(index,$event)" @touchend="touchEnd(index,$event)">
<view class="carrier">
<view class="left">
<view class="title">
{{row.title}}
{{row.highDiscount.discountName}}
</view>
<view class="term">
{{row.termStart}} ~ {{row.termEnd}}
截止时间:{{row.highDiscount.salesEndTime | formatDate('-')}}
</view>
<view class="icon shixiao">
</view>
<view class="gap-top"></view>
<view class="gap-bottom"></view>
@ -70,148 +71,226 @@
<view class="right invalid">
<view class="ticket">
<view class="num">
{{row.ticket}}
{{row.highDiscount.discountPrice}}
</view>
<view class="unit">
</view>
</view>
<view class="criteria">
{{row.criteria}}
{{row.highDiscount.discountName}}
</view>
<view class="use">
去查看
已失效
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import {
getUserDiscountList
} from '../../../Utils/Api.js';
export default {
data() {
return {
couponValidList:[
{id:1,title:"日常用品立减10元",termStart:"2019-04-01",termEnd:"2019-05-30",ticket:"10",criteria:"满50使用"},
{id:2,title:"家用电器立减100元",termStart:"2019-04-01",termEnd:"2019-05-30",ticket:"100",criteria:"满500使用"},
{id:3,title:"全场立减10元",termStart:"2019-04-01",termEnd:"2019-05-30",ticket:"10",criteria:"无门槛"},
{id:4,title:"全场立减50元",termStart:"2019-04-01",termEnd:"2019-05-30",ticket:"50",criteria:"满1000使用"}
],
couponinvalidList:[
{id:1,title:"日常用品立减10元",termStart:"2019-04-01",termEnd:"2019-05-30",ticket:"10",criteria:"满50使用"},
{id:2,title:"家用电器立减100元",termStart:"2019-04-01",termEnd:"2019-05-30",ticket:"100",criteria:"满500使用"},
{id:3,title:"全场立减10元",termStart:"2019-04-01",termEnd:"2019-05-30",ticket:"10",criteria:"无门槛"},
{id:4,title:"全场立减50元",termStart:"2019-04-01",termEnd:"2019-05-30",ticket:"50",criteria:"满1000使用"}
],
headerTop:0,
couponValidList: [],
couponinvalidList: [],
headerTop: 0,
//
typeClass:'valid',
subState:'',
theIndex:null,
oldIndex:null,
isStop:false
typeClass: 'valid',
subState: '',
theIndex: null,
oldIndex: null,
isStop: false,
pageNum: 1,
pageSize: 10,
isNoMoreData: false,
loadingText: ''
}
},
onPageScroll(e){
onPageScroll(e) {
},
//page.json "enablePullDownRefresh": true
onPullDownRefresh() {
setTimeout(function () {
uni.stopPullDownRefresh();
}, 1000);
setTimeout(function() {
uni.stopPullDownRefresh();
}, 1000);
},
onLoad() {
this.getUserDiscountList(1);
//H5
// #ifdef H5
//onLoadhead
let Timer = setInterval(()=>{
let uniHead = document.getElementsByTagName('uni-page-head');
if(uniHead.length>0){
this.headerTop = uniHead[0].offsetHeight+'px';
clearInterval(Timer);//
}
},1);
//onLoadhead
let Timer = setInterval(() => {
let uniHead = document.getElementsByTagName('uni-page-head');
if (uniHead.length > 0) {
this.headerTop = uniHead[0].offsetHeight + 'px';
clearInterval(Timer); //
}
}, 1);
// #endif
},
filters: {
//
formatDate: function(value, spe = '/') {
let data = new Date(value);
let year = data.getFullYear();
let month = data.getMonth() + 1;
let day = data.getDate();
let h = data.getHours();
let mm = data.getMinutes();
let s = data.getSeconds();
month = month > 10 ? month : "0" + month;
day = day > 10 ? day : "0" + day;
h = h > 10 ? h : "0" + h;
mm = mm > 10 ? mm : "0" + mm;
s = s > 10 ? s : "0" + s;
return `${year}${spe}${month}${spe}${day} ${h}:${mm}:${s}`;
}
},
onReachBottom() {
if (this.typeClass == 'valid') {
this.pageNum = 1;
this.couponValidList = []
this.isNoMoreData = false;
this.getUserDiscountList(1);
} else {
this.pageNum = 1;
this.couponinvalidList = []
this.isNoMoreData = false;
this.getUserDiscountList(2);
}
},
methods: {
switchType(type){
if(this.typeClass==type){
return ;
//
getUserDiscountList(item) {
uni.showLoading({
title: '加载中...'
})
if (this.isNoMoreData) {
uni.hideLoading()
this.loadingText = '到底了';
return false;
}
let pagenum = this.pageNum;
let params = {
pageNum: pagenum,
status: item,
pageSize: this.pageSize
}
getUserDiscountList(params).then(res => {
if (res.return_code == '000000') {
uni.hideLoading();
this.isNoMoreData = res.return_data.list.length == this.pageSize ? false : true;
this.pageNum = res.return_data.list.length == this.pageSize ? ++pagenum : pagenum;
if (this.typeClass == 'valid') {
this.couponValidList = this.couponValidList.concat(res.return_data.list);
} else {
this.couponinvalidList = this.couponinvalidList.concat(res.return_data.list);
}
} else {
this.couponValidList = [];
this.couponinvalidList = [];
uni.hideLoading()
}
})
},
//
jumpcoupons(e) {
uni.navigateTo({
url: '../mineCouponsDestails/mineCouponsDestails?id='+e
})
},
switchType(type) {
if (this.typeClass == type) {
return;
}
uni.pageScrollTo({
scrollTop:0,
duration:0
scrollTop: 0,
duration: 0
})
this.typeClass = type;
this.subState = this.typeClass==''?'':'show'+type;
setTimeout(()=>{
this.subState = this.typeClass == '' ? '' : 'show' + type;
setTimeout(() => {
this.oldIndex = null;
this.theIndex = null;
this.subState = this.typeClass=='valid'?'':this.subState;
},200)
this.subState = this.typeClass == 'valid' ? '' : this.subState;
}, 200)
if (this.typeClass == 'valid') {
this.pageNum = 1;
this.couponValidList = []
this.isNoMoreData = false;
this.getUserDiscountList(1);
} else {
this.pageNum = 1;
this.couponinvalidList = []
this.isNoMoreData = false;
this.getUserDiscountList(2);
}
},
//-begin
touchStart(index,event){
touchStart(index, event) {
//
if(event.touches.length>1){
if (event.touches.length > 1) {
this.isStop = true;
return ;
return;
}
this.oldIndex = this.theIndex;
this.theIndex = null;
//
this.initXY = [event.touches[0].pageX,event.touches[0].pageY];
this.initXY = [event.touches[0].pageX, event.touches[0].pageY];
},
touchMove(index,event){
touchMove(index, event) {
//
if(event.touches.length>1){
if (event.touches.length > 1) {
this.isStop = true;
return ;
return;
}
let moveX = event.touches[0].pageX - this.initXY[0];
let moveY = event.touches[0].pageY - this.initXY[1];
if(this.isStop||Math.abs(moveX)<5){
return ;
if (this.isStop || Math.abs(moveX) < 5) {
return;
}
if (Math.abs(moveY) > Math.abs(moveX)){
if (Math.abs(moveY) > Math.abs(moveX)) {
// -
this.isStop = true;
return;
}
if(moveX<0){
if (moveX < 0) {
this.theIndex = index;
this.isStop = true;
}else if(moveX>0){
if(this.theIndex!=null&&this.oldIndex==this.theIndex){
} else if (moveX > 0) {
if (this.theIndex != null && this.oldIndex == this.theIndex) {
this.oldIndex = index;
this.theIndex = null;
this.isStop = true;
setTimeout(()=>{
setTimeout(() => {
this.oldIndex = null;
},150)
}, 150)
}
}
},
touchEnd(index,$event){
touchEnd(index, $event) {
//
this.isStop = false;
},
//
deleteCoupon(id,List){
deleteCoupon(id, List) {
let len = List.length;
for(let i=0;i<len;i++){
if(id==List[i].id){
for (let i = 0; i < len; i++) {
if (id == List[i].id) {
List.splice(i, 1);
break;
}
@ -219,30 +298,37 @@
this.oldIndex = null;
this.theIndex = null;
},
discard() {
//
}
}
}
</script>
<style lang="scss">
view{
view {
display: flex;
flex-wrap: wrap;
}
page{position: relative;background-color: #f5f5f5;}
.hidden{
page {
position: relative;
background-color: #f5f5f5;
}
.hidden {
display: none !important;
}
.place{
.place {
width: 100%;
height: 95upx;
}
.tabr{
.tabr {
background-color: #fff;
width: 94%;
height: 95upx;
@ -251,7 +337,8 @@
position: fixed;
top: 0;
z-index: 10;
view{
view {
width: 50%;
height: 90upx;
justify-content: center;
@ -259,57 +346,81 @@
font-size: 32upx;
color: #999;
}
.on{
.on {
color: #f06c7a;
}
.border{
.border {
height: 4upx;
background-color: #f06c7a;
transition: all .3s ease-out;
&.invalid{
transform: translate3d(100%,0,0);
&.invalid {
transform: translate3d(100%, 0, 0);
}
}
}
.list{
.list {
width: 100%;
display: block;
position: relative;
}
@keyframes showValid {
0% {transform: translateX(-100%);}100% {transform: translateX(0);}
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(0);
}
}
@keyframes showInvalid {
0% {transform: translateX(0);}100% {transform: translateX(-100%);}
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}
.sub-list{
&.invalid{
.sub-list {
&.invalid {
position: absolute;
top: 0;
left:100%;
left: 100%;
display: none;
}
&.showvalid{
&.showvalid {
display: flex;
animation: showValid 0.20s linear both;
}
&.showinvalid{
&.showinvalid {
display: flex;
animation: showInvalid 0.20s linear both;
}
width: 100%;
padding: 20upx 0 120upx 0;
.tis{
.tis {
width: 100%;
height: 60upx;
justify-content: center;
align-items: center;
font-size: 32upx;
}
.row{
.row {
width: 92%;
height: 24vw;
height: 24vw;
margin: 20upx auto 10upx auto;
border-radius: 8upx;
// box-shadow: 0upx 0 10upx rgba(0,0,0,0.1);
@ -318,11 +429,13 @@
overflow: hidden;
z-index: 4;
border: 0;
.menu{
.icon{
.menu {
.icon {
color: #fff;
font-size:50upx;
font-size: 50upx;
}
position: absolute;
width: 28%;
height: 100%;
@ -333,19 +446,36 @@
color: #fff;
z-index: 2;
}
.carrier{
.carrier {
@keyframes showMenu {
0% {transform: translateX(0);}100% {transform: translateX(-28%);}
0% {
transform: translateX(0);
}
100% {
transform: translateX(-28%);
}
}
@keyframes closeMenu {
0% {transform: translateX(-28%);}100% {transform: translateX(0);}
0% {
transform: translateX(-28%);
}
100% {
transform: translateX(0);
}
}
&.open{
&.open {
animation: showMenu 0.25s linear both;
}
&.close{
&.close {
animation: closeMenu 0.15s linear both;
}
background-color: #fff;
position: absolute;
width: 100%;
@ -353,22 +483,28 @@
height: 100%;
z-index: 3;
flex-wrap: nowrap;
.left{
.left {
width: 100%;
.title{
.title {
padding-top: 3vw;
width: 90%;
margin: 0 5%;
font-size: 36upx;
}
.term{
.term {
width: 90%;
margin: 0 5%;
font-size: 26upx;
color: #999;
}
position: relative;
.gap-top,.gap-bottom{
.gap-top,
.gap-bottom {
position: absolute;
width: 20upx;
height: 20upx;
@ -376,52 +512,68 @@
border-radius: 100%;
background-color: #f5f5f5;
}
.gap-top{
.gap-top {
top: -10upx;
}
.gap-bottom{
.gap-bottom {
bottom: -10upx;
}
.shixiao{
.shixiao {
position: absolute;
right: 20upx;
font-size: 150upx;
z-index: 6;
color: rgba(153,153,153,0.2)
color: rgba(153, 153, 153, 0.2)
}
}
.right{
.right {
flex-shrink: 0;
width: 28%;
color: #fff;
background:linear-gradient(to right,#ec625c,#ee827f);
&.invalid{
background:linear-gradient(to right,#aaa,#999);
.use{
background: linear-gradient(to right, #ec625c, #ee827f);
&.invalid {
background: linear-gradient(to right, #aaa, #999);
.use {
color: #aaa;
}
}
justify-content: center;
.ticket,.criteria{width: 100%;}
.ticket{
.ticket,
.criteria {
width: 100%;
}
.ticket {
padding-top: 1vw;
justify-content: center;
align-items: baseline;
height: 6vw;
.num{
.num {
font-size: 42upx;
font-weight: 600;
}
.unit{
.unit {
font-size: 24upx;
}
}
.criteria{
.criteria {
justify-content: center;
font-size: 28upx;
}
.use{
.use {
width: 50%;
height: 40upx;
justify-content: center;
@ -434,6 +586,7 @@
}
}
}
/*
<view class="carrier" :class="[theIndex==index?'open':oldIndex==index?'close':'']" @touchstart="touchStart(index,$event)" @touchmove="touchMove(index,$event)" @touchend="touchEnd(index,$event)">
<view class="left">
@ -465,5 +618,4 @@
* */
}
}
</style>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

@ -458,4 +458,8 @@ $uni-font-size-paragraph:30upx;
/* 展示样式 */
.displ {
display: inline-block;
}
.font12{
font-size: 12px;
}

@ -29,7 +29,9 @@
"pages/user/order_list/order_list",
"pages/user/order_details/order_details",
"pages/goods/recording/recording",
"pages/user/mineCoupons/mineCoupons"
"pages/user/mineCoupons/mineCoupons",
"pages/goods/coupons-info-details/coupons-info-details",
"pages/user/mineCouponsDestails/mineCouponsDestails"
],
"subPackages": [],
"window": {
@ -56,7 +58,7 @@
"pagePath": "pages/tabBar/category/category",
"iconPath": "static/img/tabBar/category.png",
"selectedIconPath": "static/img/tabBar/category-on.png",
"text": "分类"
"text": "导航"
},
{
"pagePath": "pages/tabBar/user/user",

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{a093:function(t,e,n){"use strict";n.r(e);var r=n("ed97");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("d555");var c,u,a,f,i=n("f0c5"),s=Object(i["a"])(r["default"],c,u,!1,null,null,null,!1,a,f);e["default"]=s.exports},bf06:function(t,e,n){},cd30:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={globalData:{url:"https://hsgcs.dctpay.com/crest",brestUrl:"https://hsgcs.dctpay.com/brest",imgUrl:"https://hsgcs.dctpay.com/filesystem/",userInfo:"",brestUserInfo:"",openId:"",code:"",token:"",brestToken:"",cityId:"500100"},onLaunch:function(){},onShow:function(){},onHide:function(){}};e.default=r},d555:function(t,e,n){"use strict";var r=n("bf06"),o=n.n(r);o.a},dd65:function(t,e,n){"use strict";(function(t){n("185d");var e=o(n("66fd")),r=o(n("a093"));function o(t){return t&&t.__esModule?t:{default:t}}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.default.config.productionTip=!1,r.default.mpType="app";var f=new e.default(u({},r.default));t(f).$mount()}).call(this,n("543d")["createApp"])},ed97:function(t,e,n){"use strict";n.r(e);var r=n("cd30"),o=n.n(r);for(var c in r)"default"!==c&&function(t){n.d(e,t,(function(){return r[t]}))}(c);e["default"]=o.a}},[["dd65","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"131b":function(e,t,n){"use strict";var r=n("aec9"),o=n.n(r);o.a},"7b24":function(e,t,n){"use strict";(function(e){n("eba6");var t=o(n("66fd")),r=o(n("9c54"));function o(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default.config.productionTip=!1,r.default.mpType="app";var i=new t.default(u({},r.default));e(i).$mount()}).call(this,n("543d")["createApp"])},"9c54":function(e,t,n){"use strict";n.r(t);var r=n("a8ce");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("131b");var c,u,a,i,f=n("f0c5"),l=Object(f["a"])(r["default"],c,u,!1,null,null,null,!1,a,i);t["default"]=l.exports},a8ce:function(e,t,n){"use strict";n.r(t);var r=n("de9a"),o=n.n(r);for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a},aec9:function(e,t,n){},de9a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={globalData:{url:"https://hsgcs.dctpay.com/crest",brestUrl:"https://hsgcs.dctpay.com/brest",imgUrl:"https://hsgcs.dctpay.com/filesystem/",userInfo:"",brestUserInfo:"",openId:"",code:"",token:"",brestToken:"",cityId:"",longitude:"",latitude:""},onLaunch:function(){},onShow:function(){},onHide:function(){}};t.default=r}},[["7b24","common/runtime","common/vendor"]]]);

File diff suppressed because one or more lines are too long

@ -1,4 +1,4 @@
!function(){try{var a=Function("return this")();a&&!a.Math&&(Object.assign(a,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterval}),"undefined"!=typeof Reflect&&(a.Reflect=Reflect))}catch(a){}}();
(function(e){function t(t){for(var n,o,u=t[0],c=t[1],s=t[2],l=0,p=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);m&&m(t);while(p.length)p.shift()();return a.push.apply(a,s||[]),r()}function r(){for(var e,t=0;t<a.length;t++){for(var r=a[t],n=!0,o=1;o<r.length;o++){var u=r[o];0!==i[u]&&(n=!1)}n&&(a.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={"common/runtime":0},i={"common/runtime":0},a=[];function u(e){return c.p+""+e+".js"}function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[],r={"components/Authorize":1,"components/mehaotian-search-revision/mehaotian-search-revision":1,"components/mpvue-citypicker/mpvueCityPicker":1};o[e]?t.push(o[e]):0!==o[e]&&r[e]&&t.push(o[e]=new Promise((function(t,r){for(var n=({"components/Authorize":"components/Authorize","components/mehaotian-search-revision/mehaotian-search-revision":"components/mehaotian-search-revision/mehaotian-search-revision","components/mpvue-citypicker/mpvueCityPicker":"components/mpvue-citypicker/mpvueCityPicker"}[e]||e)+".wxss",i=c.p+n,a=document.getElementsByTagName("link"),u=0;u<a.length;u++){var s=a[u],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===n||l===i))return t()}var p=document.getElementsByTagName("style");for(u=0;u<p.length;u++){s=p[u],l=s.getAttribute("data-href");if(l===n||l===i)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var n=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=n,delete o[e],m.parentNode.removeChild(m),r(a)},m.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(m)})).then((function(){o[e]=0})));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,r){n=i[e]=[t,r]}));t.push(n[2]=a);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,c.nc&&l.setAttribute("nonce",c.nc),l.src=u(e);var p=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(m);var r=i[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;p.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",p.name="ChunkLoadError",p.type=n,p.request=o,r[1](p)}i[e]=void 0}};var m=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw console.error(e),e};var s=global["webpackJsonp"]=global["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var p=0;p<s.length;p++)t(s[p]);var m=l;r()})([]);
(function(e){function t(t){for(var r,o,u=t[0],c=t[1],s=t[2],p=0,l=[];p<u.length;p++)o=u[p],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&l.push(i[o][0]),i[o]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);m&&m(t);while(l.length)l.shift()();return a.push.apply(a,s||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],r=!0,o=1;o<n.length;o++){var u=n[o];0!==i[u]&&(r=!1)}r&&(a.splice(t--,1),e=c(c.s=n[0]))}return e}var r={},o={"common/runtime":0},i={"common/runtime":0},a=[];function u(e){return c.p+""+e+".js"}function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[],n={"components/Authorize":1,"components/uni-badge/components/uni-badge/uni-badge":1,"components/mehaotian-search-revision/mehaotian-search-revision":1,"components/mpvue-citypicker/mpvueCityPicker":1};o[e]?t.push(o[e]):0!==o[e]&&n[e]&&t.push(o[e]=new Promise((function(t,n){for(var r=({"components/Authorize":"components/Authorize","components/uni-badge/components/uni-badge/uni-badge":"components/uni-badge/components/uni-badge/uni-badge","components/mehaotian-search-revision/mehaotian-search-revision":"components/mehaotian-search-revision/mehaotian-search-revision","components/mpvue-citypicker/mpvueCityPicker":"components/mpvue-citypicker/mpvueCityPicker"}[e]||e)+".wxss",i=c.p+r,a=document.getElementsByTagName("link"),u=0;u<a.length;u++){var s=a[u],p=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(p===r||p===i))return t()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){s=l[u],p=s.getAttribute("data-href");if(p===r||p===i)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var r=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=r,delete o[e],m.parentNode.removeChild(m),n(a)},m.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(m)})).then((function(){o[e]=0})));var r=i[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise((function(t,n){r=i[e]=[t,n]}));t.push(r[2]=a);var s,p=document.createElement("script");p.charset="utf-8",p.timeout=120,c.nc&&p.setAttribute("nonce",c.nc),p.src=u(e);var l=new Error;s=function(t){p.onerror=p.onload=null,clearTimeout(m);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",l.name="ChunkLoadError",l.type=r,l.request=o,n[1](l)}i[e]=void 0}};var m=setTimeout((function(){s({type:"timeout",target:p})}),12e4);p.onerror=p.onload=s,document.head.appendChild(p)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(n,r,function(t){return e[t]}.bind(null,r));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw console.error(e),e};var s=global["webpackJsonp"]=global["webpackJsonp"]||[],p=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var m=p;n()})([]);

File diff suppressed because one or more lines are too long

@ -1,9 +1,9 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Authorize"],{"0758":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement;t._self._c},u=[]},"0a4b":function(t,e,n){"use strict";n.r(e);var o=n("0758"),a=n("59bb");for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("f5e5");var r,i=n("f0c5"),c=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,"46b4a9d1",null,!1,o["a"],r);e["default"]=c.exports},"30bf":function(t,e,n){},"59bb":function(t,e,n){"use strict";n.r(e);var o=n("f094"),a=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=a.a},f094:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("524d"),a=getApp(),u={name:"Authorize",data:function(){return{isShowAuth:!1}},watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)}},created:function(){this.iscode()},methods:{iscode:function(){a.globalData.userInfo||(this.isShowAuth=!0)},getuserinfo:function(){t.showLoading({title:"正在登录中"});var e=this;wx.login({success:function(n){if(n.code){n.code;wx.getUserInfo({success:function(n){var u={openId:a.globalData.openId,iv:n.iv,encryptedData:n.encryptedData};(0,o.getUserInfo)(u).then((function(n){"000000"==n.return_code?(t.hideLoading(),a.globalData.userInfo=n.return_data.object.highUser,a.globalData.token=n.return_data.uniqueCode,e.isShowAuth=!1,t.setStorage({key:"user",data:n.return_data.object.highUser}),t.setStorage({key:"token",data:n.return_data.uniqueCode}),t.reLaunch({url:"/pages/tabBar/user/user"})):t.showToast({title:n.return_msg})}))},fail:function(e){t.showToast({title:"微信登录授权失败",icon:"none"})}})}}}),e.isShowAuth=!1},close:function(){t.reLaunch({url:"/pages/tabBar/home/home"})}}};e.default=u}).call(this,n("543d")["default"])},f5e5:function(t,e,n){"use strict";var o=n("30bf"),a=n.n(o);a.a}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Authorize"],{"4bac":function(t,e,n){"use strict";n.r(e);var o=n("dda5"),a=n("8245");for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("d906");var r,i=n("f0c5"),c=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,"0c7d56dc",null,!1,o["a"],r);e["default"]=c.exports},6399:function(t,e,n){},8245:function(t,e,n){"use strict";n.r(e);var o=n("bd67"),a=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=a.a},bd67:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("b528"),a=getApp(),u={name:"Authorize",data:function(){return{isShowAuth:!1}},watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)}},created:function(){this.iscode()},methods:{iscode:function(){a.globalData.userInfo||(this.isShowAuth=!0)},getuserinfo:function(){t.showLoading({title:"正在登录中"});var e=this;wx.login({success:function(n){if(n.code){n.code;t.getUserInfo({success:function(n){var u={openId:a.globalData.openId,iv:n.iv,encryptedData:n.encryptedData};(0,o.getUserInfo)(u).then((function(n){"000000"==n.return_code?(t.hideLoading(),a.globalData.userInfo=n.return_data.object.highUser,a.globalData.token=n.return_data.uniqueCode,e.isShowAuth=!1,t.setStorage({key:"user",data:n.return_data.object.highUser}),t.setStorage({key:"token",data:n.return_data.uniqueCode}),t.reLaunch({url:"/pages/tabBar/user/user"})):t.showToast({title:n.return_msg})}))},fail:function(e){t.showToast({title:"微信登录授权失败",icon:"none"})}})}}}),e.isShowAuth=!1},close:function(){t.reLaunch({url:"/pages/tabBar/home/home"})}}};e.default=u}).call(this,n("543d")["default"])},d906:function(t,e,n){"use strict";var o=n("6399"),a=n.n(o);a.a},dda5:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement;t._self._c},u=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/Authorize-create-component',
{
'components/Authorize-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("0a4b"))
__webpack_require__('543d')['createComponent'](__webpack_require__("4bac"))
})
},
[['components/Authorize-create-component']]

@ -1 +1 @@
<view class="data-v-46b4a9d1"><block wx:if="{{isShowAuth}}"><view class="Popup data-v-46b4a9d1"><view class="logo-auth data-v-46b4a9d1"><image src="../static/img/logo.png" mode="aspectFit" class="data-v-46b4a9d1"></image></view><view class="title data-v-46b4a9d1">授权提醒</view><view class="tip data-v-46b4a9d1">请授权头像等信息,以便为您提供更好的服务</view><view class="bottom flex data-v-46b4a9d1"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="item data-v-46b4a9d1" bindtap="__e">随便逛逛</view><button class="item grant data-v-46b4a9d1" type="primary" open-type="getUserInfo" lang="zh_CN" withCredentials="true" data-event-opts="{{[['getuserinfo',[['getuserinfo',['$event']]]]]}}" bindgetuserinfo="__e">去授权</button></view></view></block><block wx:if="{{isShowAuth}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mask data-v-46b4a9d1" bindtap="__e"></view></block></view>
<view class="data-v-0c7d56dc"><block wx:if="{{isShowAuth}}"><view class="Popup data-v-0c7d56dc"><view class="logo-auth data-v-0c7d56dc"><image src="../static/img/logo.png" mode="aspectFit" class="data-v-0c7d56dc"></image></view><view class="title data-v-0c7d56dc">授权提醒</view><view class="tip data-v-0c7d56dc">请授权头像等信息,以便为您提供更好的服务</view><view class="bottom flex data-v-0c7d56dc"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="item data-v-0c7d56dc" bindtap="__e">随便逛逛</view><button class="item grant data-v-0c7d56dc" type="primary" open-type="getUserInfo" lang="zh_CN" withCredentials="true" data-event-opts="{{[['getuserinfo',[['getuserinfo',['$event']]]]]}}" bindgetuserinfo="__e">去授权</button></view></view></block><block wx:if="{{isShowAuth}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mask data-v-0c7d56dc" bindtap="__e"></view></block></view>

File diff suppressed because one or more lines are too long

@ -1,9 +1,9 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mehaotian-search-revision/mehaotian-search-revision"],{"2c1c":function(t,i,e){"use strict";e.r(i);var n=e("5385"),u=e("7b0b");for(var a in u)"default"!==a&&function(t){e.d(i,t,(function(){return u[t]}))}(a);e("df73");var s,c=e("f0c5"),o=Object(c["a"])(u["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],s);i["default"]=o.exports},"4f08":function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={props:{mode:{value:Number,default:1},placeholder:{value:String,default:"请输入搜索内容"},value:{type:String,default:!1},button:{value:String,default:"outside"},show:{value:Boolean,default:!0},radius:{value:String,default:60}},data:function(){return{active:!1,inputVal:"",searchName:"取消",isDelShow:!1,isFocus:!0}},methods:{triggerConfirm:function(){this.$emit("confirm",!1)},inputChange:function(t){var i=t.detail.value;this.$emit("input",i),this.inputVal&&(this.isDelShow=!0)},focus:function(){this.active=!0,this.inputVal&&(this.isDelShow=!0)},blur:function(){console.log("blur"),this.isFocus=!1,this.inputVal||(this.active=!1)},clear:function(){t.hideKeyboard(),this.isFocus=!1,this.inputVal="",this.active=!1,this.$emit("input","")},getFocus:function(){this.isFocus||(this.isFocus=!0)},search:function(){if(!this.inputVal&&!this.show&&"取消"==this.searchName)return t.hideKeyboard(),this.isFocus=!1,void(this.active=!1);console.log(this.inputVal),this.$emit("search",this.inputVal?this.inputVal:this.placeholder)}},watch:{inputVal:function(t){t?this.searchName="搜索":(this.searchName="取消",this.isDelShow=!1)},value:function(t){this.inputVal=t}}};i.default=e}).call(this,e("543d")["default"])},5385:function(t,i,e){"use strict";var n;e.d(i,"b",(function(){return u})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){return n}));var u=function(){var t=this,i=t.$createElement;t._self._c},a=[]},"7b0b":function(t,i,e){"use strict";e.r(i);var n=e("4f08"),u=e.n(n);for(var a in n)"default"!==a&&function(t){e.d(i,t,(function(){return n[t]}))}(a);i["default"]=u.a},c0c2:function(t,i,e){},df73:function(t,i,e){"use strict";var n=e("c0c2"),u=e.n(n);u.a}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mehaotian-search-revision/mehaotian-search-revision"],{2522:function(t,i,e){"use strict";e.r(i);var n=e("4738"),a=e("f039");for(var u in a)"default"!==u&&function(t){e.d(i,t,(function(){return a[t]}))}(u);e("e404");var s,o=e("f0c5"),c=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],s);i["default"]=c.exports},4738:function(t,i,e){"use strict";var n;e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return u})),e.d(i,"a",(function(){return n}));var a=function(){var t=this,i=t.$createElement;t._self._c},u=[]},6041:function(t,i,e){},aa54:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={props:{mode:{value:Number,default:1},placeholder:{value:String,default:"请输入搜索内容"},value:{type:String,default:!1},button:{value:String,default:"outside"},show:{value:Boolean,default:!0},radius:{value:String,default:60}},data:function(){return{active:!1,inputVal:"",searchName:"取消",isDelShow:!1,isFocus:!0}},methods:{triggerConfirm:function(){this.$emit("confirm",!1)},inputChange:function(t){var i=t.detail.value;this.$emit("input",i),this.inputVal&&(this.isDelShow=!0)},focus:function(){this.active=!0,this.inputVal&&(this.isDelShow=!0)},blur:function(){console.log("blur"),this.isFocus=!1,this.inputVal||(this.active=!1)},clear:function(){t.hideKeyboard(),this.isFocus=!1,this.inputVal="",this.active=!1,this.$emit("input","")},getFocus:function(){this.isFocus||(this.isFocus=!0)},search:function(){if(!this.inputVal&&!this.show&&"取消"==this.searchName)return t.hideKeyboard(),this.isFocus=!1,void(this.active=!1);console.log(this.inputVal),this.$emit("search",this.inputVal?this.inputVal:this.placeholder)}},watch:{inputVal:function(t){t?this.searchName="搜索":(this.searchName="取消",this.isDelShow=!1)},value:function(t){this.inputVal=t}}};i.default=e}).call(this,e("543d")["default"])},e404:function(t,i,e){"use strict";var n=e("6041"),a=e.n(n);a.a},f039:function(t,i,e){"use strict";e.r(i);var n=e("aa54"),a=e.n(n);for(var u in n)"default"!==u&&function(t){e.d(i,t,(function(){return n[t]}))}(u);i["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/mehaotian-search-revision/mehaotian-search-revision-create-component',
{
'components/mehaotian-search-revision/mehaotian-search-revision-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("2c1c"))
__webpack_require__('543d')['createComponent'](__webpack_require__("2522"))
})
},
[['components/mehaotian-search-revision/mehaotian-search-revision-create-component']]

File diff suppressed because one or more lines are too long

@ -1,9 +1,9 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mpvue-citypicker/mpvueCityPicker"],{"094f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("a3ed")),u=n(i("63ef")),l=n(i("7d47"));function n(t){return t&&t.__esModule?t:{default:t}}var c={data:function(){return{pickerValue:[0,0,0],provinceDataList:[],cityDataList:[],areaDataList:[],showPicker:!1}},created:function(){this.init()},props:{pickerValueDefault:{type:Array,default:function(){return[0,0,0]}},themeColor:String},watch:{pickerValueDefault:function(){this.init()}},methods:{init:function(){this.handPickValueDefault(),this.provinceDataList=a.default,this.cityDataList=u.default[this.pickerValueDefault[0]],this.areaDataList=l.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]],this.pickerValue=this.pickerValueDefault},show:function(){var t=this;setTimeout((function(){t.showPicker=!0}),0)},maskClick:function(){this.pickerCancel()},pickerCancel:function(){this.showPicker=!1,this._$emit("onCancel")},pickerConfirm:function(t){this.showPicker=!1,this._$emit("onConfirm")},showPickerView:function(){this.showPicker=!0},handPickValueDefault:function(){this.pickerValueDefault!==[0,0,0]&&(this.pickerValueDefault[0]>a.default.length-1&&(this.pickerValueDefault[0]=a.default.length-1),this.pickerValueDefault[1]>u.default[this.pickerValueDefault[0]].length-1&&(this.pickerValueDefault[1]=u.default[this.pickerValueDefault[0]].length-1),this.pickerValueDefault[2]>l.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]].length-1&&(this.pickerValueDefault[2]=l.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]].length-1))},pickerChange:function(t){var e=t.mp.detail.value;this.pickerValue[0]!==e[0]?(this.cityDataList=u.default[e[0]],this.areaDataList=l.default[e[0]][0],e[1]=0,e[2]=0):this.pickerValue[1]!==e[1]&&(this.areaDataList=l.default[e[0]][e[1]],e[2]=0),this.pickerValue=e,this._$emit("onChange")},_$emit:function(t){var e={label:this._getLabel(),value:this.pickerValue,cityCode:this._getCityCode()};this.$emit(t,e)},_getLabel:function(){var t=this.provinceDataList[this.pickerValue[0]].label+"-"+this.cityDataList[this.pickerValue[1]].label+"-"+this.areaDataList[this.pickerValue[2]].label;return t},_getCityCode:function(){return this.areaDataList[this.pickerValue[2]].value}}};e.default=c},"3c95":function(t,e,i){"use strict";i.r(e);var a=i("094f"),u=i.n(a);for(var l in a)"default"!==l&&function(t){i.d(e,t,(function(){return a[t]}))}(l);e["default"]=u.a},6900:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return l})),i.d(e,"a",(function(){return a}));var u=function(){var t=this,e=t.$createElement;t._self._c},l=[]},8459:function(t,e,i){},ba0b:function(t,e,i){"use strict";var a=i("8459"),u=i.n(a);u.a},fe29:function(t,e,i){"use strict";i.r(e);var a=i("6900"),u=i("3c95");for(var l in u)"default"!==l&&function(t){i.d(e,t,(function(){return u[t]}))}(l);i("ba0b");var n,c=i("f0c5"),r=Object(c["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],n);e["default"]=r.exports}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mpvue-citypicker/mpvueCityPicker"],{1834:function(t,e,i){},"20b8":function(t,e,i){"use strict";i.r(e);var a=i("9083"),u=i.n(a);for(var l in a)"default"!==l&&function(t){i.d(e,t,(function(){return a[t]}))}(l);e["default"]=u.a},4199:function(t,e,i){"use strict";var a=i("1834"),u=i.n(a);u.a},9083:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("28c0")),u=n(i("838f")),l=n(i("0721"));function n(t){return t&&t.__esModule?t:{default:t}}var r={data:function(){return{pickerValue:[0,0,0],provinceDataList:[],cityDataList:[],areaDataList:[],showPicker:!1}},created:function(){this.init()},props:{pickerValueDefault:{type:Array,default:function(){return[0,0,0]}},themeColor:String},watch:{pickerValueDefault:function(){this.init()}},methods:{init:function(){this.handPickValueDefault(),this.provinceDataList=a.default,this.cityDataList=u.default[this.pickerValueDefault[0]],this.areaDataList=l.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]],this.pickerValue=this.pickerValueDefault},show:function(){var t=this;setTimeout((function(){t.showPicker=!0}),0)},maskClick:function(){this.pickerCancel()},pickerCancel:function(){this.showPicker=!1,this._$emit("onCancel")},pickerConfirm:function(t){this.showPicker=!1,this._$emit("onConfirm")},showPickerView:function(){this.showPicker=!0},handPickValueDefault:function(){this.pickerValueDefault!==[0,0,0]&&(this.pickerValueDefault[0]>a.default.length-1&&(this.pickerValueDefault[0]=a.default.length-1),this.pickerValueDefault[1]>u.default[this.pickerValueDefault[0]].length-1&&(this.pickerValueDefault[1]=u.default[this.pickerValueDefault[0]].length-1),this.pickerValueDefault[2]>l.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]].length-1&&(this.pickerValueDefault[2]=l.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]].length-1))},pickerChange:function(t){var e=t.mp.detail.value;this.pickerValue[0]!==e[0]?(this.cityDataList=u.default[e[0]],this.areaDataList=l.default[e[0]][0],e[1]=0,e[2]=0):this.pickerValue[1]!==e[1]&&(this.areaDataList=l.default[e[0]][e[1]],e[2]=0),this.pickerValue=e,this._$emit("onChange")},_$emit:function(t){var e={label:this._getLabel(),value:this.pickerValue,cityCode:this._getCityCode()};this.$emit(t,e)},_getLabel:function(){var t=this.provinceDataList[this.pickerValue[0]].label+"-"+this.cityDataList[this.pickerValue[1]].label+"-"+this.areaDataList[this.pickerValue[2]].label;return t},_getCityCode:function(){return this.areaDataList[this.pickerValue[2]].value}}};e.default=r},d4a0:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return l})),i.d(e,"a",(function(){return a}));var u=function(){var t=this,e=t.$createElement;t._self._c},l=[]},d946:function(t,e,i){"use strict";i.r(e);var a=i("d4a0"),u=i("20b8");for(var l in u)"default"!==l&&function(t){i.d(e,t,(function(){return u[t]}))}(l);i("4199");var n,r=i("f0c5"),c=Object(r["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],n);e["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/mpvue-citypicker/mpvueCityPicker-create-component',
{
'components/mpvue-citypicker/mpvueCityPicker-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("fe29"))
__webpack_require__('543d')['createComponent'](__webpack_require__("d946"))
})
},
[['components/mpvue-citypicker/mpvueCityPicker-create-component']]

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-badge/components/uni-badge/uni-badge"],{"3c8c":function(t,e,n){"use strict";n.r(e);var u=n("d916"),c=n.n(u);for(var i in u)"default"!==i&&function(t){n.d(e,t,(function(){return u[t]}))}(i);e["default"]=c.a},"6e74":function(t,e,n){"use strict";n.r(e);var u=n("ebe8"),c=n("3c8c");for(var i in c)"default"!==i&&function(t){n.d(e,t,(function(){return c[t]}))}(i);n("c709");var a,r=n("f0c5"),o=Object(r["a"])(c["default"],u["b"],u["c"],!1,null,"7553cfd9",null,!1,u["a"],a);e["default"]=o.exports},"8cdc":function(t,e,n){},c709:function(t,e,n){"use strict";var u=n("8cdc"),c=n.n(u);c.a},d916:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"UniBadge",props:{type:{type:String,default:"default"},inverted:{type:Boolean,default:!1},text:{type:[String,Number],default:""},size:{type:String,default:"normal"}},data:function(){return{badgeStyle:""}},watch:{text:function(){this.setStyle()}},mounted:function(){this.setStyle()},methods:{setStyle:function(){this.badgeStyle="width: 20px"},onClick:function(){this.$emit("click")}}};e.default=u},ebe8:function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return u}));var c=function(){var t=this,e=t.$createElement;t._self._c},i=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uni-badge/components/uni-badge/uni-badge-create-component',
{
'components/uni-badge/components/uni-badge/uni-badge-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("6e74"))
})
},
[['components/uni-badge/components/uni-badge/uni-badge-create-component']]
]);

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

@ -0,0 +1 @@
<block wx:if="{{text}}"><text data-event-opts="{{[['tap',[['onClick']]]]}}" class="{{['uni-badge data-v-7553cfd9',inverted?'uni-badge--'+type+' uni-badge--'+size+' uni-badge--'+type+'-inverted':'uni-badge--'+type+' uni-badge--'+size]}}" style="{{(badgeStyle)}}" bindtap="__e">{{text}}</text></block>

File diff suppressed because one or more lines are too long

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/HM-search/HM-search"],{"16a2":function(t,e,o){"use strict";var i=o("faca"),n=o.n(i);n.a},2402:function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement;t._self._c},a=[]},"50d0":function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o("524d"),n=getApp(),a=function(){o.e("components/mehaotian-search-revision/mehaotian-search-revision").then(function(){return resolve(o("2c1c"))}.bind(null,o)).catch(o.oe)},r={data:function(){return{defaultKeyword:"",keyword:"",oldKeywordList:[],hotKeywordList:[],keywordList:[],forbid:"",isShowKeywordList:!1,imageUrl:n.globalData.imgUrl,productList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(){this.init()},components:{mSearch:a},onReachBottom:function(){this.getCouponList()},methods:{toGoods:function(e){t.navigateTo({url:"../../goods/goods?id="+e})},getCouponList:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var o=this.pageNum,a={regionId:n.globalData.cityId,pageNum:o,couponName:this.keyword,pageSize:this.pageSize};(0,i.getCouponList)(a).then((function(i){"000000"==i.return_code?(t.hideLoading(),e.isNoMoreData=i.return_data.list.length!=e.pageSize,e.pageNum=i.return_data.list.length==e.pageSize?++o:o,e.productList=e.productList.concat(i.return_data.list)):(e.productList=[],t.hideLoading())}))},init:function(){this.loadDefaultKeyword()},blur:function(){t.hideKeyboard()},loadDefaultKeyword:function(){this.defaultKeyword="默认关键字"},loadOldKeyword:function(){var e=this;t.getStorage({key:"OldKeys",success:function(t){var o=JSON.parse(t.data);e.oldKeywordList=o}})},inputChange:function(t){var e=t.detail?t.detail.value:t;if(!e)return this.keywordList=[],void(this.isShowKeywordList=!1);this.isShowKeywordList=!0,this.getCouponList()},drawCorrelativeKeyword:function(t,e){for(var o=t.length,i=[],n=0;n<o;n++){var a=t[n],r=a[0].replace(e,"<span style='color: #9f9f9f;'>"+e+"</span>");r="<div>"+r+"</div>";var s={keyword:a[0],htmlStr:r};i.push(s)}return i},setKeyword:function(t){this.keyword=this.keywordList[t].keyword},oldDelete:function(){var e=this;t.showModal({content:"确定清除历史搜索记录?",success:function(o){o.confirm?(console.log("用户点击确定"),e.oldKeywordList=[],t.removeStorage({key:"OldKeys"})):o.cancel&&console.log("用户点击取消")}})},hotToggle:function(){this.forbid=this.forbid?"":"_forbid"},doSearch:function(t){t=!1===t?this.keyword:t,this.keyword=t,this.pageNum=1,this.getCouponList()},saveKeyword:function(e){var o=this;t.getStorage({key:"OldKeys",success:function(i){var n=JSON.parse(i.data),a=n.indexOf(e);-1==a||n.splice(a,1),n.unshift(e),n.length>10&&n.pop(),t.setStorage({key:"OldKeys",data:JSON.stringify(n)}),o.oldKeywordList=n},fail:function(i){var n=[e];t.setStorage({key:"OldKeys",data:JSON.stringify(n)}),o.oldKeywordList=n}})}}};e.default=r}).call(this,o("543d")["default"])},"921b":function(t,e,o){"use strict";o.r(e);var i=o("2402"),n=o("c92d");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("16a2");var r,s=o("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],r);e["default"]=d.exports},c92d:function(t,e,o){"use strict";o.r(e);var i=o("50d0"),n=o.n(i);for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},f6b1:function(t,e,o){"use strict";(function(t){o("185d");i(o("66fd"));var e=i(o("921b"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,o("543d")["createPage"])},faca:function(t,e,o){}},[["f6b1","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/HM-search/HM-search"],{"2b54":function(t,e,o){"use strict";o.r(e);var i=o("917d"),n=o.n(i);for(var r in i)"default"!==r&&function(t){o.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"37c5":function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement;t._self._c},r=[]},7126:function(t,e,o){"use strict";(function(t){o("eba6");i(o("66fd"));var e=i(o("c48b"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,o("543d")["createPage"])},"917d":function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o("b528"),n=getApp(),r=function(){o.e("components/mehaotian-search-revision/mehaotian-search-revision").then(function(){return resolve(o("2522"))}.bind(null,o)).catch(o.oe)},a={data:function(){return{defaultKeyword:"",keyword:"",oldKeywordList:[],hotKeywordList:[],keywordList:[],forbid:"",isShowKeywordList:!1,imageUrl:n.globalData.imgUrl,productList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(){this.init()},components:{mSearch:r},onReachBottom:function(){this.getCouponList()},methods:{toGoods:function(e){t.navigateTo({url:"../../goods/goods?id="+e})},getCouponList:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var o=this.pageNum,r={regionId:n.globalData.cityId,pageNum:o,couponName:this.keyword,pageSize:this.pageSize};(0,i.getCouponList)(r).then((function(i){"000000"==i.return_code?(t.hideLoading(),e.isNoMoreData=i.return_data.list.length!=e.pageSize,e.pageNum=i.return_data.list.length==e.pageSize?++o:o,e.productList=e.productList.concat(i.return_data.list)):(e.productList=[],t.hideLoading())}))},init:function(){this.loadDefaultKeyword()},blur:function(){t.hideKeyboard()},loadDefaultKeyword:function(){this.defaultKeyword="默认关键字"},loadOldKeyword:function(){var e=this;t.getStorage({key:"OldKeys",success:function(t){var o=JSON.parse(t.data);e.oldKeywordList=o}})},inputChange:function(t){var e=t.detail?t.detail.value:t;if(!e)return this.keywordList=[],void(this.isShowKeywordList=!1);this.isShowKeywordList=!0,this.getCouponList()},drawCorrelativeKeyword:function(t,e){for(var o=t.length,i=[],n=0;n<o;n++){var r=t[n],a=r[0].replace(e,"<span style='color: #9f9f9f;'>"+e+"</span>");a="<div>"+a+"</div>";var s={keyword:r[0],htmlStr:a};i.push(s)}return i},setKeyword:function(t){this.keyword=this.keywordList[t].keyword},oldDelete:function(){var e=this;t.showModal({content:"确定清除历史搜索记录?",success:function(o){o.confirm?(console.log("用户点击确定"),e.oldKeywordList=[],t.removeStorage({key:"OldKeys"})):o.cancel&&console.log("用户点击取消")}})},hotToggle:function(){this.forbid=this.forbid?"":"_forbid"},doSearch:function(t){t=!1===t?this.keyword:t,this.keyword=t,this.pageNum=1,this.getCouponList()},saveKeyword:function(e){var o=this;t.getStorage({key:"OldKeys",success:function(i){var n=JSON.parse(i.data),r=n.indexOf(e);-1==r||n.splice(r,1),n.unshift(e),n.length>10&&n.pop(),t.setStorage({key:"OldKeys",data:JSON.stringify(n)}),o.oldKeywordList=n},fail:function(i){var n=[e];t.setStorage({key:"OldKeys",data:JSON.stringify(n)}),o.oldKeywordList=n}})}}};e.default=a}).call(this,o("543d")["default"])},"976b":function(t,e,o){"use strict";var i=o("c1df"),n=o.n(i);n.a},c1df:function(t,e,o){},c48b:function(t,e,o){"use strict";o.r(e);var i=o("37c5"),n=o("2b54");for(var r in n)"default"!==r&&function(t){o.d(e,t,(function(){return n[t]}))}(r);o("976b");var a,s=o("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],a);e["default"]=d.exports}},[["7126","common/runtime","common/vendor"]]]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/coupon-details/coupon-details"],{"31a2":function(t,e,o){"use strict";o.r(e);var n=o("856c"),a=o.n(n);for(var i in n)"default"!==i&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},7342:function(t,e,o){"use strict";var n;o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,o=(t._self._c,t.oneTime?t._f("formatDate")(t.oneTime,"-"):null),n=t.twoTime?t._f("formatDate")(t.twoTime,"-"):null,a=t.threeTime?t._f("formatDate")(t.threeTime,"-"):null;t.$mp.data=Object.assign({},{$root:{f0:o,f1:n,f2:a}})},i=[]},"76b9":function(t,e,o){"use strict";o.r(e);var n=o("7342"),a=o("31a2");for(var i in a)"default"!==i&&function(t){o.d(e,t,(function(){return a[t]}))}(i);o("e879");var u,r=o("f0c5"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],u);e["default"]=c.exports},"856c":function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o("524d"),a=getApp(),i={data:function(){return{couDesId:"",imageUrl:a.globalData.imgUrl,couponDesInfo:[],storeList:[],oneTime:"",twoTime:"",threeTime:"",pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(t){this.couDesId=t.id,this.getUserCouponDetail(),this.getStoreListByCoupon()},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=new Date(t),n=o.getFullYear(),a=o.getMonth()+1,i=o.getDate(),u=o.getHours(),r=o.getMinutes(),c=o.getSeconds();return a=a>10?a:"0"+a,i=i>10?i:"0"+i,u=u>10?u:"0"+u,r=r>10?r:"0"+r,c=c>10?c:"0"+c,"".concat(n).concat(e).concat(a).concat(e).concat(i," ").concat(u,":").concat(r,":").concat(c)}},onReachBottom:function(){this.getStoreListByCoupon()},methods:{getUserCouponDetail:function(){var e=this;t.showLoading({title:"加载中..."}),t.showLoading({});var o={couponId:this.couDesId};(0,n.getUserCouponDetail)(o).then((function(o){"000000"==o.return_code?(e.couponDesInfo=o.return_data,e.oneTime=o.return_data.couponCodeInfo.receiveTime,e.twoTime=o.return_data.couponCodeInfo.salesEndTime,e.threeTime=o.return_data.couponCodeInfo.consumeTime,t.hideLoading()):t.hideLoading()}))},seeloaction:function(e){t.openLocation({latitude:Number(e.latitude),longitude:Number(e.longitude),name:e.storeName,address:e.address})},getStoreListByCoupon:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var o=this.pageNum,a={pageNum:o,couponId:this.couDesId,pageSize:this.pageSize};(0,n.getStoreListByCoupon)(a).then((function(n){"000000"==n.return_code&&""!=n.return_data.list?(t.hideLoading(),e.isNoMoreData=n.return_data.list.length!=e.pageSize,e.pageNum=n.return_data.list.length==e.pageSize?++o:o,e.storeList=e.storeList.concat(n.return_data.list)):(e.storeList=[],t.hideLoading())}))},scan:function(){t.scanCode({success:function(t){console.log("条码类型:"+t.scanType),console.log("条码内容:"+t.result)}})}}};e.default=i}).call(this,o("543d")["default"])},bc39:function(t,e,o){"use strict";(function(t){o("185d");n(o("66fd"));var e=n(o("76b9"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,o("543d")["createPage"])},cc65:function(t,e,o){},e879:function(t,e,o){"use strict";var n=o("cc65"),a=o.n(n);a.a}},[["bc39","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/coupon-details/coupon-details"],{"22ef":function(t,e,o){"use strict";var n=o("3734"),a=o.n(n);a.a},"285c":function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o("b528"),a=getApp(),i={data:function(){return{couDesId:"",imageUrl:a.globalData.imgUrl,couponDesInfo:[],storeList:[],oneTime:"",twoTime:"",threeTime:""}},onLoad:function(t){this.couDesId=t.id,this.getUserCouponDetail(),this.getStoreListByCoupon()},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=new Date(t),n=o.getFullYear(),a=o.getMonth()+1,i=o.getDate(),u=o.getHours(),c=o.getMinutes(),r=o.getSeconds();return a=a>10?a:"0"+a,i=i>10?i:"0"+i,u=u>10?u:"0"+u,c=c>10?c:"0"+c,r=r>10?r:"0"+r,"".concat(n).concat(e).concat(a).concat(e).concat(i," ").concat(u,":").concat(c,":").concat(r)}},onReachBottom:function(){this.getStoreListByCoupon()},methods:{getUserCouponDetail:function(){var e=this;t.showLoading({title:"加载中..."});var o={couponId:this.couDesId};(0,n.getUserCouponDetail)(o).then((function(o){"000000"==o.return_code?(e.couponDesInfo=o.return_data,e.oneTime=o.return_data.couponCodeInfo.receiveTime,e.twoTime=o.return_data.couponCodeInfo.salesEndTime,e.threeTime=o.return_data.couponCodeInfo.consumeTime,t.hideLoading()):t.hideLoading()}))},seeloaction:function(e){t.openLocation({latitude:Number(e.latitude),longitude:Number(e.longitude),name:e.storeName,address:e.address})},getStoreListByCoupon:function(){var e=this;t.showLoading({title:"加载中..."});var o={couponId:this.couDesId,longitude:a.globalData.longitude,latitude:a.globalData.latitude};(0,n.getStoreListByCoupon)(o).then((function(o){"000000"==o.return_code&&""!=o.return_data.list?(t.hideLoading(),e.storeList=o.return_data):(e.storeList=[],t.hideLoading())}))},scan:function(){t.scanCode({success:function(t){console.log("条码类型:"+t.scanType),console.log("条码内容:"+t.result)}})}}};e.default=i}).call(this,o("543d")["default"])},3734:function(t,e,o){},"478b":function(t,e,o){"use strict";(function(t){o("eba6");n(o("66fd"));var e=n(o("6697"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,o("543d")["createPage"])},6697:function(t,e,o){"use strict";o.r(e);var n=o("9c79"),a=o("9e78");for(var i in a)"default"!==i&&function(t){o.d(e,t,(function(){return a[t]}))}(i);o("22ef");var u,c=o("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],u);e["default"]=r.exports},"9c79":function(t,e,o){"use strict";var n;o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,o=(t._self._c,t.oneTime?t._f("formatDate")(t.oneTime,"-"):null),n=t.twoTime?t._f("formatDate")(t.twoTime,"-"):null,a=t.threeTime?t._f("formatDate")(t.threeTime,"-"):null;t.$mp.data=Object.assign({},{$root:{f0:o,f1:n,f2:a}})},i=[]},"9e78":function(t,e,o){"use strict";o.r(e);var n=o("285c"),a=o.n(n);for(var i in n)"default"!==i&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a}},[["478b","common/runtime","common/vendor"]]]);

File diff suppressed because one or more lines are too long

@ -1 +1 @@
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.coupon-status{height:35px;line-height:35px}.coupon-cont{height:130px;margin-bottom:10px}.coupon-mes{margin-right:90px}.coupon-img{width:80px;height:80px;margin-top:10px}.coupon-qr{width:150px;height:150px}.coupon-des{width:80px;height:80px;text-align:center;color:#fff;font-size:28px;border-radius:10px;background-color:red}.coupon-cont-dh{margin-left:90px}.coupon-map image{width:45px;height:45px}.coupon-no{height:80px;line-height:80px;border:1px solid #b2b2b2;border-radius:10px}.coupne-btn{position:fixed;bottom:0;background-color:red;color:#fff}
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}.loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.coupon-status{height:35px;line-height:35px}.coupon-cont{height:100px;margin-bottom:10px}.coupon-mes{margin-right:90px}.coupon-img{width:80px;height:80px;margin-top:10px}.coupon-qr{width:150px;height:150px}.coupon-des{width:80px;height:80px;text-align:center;color:#fff;font-size:28px;-webkit-border-radius:10px;border-radius:10px;background-color:red}.coupon-cont-dh{margin-left:90px}.coupon-map image{width:45px;height:45px}.coupon-no{height:80px;line-height:80px;border:1px solid #b2b2b2;-webkit-border-radius:10px;border-radius:10px}.coupne-btn{position:fixed;bottom:0;background-color:red;color:#fff}

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/coupons-info-details/coupons-info-details"],{"0610":function(t,n,e){"use strict";e.r(n);var o=e("cb60"),i=e.n(o);for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},"0def":function(t,n,e){"use strict";(function(t){e("eba6");o(e("66fd"));var n=o(e("73bb"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},3244:function(t,n,e){"use strict";var o=e("fead"),i=e.n(o);i.a},"73bb":function(t,n,e){"use strict";e.r(n);var o=e("76dc"),i=e("0610");for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("3244");var u,c=e("f0c5"),r=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=r.exports},"76dc":function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t._f("formatDate")(t.salesEndTime,"-"));t.$mp.data=Object.assign({},{$root:{f0:e}})},a=[]},cb60:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("b528"),i=getApp(),a={data:function(){return{minecoupones:[],imageUrl:i.globalData.imgUrl,pageNum:1,pageSize:10,isNoMoreData:!1,couponsDetails:"",salesEndTime:"",codes:""}},filters:{formatDate:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",e=new Date(t),o=e.getFullYear(),i=e.getMonth()+1,a=e.getDate(),u=e.getHours(),c=e.getMinutes(),r=e.getSeconds();return i=i>10?i:"0"+i,a=a>10?a:"0"+a,u=u>10?u:"0"+u,c=c>10?c:"0"+c,r=r>10?r:"0"+r,"".concat(o).concat(n).concat(i).concat(n).concat(a)}},onLoad:function(t){this.codes=t.id,this.getDiscountByQrCode()},methods:{getDiscountByQrCode:function(){var t=this,n={code:this.codes};(0,o.getDiscountByQrCode)(n).then((function(n){"000000"==n.return_code&&(t.couponsDetails=n.return_data,t.salesEndTime=n.return_data.highDiscount.salesEndTime,t.getCouponByDiscount(n.return_data.highDiscount.id))}))},getCouponByDiscount:function(t){var n=this,e={discountId:t};(0,o.getCouponByDiscount)(e).then((function(t){"000000"==t.return_code&&(n.minecoupones=t.return_data)}))},receiveDiscount:function(){t.showLoading({title:"领取中..."});var n={discountAgentId:this.couponsDetails.id};(0,o.receiveDiscount)(n).then((function(n){"000000"==n.return_code?(t.hideLoading(),t.showToast({icon:"none",title:n.return_data,duration:2e3})):(t.hideLoading(),t.showToast({icon:"none",title:n.return_msg,duration:2e3}))}))},toGoods:function(n){t.navigateTo({url:"../goods?id="+n})}}};n.default=a}).call(this,e("543d")["default"])},fead:function(t,n,e){}},[["0def","common/runtime","common/vendor"]]]);

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "优惠券详情",
"enablePullDownRefresh": false,
"usingComponents": {}
}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}.coupon-cont{height:80px;margin-bottom:10px}.coupon-img{width:80px;height:80px;margin-top:10px}.product-list{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-flex-wrap:wrap;flex-wrap:wrap}.product-list .product{width:48%;-webkit-border-radius:20rpx;border-radius:20rpx;background-color:#fff;margin:0 0 15rpx 0;-webkit-box-shadow:0rpx 5rpx 25rpx rgba(0,0,0,.1);box-shadow:0rpx 5rpx 25rpx rgba(0,0,0,.1)}.product-list .product image{width:100%;-webkit-border-radius:20rpx 20rpx 0 0;border-radius:20rpx 20rpx 0 0}.product-list .product .name{width:92%;padding:10rpx 4%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-align:justify;overflow:hidden;font-size:30rpx}.product-list .product .info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;width:92%;padding:10rpx 4% 10rpx 4%}.product-list .product .info .price{color:#e65339;font-size:30rpx;font-weight:600}.product-list .product .info .slogan{color:#807c87;font-size:24rpx;text-decoration:line-through;margin-right:50px}.coupne-btn{position:fixed;bottom:0;background-color:red;color:#fff}

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/goods-list/goods-list"],{1521:function(o,t,i){"use strict";var e=i("eeb3"),s=i.n(e);s.a},"1db2":function(o,t,i){"use strict";i.r(t);var e=i("322e"),s=i("20a1");for(var n in s)"default"!==n&&function(o){i.d(t,o,(function(){return s[o]}))}(n);i("1521");var r,d=i("f0c5"),a=Object(d["a"])(s["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],r);t["default"]=a.exports},"20a1":function(o,t,i){"use strict";i.r(t);var e=i("92ec"),s=i.n(e);for(var n in e)"default"!==n&&function(o){i.d(t,o,(function(){return e[o]}))}(n);t["default"]=s.a},"322e":function(o,t,i){"use strict";var e;i.d(t,"b",(function(){return s})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return e}));var s=function(){var o=this,t=o.$createElement;o._self._c},n=[]},"92ec":function(o,t,i){"use strict";(function(o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={data:function(){return{goodsList:[{goods_id:0,img:"/static/img/goods/p1.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:1,img:"/static/img/goods/p2.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:2,img:"/static/img/goods/p3.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:3,img:"/static/img/goods/p4.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:4,img:"/static/img/goods/p5.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:5,img:"/static/img/goods/p6.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:6,img:"/static/img/goods/p7.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:7,img:"/static/img/goods/p8.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:8,img:"/static/img/goods/p9.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:9,img:"/static/img/goods/p10.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"}],loadingText:"正在加载...",headerTop:"0px",headerPosition:"fixed",orderbyList:[{text:"销量",selected:!0,orderbyicon:!1,orderby:0},{text:"价格",selected:!1,orderbyicon:["sheng","jiang"],orderby:0},{text:"好评",selected:!1,orderbyicon:!1,orderby:0}],orderby:"sheng"}},onLoad:function(t){console.log(t.cid),o.setNavigationBarTitle({title:t.name})},onPageScroll:function(o){o.scrollTop>=0?this.headerPosition="fixed":this.headerPosition="absolute"},onPullDownRefresh:function(){var t=this;setTimeout((function(){t.reload(),o.stopPullDownRefresh()}),1e3)},onReachBottom:function(){o.showToast({title:"触发上拉加载"});var t=this.goodsList.length;if(t>=40)return this.loadingText="到底了",!1;this.loadingText="正在加载...";for(var i=this.goodsList[t-1].goods_id,e=1;e<=10;e++){var s=i+e,n={goods_id:s,img:"/static/img/goods/p"+(s%10==0?10:s%10)+".jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"};this.goodsList.push(n)}},methods:{reload:function(){console.log("reload");this.goodsList=[];for(var o=0,t=1;t<=10;t++){var i=o+t,e={goods_id:i,img:"/static/img/goods/p"+(i%10==0?10:i%10)+".jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"};this.goodsList.push(e)}},toGoods:function(t){o.showToast({title:"商品"+t.goods_id,icon:"none"}),o.navigateTo({url:"../goods"})},select:function(t){var i=this.orderbyList[t].text+"排序 ";if(this.orderbyList[t].orderbyicon){var e=0==this.orderbyList[t].orderby?"升序":"降序";this.orderbyList[t].selected&&(e=0==this.orderbyList[t].orderby?"降序":"升序",this.orderbyList[t].orderby=0==this.orderbyList[t].orderby?1:0),i+=e}this.orderbyList[t].selected=!0;for(var s=this.orderbyList.length,n=0;n<s;n++)n!=t&&(this.orderbyList[n].selected=!1);o.showToast({title:i,icon:"none"})}}};t.default=i}).call(this,i("543d")["default"])},"9ac5":function(o,t,i){"use strict";(function(o){i("185d");e(i("66fd"));var t=e(i("1db2"));function e(o){return o&&o.__esModule?o:{default:o}}o(t.default)}).call(this,i("543d")["createPage"])},eeb3:function(o,t,i){}},[["9ac5","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/goods-list/goods-list"],{"25c2":function(o,t,i){"use strict";i.r(t);var e=i("3c3e"),s=i("4b49");for(var n in s)"default"!==n&&function(o){i.d(t,o,(function(){return s[o]}))}(n);i("d2c1");var r,d=i("f0c5"),a=Object(d["a"])(s["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],r);t["default"]=a.exports},"3c3e":function(o,t,i){"use strict";var e;i.d(t,"b",(function(){return s})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return e}));var s=function(){var o=this,t=o.$createElement;o._self._c},n=[]},"4b49":function(o,t,i){"use strict";i.r(t);var e=i("b34c"),s=i.n(e);for(var n in e)"default"!==n&&function(o){i.d(t,o,(function(){return e[o]}))}(n);t["default"]=s.a},"964d":function(o,t,i){},b34c:function(o,t,i){"use strict";(function(o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={data:function(){return{goodsList:[{goods_id:0,img:"/static/img/goods/p1.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:1,img:"/static/img/goods/p2.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:2,img:"/static/img/goods/p3.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:3,img:"/static/img/goods/p4.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:4,img:"/static/img/goods/p5.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:5,img:"/static/img/goods/p6.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:6,img:"/static/img/goods/p7.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:7,img:"/static/img/goods/p8.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:8,img:"/static/img/goods/p9.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"},{goods_id:9,img:"/static/img/goods/p10.jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"}],loadingText:"正在加载...",headerTop:"0px",headerPosition:"fixed",orderbyList:[{text:"销量",selected:!0,orderbyicon:!1,orderby:0},{text:"价格",selected:!1,orderbyicon:["sheng","jiang"],orderby:0},{text:"好评",selected:!1,orderbyicon:!1,orderby:0}],orderby:"sheng"}},onLoad:function(t){console.log(t.cid),o.setNavigationBarTitle({title:t.name})},onPageScroll:function(o){o.scrollTop>=0?this.headerPosition="fixed":this.headerPosition="absolute"},onPullDownRefresh:function(){var t=this;setTimeout((function(){t.reload(),o.stopPullDownRefresh()}),1e3)},onReachBottom:function(){o.showToast({title:"触发上拉加载"});var t=this.goodsList.length;if(t>=40)return this.loadingText="到底了",!1;this.loadingText="正在加载...";for(var i=this.goodsList[t-1].goods_id,e=1;e<=10;e++){var s=i+e,n={goods_id:s,img:"/static/img/goods/p"+(s%10==0?10:s%10)+".jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"};this.goodsList.push(n)}},methods:{reload:function(){console.log("reload");this.goodsList=[];for(var o=0,t=1;t<=10;t++){var i=o+t,e={goods_id:i,img:"/static/img/goods/p"+(i%10==0?10:i%10)+".jpg",name:"商品名称商品名称商品名称商品名称商品名称",price:"¥168",slogan:"1235人付款"};this.goodsList.push(e)}},toGoods:function(t){o.showToast({title:"商品"+t.goods_id,icon:"none"}),o.navigateTo({url:"../goods"})},select:function(t){var i=this.orderbyList[t].text+"排序 ";if(this.orderbyList[t].orderbyicon){var e=0==this.orderbyList[t].orderby?"升序":"降序";this.orderbyList[t].selected&&(e=0==this.orderbyList[t].orderby?"降序":"升序",this.orderbyList[t].orderby=0==this.orderbyList[t].orderby?1:0),i+=e}this.orderbyList[t].selected=!0;for(var s=this.orderbyList.length,n=0;n<s;n++)n!=t&&(this.orderbyList[n].selected=!1);o.showToast({title:i,icon:"none"})}}};t.default=i}).call(this,i("543d")["default"])},d2c1:function(o,t,i){"use strict";var e=i("964d"),s=i.n(e);s.a},f90b:function(o,t,i){"use strict";(function(o){i("eba6");e(i("66fd"));var t=e(i("25c2"));function e(o){return o&&o.__esModule?o:{default:o}}o(t.default)}).call(this,i("543d")["createPage"])}},[["f90b","common/runtime","common/vendor"]]]);

@ -1 +1 @@
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.icon{font-size:26rpx}.header{width:92%;padding:0 4%;height:79rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;position:fixed;top:0;z-index:10;background-color:#fff;border-bottom:solid 1rpx #eee}.header .target{width:20%;height:60rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:28rpx;margin-bottom:-2rpx;color:#aaa}.header .target.on{color:#555;border-bottom:4rpx solid #f06c7a;font-weight:600;font-size:30rpx}.place{background-color:#fff;height:100rpx}.goods-list .loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.goods-list .product-list{width:92%;padding:0 4% 3vw 4%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-flex-wrap:wrap;flex-wrap:wrap}.goods-list .product-list .product{width:48%;border-radius:20rpx;background-color:#fff;margin:0 0 15rpx 0;box-shadow:0rpx 5rpx 25rpx rgba(0,0,0,.1)}.goods-list .product-list .product image{width:100%;border-radius:20rpx 20rpx 0 0}.goods-list .product-list .product .name{width:92%;padding:10rpx 4%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-align:justify;overflow:hidden;font-size:30rpx}.goods-list .product-list .product .info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;width:92%;padding:10rpx 4% 10rpx 4%}.goods-list .product-list .product .info .price{color:#e65339;font-size:30rpx;font-weight:600}.goods-list .product-list .product .info .slogan{color:#807c87;font-size:24rpx}
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}.icon{font-size:26rpx}.header{width:92%;padding:0 4%;height:79rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;position:fixed;top:0;z-index:10;background-color:#fff;border-bottom:solid 1rpx #eee}.header .target{width:20%;height:60rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:28rpx;margin-bottom:-2rpx;color:#aaa}.header .target.on{color:#555;border-bottom:4rpx solid #f06c7a;font-weight:600;font-size:30rpx}.place{background-color:#fff;height:100rpx}.goods-list .loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.goods-list .product-list{width:92%;padding:0 4% 3vw 4%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-flex-wrap:wrap;flex-wrap:wrap}.goods-list .product-list .product{width:48%;-webkit-border-radius:20rpx;border-radius:20rpx;background-color:#fff;margin:0 0 15rpx 0;-webkit-box-shadow:0rpx 5rpx 25rpx rgba(0,0,0,.1);box-shadow:0rpx 5rpx 25rpx rgba(0,0,0,.1)}.goods-list .product-list .product image{width:100%;-webkit-border-radius:20rpx 20rpx 0 0;border-radius:20rpx 20rpx 0 0}.goods-list .product-list .product .name{width:92%;padding:10rpx 4%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-align:justify;overflow:hidden;font-size:30rpx}.goods-list .product-list .product .info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;width:92%;padding:10rpx 4% 10rpx 4%}.goods-list .product-list .product .info .price{color:#e65339;font-size:30rpx;font-weight:600}.goods-list .product-list .product .info .slogan{color:#807c87;font-size:24rpx}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/ratings/ratings"],{"05a2":function(e,t,n){},"5e99":function(e,t,n){"use strict";n.r(t);var a=n("d6f1"),i=n("8977");for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("6ab1");var c,s=n("f0c5"),d=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],c);t["default"]=d.exports},6648:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{labelList:[{name:"全部",number:25,type:"all"},{name:"好评",number:23,type:"good"},{name:"中评",number:1,type:"secondary"},{name:"差评",number:1,type:"poor"},{name:"有图",number:12,type:"img"},{name:"视频",number:2,type:"video"},{name:"追加",number:2,type:"append"}],labelIndex:0,ratingsList:[{id:1,username:"大黑哥",face:"/static/img/face.jpg",date:"2019-04-21",spec:"规格: XL",grade:"good",first:{content:"好看,可以,不愧是专业的,才拿到手上就研究了半天才装上",img:["https://ae01.alicdn.com/kf/HTB1wREwTXzqK1RjSZFvq6AB7VXaT.jpg","https://ae01.alicdn.com/kf/HTB1sL7hTjDpK1RjSZFrq6y78VXaw.jpg","https://ae01.alicdn.com/kf/HTB111soTbvpK1RjSZPiq6zmwXXaB.jpg","https://ae01.alicdn.com/kf/HTB1O2TRTmzqK1RjSZPcq6zTepXa4.jpg"],video:[{img:"https://ae01.alicdn.com/kf/HTB1AMEBTcfpK1RjSZFOq6y6nFXaK.jpg",path:"https://mp4.vjshi.com/2018-12-28/1083f3db90334f86e3fc3586b4472914.mp4"}]},append:{date:65,content:"用了一段时间,质量很好,体验很流畅,推荐购买",img:["https://ae01.alicdn.com/kf/HTB1dKZtTgHqK1RjSZFEq6AGMXXaS.jpg","https://ae01.alicdn.com/kf/HTB18h3oTmzqK1RjSZFjq6zlCFXap.jpg"],video:[{img:"https://ae01.alicdn.com/kf/HTB1AMEBTcfpK1RjSZFOq6y6nFXaK.jpg",path:"https://mp4.vjshi.com/2017-06-17/ed1d63669bea39f5ef078c4e194291d6.mp4"}]}},{id:2,username:"小黑狗",face:"/static/img/face.jpg",date:"2019-04-21",spec:"规格: XL",grade:"secondary",first:{content:"好评,看图",img:["https://ae01.alicdn.com/kf/HTB111soTbvpK1RjSZPiq6zmwXXaB.jpg","https://ae01.alicdn.com/kf/HTB1O2TRTmzqK1RjSZPcq6zTepXa4.jpg"],video:[]}},{id:3,username:"小黑狗",face:"/static/img/face.jpg",date:"2019-04-21",spec:"规格: XL",grade:"poor",first:{content:"好评,看图",img:["https://ae01.alicdn.com/kf/HTB111soTbvpK1RjSZPiq6zmwXXaB.jpg","https://ae01.alicdn.com/kf/HTB1O2TRTmzqK1RjSZPcq6zTepXa4.jpg"],video:[]}},{id:3,username:"小黑狗",face:"/static/img/face.jpg",date:"2019-04-21",spec:"规格: XL",grade:"secondary",first:{content:"系统默认好评",img:[],video:[]}}],videoDirection:0,showFullscreenBtn:!0,showPlayBtn:!0,isPlayVideo:!0,videoSrc:""}},onReady:function(t){this.videoContext=e.createVideoContext("myVideo")},onPullDownRefresh:function(){setTimeout((function(){e.stopPullDownRefresh()}),1e3)},onReachBottom:function(){e.showToast({title:"触发上拉加载"})},methods:{loadRatings:function(t){this.labelIndex=t,e.showToast({title:"切换评论列表"})},playVideo:function(e){this.videoSrc=e,this.$nextTick((function(){this.videoContext.requestFullScreen({direction:0})}))},stopPlayVideo:function(){this.videoContext.pause()},videoPause:function(){this.videoSrc=""},viderFullscreen:function(e){e.detail.fullScreen?this.videoContext.play():this.stopPlayVideo()},showBigImg:function(t,n){e.previewImage({current:t,urls:n})}}};t.default=n}).call(this,n("543d")["default"])},"6ab1":function(e,t,n){"use strict";var a=n("05a2"),i=n.n(a);i.a},"7f0f":function(e,t,n){"use strict";(function(e){n("185d");a(n("66fd"));var t=a(n("5e99"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},8977:function(e,t,n){"use strict";n.r(t);var a=n("6648"),i=n.n(a);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},d6f1:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var i=function(){var e=this,t=e.$createElement;e._self._c},o=[]}},[["7f0f","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/ratings/ratings"],{"0e66":function(e,t,n){"use strict";(function(e){n("eba6");a(n("66fd"));var t=a(n("befc"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"26ba":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{labelList:[{name:"全部",number:25,type:"all"},{name:"好评",number:23,type:"good"},{name:"中评",number:1,type:"secondary"},{name:"差评",number:1,type:"poor"},{name:"有图",number:12,type:"img"},{name:"视频",number:2,type:"video"},{name:"追加",number:2,type:"append"}],labelIndex:0,ratingsList:[{id:1,username:"大黑哥",face:"/static/img/face.jpg",date:"2019-04-21",spec:"规格: XL",grade:"good",first:{content:"好看,可以,不愧是专业的,才拿到手上就研究了半天才装上",img:["https://ae01.alicdn.com/kf/HTB1wREwTXzqK1RjSZFvq6AB7VXaT.jpg","https://ae01.alicdn.com/kf/HTB1sL7hTjDpK1RjSZFrq6y78VXaw.jpg","https://ae01.alicdn.com/kf/HTB111soTbvpK1RjSZPiq6zmwXXaB.jpg","https://ae01.alicdn.com/kf/HTB1O2TRTmzqK1RjSZPcq6zTepXa4.jpg"],video:[{img:"https://ae01.alicdn.com/kf/HTB1AMEBTcfpK1RjSZFOq6y6nFXaK.jpg",path:"https://mp4.vjshi.com/2018-12-28/1083f3db90334f86e3fc3586b4472914.mp4"}]},append:{date:65,content:"用了一段时间,质量很好,体验很流畅,推荐购买",img:["https://ae01.alicdn.com/kf/HTB1dKZtTgHqK1RjSZFEq6AGMXXaS.jpg","https://ae01.alicdn.com/kf/HTB18h3oTmzqK1RjSZFjq6zlCFXap.jpg"],video:[{img:"https://ae01.alicdn.com/kf/HTB1AMEBTcfpK1RjSZFOq6y6nFXaK.jpg",path:"https://mp4.vjshi.com/2017-06-17/ed1d63669bea39f5ef078c4e194291d6.mp4"}]}},{id:2,username:"小黑狗",face:"/static/img/face.jpg",date:"2019-04-21",spec:"规格: XL",grade:"secondary",first:{content:"好评,看图",img:["https://ae01.alicdn.com/kf/HTB111soTbvpK1RjSZPiq6zmwXXaB.jpg","https://ae01.alicdn.com/kf/HTB1O2TRTmzqK1RjSZPcq6zTepXa4.jpg"],video:[]}},{id:3,username:"小黑狗",face:"/static/img/face.jpg",date:"2019-04-21",spec:"规格: XL",grade:"poor",first:{content:"好评,看图",img:["https://ae01.alicdn.com/kf/HTB111soTbvpK1RjSZPiq6zmwXXaB.jpg","https://ae01.alicdn.com/kf/HTB1O2TRTmzqK1RjSZPcq6zTepXa4.jpg"],video:[]}},{id:3,username:"小黑狗",face:"/static/img/face.jpg",date:"2019-04-21",spec:"规格: XL",grade:"secondary",first:{content:"系统默认好评",img:[],video:[]}}],videoDirection:0,showFullscreenBtn:!0,showPlayBtn:!0,isPlayVideo:!0,videoSrc:""}},onReady:function(t){this.videoContext=e.createVideoContext("myVideo")},onPullDownRefresh:function(){setTimeout((function(){e.stopPullDownRefresh()}),1e3)},onReachBottom:function(){e.showToast({title:"触发上拉加载"})},methods:{loadRatings:function(t){this.labelIndex=t,e.showToast({title:"切换评论列表"})},playVideo:function(e){this.videoSrc=e,this.$nextTick((function(){this.videoContext.requestFullScreen({direction:0})}))},stopPlayVideo:function(){this.videoContext.pause()},videoPause:function(){this.videoSrc=""},viderFullscreen:function(e){e.detail.fullScreen?this.videoContext.play():this.stopPlayVideo()},showBigImg:function(t,n){e.previewImage({current:t,urls:n})}}};t.default=n}).call(this,n("543d")["default"])},"38ea":function(e,t,n){},"82cf":function(e,t,n){"use strict";n.r(t);var a=n("26ba"),i=n.n(a);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},"8cd5":function(e,t,n){"use strict";var a=n("38ea"),i=n.n(a);i.a},befc:function(e,t,n){"use strict";n.r(t);var a=n("cf36"),i=n("82cf");for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("8cd5");var c,s=n("f0c5"),d=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],c);t["default"]=d.exports},cf36:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var i=function(){var e=this,t=e.$createElement;e._self._c},o=[]}},[["0e66","common/runtime","common/vendor"]]]);

File diff suppressed because one or more lines are too long

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/recording/recording"],{"07b6":function(t,e,n){"use strict";var a=n("387d"),o=n.n(a);o.a},"2b7f":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.recordInfo,(function(e,n){var a=t.__get_orig(e),o=t._f("formatDate")(e.createTime,"-");return{$orig:a,f0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},i=[]},"387d":function(t,e,n){},4248:function(t,e,n){"use strict";n.r(e);var a=n("2b7f"),o=n("73ec");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("07b6");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=u.exports},"73ec":function(t,e,n){"use strict";n.r(e);var a=n("8315"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},8315:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("524d"),o={data:function(){return{typeId:"",recordInfo:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(e){this.typeId=e.id,1==this.typeId?t.setNavigationBarTitle({title:"充值记录"}):t.setNavigationBarTitle({title:"消费记录"}),this.getUserGoldRecLists()},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(t),a=n.getFullYear(),o=n.getMonth()+1,i=n.getDate(),r=n.getHours(),c=n.getMinutes(),u=n.getSeconds();return o=o>10?o:"0"+o,i=i>10?i:"0"+i,r=r>10?r:"0"+r,c=c>10?c:"0"+c,u=u>10?u:"0"+u,"".concat(a).concat(e).concat(o).concat(e).concat(i," ").concat(r,":").concat(c,":").concat(u)}},onReachBottom:function(){this.getUserGoldRecLists()},methods:{getUserGoldRecLists:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var n=this.pageNum,o={pageNum:n,goldType:this.typeId,pageSize:this.pageSize};(0,a.getUserGoldRecList)(o).then((function(a){"000000"==a.return_code?(t.hideLoading(),e.isNoMoreData=a.return_data.list.length!=e.pageSize,e.pageNum=a.return_data.list.length==e.pageSize?++n:n,e.recordInfo=e.recordInfo.concat(a.return_data.list)):(e.recordInfo=[],t.hideLoading())}))}}};e.default=o}).call(this,n("543d")["default"])},fa3c:function(t,e,n){"use strict";(function(t){n("185d");a(n("66fd"));var e=a(n("4248"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["fa3c","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/recording/recording"],{"49f8":function(t,e,n){"use strict";(function(t){n("eba6");a(n("66fd"));var e=a(n("8aa3"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"5f32":function(t,e,n){},"668a":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.recordInfo,(function(e,n){var a=t.__get_orig(e),o=t._f("formatDate")(e.createTime,"-");return{$orig:a,f0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},i=[]},"7f55":function(t,e,n){"use strict";var a=n("5f32"),o=n.n(a);o.a},"87b3":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("b528"),o={data:function(){return{typeId:"",recordInfo:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},onLoad:function(e){this.typeId=e.id,1==this.typeId?t.setNavigationBarTitle({title:"充值记录"}):t.setNavigationBarTitle({title:"消费记录"}),this.getUserGoldRecLists()},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(t),a=n.getFullYear(),o=n.getMonth()+1,i=n.getDate(),r=n.getHours(),c=n.getMinutes(),u=n.getSeconds();return o=o>10?o:"0"+o,i=i>10?i:"0"+i,r=r>10?r:"0"+r,c=c>10?c:"0"+c,u=u>10?u:"0"+u,"".concat(a).concat(e).concat(o).concat(e).concat(i," ").concat(r,":").concat(c,":").concat(u)}},onReachBottom:function(){this.getUserGoldRecLists()},methods:{getUserGoldRecLists:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var n=this.pageNum,o={pageNum:n,goldType:this.typeId,pageSize:this.pageSize};(0,a.getUserGoldRecList)(o).then((function(a){"000000"==a.return_code?(t.hideLoading(),e.isNoMoreData=a.return_data.list.length!=e.pageSize,e.pageNum=a.return_data.list.length==e.pageSize?++n:n,e.recordInfo=e.recordInfo.concat(a.return_data.list)):(e.recordInfo=[],t.hideLoading())}))}}};e.default=o}).call(this,n("543d")["default"])},"8aa3":function(t,e,n){"use strict";n.r(e);var a=n("668a"),o=n("ae61");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("7f55");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=u.exports},ae61:function(t,e,n){"use strict";n.r(e);var a=n("87b3"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a}},[["49f8","common/runtime","common/vendor"]]]);

File diff suppressed because one or more lines are too long

@ -1 +1 @@
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}page{background-color:#f8f8f9}.loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.bordr{border-top:1px solid #fcfcfc}.height60{height:60px;line-height:60px}.pictime{margin-left:20px}.arrow{width:8px;height:8px;border-top:2px solid #999;border-right:2px solid #999;position:absolute;left:30%;top:22px;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.line1f2{width:100%;height:1px;background-color:#f2f2f2}
.font12{font-size:12px}.font13{font-size:13px}.font14{font-size:14px}.font15{font-size:15px}.font16{font-size:16px}.font18{font-size:18px}.font20{font-size:20px}.font24{font-size:24px}.font28{font-size:28px}.fontwig6{font-weight:600}.fontspec{letter-spacing:1px}.linehet{line-height:20px}.fotlt{text-align:left}.fotrt{text-align:right}.fotct{text-align:center}.margle{margin-left:6px}.marglerig{margin-right:5px}.verc{vertical-align:middle}.versub{vertical-align:sub}.text1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}.fcor333{color:#333}.fcorfff{color:#fff}.fcor666{color:#666}.fcor999{color:#b2b2b2}.fcor089{color:#089bf5}.fcoreb5{color:#eb5823}.fcorred{color:red}.fcor41c{color:#41cda2}.backcor9{background-color:#f6f6f6}.backcor9{background-color:#f6f6f6}.backcorf06{background-color:#f06c7a}.backcor89{background-color:#089bf5}.backcorfff{background-color:#fff}.backshare{background:transparent}.width90{width:90%;margin-left:5%}.width80{width:80%;margin-left:10%}.width70{width:70%}.width15{width:15%}.width50{width:50%}.width60{width:65%;margin-left:5%}.width30{width:30%}.width95{width:95%}.width100{width:100%}.bor-botm1{border-bottom:1px solid #f4f4f4}.height45{height:45px}.height40{height:40px}.height22{height:22px}.height100{height:100%}.height10{height:10px}.height60{height:60px}.height30{height:30px;line-height:30px}.height40{height:40px;line-height:40px}.height20{height:20px;line-height:20px}.height50{height:50px;line-height:50px}.mart90{margin-top:90px}.mart60{margin-top:60px}.mart50{margin-top:50px}.mart40{margin-top:40px}.mart30{margin-top:30px}.mart15{margin-top:15px}.mart20{margin-top:20px}.mart10{margin-top:10px}.mart5{margin-top:5px}.marb65{margin-bottom:65px}.marb50{margin-bottom:50px}.marb40{margin-bottom:40px}.marb30{margin-bottom:30px}.marb20{margin-bottom:20px}.marb10{margin-bottom:10px}.marb5{margin-bottom:5px}.paddtop10{padding-top:10px}.paading10{padding:10px}.paddtop13{padding-top:13px}.paddleft10{padding-left:10px}.padleft15{padding-left:15px}.paddtright10{padding-right:10px}.paddbotm10{padding-bottom:10px}.flleft{float:left}.flright{float:right}.btnw70{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;-webkit-border-radius:6px;border-radius:6px}.line1{height:1px;background-color:#f4f4f4}.line10{height:10px;background-color:#f4f4f4}.line1089{height:10px;background-color:#089bf5}.displ{display:inline-block}.font12{font-size:12px}page{background-color:#f8f8f9}.loading-text{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:60rpx;color:#979797;font-size:24rpx}.bordr{border-top:1px solid #fcfcfc}.height60{height:60px;line-height:60px}.pictime{margin-left:20px}.arrow{width:8px;height:8px;border-top:2px solid #999;border-right:2px solid #999;position:absolute;left:30%;top:22px;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.line1f2{width:100%;height:1px;background-color:#f2f2f2}

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/store-list/store-details"],{"3e42":function(t,n,e){},"636c":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return u}));var a=function(){var t=this,n=t.$createElement;t._self._c},o=[]},a079:function(t,n,e){"use strict";e.r(n);var u=e("636c"),a=e("f19b");for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("b915");var r,c=e("f0c5"),i=Object(c["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);n["default"]=i.exports},b05a:function(t,n,e){"use strict";(function(t){e("185d");u(e("66fd"));var n=u(e("a079"));function u(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},b915:function(t,n,e){"use strict";var u=e("3e42"),a=e.n(u);a.a},b976:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{}},methods:{jumpCoupondes:function(){t.navigateTo({url:"../coupon-details/coupon-details"})}}};n.default=e}).call(this,e("543d")["default"])},f19b:function(t,n,e){"use strict";e.r(n);var u=e("b976"),a=e.n(u);for(var o in u)"default"!==o&&function(t){e.d(n,t,(function(){return u[t]}))}(o);n["default"]=a.a}},[["b05a","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/store-list/store-details"],{"633c":function(t,e,n){"use strict";(function(t){n("eba6");a(n("66fd"));var e=a(n("7c1a"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"7c1a":function(t,e,n){"use strict";n.r(e);var a=n("ae1e"),o=n("8c2e");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("dd89");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=u.exports},"8c2e":function(t,e,n){"use strict";n.r(e);var a=n("c8c5"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},ae1e:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.menCoupnList,(function(e,n){var a=t.__get_orig(e),o=t._f("formatDate")(e.highCouponModel.salesEndTime,"-");return{$orig:a,f0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},i=[]},c8c5:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("b528"),o=getApp(),i={data:function(){return{imageUrl:o.globalData.imgUrl,merchanId:"",merchanList:"",distance:"",menCoupnList:[],pageNum:1,pageSize:10,isNoMoreData:!1,loadingText:""}},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=new Date(t),a=n.getFullYear(),o=n.getMonth()+1,i=n.getDate(),r=n.getHours(),c=n.getMinutes(),u=n.getSeconds();return o=o>10?o:"0"+o,i=i>10?i:"0"+i,r=r>10?r:"0"+r,c=c>10?c:"0"+c,u=u>10?u:"0"+u,"".concat(a).concat(e).concat(o).concat(e).concat(i," ").concat(r,":").concat(c,":").concat(u)}},onLoad:function(t){this.merchanId=t.id,this.distance=t.juli,this.getMerchantStoreById(),this.getCouponListByStoreId()},onReachBottom:function(){this.getCouponListByStoreId()},methods:{getMerchantStoreById:function(){var e=this;t.showLoading({title:"加载中..."});var n={id:this.merchanId};(0,a.getMerchantStoreById)(n).then((function(n){"000000"==n.return_code?(e.merchanList=n.return_data,t.hideLoading()):t.hideLoading()}))},jumpCoupondes:function(e){t.navigateTo({url:"../coupon-details/coupon-details?id="+e})},seeloaction:function(){t.openLocation({latitude:Number(this.merchanList.latitude),longitude:Number(this.merchanList.longitude),name:this.merchanList.storeName,address:this.merchanList.address})},getCouponListByStoreId:function(){var e=this;if(t.showLoading({title:"加载中..."}),this.isNoMoreData)return t.hideLoading(),this.loadingText="到底了",!1;var n=this.pageNum,o={pageNum:n,storeId:this.merchanId,pageSize:this.pageSize};(0,a.getCouponListByStoreId)(o).then((function(a){"000000"==a.return_code&&""!=a.return_data.list?(t.hideLoading(),e.isNoMoreData=a.return_data.list.length!=e.pageSize,e.pageNum=a.return_data.list.length==e.pageSize?++n:n,e.menCoupnList=e.menCoupnList.concat(a.return_data.list)):(e.menCoupnList=[],t.hideLoading())}))}}};e.default=i}).call(this,n("543d")["default"])},ca93:function(t,e,n){},dd89:function(t,e,n){"use strict";var a=n("ca93"),o=n.n(a);o.a}},[["633c","common/runtime","common/vendor"]]]);

File diff suppressed because one or more lines are too long

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

Loading…
Cancel
Save