非正式

This commit is contained in:
abu 2025-06-11 16:46:52 +08:00
parent d35aa5f450
commit 6e2f78c7e3
3 changed files with 287 additions and 284 deletions

View File

@ -1,51 +1,51 @@
{
"name": "无终街",
"appid": "__UNI__6DB512D",
"description": "admin",
"versionName": "4.0.1",
"versionCode": 406,
"transformPx": false,
"sassImplementationName": "node-sass",
"app-plus": {
"android": {
"versionCode": 406, // Android
"versionName": "4.0.1" //
"name" : "无终街",
"appid" : "__UNI__6DB512D",
"description" : "admin",
"versionName" : "4.0.2",
"versionCode" : 406,
"transformPx" : false,
"sassImplementationName" : "node-sass",
"app-plus" : {
"android" : {
"versionCode" : 406, // Android
"versionName" : "4.0.2" //
},
"compatible": {
"ignoreVersion": true //trueHBuilderX1.9.0
"compatible" : {
"ignoreVersion" : true //trueHBuilderX1.9.0
},
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
/* 5+App */
"usingComponents": true,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
"usingComponents" : true,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
"screenOrientation": ["portrait-primary"],
"modules": {
"Payment": {},
"Share": {},
"Geolocation": {},
"Maps": {},
"Camera": {},
"Barcode": {},
"VideoPlayer": {},
"Push": {},
"OAuth": {}
"screenOrientation" : [ "portrait-primary" ],
"modules" : {
"Payment" : {},
"Share" : {},
"Geolocation" : {},
"Maps" : {},
"Camera" : {},
"Barcode" : {},
"VideoPlayer" : {},
"Push" : {},
"OAuth" : {}
},
"error": {
"error" : {
/* 404*/
"url": "hybrid/html/error.html"
"url" : "hybrid/html/error.html"
},
/* */
"distribute": {
"distribute" : {
/* */
"android": {
"android" : {
/* android */
"permissions": [
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
@ -72,174 +72,174 @@
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
"schemes": "wuzhongjie",
"minSdkVersion": 21,
"targetSdkVersion": 34
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"schemes" : "wuzhongjie",
"minSdkVersion" : 21,
"targetSdkVersion" : 34
},
"ios": {
"idfa": false,
"privacyDescription": {
"NSPhotoLibraryUsageDescription": "需要用与评论上传,头像上传功能",
"NSPhotoLibraryAddUsageDescription": "保存商品图片到本地",
"NSCameraUsageDescription": "需要用与扫描二维码和商品评论图片拍摄",
"NSLocationAlwaysAndWhenInUseUsageDescription": "可根据位置向您介绍附近的视频信息提升浏览体验或帮助你在发布的信息中展示位置不授权不影响app正常使用",
"NSMicrophoneUsageDescription": "用户上传视频时需使用音频信息"
"ios" : {
"idfa" : false,
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "需要用与评论上传,头像上传功能",
"NSPhotoLibraryAddUsageDescription" : "保存商品图片到本地",
"NSCameraUsageDescription" : "需要用与扫描二维码和商品评论图片拍摄",
"NSLocationAlwaysAndWhenInUseUsageDescription" : "可根据位置向您介绍附近的视频信息提升浏览体验或帮助你在发布的信息中展示位置不授权不影响app正常使用",
"NSMicrophoneUsageDescription" : "用户上传视频时需使用音频信息"
},
"capabilities": {
"entitlements": {
"com.apple.developer.associated-domains": ["applinks:wuzhongjie.com.cn"]
"capabilities" : {
"entitlements" : {
"com.apple.developer.associated-domains" : [ "applinks:wuzhongjie.com.cn" ]
}
},
"urltypes": "wuzhongjie",
"dSYMs": false
"urltypes" : "wuzhongjie",
"dSYMs" : false
},
/* ios */
"sdkConfigs": {
"payment": {
"weixin": {
"__platform__": ["ios", "android"],
"appid": "wxebcdaea31881caab",
"UniversalLinks": "https://wuzhongjie.com.cn/"
"sdkConfigs" : {
"payment" : {
"weixin" : {
"__platform__" : [ "ios", "android" ],
"appid" : "wxebcdaea31881caab",
"UniversalLinks" : "https://wuzhongjie.com.cn/"
},
"alipay": {
"__platform__": ["ios", "android"]
"alipay" : {
"__platform__" : [ "ios", "android" ]
}
},
"ad": {},
"share": {
"weixin": {
"appid": "wxebcdaea31881caab",
"UniversalLinks": "https://wuzhongjie.com.cn/"
"ad" : {},
"share" : {
"weixin" : {
"appid" : "wxebcdaea31881caab",
"UniversalLinks" : "https://wuzhongjie.com.cn/"
}
},
"oauth": {
"weixin": {
"appid": "wxebcdaea31881caab",
"UniversalLinks": "https://wuzhongjie.com.cn/"
"oauth" : {
"weixin" : {
"appid" : "wxebcdaea31881caab",
"UniversalLinks" : "https://wuzhongjie.com.cn/"
},
"apple": {}
"apple" : {}
},
"geolocation": {
"amap": {
"__platform__": ["ios", "android"],
"appkey_ios": "f463d3350efe63f8be5d9a62f24d0aab",
"appkey_android": "fb3f1ccb34616c70f068aa950f3e27df"
"geolocation" : {
"amap" : {
"__platform__" : [ "ios", "android" ],
"appkey_ios" : "f463d3350efe63f8be5d9a62f24d0aab",
"appkey_android" : "fb3f1ccb34616c70f068aa950f3e27df"
},
"system": {
"__platform__": ["ios", "android"]
"system" : {
"__platform__" : [ "ios", "android" ]
}
},
"maps": {
"amap": {
"appkey_ios": "f463d3350efe63f8be5d9a62f24d0aab",
"appkey_android": "fb3f1ccb34616c70f068aa950f3e27df"
"maps" : {
"amap" : {
"appkey_ios" : "f463d3350efe63f8be5d9a62f24d0aab",
"appkey_android" : "fb3f1ccb34616c70f068aa950f3e27df"
}
},
"push": {}
"push" : {}
},
"icons": {
"android": {
"hdpi": "unpackage/res/icons/72x72.png",
"xhdpi": "unpackage/res/icons/96x96.png",
"xxhdpi": "unpackage/res/icons/144x144.png",
"xxxhdpi": "unpackage/res/icons/192x192.png"
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios": {
"appstore": "unpackage/res/icons/1024x1024.png",
"ipad": {
"app": "unpackage/res/icons/76x76.png",
"app@2x": "unpackage/res/icons/152x152.png",
"notification": "unpackage/res/icons/20x20.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"proapp@2x": "unpackage/res/icons/167x167.png",
"settings": "unpackage/res/icons/29x29.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"spotlight": "unpackage/res/icons/40x40.png",
"spotlight@2x": "unpackage/res/icons/80x80.png"
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone": {
"app@2x": "unpackage/res/icons/120x120.png",
"app@3x": "unpackage/res/icons/180x180.png",
"notification@2x": "unpackage/res/icons/40x40.png",
"notification@3x": "unpackage/res/icons/60x60.png",
"settings@2x": "unpackage/res/icons/58x58.png",
"settings@3x": "unpackage/res/icons/87x87.png",
"spotlight@2x": "unpackage/res/icons/80x80.png",
"spotlight@3x": "unpackage/res/icons/120x120.png"
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
},
"splashscreen": {
"iosStyle": "common",
"ios": {
"storyboard": "CustomStoryboard.zip"
"splashscreen" : {
"iosStyle" : "common",
"ios" : {
"storyboard" : "CustomStoryboard.zip"
},
"androidStyle": "default",
"android": {
"hdpi": "CustomStartPage/start-page.9.png",
"xhdpi": "CustomStartPage/start-page.9.png",
"xxhdpi": "CustomStartPage/start-page.9.png"
"androidStyle" : "default",
"android" : {
"hdpi" : "CustomStartPage/start-page.9.png",
"xhdpi" : "CustomStartPage/start-page.9.png",
"xxhdpi" : "CustomStartPage/start-page.9.png"
},
"useOriginalMsgbox": true
"useOriginalMsgbox" : true
}
},
"nativePlugins": {}
"nativePlugins" : {}
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于高德地图的效果展示"
"permission" : {
"scope.userLocation" : {
"desc" : "你的位置信息将用于高德地图的效果展示"
}
},
/* SDK */
"quickapp": {},
"quickapp" : {},
/* */
"mp-weixin": {
"mp-weixin" : {
/* */
"usingComponents": true,
"appid": "wx6f10f29075dc1b0b",
"optimization": {
"subPackages": true
"usingComponents" : true,
"appid" : "wx6f10f29075dc1b0b",
"optimization" : {
"subPackages" : true
},
"setting": {
"urlCheck": false,
"minified": true,
"postcss": false,
"es6": true
"setting" : {
"urlCheck" : false,
"minified" : true,
"postcss" : false,
"es6" : true
},
"permission": {
"scope.userLocation": {
"desc": "位置信息将用于高德地图的效果展示"
"permission" : {
"scope.userLocation" : {
"desc" : "位置信息将用于高德地图的效果展示"
}
},
"plugins": {
"myPlugin": {
"version": "1.1.0",
"provider": "wx738958e0f4c894f9"
"plugins" : {
"myPlugin" : {
"version" : "1.1.0",
"provider" : "wx738958e0f4c894f9"
},
"live-player-plugin": {
"version": "1.3.0",
"provider": "wx2b03c6e691cd7370"
"live-player-plugin" : {
"version" : "1.3.0",
"provider" : "wx2b03c6e691cd7370"
}
}
},
"h5": {
"devServer": {
"disableHostCheck": true
"h5" : {
"devServer" : {
"disableHostCheck" : true
},
"router": {
"mode": "history",
"base": ""
"router" : {
"mode" : "history",
"base" : ""
},
"sdkConfigs": {
"maps": {}
"sdkConfigs" : {
"maps" : {}
},
"optimization": {
"treeShaking": {
"enable": true
"optimization" : {
"treeShaking" : {
"enable" : true
}
},
"title": "lilishop",
"template": ""
"title" : "lilishop",
"template" : ""
}
}

View File

@ -16,7 +16,10 @@
@onAnimationEnd="animationfinish"
>
<swiper-item>
<video-local ref="videoLocal" @isno="isno"></video-local>
<video-local
ref="videoLocal"
@isno="isno"
></video-local>
</swiper-item>
<swiper-item>
<!-- <view
@ -69,12 +72,13 @@
>
{{ tab.name }}
</text>
</view>
</view>
<!-- 二级 tab -->
<view v-if="handleIsnoEvent && tabList[tabIndex] && tabList[tabIndex].child" style="flex-direction: row; flex: 1; justify-content: space-around">
<view
v-if="handleIsnoEvent && tabList[tabIndex] && tabList[tabIndex].child"
style="flex-direction: row; flex: 1; justify-content: space-around"
>
<view
class="uni-tab-item"
v-for="(childTab, childIndex) in tabList[tabIndex].child"
@ -82,11 +86,9 @@
:id="childTab.id"
:data-parent-index="tabIndex"
:data-child-index="childIndex"
@click="onChildTabTap(tabIndex, childIndex,childTab)"
>
<text
class="uni-tab-item-title scroll-view-animation"
@click="onChildTabTap(tabIndex, childIndex, childTab)"
>
<text class="uni-tab-item-title scroll-view-animation">
{{ childTab.name }}
</text>
</view>
@ -155,8 +157,8 @@ export default {
},
data() {
return {
handleIsnoEvent:1,
childTabIndex:0,
handleIsnoEvent: 1,
childTabIndex: 0,
channel: null,
canSwipe: true,
isTap: false,
@ -179,14 +181,13 @@ export default {
id: 'tab' + 0,
name: '同城',
pageid: 1,
child:[
{id: 'tabs' + 1,name: '房地产',pageid: 9},
{id: 'tabs' + 2,name: '医疗',pageid: 10},
{id: 'tabs' + 3,name: '教育',pageid: 11},
{id: 'tabs' + 4,name: '商贸',pageid: 12},
{id: 'tabs' +5,name: '商超',pageid: 13},
{id: 'tabs' + 6,name: '特色',pageid: 14},
child: [
{ id: 'tabs' + 1, name: '房地产', pageid: 9 },
{ id: 'tabs' + 2, name: '医疗', pageid: 10 },
{ id: 'tabs' + 3, name: '教育', pageid: 11 },
{ id: 'tabs' + 4, name: '商贸', pageid: 12 },
{ id: 'tabs' + 5, name: '商超', pageid: 13 },
{ id: 'tabs' + 6, name: '特色', pageid: 14 }
]
},
{
@ -308,13 +309,13 @@ export default {
// },
methods: {
isno(e){
console.log(e,'---')
this.handleIsnoEvent=e
isno(e) {
console.log(e, '---');
this.handleIsnoEvent = e;
},
onChildTabTap(i,o,item){
this.childTabIndex=o
uni.navigateTo({url:`/pages/tabbar/vlog/vlindex?name=${item.name}`});
onChildTabTap(i, o, item) {
this.childTabIndex = o;
uni.navigateTo({ url: `/pages/tabbar/vlog/vlindex?name=${item.name}` });
},
handleHuaWei() {
// 处理华为机型问题
@ -464,7 +465,9 @@ export default {
},
animationfinish(e) {
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 indexProp = this.pageList[index];
@ -696,12 +699,12 @@ export default {
.uni-tab-item-title-active {
color: #ffffff;
}
.uni-tab-item-title-active-two{
.uni-tab-item-title-active-two {
color: #ffffff;
background:red;
width:100rpx;
background: red;
width: 100rpx;
text-align: center;
border-radius:50%
border-radius: 50%;
}
.scroll-view-indicator {
position: relative;