新商户引导页弹出规则修改
This commit is contained in:
parent
4972fb2884
commit
42afabe62f
704
manifest.json
704
manifest.json
@ -1,353 +1,353 @@
|
|||||||
{
|
{
|
||||||
"name" : "惠农生活",
|
"name": "惠农生活",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid": "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description": "",
|
||||||
"versionName" : "2.0.44",
|
"versionName": "2.0.45",
|
||||||
"versionCode" : 2037,
|
"versionCode": 2045,
|
||||||
"transformPx" : false,
|
"transformPx": false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus": {
|
||||||
"titleNView" : true,
|
"titleNView": true,
|
||||||
"usingComponents" : true,
|
"usingComponents": true,
|
||||||
"nvueCompiler" : "uni-app",
|
"nvueCompiler": "uni-app",
|
||||||
"nvueStyleCompiler" : "uni-app",
|
"nvueStyleCompiler": "uni-app",
|
||||||
"compilerVersion" : 3,
|
"compilerVersion": 3,
|
||||||
"compatible" : {
|
"compatible": {
|
||||||
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
"ignoreVersion": true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
||||||
},
|
},
|
||||||
"splashscreen" : {
|
"splashscreen": {
|
||||||
"alwaysShowBeforeRender" : false,
|
"alwaysShowBeforeRender": false,
|
||||||
"waiting" : false,
|
"waiting": false,
|
||||||
"autoclose" : true,
|
"autoclose": true,
|
||||||
"delay" : 0
|
"delay": 0
|
||||||
},
|
},
|
||||||
/* 模块配置 */
|
/* 模块配置 */
|
||||||
"modules" : {
|
"modules": {
|
||||||
"VideoPlayer" : {},
|
"VideoPlayer": {},
|
||||||
"OAuth" : {},
|
"OAuth": {},
|
||||||
"Payment" : {},
|
"Payment": {},
|
||||||
"Share" : {},
|
"Share": {},
|
||||||
"iBeacon" : {},
|
"iBeacon": {},
|
||||||
"Maps" : {},
|
"Maps": {},
|
||||||
"Geolocation" : {},
|
"Geolocation": {},
|
||||||
"UniMP" : {
|
"UniMP": {
|
||||||
"description" : "uni小程序"
|
"description": "uni小程序"
|
||||||
},
|
},
|
||||||
"Push" : {},
|
"Push": {},
|
||||||
"Barcode" : {},
|
"Barcode": {},
|
||||||
"Camera" : {}
|
"Camera": {}
|
||||||
},
|
},
|
||||||
"safearea" : {
|
"safearea": {
|
||||||
"bottom" : {
|
"bottom": {
|
||||||
"offset" : "none"
|
"offset": "none"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* 应用发布信息 */
|
/* 应用发布信息 */
|
||||||
"distribute" : {
|
"distribute": {
|
||||||
/* android打包配置 */
|
/* android打包配置 */
|
||||||
"android" : {
|
"android": {
|
||||||
"permissions" : [
|
"permissions": [
|
||||||
"<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_LOCATION_EXTRA_COMMANDS\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS\"/>",
|
||||||
"<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.BATTERY_STATS\"/>",
|
"<uses-permission android:name=\"android.permission.BATTERY_STATS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
|
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
|
||||||
"<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_CONFIGURATION\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_CONFIGURATION\"/>",
|
||||||
"<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.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.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_SETTINGS\"/>",
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>"
|
"<uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/>"
|
||||||
],
|
],
|
||||||
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
|
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
|
||||||
"permissionExternalStorage" : {
|
"permissionExternalStorage": {
|
||||||
"request" : "none",
|
"request": "none",
|
||||||
"prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
|
"prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
|
||||||
},
|
},
|
||||||
"permissionPhoneState" : {
|
"permissionPhoneState": {
|
||||||
"request" : "none" //拨打电话权限关闭
|
"request": "none" //拨打电话权限关闭
|
||||||
},
|
},
|
||||||
"minSdkVersion" : 23,
|
"minSdkVersion": 23,
|
||||||
"targetSdkVersion" : 30
|
"targetSdkVersion": 30
|
||||||
},
|
},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
"ios" : {
|
"ios": {
|
||||||
"privacyDescription" : {
|
"privacyDescription": {
|
||||||
"NSPhotoLibraryUsageDescription" : "上传用户头像保存分享海报",
|
"NSPhotoLibraryUsageDescription": "上传用户头像保存分享海报",
|
||||||
"NSPhotoLibraryAddUsageDescription" : "上传用户头像保存分享海报",
|
"NSPhotoLibraryAddUsageDescription": "上传用户头像保存分享海报",
|
||||||
"NSCameraUsageDescription" : "上传用户头像保存分享海报",
|
"NSCameraUsageDescription": "上传用户头像保存分享海报",
|
||||||
"NSLocationWhenInUseUsageDescription" : "根据客户地理位置推荐最近门店",
|
"NSLocationWhenInUseUsageDescription": "根据客户地理位置推荐最近门店",
|
||||||
"NSLocationAlwaysUsageDescription" : "根据客户地理位置推荐最近门店"
|
"NSLocationAlwaysUsageDescription": "根据客户地理位置推荐最近门店"
|
||||||
},
|
},
|
||||||
"idfa" : false,
|
"idfa": false,
|
||||||
"dSYMs" : false
|
"dSYMs": false
|
||||||
},
|
},
|
||||||
/* SDK配置 */
|
/* SDK配置 */
|
||||||
"sdkConfigs" : {
|
"sdkConfigs": {
|
||||||
"maps" : {
|
"maps": {
|
||||||
"amap" : {
|
"amap": {
|
||||||
"appkey_ios" : "0a3202688624938fd5d2f37b52c30d5d",
|
"appkey_ios": "0a3202688624938fd5d2f37b52c30d5d",
|
||||||
"appkey_android" : "0354f5ddc11e2ea76c5aac647f44d945",
|
"appkey_android": "0354f5ddc11e2ea76c5aac647f44d945",
|
||||||
"name" : "amapIvoVHpJR"
|
"name": "amapIvoVHpJR"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"payment" : {
|
"payment": {
|
||||||
"weixin" : {
|
"weixin": {
|
||||||
"__platform__" : [ "ios", "android" ],
|
"__platform__": ["ios", "android"],
|
||||||
"appid" : "wx2e8f79ff281284f5",
|
"appid": "wx2e8f79ff281284f5",
|
||||||
"UniversalLinks" : "https://shop.lihaink.cn/"
|
"UniversalLinks": "https://shop.lihaink.cn/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"share" : {
|
"share": {
|
||||||
"weixin" : {
|
"weixin": {
|
||||||
"appid" : "wx2e8f79ff281284f5",
|
"appid": "wx2e8f79ff281284f5",
|
||||||
"UniversalLinks" : "https://shop.lihaink.cn/"
|
"UniversalLinks": "https://shop.lihaink.cn/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"geolocation" : {
|
"geolocation": {
|
||||||
"amap" : {
|
"amap": {
|
||||||
"name" : "amapIvoVHpJR",
|
"name": "amapIvoVHpJR",
|
||||||
"__platform__" : [ "ios", "android" ],
|
"__platform__": ["ios", "android"],
|
||||||
"appkey_ios" : "0a3202688624938fd5d2f37b52c30d5d",
|
"appkey_ios": "0a3202688624938fd5d2f37b52c30d5d",
|
||||||
"appkey_android" : "0354f5ddc11e2ea76c5aac647f44d945"
|
"appkey_android": "0354f5ddc11e2ea76c5aac647f44d945"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"push" : {},
|
"push": {},
|
||||||
"oauth" : {
|
"oauth": {
|
||||||
"weixin" : {
|
"weixin": {
|
||||||
"appid" : "wx2e8f79ff281284f5",
|
"appid": "wx2e8f79ff281284f5",
|
||||||
"UniversalLinks" : "https://shop.lihaink.cn/"
|
"UniversalLinks": "https://shop.lihaink.cn/"
|
||||||
},
|
},
|
||||||
"univerify" : {}
|
"univerify": {}
|
||||||
},
|
},
|
||||||
"ad" : {}
|
"ad": {}
|
||||||
},
|
},
|
||||||
"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": {
|
||||||
"useOriginalMsgbox" : true,
|
"useOriginalMsgbox": true,
|
||||||
"androidStyle" : "common"
|
"androidStyle": "common"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nativePlugins" : {
|
"nativePlugins": {
|
||||||
"JG-JCore" : {
|
"JG-JCore": {
|
||||||
"JPUSH_APPKEY_IOS" : "8a5efd65cda14fafa6e64ad3",
|
"JPUSH_APPKEY_IOS": "8a5efd65cda14fafa6e64ad3",
|
||||||
"JPUSH_CHANNEL_IOS" : "8a5efd65cda14fafa6e64ad3",
|
"JPUSH_CHANNEL_IOS": "8a5efd65cda14fafa6e64ad3",
|
||||||
"JPUSH_APPKEY_ANDROID" : "b5f679f4357018605ea6fd2e",
|
"JPUSH_APPKEY_ANDROID": "b5f679f4357018605ea6fd2e",
|
||||||
"JPUSH_CHANNEL_ANDROID" : "",
|
"JPUSH_CHANNEL_ANDROID": "",
|
||||||
"__plugin_info__" : {
|
"__plugin_info__": {
|
||||||
"name" : "JG-JCore",
|
"name": "JG-JCore",
|
||||||
"description" : "极光推送JCore插件",
|
"description": "极光推送JCore插件",
|
||||||
"platforms" : "Android,iOS",
|
"platforms": "Android,iOS",
|
||||||
"url" : "",
|
"url": "",
|
||||||
"android_package_name" : "uni.UNI3A527D1",
|
"android_package_name": "uni.UNI3A527D1",
|
||||||
"ios_bundle_id" : "",
|
"ios_bundle_id": "",
|
||||||
"isCloud" : false,
|
"isCloud": false,
|
||||||
"bought" : -1,
|
"bought": -1,
|
||||||
"pid" : "",
|
"pid": "",
|
||||||
"parameters" : {
|
"parameters": {
|
||||||
"JPUSH_APPKEY_IOS" : {
|
"JPUSH_APPKEY_IOS": {
|
||||||
"des" : "[iOS]极光portal配置应用信息时分配的AppKey",
|
"des": "[iOS]极光portal配置应用信息时分配的AppKey",
|
||||||
"key" : "JCore:APP_KEY",
|
"key": "JCore:APP_KEY",
|
||||||
"value" : "daebe19b547c43128796a078"
|
"value": "daebe19b547c43128796a078"
|
||||||
},
|
},
|
||||||
"JPUSH_CHANNEL_IOS" : {
|
"JPUSH_CHANNEL_IOS": {
|
||||||
"des" : "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
|
"des": "[iOS]用于统计分发渠道,不需要可填默认值developer-default",
|
||||||
"key" : "JCore:CHANNEL",
|
"key": "JCore:CHANNEL",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_APPKEY_ANDROID" : {
|
"JPUSH_APPKEY_ANDROID": {
|
||||||
"des" : "[Android]极光portal配置应用信息时分配的AppKey",
|
"des": "[Android]极光portal配置应用信息时分配的AppKey",
|
||||||
"key" : "JPUSH_APPKEY",
|
"key": "JPUSH_APPKEY",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_CHANNEL_ANDROID" : {
|
"JPUSH_CHANNEL_ANDROID": {
|
||||||
"des" : "[Android]用于统计分发渠道,不需要可填默认值developer-default",
|
"des": "[Android]用于统计分发渠道,不需要可填默认值developer-default",
|
||||||
"key" : "JPUSH_CHANNEL",
|
"key": "JPUSH_CHANNEL",
|
||||||
"value" : ""
|
"value": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"JG-JPush" : {
|
"JG-JPush": {
|
||||||
"JPUSH_ISPRODUCTION_IOS" : "true",
|
"JPUSH_ISPRODUCTION_IOS": "true",
|
||||||
"JPUSH_ADVERTISINGID_IOS" : "",
|
"JPUSH_ADVERTISINGID_IOS": "",
|
||||||
"JPUSH_DEFAULTINITJPUSH_IOS" : "true",
|
"JPUSH_DEFAULTINITJPUSH_IOS": "true",
|
||||||
"JPUSH_OPPO_APPKEY" : "",
|
"JPUSH_OPPO_APPKEY": "",
|
||||||
"JPUSH_OPPO_APPID" : "",
|
"JPUSH_OPPO_APPID": "",
|
||||||
"JPUSH_OPPO_APPSECRET" : "",
|
"JPUSH_OPPO_APPSECRET": "",
|
||||||
"JPUSH_VIVO_APPKEY" : "",
|
"JPUSH_VIVO_APPKEY": "",
|
||||||
"JPUSH_VIVO_APPID" : "",
|
"JPUSH_VIVO_APPID": "",
|
||||||
"JPUSH_MEIZU_APPKEY" : "",
|
"JPUSH_MEIZU_APPKEY": "",
|
||||||
"JPUSH_MEIZU_APPID" : "",
|
"JPUSH_MEIZU_APPID": "",
|
||||||
"JPUSH_XIAOMI_APPKEY" : "",
|
"JPUSH_XIAOMI_APPKEY": "",
|
||||||
"JPUSH_XIAOMI_APPID" : "",
|
"JPUSH_XIAOMI_APPID": "",
|
||||||
"__plugin_info__" : {
|
"__plugin_info__": {
|
||||||
"name" : "JG-JPush",
|
"name": "JG-JPush",
|
||||||
"description" : "极光推送Hbuilder插件",
|
"description": "极光推送Hbuilder插件",
|
||||||
"platforms" : "Android,iOS",
|
"platforms": "Android,iOS",
|
||||||
"url" : "",
|
"url": "",
|
||||||
"android_package_name" : "uni.UNI3A527D1",
|
"android_package_name": "uni.UNI3A527D1",
|
||||||
"ios_bundle_id" : "",
|
"ios_bundle_id": "",
|
||||||
"isCloud" : false,
|
"isCloud": false,
|
||||||
"bought" : -1,
|
"bought": -1,
|
||||||
"pid" : "",
|
"pid": "",
|
||||||
"parameters" : {
|
"parameters": {
|
||||||
"JPUSH_ISPRODUCTION_IOS" : {
|
"JPUSH_ISPRODUCTION_IOS": {
|
||||||
"des" : "[iOS]是否是生产环境,是填true,不是填false或者不填",
|
"des": "[iOS]是否是生产环境,是填true,不是填false或者不填",
|
||||||
"key" : "JPush:ISPRODUCTION",
|
"key": "JPush:ISPRODUCTION",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_ADVERTISINGID_IOS" : {
|
"JPUSH_ADVERTISINGID_IOS": {
|
||||||
"des" : "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
|
"des": "[iOS]广告标识符(IDFA)如果不需要使用IDFA,可不填",
|
||||||
"key" : "JPush:ADVERTISINGID",
|
"key": "JPush:ADVERTISINGID",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_DEFAULTINITJPUSH_IOS" : {
|
"JPUSH_DEFAULTINITJPUSH_IOS": {
|
||||||
"des" : "[iOS]是否默认初始化,是填true,不是填false或者不填",
|
"des": "[iOS]是否默认初始化,是填true,不是填false或者不填",
|
||||||
"key" : "JPush:DEFAULTINITJPUSH",
|
"key": "JPush:DEFAULTINITJPUSH",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_OPPO_APPKEY" : {
|
"JPUSH_OPPO_APPKEY": {
|
||||||
"des" : "厂商OPPO-appkey,示例:OP-12345678",
|
"des": "厂商OPPO-appkey,示例:OP-12345678",
|
||||||
"key" : "OPPO_APPKEY",
|
"key": "OPPO_APPKEY",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_OPPO_APPID" : {
|
"JPUSH_OPPO_APPID": {
|
||||||
"des" : "厂商OPPO-appId,示例:OP-12345678",
|
"des": "厂商OPPO-appId,示例:OP-12345678",
|
||||||
"key" : "OPPO_APPID",
|
"key": "OPPO_APPID",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_OPPO_APPSECRET" : {
|
"JPUSH_OPPO_APPSECRET": {
|
||||||
"des" : "厂商OPPO-appSecret,示例:OP-12345678",
|
"des": "厂商OPPO-appSecret,示例:OP-12345678",
|
||||||
"key" : "OPPO_APPSECRET",
|
"key": "OPPO_APPSECRET",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_VIVO_APPKEY" : {
|
"JPUSH_VIVO_APPKEY": {
|
||||||
"des" : "厂商VIVO-appkey,示例:12345678",
|
"des": "厂商VIVO-appkey,示例:12345678",
|
||||||
"key" : "com.vivo.push.api_key",
|
"key": "com.vivo.push.api_key",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_VIVO_APPID" : {
|
"JPUSH_VIVO_APPID": {
|
||||||
"des" : "厂商VIVO-appId,示例:12345678",
|
"des": "厂商VIVO-appId,示例:12345678",
|
||||||
"key" : "com.vivo.push.app_id",
|
"key": "com.vivo.push.app_id",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_MEIZU_APPKEY" : {
|
"JPUSH_MEIZU_APPKEY": {
|
||||||
"des" : "厂商MEIZU-appKey,示例:MZ-12345678",
|
"des": "厂商MEIZU-appKey,示例:MZ-12345678",
|
||||||
"key" : "MEIZU_APPKEY",
|
"key": "MEIZU_APPKEY",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_MEIZU_APPID" : {
|
"JPUSH_MEIZU_APPID": {
|
||||||
"des" : "厂商MEIZU-appId,示例:MZ-12345678",
|
"des": "厂商MEIZU-appId,示例:MZ-12345678",
|
||||||
"key" : "MEIZU_APPID",
|
"key": "MEIZU_APPID",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_XIAOMI_APPKEY" : {
|
"JPUSH_XIAOMI_APPKEY": {
|
||||||
"des" : "厂商XIAOMI-appKey,示例:MI-12345678",
|
"des": "厂商XIAOMI-appKey,示例:MI-12345678",
|
||||||
"key" : "XIAOMI_APPKEY",
|
"key": "XIAOMI_APPKEY",
|
||||||
"value" : ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"JPUSH_XIAOMI_APPID" : {
|
"JPUSH_XIAOMI_APPID": {
|
||||||
"des" : "厂商XIAOMI-appId,示例:MI-12345678",
|
"des": "厂商XIAOMI-appId,示例:MI-12345678",
|
||||||
"key" : "XIAOMI_APPID",
|
"key": "XIAOMI_APPID",
|
||||||
"value" : ""
|
"value": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
"quickapp" : {},
|
"quickapp": {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin" : {
|
"mp-weixin": {
|
||||||
"appid" : "wx5fb1cc8edb3f8baa",
|
"appid": "wx5fb1cc8edb3f8baa",
|
||||||
"setting" : {
|
"setting": {
|
||||||
"urlCheck" : false,
|
"urlCheck": false,
|
||||||
"minified" : true,
|
"minified": true,
|
||||||
"postcss" : true,
|
"postcss": true,
|
||||||
"es6" : true
|
"es6": true
|
||||||
},
|
},
|
||||||
"permission" : {
|
"permission": {
|
||||||
"scope.userLocation" : {
|
"scope.userLocation": {
|
||||||
"desc" : "获取您的位置"
|
"desc": "获取您的位置"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"requiredPrivateInfos" : [ "getLocation", "chooseAddress" ],
|
"requiredPrivateInfos": ["getLocation", "chooseAddress"],
|
||||||
"usingComponents" : true,
|
"usingComponents": true,
|
||||||
"__usePrivacyCheck__" : true
|
"__usePrivacyCheck__": true
|
||||||
},
|
},
|
||||||
"mp-alipay" : {
|
"mp-alipay": {
|
||||||
"usingComponents" : true
|
"usingComponents": true
|
||||||
},
|
},
|
||||||
"mp-baidu" : {
|
"mp-baidu": {
|
||||||
"usingComponents" : true
|
"usingComponents": true
|
||||||
},
|
},
|
||||||
"mp-toutiao" : {
|
"mp-toutiao": {
|
||||||
"usingComponents" : true
|
"usingComponents": true
|
||||||
},
|
},
|
||||||
"h5" : {
|
"h5": {
|
||||||
"devServer" : {
|
"devServer": {
|
||||||
"https" : false
|
"https": false
|
||||||
},
|
},
|
||||||
"router" : {
|
"router": {
|
||||||
"mode" : "history",
|
"mode": "history",
|
||||||
"base" : ""
|
"base": ""
|
||||||
},
|
},
|
||||||
"domain" : "",
|
"domain": "",
|
||||||
"sdkConfigs" : {
|
"sdkConfigs": {
|
||||||
"maps" : {
|
"maps": {
|
||||||
"qqmap" : {
|
"qqmap": {
|
||||||
"key" : "SMJBZ-WCHK4-ZPZUA-DSIXI-XDDVQ-XWFX7"
|
"key": "SMJBZ-WCHK4-ZPZUA-DSIXI-XDDVQ-XWFX7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title" : "加载中...",
|
"title": "加载中...",
|
||||||
"template" : "template.h5.html",
|
"template": "template.h5.html",
|
||||||
"optimization" : {
|
"optimization": {
|
||||||
"treeShaking" : {
|
"treeShaking": {
|
||||||
"enable" : true
|
"enable": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -366,7 +366,6 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openDiver() {
|
openDiver() {
|
||||||
// console.log("open")
|
|
||||||
this.subNVue.show('zoom-out', 300)
|
this.subNVue.show('zoom-out', 300)
|
||||||
uni.$emit('diverGatherEmit', this.elInfo);
|
uni.$emit('diverGatherEmit', this.elInfo);
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,8 @@
|
|||||||
<text class="font">跳过</text>
|
<text class="font">跳过</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="tabbar" :style="{top:(top-12)+'px',left:(left-12)+'px'}">
|
<view class="tabbar" :style="{top:(top-12)+'px',left:(left-12)+'px'}">
|
||||||
<image src="/static/images/fabu.png" class="tab-icon"></image>
|
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/0fa43202312291702314919.png" class="tab-icon">
|
||||||
|
</image>
|
||||||
</view>
|
</view>
|
||||||
<view class="" class="pointe" :style="{ left:(left-10)+'px',top:(top)+'px'}">
|
<view class="" class="pointe" :style="{ left:(left-10)+'px',top:(top)+'px'}">
|
||||||
<image src="/static/images/pointer.png" style="width: 254rpx;height: 254rpx;" mode=""></image>
|
<image src="/static/images/pointer.png" style="width: 254rpx;height: 254rpx;" mode=""></image>
|
||||||
@ -12,11 +13,22 @@
|
|||||||
<view class="center" :style="{left:(left+20)+'px', top:(top+60)+'px'}">
|
<view class="center" :style="{left:(left+20)+'px', top:(top+60)+'px'}">
|
||||||
<image src="/static/images/greenLineDown.png" style="width:35px;height: 60px;" mode=""></image>
|
<image src="/static/images/greenLineDown.png" style="width:35px;height: 60px;" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="tips" :style="{ left:left+'px',top:(top+120)+'px'}">
|
<!-- <view class="tips" :style="{ left:left+'px',top:(top+120)+'px'}">
|
||||||
<view class="tras" :class="{act:isActive}">
|
<view class="tras" :class="{act:isActive}">
|
||||||
<text class="font" style="line-height: 106rpx;">点击供销助农平台进入商户平台</text>
|
<text class="font" style="line-height: 106rpx;">点击供销助农平台进入商户平台</text>
|
||||||
</view>
|
</view>
|
||||||
|
</view> -->
|
||||||
|
<view class="tips-box" :style="{ left:left+'px',top:(top+120)+'px'}">
|
||||||
|
<view class="tips" style="position: absolute;padding-left: 20px;">
|
||||||
|
<view class="tras" :class="{act:isActive}">
|
||||||
|
<text style="font-size: 28rpx;line-height: 100rpx;color: white;">点击我的页面,进行商户入驻</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<image src="/static/images/starpng.png" class="start" mode="">
|
||||||
|
</image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<view class="next-btn center">
|
<view class="next-btn center">
|
||||||
<text class="next-btn-text font" @click="next">下一步(2/4)</text>
|
<text class="next-btn-text font" @click="next">下一步(2/4)</text>
|
||||||
</view>
|
</view>
|
||||||
@ -52,9 +64,7 @@
|
|||||||
done: 1
|
done: 1
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res, 'res')
|
console.log(res, 'res')
|
||||||
// uni.$emit('diverGatherSubEmit');
|
|
||||||
})
|
})
|
||||||
// uni.setStorageSync('is_new_user', false)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
@ -81,11 +91,34 @@
|
|||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* .tips {
|
||||||
|
width: 462rpx;
|
||||||
|
height: 106rpx;
|
||||||
|
background-color: #5BE157;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
} */
|
||||||
|
.tips-box {
|
||||||
|
width: 462rpx;
|
||||||
|
height: 178rpx;
|
||||||
|
position: absolute;
|
||||||
|
padding-top: 72rpx;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.start {
|
||||||
|
width: 72rpx;
|
||||||
|
height: 72rpx;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.tips {
|
.tips {
|
||||||
width: 462rpx;
|
width: 462rpx;
|
||||||
height: 106rpx;
|
height: 106rpx;
|
||||||
background-color: #5BE157;
|
background-color: #5BE157;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
|
@ -18,6 +18,13 @@
|
|||||||
我是农民用户
|
我是农民用户
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="li" style="margin-top: 50rpx;" @click="navSw('/pages/index/index',true)">
|
||||||
|
<u-image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/48aed202402260946123969.webp" width="690rpx"
|
||||||
|
height="200rpx" style="position: absolute;"></u-image>
|
||||||
|
<view class="btn">
|
||||||
|
我是商户
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -37,7 +44,9 @@
|
|||||||
url
|
url
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
navSw(url) {
|
navSw(url, isNewStore) {
|
||||||
|
uni.setStorageSync('newStore', Boolean(isNewStore))
|
||||||
|
// return
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: url
|
url: url
|
||||||
})
|
})
|
||||||
|
@ -525,7 +525,8 @@
|
|||||||
preview: false,
|
preview: false,
|
||||||
isSupport: true,
|
isSupport: true,
|
||||||
isIndexClick: true,
|
isIndexClick: true,
|
||||||
scrollTop: 0
|
scrollTop: 0,
|
||||||
|
// newStore:
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -597,30 +598,13 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
created(options) {
|
created(options) {
|
||||||
let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
|
let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
|
||||||
let curRoute = routes[routes.length - 1].route //获取当前页面路由
|
let curRoute = routes[routes.length - 1].route //获取当前页面路由
|
||||||
this.activeRouter = '/' + curRoute
|
this.activeRouter = '/' + curRoute
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
// #ifdef APP
|
|
||||||
uni.$on('offSubnvue', () => {
|
|
||||||
this.subNvue.hide('slide-out-left')
|
|
||||||
uni.switchTab({
|
|
||||||
url: '/pages/user/index'
|
|
||||||
})
|
|
||||||
})
|
|
||||||
uni.$on('diverIndexSubEmit', () => {
|
|
||||||
this.subNvue.hide('slide-out-left')
|
|
||||||
uni.switchTab({
|
|
||||||
url: '/pages/gather/gather'
|
|
||||||
})
|
|
||||||
})
|
|
||||||
// #endif
|
|
||||||
|
|
||||||
let that = this
|
let that = this
|
||||||
this._options = options;
|
this._options = options;
|
||||||
@ -641,14 +625,8 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
|
if (uni.getStorageSync('newStore')) this.openDiver();
|
||||||
let that = this;
|
let that = this;
|
||||||
// #ifdef APP-PLUS
|
|
||||||
if (Boolean(uni.getStorageSync('is_new_user'))) {
|
|
||||||
this.subNvue = uni.getSubNVueById('newUser')
|
|
||||||
this.subNvue.show('slide-in-left', 300)
|
|
||||||
}
|
|
||||||
// #endif
|
|
||||||
|
|
||||||
that.isIntegral = uni.getStorageSync('isIntegral')
|
that.isIntegral = uni.getStorageSync('isIntegral')
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
if (that.appUpdate.openUpgrade == '1') {
|
if (that.appUpdate.openUpgrade == '1') {
|
||||||
@ -694,8 +672,37 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
/*新商户引导页相关*/
|
||||||
openDiver() {
|
openDiver() {
|
||||||
|
// #ifdef APP
|
||||||
|
this.subNvue = uni.getSubNVueById('newUser')
|
||||||
|
this.subNvue.show('slide-in-left', 300)
|
||||||
|
uni.$on('offSubnvue', () => {
|
||||||
|
this.subNvue.hide('slide-out-left')
|
||||||
|
if (uni.getStorageSync("newStore")) {
|
||||||
|
uni.switchTab({
|
||||||
|
url: '/pages/user/index'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
});
|
||||||
|
// uni.$on('diverIndexSubEmit', () => {
|
||||||
|
// this.subNvue.hide('slide-out-left')
|
||||||
|
// uni.switchTab({
|
||||||
|
// url: '/pages/gather/gather'
|
||||||
|
// })
|
||||||
|
// })
|
||||||
|
// #endif
|
||||||
|
|
||||||
|
},
|
||||||
|
/* 新商户发布商品引导页 */
|
||||||
|
openListGoodsDiver() {
|
||||||
if (Boolean(this.userInfo.service?.mer_id)) {
|
if (Boolean(this.userInfo.service?.mer_id)) {
|
||||||
|
uni.$on('diverIndexSubEmit', () => {
|
||||||
|
this.subNvue.hide('slide-out-left')
|
||||||
|
uni.switchTab({
|
||||||
|
url: '/pages/gather/gather'
|
||||||
|
})
|
||||||
|
})
|
||||||
isNewMer(this.userInfo.uid, this.userInfo.service?.mer_id).then(
|
isNewMer(this.userInfo.uid, this.userInfo.service?.mer_id).then(
|
||||||
res => {
|
res => {
|
||||||
if (res.data == 'true') {
|
if (res.data == 'true') {
|
||||||
@ -1042,7 +1049,9 @@
|
|||||||
showTab(res.data);
|
showTab(res.data);
|
||||||
that.userInfo = res.data;
|
that.userInfo = res.data;
|
||||||
this.$store.commit('SET_USERINFO', res.data);
|
this.$store.commit('SET_USERINFO', res.data);
|
||||||
this.openDiver()
|
// #ifdef APP
|
||||||
|
this.openListGoodsDiver()
|
||||||
|
// #endif
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 记录会员访问
|
// 记录会员访问
|
||||||
|
@ -6,10 +6,14 @@
|
|||||||
<view class="next-btn" :style="{top:(offsetY-250)+'px'}">
|
<view class="next-btn" :style="{top:(offsetY-250)+'px'}">
|
||||||
<text class="next-btn-text font" @click="next">下一步(1/4)</text>
|
<text class="next-btn-text font" @click="next">下一步(1/4)</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="tips center" :style="{top:(offsetY-178)+'px'}">
|
<view class="tips-box" :style="{right:20, top:(offsetY-218)+'px'}">
|
||||||
<view class="tras" :class="{act:isActive}">
|
<view class="tips" style="position: absolute;padding-left: 20px;">
|
||||||
<text class="font" style="line-height: 106rpx;">点击生产页面,进入办公助手</text>
|
<view class="tras" :class="{act:isActive}">
|
||||||
|
<text style="font-size: 28rpx;line-height: 100rpx;color: white;">点击我的页面,进行商户入驻</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<image src="/static/images/starpng.png" class="start" mode="">
|
||||||
|
</image>
|
||||||
</view>
|
</view>
|
||||||
<view style="position: absolute;" class="center" :style="{top:(offsetY-120)+'px'}">
|
<view style="position: absolute;" class="center" :style="{top:(offsetY-120)+'px'}">
|
||||||
<image src="/static/images/greenLine.png" style="width:35px;height: 60px;" mode=""></image>
|
<image src="/static/images/greenLine.png" style="width:35px;height: 60px;" mode=""></image>
|
||||||
@ -25,6 +29,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {
|
||||||
|
isNewMer
|
||||||
|
} from '@/api/user.js';
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -42,7 +49,11 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
jump() {
|
jump() {
|
||||||
uni.setStorageSync('is_new_user', false)
|
isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id, {
|
||||||
|
done: 1
|
||||||
|
}).then(res => {
|
||||||
|
console.log(res, 'res')
|
||||||
|
})
|
||||||
uni.$emit('diverIndexSubEmit');
|
uni.$emit('diverIndexSubEmit');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -73,11 +84,28 @@
|
|||||||
top: 80rpx;
|
top: 80rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tips-box {
|
||||||
|
width: 462rpx;
|
||||||
|
height: 178rpx;
|
||||||
|
position: absolute;
|
||||||
|
padding-top: 72rpx;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.start {
|
||||||
|
width: 72rpx;
|
||||||
|
height: 72rpx;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.tips {
|
.tips {
|
||||||
width: 462rpx;
|
width: 462rpx;
|
||||||
height: 106rpx;
|
height: 106rpx;
|
||||||
background-color: #5BE157;
|
background-color: #5BE157;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
@ -139,7 +167,7 @@
|
|||||||
padding-left: 20rpx;
|
padding-left: 20rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 999 !important;
|
z-index: 999 !important;
|
||||||
width: 20px;
|
width: 0px;
|
||||||
transition-property: width;
|
transition-property: width;
|
||||||
transition-duration: 3s;
|
transition-duration: 3s;
|
||||||
transition-delay: 0.1s;
|
transition-delay: 0.1s;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<text class="next-btn-text font" style="line-height: 76rpx;" @click="next">下一步(1/2)</text>
|
<text class="next-btn-text font" style="line-height: 76rpx;" @click="next">下一步(1/2)</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="target" :style="{left:screenWidth/4*3,top:screenHeight-68}">
|
<view class="target" :style="{left:screenWidth/4*3,top:screenHeight-68}">
|
||||||
<image src="/static/images/fabu.png" class="target-icon"></image>
|
<image src="/static/images/ydwd.png" class="target-icon"></image>
|
||||||
<text class="target-text">我的</text>
|
<text class="target-text">我的</text>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{left:screenWidth/4*3,top:screenHeight-130}">
|
<view :style="{left:screenWidth/4*3,top:screenHeight-130}">
|
||||||
@ -38,8 +38,8 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
jump() {
|
jump() {
|
||||||
|
uni.setStorageSync("newStore", false)
|
||||||
uni.$emit('offSubnvue');
|
uni.$emit('offSubnvue');
|
||||||
uni.setStorageSync("is_new_user", 0)
|
|
||||||
},
|
},
|
||||||
next() {
|
next() {
|
||||||
uni.$emit('offSubnvue');
|
uni.$emit('offSubnvue');
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
<view class="businessBox"
|
<view class="businessBox"
|
||||||
:style="{'color':(business_name == '' || business_name.length == 5)?'#B2B2B2':''}"
|
:style="{'color':(business_name == '' || business_name.length == 5)?'#B2B2B2':''}"
|
||||||
style="width: 400rpx;word-break: keep-all;line-height: 40rpx;font-size: 30rpx;">
|
style="width: 400rpx;word-break: keep-all;line-height: 40rpx;font-size: 30rpx;">
|
||||||
{{(business_name == '' || business_name.length == 5)?'请选择商圈':business_name}}
|
{{(business_name == '' || business_name.length == 5)?'请选择商12圈':business_name}}
|
||||||
</view>
|
</view>
|
||||||
<view class='iconfont icon-jiantou'></view>
|
<view class='iconfont icon-jiantou'></view>
|
||||||
</picker>
|
</picker>
|
||||||
|
@ -174,14 +174,14 @@
|
|||||||
</view>
|
</view>
|
||||||
<!-- 会员菜单 -->
|
<!-- 会员菜单 -->
|
||||||
<view class="user-menus" style="margin-top: 20rpx;">
|
<view class="user-menus" style="margin-top: 20rpx;">
|
||||||
<view class="title skeleton-rect">我的2服务</view>
|
<view class="title skeleton-rect">我的服务</view>
|
||||||
<view class="menu-box">
|
<view class="menu-box">
|
||||||
<block v-for="(item,index) in personalMenu" :key="index" :id="'target'+index">
|
<block v-for="(item,index) in personalMenu" :key="index" :id="'target'+index">
|
||||||
<view v-if="item.isShow" class="item ">
|
<view v-if="item.isShow" class="item ">
|
||||||
<view @click="authTo(item.url)" class="item-count">
|
<view @click="authTo(item.url)" class="item-count">
|
||||||
<image v-if="showSkeleton" class="skeleton_image skeleton-radius"></image>
|
<image v-if="showSkeleton" class="skeleton_image skeleton-radius"></image>
|
||||||
<image v-else :src="item.pic" class="targets"></image>
|
<image v-else :src="item.pic" class="targets"></image>
|
||||||
<text>{{item.name+index}}</text>
|
<text>{{item.name}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
@ -483,12 +483,11 @@
|
|||||||
.boundingClientRect((data) => {
|
.boundingClientRect((data) => {
|
||||||
that.elInfo = data
|
that.elInfo = data
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
if (Boolean(uni.getStorageSync('is_new_user'))) {
|
if (Boolean(uni.getStorageSync('newStore'))) {
|
||||||
that.subNvue = uni.getSubNVueById('userSubnvu')
|
that.subNvue = uni.getSubNVueById('userSubnvu')
|
||||||
that.subNvue.show('slide-in-left', 300)
|
that.subNvue.show('slide-in-left', 300)
|
||||||
uni.$emit('openUserSubnvue', JSON.stringify(data))
|
uni.$emit('openUserSubnvue', JSON.stringify(data))
|
||||||
}
|
}
|
||||||
|
|
||||||
// #endif
|
// #endif
|
||||||
})
|
})
|
||||||
.exec();
|
.exec();
|
||||||
@ -503,17 +502,12 @@
|
|||||||
},
|
},
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
// this.subNvue = uni.getSubNVueById('userSubnvu')
|
if ((uni.getStorageSync('newStore')) && this.elInfo) {
|
||||||
// this.subNvue.show('slide-in-left', 300)
|
|
||||||
// uni.$emit('openUserSubnvue', JSON.stringify(this.elInfo))
|
|
||||||
if (Boolean(uni.getStorageSync('is_new_user')) && this.elInfo) {
|
|
||||||
this.subNvue = uni.getSubNVueById('userSubnvu')
|
this.subNvue = uni.getSubNVueById('userSubnvu')
|
||||||
this.subNvue.show('slide-in-left', 300)
|
this.subNvue.show('slide-in-left', 300)
|
||||||
uni.$emit('openUserSubnvue', JSON.stringify(this.elInfo))
|
uni.$emit('openUserSubnvue', JSON.stringify(this.elInfo))
|
||||||
}
|
}
|
||||||
|
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
let that = this;
|
let that = this;
|
||||||
let routes = getCurrentPages();
|
let routes = getCurrentPages();
|
||||||
let curRoute = routes[routes.length - 1].route
|
let curRoute = routes[routes.length - 1].route
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="jump" @click="jump">
|
<view class="jump" @click="next">
|
||||||
<text class="font">跳过</text>
|
<text class="font">跳过</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="next-btn center" :style="{ left:screenWidth/2,top:(screenHeight-96)}">
|
<view class="next-btn center" :style="{ left:screenWidth/2,top:(screenHeight-96)}">
|
||||||
<text class="next-btn-text font" style="line-height: 76rpx;" @click="next">我知道了</text>
|
<text class="next-btn-text font" style="line-height: 76rpx;" @click="next">我知道了</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="target" :style="{left:left-20,top:top-13.5}">
|
<view class="target" :style="{left:left-20,top:top-13.5}">
|
||||||
<image src="/static/images/fabu.png" class="target-icon"></image>
|
<image src="http://lihai001.oss-cn-chengdu.aliyuncs.com/def/6202d269b6163b9ec7a4383559fc67a8.png"
|
||||||
|
class="target-icon"></image>
|
||||||
<text class="target-text">商家入驻</text>
|
<text class="target-text">商家入驻</text>
|
||||||
</view>
|
</view>
|
||||||
<view :style="{left:left-20,top:top-70}" class="trans1">
|
<view :style="{left:left-20,top:top-70}" class="trans1">
|
||||||
@ -39,20 +40,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
jump() {
|
|
||||||
uni.$emit('offuserSubnvue');
|
|
||||||
uni.setStorageSync("is_new_user", 0)
|
|
||||||
},
|
|
||||||
next() {
|
next() {
|
||||||
uni.$emit('offuserSubnvue');
|
uni.$emit('offuserSubnvue');
|
||||||
uni.setStorageSync("is_new_user", 0)
|
uni.setStorageSync("newStore", false)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
let that = this
|
let that = this
|
||||||
uni.$on('openUserSubnvue', (data) => {
|
uni.$on('openUserSubnvue', (data) => {
|
||||||
console.log('获取到的data')
|
|
||||||
console.log(JSON.parse(data))
|
|
||||||
that.left = JSON.parse(data).left
|
that.left = JSON.parse(data).left
|
||||||
that.top = JSON.parse(data).top
|
that.top = JSON.parse(data).top
|
||||||
})
|
})
|
||||||
@ -65,8 +60,6 @@
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
that.isAct = true
|
that.isAct = true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 13 KiB |
BIN
static/images/ydwd.png
Normal file
BIN
static/images/ydwd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
@ -49,8 +49,8 @@ const loadMP = async (id) => {
|
|||||||
else uni.$emit('showLoading', true, `初始化中... 99%`)
|
else uni.$emit('showLoading', true, `初始化中... 99%`)
|
||||||
}, 200)
|
}, 200)
|
||||||
let downloadTask = uni.downloadFile({
|
let downloadTask = uni.downloadFile({
|
||||||
// url: info.data.version_info?.dow_url,
|
url: info.data.version_info?.dow_url,
|
||||||
url: "https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/36e40202405031202367449.wgt",
|
// url: "https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/36e40202405031202367449.wgt",
|
||||||
success(res) {
|
success(res) {
|
||||||
wgtFile = res.tempFilePath;
|
wgtFile = res.tempFilePath;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@ -221,8 +221,8 @@ const loadAppletMP = async (data) => {
|
|||||||
else uni.$emit('showLoading', true, `初始化中... 99%`)
|
else uni.$emit('showLoading', true, `初始化中... 99%`)
|
||||||
}, 200)
|
}, 200)
|
||||||
let downloadTask = uni.downloadFile({
|
let downloadTask = uni.downloadFile({
|
||||||
// url: data.url,
|
url: data.url,
|
||||||
url: "https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/3ffde202405031254278460.wgt",
|
// url: "https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/3ffde202405031254278460.wgt",
|
||||||
success(res) {
|
success(res) {
|
||||||
wgtFile = res.tempFilePath;
|
wgtFile = res.tempFilePath;
|
||||||
console.log('初始化完成', wgtFile);
|
console.log('初始化完成', wgtFile);
|
||||||
@ -356,7 +356,7 @@ const open = (id = null) => {
|
|||||||
mp.sendUniMPEvent(appid, 'tocustomlist', id, (ret) => {
|
mp.sendUniMPEvent(appid, 'tocustomlist', id, (ret) => {
|
||||||
console.log("开始发送消息")
|
console.log("开始发送消息")
|
||||||
});
|
});
|
||||||
}, 3000)
|
}, 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user