第一次提交
This commit is contained in:
10
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/navBar/navBar"],{"03a5":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={data:function(){return{item_width:"25%"}},props:["itemData"],created:function(){this.item_width=100/Math.abs(this.itemData.style.rowsNum)+"%"},methods:{gotoDetail:function(t){this.gotoPage(t.linkUrl)}}};n.default=a},1153:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},i=[]},"30e9":function(t,n,e){"use strict";e.r(n);var a=e("1153"),i=e("82f6");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("6955");var r=e("828b"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=o.exports},6955:function(t,n,e){"use strict";var a=e("a59f"),i=e.n(a);i.a},"82f6":function(t,n,e){"use strict";e.r(n);var a=e("03a5"),i=e.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=i.a},a59f:function(t,n,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/diy/navBar/navBar-create-component',
|
||||
{
|
||||
'components/diy/navBar/navBar-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("30e9"))
|
||||
})
|
||||
},
|
||||
[['components/diy/navBar/navBar-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view><view class="diy-navbar" style="{{'background:'+(itemData.style.background)+';'}}"><block wx:for="{{itemData.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data','',index]]]]]]]}}" class="item" style="{{('width:'+item_width+';')}}" bindtap="__e"><image src="{{item.imgUrl}}" mode="widthFix"></image><text class="gray3" style="{{'color:'+(item.color)+';'}}">{{item.text}}</text></view></block></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.diy-navbar{margin:20rpx;padding:20rpx 0;border-radius:6rpx;background:#fff;display:flex;justify-content:flex-start;flex-wrap:wrap}.diy-navbar .item{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:20rpx;width:120rpx;height:140rpx}.diy-navbar .item image{width:70rpx;height:70rpx}.diy-navbar .item text{display:block;text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden;line-height:66rpx;font-size:26rpx;text-align:center}
|
||||
Reference in New Issue
Block a user