chore: 缩减文件压缩大小

This commit is contained in:
2025-12-22 09:02:45 +08:00
parent 9226253825
commit 8521263760
9 changed files with 70 additions and 742 deletions

View File

@@ -1,27 +1 @@
<block wx:if="{{pageCount==1||need}}"> <block wx:if="{{pageCount==1||need}}"><view class="fixed-box" style="{{'height:'+(fixBtnShow?'330rpx':'120rpx')+';'}}"><block><button data-event-opts="{{[['tap',[['modifyInfo']]]]}}" class="btn-item btn-lang" style="{{'background:#c6251b;color:#fff;'+'background-image:'+('url('+(kefuimg?kefuimg:'')+')')+';'+('background-size:'+('100% 100%')+';')}}" catchtap="__e">{{''+(langIndex==0 && isCn? 'EN':'CN')+''}}</button></block><block wx:if="{{fixBtnShow}}"><button class="btn-item" style="{{'background:#c6251b;color:#fff;'+'background-image:'+('url('+(kefuimg?kefuimg:'')+')')+';'+('background-size:'+('100% 100%')+';')}}" hoverClass="none" openType="contact" sessionFrom="weapp" showMessageCard="true"><block wx:if="{{!kefuimg}}"><text class="icox icox-kefu" style="color:#fff;"></text></block></button></block><block wx:if="{{fixBtnShow&&mobile}}"><view data-event-opts="{{[['tap',[['call']]]]}}" class="btn-item" style="{{'background:#c6251b;color:#fff;'+'background-image:'+('url('+(phoneimg?phoneimg:'')+')')+';'+('background-size:'+('100% 100%')+';')}}" bindtap="__e"><block wx:if="{{!phoneimg}}"><text class="iconfont icon-dianhua" style="color:#fff;"></text></block></view></block></view></block>
<view class="fixed-box" style="{{'height:'+(fixBtnShow?'330rpx':'120rpx')+';'}}">
<block>
<button data-event-opts="{{[['tap',[['modifyInfo']]]]}}" class="btn-item btn-lang"
style="{{'background:#c6251b;color:#fff;'+'background-image:'+('url('+(kefuimg?kefuimg:'')+')')+';'+('background-size:'+('100% 100%')+';')}}"
catchtap="__e">{{''+(langIndex==0 && isCn? 'EN':'CN')+''}}</button>
</block>
<block wx:if="{{fixBtnShow}}">
<button class="btn-item"
style="{{'background:#c6251b;color:#fff;'+'background-image:'+('url('+(kefuimg?kefuimg:'')+')')+';'+('background-size:'+('100% 100%')+';')}}"
hoverClass="none" openType="contact" sessionFrom="weapp" showMessageCard="true">
<block wx:if="{{!kefuimg}}">
<text class="icox icox-kefu" style="color:#fff;"></text>
</block>
</button>
</block>
<block wx:if="{{fixBtnShow&&mobile}}">
<view data-event-opts="{{[['tap',[['call']]]]}}" class="btn-item"
style="{{'background:#c6251b;color:#fff;'+'background-image:'+('url('+(phoneimg?phoneimg:'')+')')+';'+('background-size:'+('100% 100%')+';')}}"
bindtap="__e">
<block wx:if="{{!phoneimg}}">
<text class="iconfont icon-dianhua" style="color:#fff;"></text>
</block>
</view>
</block>
</view>
</block>

View File

@@ -1,30 +1 @@
<view> <view><block wx:if="{{text=='客服' || text=='Contact'}}"><block><button class="action-icon-wrap" style="background:transparent;padding:0;margin:0;" hoverClass="none" openType="contact" sessionFrom="weapp" showMessageCard="true"><view class="{{['iconfont','color-title',icon]}}"></view><text>{{text}}</text><block wx:if="{{$root.g0}}"><view class="corner-mark color-base-bg" style="{{'background:'+(cornerMarkBg+'!important')+';'+('color:'+(cornerMarkColor)+';')}}">{{cornerMark}}</view></block></button></block></block><block wx:else><block><view data-event-opts="{{[['tap',[['clickEvent',['$event']]]]]}}" class="action-icon-wrap" bindtap="__e"><view class="{{['iconfont','',icon]}}"></view><text>{{text}}</text><block wx:if="{{$root.g1}}"><view class="{{['corner-mark','color-base-bg',($root.m0>99)?'max':'']}}" style="{{'background:'+(cornerMarkBg+'!important')+';'+('color:'+(cornerMarkColor)+';')}}">{{cornerMark>99?'99+':cornerMark}}</view></block></view></block></block></view>
<block wx:if="{{text=='客服' || text=='Contact'}}">
<block>
<button class="action-icon-wrap" style="background:transparent;padding:0;margin:0;"
hoverClass="none" openType="contact" sessionFrom="weapp" showMessageCard="true">
<view class="{{['iconfont','color-title',icon]}}"></view>
<text>{{text}}</text>
<block wx:if="{{$root.g0}}">
<view class="corner-mark color-base-bg"
style="{{'background:'+(cornerMarkBg+'!important')+';'+('color:'+(cornerMarkColor)+';')}}">
{{cornerMark}}</view>
</block>
</button>
</block>
</block>
<block wx:else>
<block>
<view data-event-opts="{{[['tap',[['clickEvent',['$event']]]]]}}"
class="action-icon-wrap" bindtap="__e">
<view class="{{['iconfont','',icon]}}"></view>
<text>{{text}}</text>
<block wx:if="{{$root.g1}}">
<view class="{{['corner-mark','color-base-bg',($root.m0>99)?'max':'']}}"
style="{{'background:'+(cornerMarkBg+'!important')+';'+('color:'+(cornerMarkColor)+';')}}">
{{cornerMark>99?'99+':cornerMark}}</view>
</block>
</view>
</block>
</block>
</view>

