소스 검색

Merge branch 'dev' of https://git.youlane.cn/weapp/C into dev

# Conflicts:
#	pages/scanPay/scanPay.js
tags/广东版3.2.1
meo 6 년 전
부모
커밋
16a20ecf80
100개의 변경된 파일13개의 추가작업 그리고 214개의 파일을 삭제
  1. +6
    -6
      app.json
  2. +0
    -0
      assets/images/home-n.png
  3. +0
    -0
      assets/images/home-y.png
  4. +0
    -0
      assets/images/pass0.png
  5. +0
    -0
      assets/images/pass1.png
  6. +0
    -0
      assets/images/user-n.png
  7. +0
    -0
      assets/images/user-y.png
  8. BIN
      assets/img/act.png
  9. BIN
      assets/img/active.gif
  10. BIN
      assets/img/add.png
  11. BIN
      assets/img/addr-white.png
  12. BIN
      assets/img/addr.png
  13. BIN
      assets/img/addresslogo.png
  14. BIN
      assets/img/alipay.png
  15. BIN
      assets/img/banner.png
  16. BIN
      assets/img/bg.png
  17. BIN
      assets/img/cardicon.png
  18. BIN
      assets/img/che.png
  19. BIN
      assets/img/choice.png
  20. BIN
      assets/img/choiced.png
  21. BIN
      assets/img/clock.png
  22. BIN
      assets/img/closed.png
  23. BIN
      assets/img/coupon.png
  24. BIN
      assets/img/ding.png
  25. BIN
      assets/img/dingdan.png
  26. BIN
      assets/img/down-white.png
  27. BIN
      assets/img/down.png
  28. BIN
      assets/img/edit.png
  29. BIN
      assets/img/fail.png
  30. BIN
      assets/img/fenxiang.png
  31. BIN
      assets/img/game.png
  32. BIN
      assets/img/gift.png
  33. BIN
      assets/img/gou.png
  34. BIN
      assets/img/grade.png
  35. BIN
      assets/img/grade1.png
  36. BIN
      assets/img/grade2.png
  37. BIN
      assets/img/grade3.png
  38. BIN
      assets/img/growthbg.png
  39. BIN
      assets/img/headbg.png
  40. BIN
      assets/img/jian.png
  41. BIN
      assets/img/jilu.png
  42. BIN
      assets/img/line.png
  43. BIN
      assets/img/lines.png
  44. BIN
      assets/img/liness.png
  45. BIN
      assets/img/loading.gif
  46. BIN
      assets/img/loading1.gif
  47. BIN
      assets/img/location.png
  48. BIN
      assets/img/logo.png
  49. BIN
      assets/img/mine.png
  50. BIN
      assets/img/myspeacial.jpg
  51. BIN
      assets/img/new.png
  52. BIN
      assets/img/orbg.png
  53. BIN
      assets/img/park.png
  54. BIN
      assets/img/parkCoupon.png
  55. BIN
      assets/img/phone.png
  56. BIN
      assets/img/platebg.png
  57. BIN
      assets/img/qidai.png
  58. BIN
      assets/img/qrcode.png
  59. BIN
      assets/img/quan.png
  60. BIN
      assets/img/quans.png
  61. BIN
      assets/img/ques_bg.png
  62. BIN
      assets/img/ques_gou.png
  63. BIN
      assets/img/quesimg01.png
  64. BIN
      assets/img/redirect.png
  65. BIN
      assets/img/right.png
  66. BIN
      assets/img/rule.png
  67. BIN
      assets/img/shanchu-gray.png
  68. BIN
      assets/img/shanchu.png
  69. BIN
      assets/img/shang.png
  70. BIN
      assets/img/share.png
  71. BIN
      assets/img/spcode.png
  72. BIN
      assets/img/spphone.png
  73. BIN
      assets/img/succ.png
  74. BIN
      assets/img/success.png
  75. BIN
      assets/img/sucsess.png
  76. BIN
      assets/img/tel.jpg
  77. BIN
      assets/img/tel.png
  78. BIN
      assets/img/telicon.png
  79. BIN
      assets/img/wechat.png
  80. BIN
      assets/img/wenti.png
  81. BIN
      assets/img/wm01.jpg
  82. BIN
      assets/img/wm02.jpg
  83. BIN
      assets/img/wm03.jpg
  84. +3
    -1
      components/banner/index.js
  85. +1
    -1
      components/banner/index.wxml
  86. +2
    -1
      components/discountCard/index.js
  87. +1
    -1
      components/discountCard/index.wxml
  88. +0
    -47
      dist/action-sheet/index.js
  89. +0
    -8
      dist/action-sheet/index.json
  90. +0
    -23
      dist/action-sheet/index.wxml
  91. +0
    -1
      dist/action-sheet/index.wxss
  92. +0
    -37
      dist/alert/index.js
  93. +0
    -7
      dist/alert/index.json
  94. +0
    -15
      dist/alert/index.wxml
  95. +0
    -1
      dist/alert/index.wxss
  96. +0
    -20
      dist/avatar/index.js
  97. +0
    -3
      dist/avatar/index.json
  98. +0
    -4
      dist/avatar/index.wxml
  99. +0
    -1
      dist/avatar/index.wxss
  100. +0
    -37
      dist/base/index.js

