第一次提交

This commit is contained in:
wangxiaowei
2025-06-11 10:21:51 +08:00
commit 52932d54b1
2341 changed files with 185283 additions and 0 deletions

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/notice/notice"],{"07c1":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{textData:"",n:0,textW:0,start:0,times:null}},props:["itemData"],created:function(){var t=this;this.textData=this.itemData.params.text,this.$nextTick((function(){t.init()})),this.horseRaceLamp()},beforeDestroy:function(){clearTimeout(this.times)},methods:{init:function(){var e=this;t.getSystemInfo({success:function(n){var i=t.createSelectorQuery().in(e).select(".transtext");i.boundingClientRect((function(t){var n=t.width;e.textW=0,e.start=2*n})).exec()}})},horseRaceLamp:function(){var t=this;t.times=setTimeout((function(){t.textW--,-1*t.textW>=t.start&&(t.textW=710),t.horseRaceLamp()}),10)},gotoPages:function(t){this.gotoPage(t.linkUrl)}}};e.default=n}).call(this,n("df3c")["default"])},1464:function(t,e,n){"use strict";n.r(e);var i=n("07c1"),a=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=a.a},"363d":function(t,e,n){},"77c3":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},a=[]},a7b0:function(t,e,n){"use strict";n.r(e);var i=n("77c3"),a=n("1464");for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("b8cb");var o=n("828b"),u=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=u.exports},b8cb:function(t,e,n){"use strict";var i=n("363d"),a=n.n(i);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/notice/notice-create-component',
{
'components/diy/notice/notice-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("a7b0"))
})
},
[['components/diy/notice/notice-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['gotoPages',['$0'],['item']]]]]}}" class="diy-notice" style="{{'padding:'+(itemData.style.paddingTop+'px'+' 10px')+';'+('background:'+(itemData.style.background)+';')}}" bindtap="__e"><view class="notice-icon"><image src="{{itemData.params.icon}}" mode="aspectFill"></image></view><view class="notice-text flex-1 text-ellipsisss"><view class="transtext" style="{{('color:'+itemData.style.textColor+';left:'+textW+'rpx')}}">{{textData+''}}</view></view></view>

View File

@ -0,0 +1 @@
.diy-notice{margin:20rpx;display:flex;justify-content:flex-start;align-items:center;border-radius:6rpx}.diy-notice .notice-icon{width:64rpx;height:64rpx;margin-right:20rpx}.diy-notice .notice-icon image{width:100%;height:100%}.diy-notice .notice-text{overflow:hidden;white-space:nowrap;position:relative;height:64rpx}.transtext{position:absolute;top:0;bottom:0;margin:auto;left:0;line-height:64rpx}