非正式
This commit is contained in:
parent
d35aa5f450
commit
6e2f78c7e3
486
manifest.json
486
manifest.json
@ -1,245 +1,245 @@
|
|||||||
{
|
{
|
||||||
"name": "无终街",
|
"name" : "无终街",
|
||||||
"appid": "__UNI__6DB512D",
|
"appid" : "__UNI__6DB512D",
|
||||||
"description": "admin",
|
"description" : "admin",
|
||||||
"versionName": "4.0.1",
|
"versionName" : "4.0.2",
|
||||||
"versionCode": 406,
|
"versionCode" : 406,
|
||||||
"transformPx": false,
|
"transformPx" : false,
|
||||||
"sassImplementationName": "node-sass",
|
"sassImplementationName" : "node-sass",
|
||||||
"app-plus": {
|
"app-plus" : {
|
||||||
"android": {
|
"android" : {
|
||||||
"versionCode": 406, // Android 版本号
|
"versionCode" : 406, // Android 版本号
|
||||||
"versionName": "4.0.1" // 用户看到的版本号
|
"versionName" : "4.0.2" // 用户看到的版本号
|
||||||
},
|
},
|
||||||
"compatible": {
|
"compatible" : {
|
||||||
"ignoreVersion": true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
||||||
},
|
},
|
||||||
"nvueStyleCompiler": "uni-app",
|
"nvueStyleCompiler" : "uni-app",
|
||||||
"compilerVersion": 3,
|
"compilerVersion" : 3,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"usingComponents": true,
|
"usingComponents" : true,
|
||||||
"splashscreen": {
|
"splashscreen" : {
|
||||||
"alwaysShowBeforeRender": true,
|
"alwaysShowBeforeRender" : true,
|
||||||
"waiting": true,
|
"waiting" : true,
|
||||||
"autoclose": true,
|
"autoclose" : true,
|
||||||
"delay": 0
|
"delay" : 0
|
||||||
},
|
},
|
||||||
"screenOrientation": ["portrait-primary"],
|
"screenOrientation" : [ "portrait-primary" ],
|
||||||
"modules": {
|
"modules" : {
|
||||||
"Payment": {},
|
"Payment" : {},
|
||||||
"Share": {},
|
"Share" : {},
|
||||||
"Geolocation": {},
|
"Geolocation" : {},
|
||||||
"Maps": {},
|
"Maps" : {},
|
||||||
"Camera": {},
|
"Camera" : {},
|
||||||
"Barcode": {},
|
"Barcode" : {},
|
||||||
"VideoPlayer": {},
|
"VideoPlayer" : {},
|
||||||
"Push": {},
|
"Push" : {},
|
||||||
"OAuth": {}
|
"OAuth" : {}
|
||||||
},
|
},
|
||||||
"error": {
|
"error" : {
|
||||||
/* 404错误页面*/
|
/* 404错误页面*/
|
||||||
"url": "hybrid/html/error.html"
|
"url" : "hybrid/html/error.html"
|
||||||
},
|
},
|
||||||
/* 模块配置 */
|
/* 模块配置 */
|
||||||
"distribute": {
|
"distribute" : {
|
||||||
/* 应用发布信息 */
|
/* 应用发布信息 */
|
||||||
"android": {
|
"android" : {
|
||||||
/* android打包配置 */
|
/* android打包配置 */
|
||||||
"permissions": [
|
"permissions" : [
|
||||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
||||||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
|
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/>",
|
"<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
|
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
|
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
|
"<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
|
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
|
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||||
],
|
],
|
||||||
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
|
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
|
||||||
"schemes": "wuzhongjie",
|
"schemes" : "wuzhongjie",
|
||||||
"minSdkVersion": 21,
|
"minSdkVersion" : 21,
|
||||||
"targetSdkVersion": 34
|
"targetSdkVersion" : 34
|
||||||
},
|
},
|
||||||
"ios": {
|
"ios" : {
|
||||||
"idfa": false,
|
"idfa" : false,
|
||||||
"privacyDescription": {
|
"privacyDescription" : {
|
||||||
"NSPhotoLibraryUsageDescription": "需要用与评论上传,头像上传功能",
|
"NSPhotoLibraryUsageDescription" : "需要用与评论上传,头像上传功能",
|
||||||
"NSPhotoLibraryAddUsageDescription": "保存商品图片到本地",
|
"NSPhotoLibraryAddUsageDescription" : "保存商品图片到本地",
|
||||||
"NSCameraUsageDescription": "需要用与扫描二维码和商品评论图片拍摄",
|
"NSCameraUsageDescription" : "需要用与扫描二维码和商品评论图片拍摄",
|
||||||
"NSLocationAlwaysAndWhenInUseUsageDescription": "可根据位置向您介绍附近的视频信息,提升浏览体验,或帮助你在发布的信息中展示位置,不授权不影响app正常使用",
|
"NSLocationAlwaysAndWhenInUseUsageDescription" : "可根据位置向您介绍附近的视频信息,提升浏览体验,或帮助你在发布的信息中展示位置,不授权不影响app正常使用",
|
||||||
"NSMicrophoneUsageDescription": "用户上传视频时需使用音频信息"
|
"NSMicrophoneUsageDescription" : "用户上传视频时需使用音频信息"
|
||||||
},
|
},
|
||||||
"capabilities": {
|
"capabilities" : {
|
||||||
"entitlements": {
|
"entitlements" : {
|
||||||
"com.apple.developer.associated-domains": ["applinks:wuzhongjie.com.cn"]
|
"com.apple.developer.associated-domains" : [ "applinks:wuzhongjie.com.cn" ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"urltypes": "wuzhongjie",
|
"urltypes" : "wuzhongjie",
|
||||||
"dSYMs": false
|
"dSYMs" : false
|
||||||
},
|
},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
"sdkConfigs": {
|
"sdkConfigs" : {
|
||||||
"payment": {
|
"payment" : {
|
||||||
"weixin": {
|
"weixin" : {
|
||||||
"__platform__": ["ios", "android"],
|
"__platform__" : [ "ios", "android" ],
|
||||||
"appid": "wxebcdaea31881caab",
|
"appid" : "wxebcdaea31881caab",
|
||||||
"UniversalLinks": "https://wuzhongjie.com.cn/"
|
"UniversalLinks" : "https://wuzhongjie.com.cn/"
|
||||||
},
|
},
|
||||||
"alipay": {
|
"alipay" : {
|
||||||
"__platform__": ["ios", "android"]
|
"__platform__" : [ "ios", "android" ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ad": {},
|
"ad" : {},
|
||||||
"share": {
|
"share" : {
|
||||||
"weixin": {
|
"weixin" : {
|
||||||
"appid": "wxebcdaea31881caab",
|
"appid" : "wxebcdaea31881caab",
|
||||||
"UniversalLinks": "https://wuzhongjie.com.cn/"
|
"UniversalLinks" : "https://wuzhongjie.com.cn/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth": {
|
"oauth" : {
|
||||||
"weixin": {
|
"weixin" : {
|
||||||
"appid": "wxebcdaea31881caab",
|
"appid" : "wxebcdaea31881caab",
|
||||||
"UniversalLinks": "https://wuzhongjie.com.cn/"
|
"UniversalLinks" : "https://wuzhongjie.com.cn/"
|
||||||
},
|
},
|
||||||
"apple": {}
|
"apple" : {}
|
||||||
},
|
},
|
||||||
"geolocation": {
|
"geolocation" : {
|
||||||
"amap": {
|
"amap" : {
|
||||||
"__platform__": ["ios", "android"],
|
"__platform__" : [ "ios", "android" ],
|
||||||
"appkey_ios": "f463d3350efe63f8be5d9a62f24d0aab",
|
"appkey_ios" : "f463d3350efe63f8be5d9a62f24d0aab",
|
||||||
"appkey_android": "fb3f1ccb34616c70f068aa950f3e27df"
|
"appkey_android" : "fb3f1ccb34616c70f068aa950f3e27df"
|
||||||
},
|
},
|
||||||
"system": {
|
"system" : {
|
||||||
"__platform__": ["ios", "android"]
|
"__platform__" : [ "ios", "android" ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"maps": {
|
"maps" : {
|
||||||
"amap": {
|
"amap" : {
|
||||||
"appkey_ios": "f463d3350efe63f8be5d9a62f24d0aab",
|
"appkey_ios" : "f463d3350efe63f8be5d9a62f24d0aab",
|
||||||
"appkey_android": "fb3f1ccb34616c70f068aa950f3e27df"
|
"appkey_android" : "fb3f1ccb34616c70f068aa950f3e27df"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"push": {}
|
"push" : {}
|
||||||
},
|
},
|
||||||
"icons": {
|
"icons" : {
|
||||||
"android": {
|
"android" : {
|
||||||
"hdpi": "unpackage/res/icons/72x72.png",
|
"hdpi" : "unpackage/res/icons/72x72.png",
|
||||||
"xhdpi": "unpackage/res/icons/96x96.png",
|
"xhdpi" : "unpackage/res/icons/96x96.png",
|
||||||
"xxhdpi": "unpackage/res/icons/144x144.png",
|
"xxhdpi" : "unpackage/res/icons/144x144.png",
|
||||||
"xxxhdpi": "unpackage/res/icons/192x192.png"
|
"xxxhdpi" : "unpackage/res/icons/192x192.png"
|
||||||
},
|
},
|
||||||
"ios": {
|
"ios" : {
|
||||||
"appstore": "unpackage/res/icons/1024x1024.png",
|
"appstore" : "unpackage/res/icons/1024x1024.png",
|
||||||
"ipad": {
|
"ipad" : {
|
||||||
"app": "unpackage/res/icons/76x76.png",
|
"app" : "unpackage/res/icons/76x76.png",
|
||||||
"app@2x": "unpackage/res/icons/152x152.png",
|
"app@2x" : "unpackage/res/icons/152x152.png",
|
||||||
"notification": "unpackage/res/icons/20x20.png",
|
"notification" : "unpackage/res/icons/20x20.png",
|
||||||
"notification@2x": "unpackage/res/icons/40x40.png",
|
"notification@2x" : "unpackage/res/icons/40x40.png",
|
||||||
"proapp@2x": "unpackage/res/icons/167x167.png",
|
"proapp@2x" : "unpackage/res/icons/167x167.png",
|
||||||
"settings": "unpackage/res/icons/29x29.png",
|
"settings" : "unpackage/res/icons/29x29.png",
|
||||||
"settings@2x": "unpackage/res/icons/58x58.png",
|
"settings@2x" : "unpackage/res/icons/58x58.png",
|
||||||
"spotlight": "unpackage/res/icons/40x40.png",
|
"spotlight" : "unpackage/res/icons/40x40.png",
|
||||||
"spotlight@2x": "unpackage/res/icons/80x80.png"
|
"spotlight@2x" : "unpackage/res/icons/80x80.png"
|
||||||
},
|
},
|
||||||
"iphone": {
|
"iphone" : {
|
||||||
"app@2x": "unpackage/res/icons/120x120.png",
|
"app@2x" : "unpackage/res/icons/120x120.png",
|
||||||
"app@3x": "unpackage/res/icons/180x180.png",
|
"app@3x" : "unpackage/res/icons/180x180.png",
|
||||||
"notification@2x": "unpackage/res/icons/40x40.png",
|
"notification@2x" : "unpackage/res/icons/40x40.png",
|
||||||
"notification@3x": "unpackage/res/icons/60x60.png",
|
"notification@3x" : "unpackage/res/icons/60x60.png",
|
||||||
"settings@2x": "unpackage/res/icons/58x58.png",
|
"settings@2x" : "unpackage/res/icons/58x58.png",
|
||||||
"settings@3x": "unpackage/res/icons/87x87.png",
|
"settings@3x" : "unpackage/res/icons/87x87.png",
|
||||||
"spotlight@2x": "unpackage/res/icons/80x80.png",
|
"spotlight@2x" : "unpackage/res/icons/80x80.png",
|
||||||
"spotlight@3x": "unpackage/res/icons/120x120.png"
|
"spotlight@3x" : "unpackage/res/icons/120x120.png"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"splashscreen": {
|
"splashscreen" : {
|
||||||
"iosStyle": "common",
|
"iosStyle" : "common",
|
||||||
"ios": {
|
"ios" : {
|
||||||
"storyboard": "CustomStoryboard.zip"
|
"storyboard" : "CustomStoryboard.zip"
|
||||||
},
|
},
|
||||||
"androidStyle": "default",
|
"androidStyle" : "default",
|
||||||
"android": {
|
"android" : {
|
||||||
"hdpi": "CustomStartPage/start-page.9.png",
|
"hdpi" : "CustomStartPage/start-page.9.png",
|
||||||
"xhdpi": "CustomStartPage/start-page.9.png",
|
"xhdpi" : "CustomStartPage/start-page.9.png",
|
||||||
"xxhdpi": "CustomStartPage/start-page.9.png"
|
"xxhdpi" : "CustomStartPage/start-page.9.png"
|
||||||
},
|
},
|
||||||
"useOriginalMsgbox": true
|
"useOriginalMsgbox" : true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nativePlugins": {}
|
"nativePlugins" : {}
|
||||||
},
|
},
|
||||||
"permission": {
|
"permission" : {
|
||||||
"scope.userLocation": {
|
"scope.userLocation" : {
|
||||||
"desc": "你的位置信息将用于高德地图的效果展示"
|
"desc" : "你的位置信息将用于高德地图的效果展示"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* SDK配置 */
|
/* SDK配置 */
|
||||||
"quickapp": {},
|
"quickapp" : {},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
"mp-weixin": {
|
"mp-weixin" : {
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"usingComponents": true,
|
"usingComponents" : true,
|
||||||
"appid": "wx6f10f29075dc1b0b",
|
"appid" : "wx6f10f29075dc1b0b",
|
||||||
"optimization": {
|
"optimization" : {
|
||||||
"subPackages": true
|
"subPackages" : true
|
||||||
},
|
},
|
||||||
"setting": {
|
"setting" : {
|
||||||
"urlCheck": false,
|
"urlCheck" : false,
|
||||||
"minified": true,
|
"minified" : true,
|
||||||
"postcss": false,
|
"postcss" : false,
|
||||||
"es6": true
|
"es6" : true
|
||||||
},
|
},
|
||||||
"permission": {
|
"permission" : {
|
||||||
"scope.userLocation": {
|
"scope.userLocation" : {
|
||||||
"desc": "位置信息将用于高德地图的效果展示"
|
"desc" : "位置信息将用于高德地图的效果展示"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"plugins": {
|
"plugins" : {
|
||||||
"myPlugin": {
|
"myPlugin" : {
|
||||||
"version": "1.1.0",
|
"version" : "1.1.0",
|
||||||
"provider": "wx738958e0f4c894f9"
|
"provider" : "wx738958e0f4c894f9"
|
||||||
},
|
},
|
||||||
"live-player-plugin": {
|
"live-player-plugin" : {
|
||||||
"version": "1.3.0",
|
"version" : "1.3.0",
|
||||||
"provider": "wx2b03c6e691cd7370"
|
"provider" : "wx2b03c6e691cd7370"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"h5": {
|
"h5" : {
|
||||||
"devServer": {
|
"devServer" : {
|
||||||
"disableHostCheck": true
|
"disableHostCheck" : true
|
||||||
},
|
},
|
||||||
"router": {
|
"router" : {
|
||||||
"mode": "history",
|
"mode" : "history",
|
||||||
"base": ""
|
"base" : ""
|
||||||
},
|
},
|
||||||
"sdkConfigs": {
|
"sdkConfigs" : {
|
||||||
"maps": {}
|
"maps" : {}
|
||||||
},
|
},
|
||||||
"optimization": {
|
"optimization" : {
|
||||||
"treeShaking": {
|
"treeShaking" : {
|
||||||
"enable": true
|
"enable" : true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": "lilishop",
|
"title" : "lilishop",
|
||||||
"template": ""
|
"template" : ""
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -16,7 +16,10 @@
|
|||||||
@onAnimationEnd="animationfinish"
|
@onAnimationEnd="animationfinish"
|
||||||
>
|
>
|
||||||
<swiper-item>
|
<swiper-item>
|
||||||
<video-local ref="videoLocal" @isno="isno"></video-local>
|
<video-local
|
||||||
|
ref="videoLocal"
|
||||||
|
@isno="isno"
|
||||||
|
></video-local>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
<swiper-item>
|
<swiper-item>
|
||||||
<!-- <view
|
<!-- <view
|
||||||
@ -69,28 +72,27 @@
|
|||||||
>
|
>
|
||||||
{{ tab.name }}
|
{{ tab.name }}
|
||||||
</text>
|
</text>
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 二级 tab -->
|
<!-- 二级 tab -->
|
||||||
<view v-if="handleIsnoEvent && tabList[tabIndex] && tabList[tabIndex].child" style="flex-direction: row; flex: 1; justify-content: space-around">
|
|
||||||
<view
|
<view
|
||||||
class="uni-tab-item"
|
v-if="handleIsnoEvent && tabList[tabIndex] && tabList[tabIndex].child"
|
||||||
v-for="(childTab, childIndex) in tabList[tabIndex].child"
|
style="flex-direction: row; flex: 1; justify-content: space-around"
|
||||||
:key="childTab.id"
|
|
||||||
:id="childTab.id"
|
|
||||||
:data-parent-index="tabIndex"
|
|
||||||
:data-child-index="childIndex"
|
|
||||||
@click="onChildTabTap(tabIndex, childIndex,childTab)"
|
|
||||||
>
|
>
|
||||||
<text
|
<view
|
||||||
class="uni-tab-item-title scroll-view-animation"
|
class="uni-tab-item"
|
||||||
|
v-for="(childTab, childIndex) in tabList[tabIndex].child"
|
||||||
|
:key="childTab.id"
|
||||||
|
:id="childTab.id"
|
||||||
|
:data-parent-index="tabIndex"
|
||||||
|
:data-child-index="childIndex"
|
||||||
|
@click="onChildTabTap(tabIndex, childIndex, childTab)"
|
||||||
>
|
>
|
||||||
{{ childTab.name }}
|
<text class="uni-tab-item-title scroll-view-animation">
|
||||||
</text>
|
{{ childTab.name }}
|
||||||
|
</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
<view class="scroll-view-indicator">
|
<view class="scroll-view-indicator">
|
||||||
<view
|
<view
|
||||||
ref="underline"
|
ref="underline"
|
||||||
@ -155,8 +157,8 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
handleIsnoEvent:1,
|
handleIsnoEvent: 1,
|
||||||
childTabIndex:0,
|
childTabIndex: 0,
|
||||||
channel: null,
|
channel: null,
|
||||||
canSwipe: true,
|
canSwipe: true,
|
||||||
isTap: false,
|
isTap: false,
|
||||||
@ -179,14 +181,13 @@ export default {
|
|||||||
id: 'tab' + 0,
|
id: 'tab' + 0,
|
||||||
name: '同城',
|
name: '同城',
|
||||||
pageid: 1,
|
pageid: 1,
|
||||||
child:[
|
child: [
|
||||||
{id: 'tabs' + 1,name: '房地产',pageid: 9},
|
{ id: 'tabs' + 1, name: '房地产', pageid: 9 },
|
||||||
{id: 'tabs' + 2,name: '医疗',pageid: 10},
|
{ id: 'tabs' + 2, name: '医疗', pageid: 10 },
|
||||||
{id: 'tabs' + 3,name: '教育',pageid: 11},
|
{ id: 'tabs' + 3, name: '教育', pageid: 11 },
|
||||||
{id: 'tabs' + 4,name: '商贸',pageid: 12},
|
{ id: 'tabs' + 4, name: '商贸', pageid: 12 },
|
||||||
{id: 'tabs' +5,name: '商超',pageid: 13},
|
{ id: 'tabs' + 5, name: '商超', pageid: 13 },
|
||||||
{id: 'tabs' + 6,name: '特色',pageid: 14},
|
{ id: 'tabs' + 6, name: '特色', pageid: 14 }
|
||||||
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -308,13 +309,13 @@ export default {
|
|||||||
|
|
||||||
// },
|
// },
|
||||||
methods: {
|
methods: {
|
||||||
isno(e){
|
isno(e) {
|
||||||
console.log(e,'---')
|
console.log(e, '---');
|
||||||
this.handleIsnoEvent=e
|
this.handleIsnoEvent = e;
|
||||||
},
|
},
|
||||||
onChildTabTap(i,o,item){
|
onChildTabTap(i, o, item) {
|
||||||
this.childTabIndex=o
|
this.childTabIndex = o;
|
||||||
uni.navigateTo({url:`/pages/tabbar/vlog/vlindex?name=${item.name}`});
|
uni.navigateTo({ url: `/pages/tabbar/vlog/vlindex?name=${item.name}` });
|
||||||
},
|
},
|
||||||
handleHuaWei() {
|
handleHuaWei() {
|
||||||
// 处理华为机型问题
|
// 处理华为机型问题
|
||||||
@ -464,7 +465,9 @@ export default {
|
|||||||
},
|
},
|
||||||
animationfinish(e) {
|
animationfinish(e) {
|
||||||
let index = e.detail.current;
|
let index = e.detail.current;
|
||||||
if (index != this._lastTabIndex) {
|
console.log('当前索引' + index);
|
||||||
|
console.log('之前的索引' + this._lastTabIndex);
|
||||||
|
if (index != this._lastTabIndex && index <= 2) {
|
||||||
// 成功切换
|
// 成功切换
|
||||||
var beforeProp = this.pageList[this._lastTabIndex];
|
var beforeProp = this.pageList[this._lastTabIndex];
|
||||||
var indexProp = this.pageList[index];
|
var indexProp = this.pageList[index];
|
||||||
@ -696,12 +699,12 @@ export default {
|
|||||||
.uni-tab-item-title-active {
|
.uni-tab-item-title-active {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
.uni-tab-item-title-active-two{
|
.uni-tab-item-title-active-two {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background:red;
|
background: red;
|
||||||
width:100rpx;
|
width: 100rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius:50%
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
.scroll-view-indicator {
|
.scroll-view-indicator {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user