+ 6
- 6
app.json 파일 보기

@@ -50,20 +50,20 @@
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "assets/img/home-n.png",
"selectedIconPath": "assets/img/home-y.png",
"iconPath": "assets/images/home-n.png",
"selectedIconPath": "assets/images/home-y.png",
"text": "首页"
},
{
"pagePath": "pages/passCar/passCar",
"iconPath": "assets/img/pass1.png",
"selectedIconPath": "assets/img/pass0.png",
"iconPath": "assets/images/pass1.png",
"selectedIconPath": "assets/images/pass0.png",
"text": "停车"
},
{
"pagePath": "pages/user/index",
"iconPath": "assets/img/user-n.png",
"selectedIconPath": "assets/img/user-y.png",
"iconPath": "assets/images/user-n.png",
"selectedIconPath": "assets/images/user-y.png",
"text": "我的"
}
]


assets/img/home-n.png → assets/images/home-n.png 파일 보기


assets/img/home-y.png → assets/images/home-y.png 파일 보기


assets/img/pass0.png → assets/images/pass0.png 파일 보기


assets/img/pass1.png → assets/images/pass1.png 파일 보기


assets/img/user-n.png → assets/images/user-n.png 파일 보기


assets/img/user-y.png → assets/images/user-y.png 파일 보기


BIN
assets/img/act.png 파일 보기

Before After
Width: 240  |  Height: 240  |  Size: 7.1 KiB

BIN
assets/img/active.gif 파일 보기

Before After
Width: 175  |  Height: 101  |  Size: 32 KiB

BIN
assets/img/add.png 파일 보기

Before After
Width: 44  |  Height: 44  |  Size: 1.2 KiB

BIN
assets/img/addr-white.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 551 B

BIN
assets/img/addr.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 529 B

BIN
assets/img/addresslogo.png 파일 보기

Before After
Width: 14  |  Height: 18  |  Size: 415 B

BIN
assets/img/alipay.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 909 B

BIN
assets/img/banner.png 파일 보기

Before After
Width: 1500  |  Height: 280  |  Size: 13 KiB

BIN
assets/img/bg.png 파일 보기

Before After
Width: 1380  |  Height: 3200  |  Size: 22 KiB

BIN
assets/img/cardicon.png 파일 보기

Before After
Width: 40  |  Height: 40  |  Size: 710 B

BIN
assets/img/che.png 파일 보기

Before After
Width: 78  |  Height: 72  |  Size: 2.2 KiB

BIN
assets/img/choice.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 903 B

BIN
assets/img/choiced.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 922 B

BIN
assets/img/clock.png 파일 보기

Before After
Width: 225  |  Height: 77  |  Size: 7.2 KiB

BIN
assets/img/closed.png 파일 보기

Before After
Width: 47  |  Height: 98  |  Size: 1.4 KiB

BIN
assets/img/coupon.png 파일 보기

Before After
Width: 240  |  Height: 240  |  Size: 7.4 KiB

BIN
assets/img/ding.png 파일 보기

Before After
Width: 67  |  Height: 74  |  Size: 1.5 KiB

BIN
assets/img/dingdan.png 파일 보기

Before After
Width: 240  |  Height: 240  |  Size: 5.6 KiB

BIN
assets/img/down-white.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 517 B

BIN
assets/img/down.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 514 B

BIN
assets/img/edit.png 파일 보기

Before After
Width: 46  |  Height: 46  |  Size: 2.0 KiB

