二手车导航栏由webview控制

This commit is contained in:
ddisfriend
2025-03-25 15:26:30 +08:00
parent 45ff11cbab
commit 95dfca83fa
5 changed files with 22 additions and 6 deletions

View File

@@ -4968,7 +4968,7 @@
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent <BreakpointContent
uuid = "C44D25E1-46BB-43F2-9486-1CDF500F5530" uuid = "C44D25E1-46BB-43F2-9486-1CDF500F5530"
shouldBeEnabled = "Yes" shouldBeEnabled = "No"
ignoreCount = "0" ignoreCount = "0"
continueAfterRunningActions = "No" continueAfterRunningActions = "No"
filePath = "OrderScheduling/Rescue/ViewController/RescueController.swift" filePath = "OrderScheduling/Rescue/ViewController/RescueController.swift"
@@ -4980,5 +4980,21 @@
landmarkType = "7"> landmarkType = "7">
</BreakpointContent> </BreakpointContent>
</BreakpointProxy> </BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "57A7162F-8BDC-4DF4-974F-44C80C798381"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "OrderScheduling/Common/WebView/WebViewTool.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "141"
endingLineNumber = "141"
landmarkName = "openWebView(name:appending:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints> </Breakpoints>
</Bucket> </Bucket>

View File

@@ -138,7 +138,7 @@ open class WebViewTool : NSObject {
vc = WebViewController(showNavBar:false, title: nil, url: "\((h5Models?.invoiceListInfo)!)?token=\((USER.token)!)"+(appending ?? "")) vc = WebViewController(showNavBar:false, title: nil, url: "\((h5Models?.invoiceListInfo)!)?token=\((USER.token)!)"+(appending ?? ""))
break break
case .indexList: case .indexList:
vc = WebViewController(showNavBar:true, title: WebViewNameEnum.indexList.rawValue, url: "\((h5Models?.indexList)!)?token=\((USER.token)!)"+(appending ?? "")) vc = WebViewController(showNavBar:false, title: nil, url: "\((h5Models?.indexList)!)?token=\((USER.token)!)"+(appending ?? ""))
break break
} }

View File

@@ -175,7 +175,7 @@ extension RescueController : TYCyclePagerViewDataSource, TYCyclePagerViewDelegat
func pagerView(_ pageView: TYCyclePagerView, didSelectedItemCell cell: UICollectionViewCell, at index: Int) { func pagerView(_ pageView: TYCyclePagerView, didSelectedItemCell cell: UICollectionViewCell, at index: Int) {
let model = bannerDataSources[index] let model = bannerDataSources[index]
if let linkUrl = model.linkUrl { if let linkUrl = model.linkUrl {
let vc = WebViewController.init(title: WebViewTool.WebViewNameEnum.indexList.rawValue,url: linkUrl+"?token=\((USER.token)!)") let vc = WebViewController.init(showNavBar: false,title: nil,url: linkUrl+"?token=\((USER.token)!)")
navigationController?.pushViewController(vc, animated: true) navigationController?.pushViewController(vc, animated: true)
} }
} }

View File

@@ -5,17 +5,17 @@
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000179"> <testcase classname="fastlane.lanes" name="0: default_platform" time="0.000189">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="1: gym" time="93.919285"> <testcase classname="fastlane.lanes" name="1: gym" time="114.388129">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="2: pgyer" time="11.044165"> <testcase classname="fastlane.lanes" name="2: pgyer" time="9.716928">
</testcase> </testcase>