View File

@@ -1,2 +1 @@
<block wx:if="{{showPop}}"><view class="data-v-2e10602c"><view class="privacy-mask data-v-2e10602c"><view class="privacy-wrap data-v-2e10602c"><view class="privacy-title data-v-2e10602c">用户隐私保护提示</view><view class="privacy-desc data-v-2e10602c">感谢您使用本小程序,在使用前您应当阅读并同意<text data-event-opts="{{[['tap',[['openPrivacyContract',['$event']]]]]}}" class="privacy-link data-v-2e10602c" bindtap="__e">{{privacyContractName}}</text> <block wx:if="{{showPop}}"><view class="data-v-2e10602c"><view class="privacy-mask data-v-2e10602c"><view class="privacy-wrap data-v-2e10602c"><view class="privacy-title data-v-2e10602c">用户隐私保护提示</view><view class="privacy-desc data-v-2e10602c">感谢您使用本小程序,在使用前您应当阅读并同意<text data-event-opts="{{[['tap',[['openPrivacyContract',['$event']]]]]}}" class="privacy-link data-v-2e10602c" bindtap="__e">{{privacyContractName}}</text> 当点击同意并继续时,即表示您已理解并同意该条款内容,该条款将对您产生法律约束力;如您不同意,将无法继续使用小程序相关功能。</view><view class="privacy-button-flex data-v-2e10602c"><button data-event-opts="{{[['tap',[['handleDisagree',['$event']]]]]}}" class="privacy-button-btn bg-disagree data-v-2e10602c" bindtap="__e">不同意</button><button class="privacy-button-btn bg-agree data-v-2e10602c" id="agree-btn" open-type="agreePrivacyAuthorization" data-event-opts="{{[['agreeprivacyauthorization',[['handleAgree',['$event']]]]]}}" bindagreeprivacyauthorization="__e">同意并继续</button></view></view></view></view></block>
当点击同意并继续时,即表示您已理解并同意该条款内容,该条款将对您产生法律约束力;如您不同意,将无法继续使用小程序相关功能。</view><view class="privacy-button-flex data-v-2e10602c"><button data-event-opts="{{[['tap',[['handleDisagree',['$event']]]]]}}" class="privacy-button-btn bg-disagree data-v-2e10602c" bindtap="__e">不同意</button><button class="privacy-button-btn bg-agree data-v-2e10602c" id="agree-btn" open-type="agreePrivacyAuthorization" data-event-opts="{{[['agreeprivacyauthorization',[['handleAgree',['$event']]]]]}}" bindagreeprivacyauthorization="__e">同意并继续</button></view></view></view></view></block>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1,62 @@
{"description":"项目配置文件。","packOptions":{"ignore":[],"include":[]},"setting":{"urlCheck":false,"es6":true,"postcss":false,"minified":true,"newFeature":true,"bigPackageSizeSupport":true,"babelSetting":{"ignore":[],"disablePlugins":[],"outputPath":""},"ignoreUploadUnusedFiles":false,"compileWorklet":false,"uglifyFileName":false,"uploadWithSourceMap":true,"enhance":false,"packNpmManually":false,"packNpmRelationList":[],"minifyWXSS":true,"minifyWXML":true,"localPlugins":false,"disableUseStrict":false,"useCompilerPlugins":false,"condition":false,"swc":false,"disableSWC":true},"compileType":"miniprogram","libVersion":"2.27.3","appid":"wx29215aa1bd97bbd6","projectname":"lucky_weapp","condition":{"search":{"current":-1,"list":[]},"conversation":{"current":-1,"list":[]},"game":{"current":-1,"list":[]},"miniprogram":{"current":-1,"list":[]}},"editorSetting":{"tabIndent":"insertSpaces","tabSize":2},"simulatorPluginLibVersion":{}} {
"description": "项目配置文件。",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
"es6": true,
"postcss": false,
"minified": true,
"newFeature": true,
"bigPackageSizeSupport": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"ignoreUploadUnusedFiles": true,
"compileWorklet": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"enhance": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"minifyWXML": true,
"localPlugins": false,
"disableUseStrict": false,
"useCompilerPlugins": false,
"condition": false,
"swc": false,
"disableSWC": true
},
"compileType": "miniprogram",
"libVersion": "2.27.3",
"appid": "wx29215aa1bd97bbd6",
"projectname": "lucky_weapp",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"simulatorPluginLibVersion": {}
}

File diff suppressed because one or more lines are too long