BIN
assets/img/fail.png 파일 보기

Before After
Width: 200  |  Height: 200  |  Size: 8.3 KiB

BIN
assets/img/fenxiang.png 파일 보기

Before After
Width: 128  |  Height: 128  |  Size: 3.2 KiB

BIN
assets/img/game.png 파일 보기

Before After
Width: 750  |  Height: 200  |  Size: 64 KiB

BIN
assets/img/gift.png 파일 보기

Before After
Width: 128  |  Height: 128  |  Size: 4.8 KiB

BIN
assets/img/gou.png 파일 보기

Before After
Width: 81  |  Height: 82  |  Size: 16 KiB

BIN
assets/img/grade.png 파일 보기

Before After
Width: 44  |  Height: 38  |  Size: 1.4 KiB

BIN
assets/img/grade1.png 파일 보기

Before After
Width: 45  |  Height: 38  |  Size: 1.3 KiB

BIN
assets/img/grade2.png 파일 보기

Before After
Width: 44  |  Height: 38  |  Size: 1.5 KiB

BIN
assets/img/grade3.png 파일 보기

Before After
Width: 45  |  Height: 38  |  Size: 1.5 KiB

BIN
assets/img/growthbg.png 파일 보기

Before After
Width: 1050  |  Height: 255  |  Size: 238 KiB

BIN
assets/img/headbg.png 파일 보기

Before After
Width: 587  |  Height: 272  |  Size: 55 KiB

BIN
assets/img/jian.png 파일 보기

Before After
Width: 66  |  Height: 66  |  Size: 1.1 KiB

BIN
assets/img/jilu.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 421 B

BIN
assets/img/line.png 파일 보기

Before After
Width: 1380  |  Height: 39  |  Size: 2.7 KiB

BIN
assets/img/lines.png 파일 보기

Before After
Width: 1380  |  Height: 33  |  Size: 1.5 KiB

BIN
assets/img/liness.png 파일 보기

Before After
Width: 1380  |  Height: 26  |  Size: 2.3 KiB

BIN
assets/img/loading.gif 파일 보기

Before After
Width: 260  |  Height: 238  |  Size: 440 KiB

BIN
assets/img/loading1.gif 파일 보기

Before After
Width: 137  |  Height: 148  |  Size: 56 KiB

BIN
assets/img/location.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 833 B

BIN
assets/img/logo.png 파일 보기

Before After
Width: 320  |  Height: 320  |  Size: 16 KiB

BIN
assets/img/mine.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 579 B

BIN
assets/img/myspeacial.jpg 파일 보기

Before After
Width: 750  |  Height: 316  |  Size: 36 KiB

BIN
assets/img/new.png 파일 보기

Before After
Width: 1420  |  Height: 360  |  Size: 256 KiB

BIN
assets/img/orbg.png 파일 보기

Before After
Width: 1500  |  Height: 120  |  Size: 7.4 KiB

BIN
assets/img/park.png 파일 보기

Before After
Width: 200  |  Height: 200  |  Size: 9.2 KiB

BIN
assets/img/parkCoupon.png 파일 보기

Before After
Width: 543  |  Height: 186  |  Size: 8.8 KiB

BIN
assets/img/phone.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 722 B

BIN
assets/img/platebg.png 파일 보기

Before After
Width: 541  |  Height: 159  |  Size: 52 KiB

BIN
assets/img/qidai.png 파일 보기

Before After
Width: 200  |  Height: 200  |  Size: 13 KiB

BIN
assets/img/qrcode.png 파일 보기

Before After
Width: 128  |  Height: 128  |  Size: 2.7 KiB

BIN
assets/img/quan.png 파일 보기

Before After
Width: 200  |  Height: 200  |  Size: 6.1 KiB

BIN
assets/img/quans.png 파일 보기

Before After
Width: 78  |  Height: 54  |  Size: 1.6 KiB

BIN
assets/img/ques_bg.png 파일 보기

Before After
Width: 587  |  Height: 50  |  Size: 3.8 KiB

BIN
assets/img/ques_gou.png 파일 보기

Before After
Width: 20  |  Height: 19  |  Size: 514 B

BIN
assets/img/quesimg01.png 파일 보기

Before After
Width: 93  |  Height: 112  |  Size: 10 KiB

BIN
assets/img/redirect.png 파일 보기

Before After
Width: 10  |  Height: 17  |  Size: 364 B

BIN
assets/img/right.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 332 B

BIN
assets/img/rule.png 파일 보기

Before After
Width: 200  |  Height: 200  |  Size: 6.9 KiB

BIN
assets/img/shanchu-gray.png 파일 보기

Before After
Width: 32  |  Height: 22  |  Size: 678 B

BIN
assets/img/shanchu.png 파일 보기

Before After
Width: 32  |  Height: 22  |  Size: 706 B

BIN
assets/img/shang.png 파일 보기

Before After
Width: 128  |  Height: 128  |  Size: 5.6 KiB

BIN
assets/img/share.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 510 B

BIN
assets/img/spcode.png 파일 보기

Before After
Width: 55  |  Height: 55  |  Size: 1.3 KiB

BIN
assets/img/spphone.png 파일 보기

Before After
Width: 43  |  Height: 44  |  Size: 1.3 KiB

BIN
assets/img/succ.png 파일 보기

Before After
Width: 145  |  Height: 128  |  Size: 3.1 KiB

BIN
assets/img/success.png 파일 보기

Before After
Width: 200  |  Height: 200  |  Size: 8.3 KiB

BIN
assets/img/sucsess.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 323 B

BIN
assets/img/tel.jpg 파일 보기

Before After
Width: 43  |  Height: 44  |  Size: 3.7 KiB

BIN
assets/img/tel.png 파일 보기

Before After
Width: 49  |  Height: 50  |  Size: 3.0 KiB

BIN
assets/img/telicon.png 파일 보기

Before After
Width: 48  |  Height: 48  |  Size: 3.2 KiB

BIN
assets/img/wechat.png 파일 보기

Before After
Width: 32  |  Height: 32  |  Size: 753 B

BIN
assets/img/wenti.png 파일 보기

Before After
Width: 200  |  Height: 200  |  Size: 17 KiB

BIN
assets/img/wm01.jpg 파일 보기

Before After
Width: 600  |  Height: 572  |  Size: 18 KiB

BIN
assets/img/wm02.jpg 파일 보기

Before After
Width: 600  |  Height: 572  |  Size: 18 KiB

BIN
assets/img/wm03.jpg 파일 보기

Before After
Width: 600  |  Height: 572  |  Size: 18 KiB

+ 3
- 1
components/banner/index.js 파일 보기

@@ -1,4 +1,5 @@
// pages/index/sw/index.js
const imgurl = require("../../utils/imgurl");
Component({
/**
* 组件的属性列表
@@ -14,7 +15,8 @@ Component({
* 组件的初始数据
*/
data: {
swiperCurrent: 0
swiperCurrent: 0,
bannerUrl: imgurl.banner.url
},

/**


+ 1
- 1
components/banner/index.wxml 파일 보기

@@ -1,5 +1,5 @@
<view wx:if="{{list.length!=0}}" class='bannerbg'>
<image src='./../../assets/img/banner.png' mode="widthFix"></image>
<image src='{{bannerUrl}}' mode="widthFix"></image>
</view>
<view wx:if="{{list.length!=0}}" class="index-slide-view">
<swiper class="index-slide" bindchange="swiperChange" autoplay="true" circular="false">


+ 2
- 1
components/discountCard/index.js 파일 보기

@@ -14,7 +14,8 @@ Component({
* 组件的初始数据
*/
data: {
swiperCurrent: 0
swiperCurrent: 0,
discountcardUrl: ''
},

/**


+ 1
- 1
components/discountCard/index.wxml 파일 보기

@@ -1,5 +1,5 @@
<view class='content' >
<view bindtap='gotoDiscountCardList'>
<image src='./../../assets/img/discountcard.png' mode='widthFix'></image>
<image src='{{discountcardUrl}}' mode='widthFix'></image>
</view>
</view>

+ 0
- 47
dist/action-sheet/index.js 파일 보기

@@ -1,47 +0,0 @@
Component({
externalClasses: ['i-class', 'i-class-mask', 'i-class-header'],

options: {
multipleSlots: true
},

properties: {
visible: {
type: Boolean,
value: false
},
maskClosable: {
type: Boolean,
value: true
},
showCancel: {
type: Boolean,
value: false
},
cancelText: {
type: String,
value: '取消'
},
actions: {
type: Array,
value: []
}
},

methods: {
handleClickMask () {
if (!this.data.maskClosable) return;
this.handleClickCancel();
},

handleClickItem ({ currentTarget = {} }) {
const dataset = currentTarget.dataset || {};
const { index } = dataset;
this.triggerEvent('click', { index });
},

handleClickCancel () {
this.triggerEvent('cancel');
}
}
});

+ 0
- 8
dist/action-sheet/index.json 파일 보기

@@ -1,8 +0,0 @@
{
"component": true,
"usingComponents":
{
"i-button": "../button/index",
"i-icon": "../icon/index"
}
}

+ 0
- 23
dist/action-sheet/index.wxml 파일 보기

@@ -1,23 +0,0 @@
<view class="i-as-mask i-class-mask {{ visible ? 'i-as-mask-show' : '' }}" bindtap="handleClickMask"></view>
<view class="i-class i-as {{ visible ? 'i-as-show' : '' }}">
<view class="i-as-header i-class-header"><slot name="header"></slot></view>
<view class="i-as-actions">
<view class="i-as-action-item" wx:for="{{ actions }}" wx:key="{{ item.name }}">
<i-button
bind:click="handleClickItem"
data-index="{{ index }}"
open-type="{{ item.openType }}"
type="ghost"
size="large"
long
>
<view class="i-as-btn-loading" wx:if="{{ item.loading }}"></view>
<i-icon wx:if="{{ item.icon }}" type="{{ item.icon }}" i-class="i-as-btn-icon"></i-icon>
<view class="i-as-btn-text" style="{{ item.color ? 'color: ' + item.color : '' }}">{{ item.name }}</view>
</i-button>
</view>
</view>
<view class="i-as-cancel" wx:if="{{ showCancel }}">
<i-button i-class="i-as-cancel-btn" type="ghost" size="large" long="true" bind:click="handleClickCancel">{{ cancelText }}</i-button>
</view>
</view>

+ 0
- 1
dist/action-sheet/index.wxss 파일 보기

@@ -1 +0,0 @@
.i-as{position:fixed;width:100%;box-sizing:border-box;left:0;right:0;bottom:0;background:#f7f7f7;transform:translate3d(0,100%,0);transform-origin:center;transition:all .2s ease-in-out;z-index:900;visibility:hidden}.i-as-show{transform:translate3d(0,0,0);visibility:visible}.i-as-mask{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);z-index:900;transition:all .2s ease-in-out;opacity:0;visibility:hidden}.i-as-mask-show{opacity:1;visibility:visible}.i-as-action-item{position:relative}.i-as-action-item::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px}.i-as-header{background:#fff;text-align:center;position:relative;font-size:12px;color:#80848f}.i-as-header::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e9eaec;border-bottom-width:1px}.i-as-cancel{margin-top:6px}.i-as-btn-loading{display:inline-block;vertical-align:middle;margin-right:10px;width:12px;height:12px;background:0 0;border-radius:50%;border:2px solid #e5e5e5;border-color:#666 #e5e5e5 #e5e5e5 #e5e5e5;animation:btn-spin .6s linear;animation-iteration-count:infinite}.i-as-btn-text{display:inline-block;vertical-align:middle}.i-as-btn-icon{font-size:14px!important;margin-right:4px}@keyframes btn-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}

+ 0
- 37
dist/alert/index.js 파일 보기

@@ -1,37 +0,0 @@
Component({
externalClasses: ['i-class'],
options: {
multipleSlots: true
},
properties: {
//info, success, warning, error
type: {
type: String,
value: 'info'
},
closable: {
type: Boolean,
value: false
},
showIcon: {
type: Boolean,
default: false
},
desc: {
type: Boolean,
default: false
},
},
data: {
closed: false
},
methods: {
handleTap() {
this.setData({
closed: !this.data.closed,
});
this.triggerEvent('close');
},

}
});

+ 0
- 7
dist/alert/index.json 파일 보기

@@ -1,7 +0,0 @@
{
"component": true,
"usingComponents":
{
"i-icon": "../icon/index"
}
}

+ 0
- 15
dist/alert/index.wxml 파일 보기

@@ -1,15 +0,0 @@
<view class="i-class i-alert {{'i-alert-'+type}} {{showIcon?'i-alert-with-icon':''}} {{desc?'i-alert-with-desc':''}}" wx:if="{{!closed}}">
<view wx:if="{{ showIcon }}" class="i-alert-icon">
<i-icon type="prompt" wx:if="{{ type === 'info' }}" size="{{desc?24:16}}"></i-icon>
<i-icon type="success" wx:if="{{ type === 'success' }}" size="{{desc?24:16}}"></i-icon>
<i-icon type="warning" wx:if="{{ type === 'warning' }}" size="{{desc?24:16}}"></i-icon>
<i-icon type="delete" wx:if="{{ type === 'error' }}" size="{{desc?24:16}}"></i-icon>
</view>
<slot></slot>
<view class="i-alert-desc">
<slot name="desc"></slot>
</view>
<view class="i-alert-close" wx:if="{{ closable }}" bindtap="handleTap">
<i-icon type="close"></i-icon>
</view>
</view>

+ 0
- 1
dist/alert/index.wxss 파일 보기

@@ -1 +0,0 @@
.i-alert{position:relative;margin:10px;padding:8px 48px 8px 16px;font-size:14px;border-radius:2px;color:#fff;background:#f7f7f7;color:#495060}.i-alert.i-alert-with-icon{padding:8px 48px 8px 38px}.i-alert-info{color:#fff;background:#2db7f5}.i-alert-success{color:#fff;background:#19be6b}.i-alert-warning{color:#fff;background:#f90}.i-alert-error{color:#fff;background:#ed3f14}.i-alert-icon{position:absolute;top:9px;left:16px;font-size:14px}.i-alert-desc{font-size:12px}.i-alert-with-desc{padding:16px;position:relative}.i-alert-with-desc.i-alert-with-icon{padding:16px 16px 16px 69px}.i-alert-with-desc .i-alert-icon{top:50%;left:24px;margin-top:-21px;font-size:28px}.i-alert-close{font-size:12px;position:absolute;right:16px;top:8px;overflow:hidden;cursor:pointer}

+ 0
- 20
dist/avatar/index.js 파일 보기

@@ -1,20 +0,0 @@
Component({
externalClasses: ['i-class'],

properties: {
// circle || square
shape: {
type: String,
value: 'circle'
},
// small || large || default
size: {
type: String,
value: 'default'
},
src: {
type: String,
value: ''
}
}
});

+ 0
- 3
dist/avatar/index.json 파일 보기

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

+ 0
- 4
dist/avatar/index.wxml 파일 보기

@@ -1,4 +0,0 @@
<view class="i-class i-avatar i-avatar-{{ shape }} i-avatar-{{ size }} {{ src ? 'i-avatar-image' : '' }}">
<image src="{{ src }}" wx:if="{{ src !== '' }}"></image>
<view class="i-avatar-string" wx:else><slot></slot></view>
</view>

+ 0
- 1
dist/avatar/index.wxss 파일 보기

@@ -1 +0,0 @@
.i-avatar{display:inline-block;text-align:center;background:#ccc;color:#fff;white-space:nowrap;position:relative;overflow:hidden;vertical-align:middle;width:32px;height:32px;line-height:32px;border-radius:16px;font-size:18px}.i-avatar .ivu-avatar-string{line-height:32px}.i-avatar-large{width:40px;height:40px;line-height:40px;border-radius:20px;font-size:24px}.i-avatar-large .ivu-avatar-string{line-height:40px}.i-avatar-small{width:24px;height:24px;line-height:24px;border-radius:12px;font-size:14px}.i-avatar-small .ivu-avatar-string{line-height:24px}.i-avatar-image{background:0 0}.i-avatar-square{border-radius:4px}.i-avatar>image{width:100%;height:100%}

+ 0
- 37
dist/base/index.js 파일 보기

@@ -1,37 +0,0 @@
function getCtx (selector) {
const pages = getCurrentPages();
const ctx = pages[pages.length - 1];

const componentCtx = ctx.selectComponent(selector);

if (!componentCtx) {
console.error('无法找到对应的组件,请按文档说明使用组件');
return null;
}
return componentCtx;
}

function Toast(options) {
const { selector = '#toast' } = options;
const ctx = getCtx(selector);

ctx.handleShow(options);
}

Toast.hide = function (selector = '#toast') {
const ctx = getCtx(selector);

ctx.handleHide();
};

function Message(options) {
const { selector = '#message' } = options;
const ctx = getCtx(selector);

ctx.handleShow(options);
}

module.exports = {
$Toast: Toast,
$Message: Message
};

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.

불러오는 중...
취소
저장