app发包配置

main
wangdong 6 months ago
parent d6bf7289fb
commit ed57795e63
  1. BIN
      heshui_shop_frontend.rar
  2. 104
      manifest.json
  3. 4
      pages/index/components/account-login.vue
  4. 20
      pages/index/user.vue
  5. 4
      sheep/components/s-businessSchool/s-businessSchool.vue
  6. 4
      sheep/components/s-platform-announcement-item/s-platform-announcement-item.vue
  7. 3
      sheep/store/app.js
  8. 1
      sheep/url/index.js

Binary file not shown.

@ -1,9 +1,9 @@
{
"name": "shopro商城",
"appid": "__UNI__082C0BA",
"description": "Shopro是由SheepJS团队开发,使用Uniapp+Vue3技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。",
"versionName": "3.0.3",
"versionCode": 303,
"name" : "中科香灸",
"appid" : "__UNI__6F1F0FB",
"description" : "中科香灸",
"versionName" : "3.0.9",
"versionCode" : 309,
"transformPx" : false,
"app-plus" : {
"usingComponents" : true,
@ -26,7 +26,8 @@
"Payment" : {},
"Share" : {},
"VideoPlayer" : {},
"OAuth": {}
"OAuth" : {},
"Camera" : {}
},
"distribute" : {
"android" : {
@ -65,68 +66,53 @@
"<uses-permission android:name=\"android.permission.RECEIVE_USER_PRESENT\"/>"
],
"minSdkVersion" : 21,
"schemes": "shopro"
"schemes" : "shopro",
"targetSdkVersion" : 30
},
"ios" : {
"urlschemewhitelist": [
"baidumap",
"iosamap"
],
"urlschemewhitelist" : [ "baidumap", "iosamap" ],
"dSYMs" : false,
"privacyDescription" : {
"NSPhotoLibraryUsageDescription": "需要同意访问您的相册选取图片才能完善该条目",
"NSPhotoLibraryAddUsageDescription": "需要同意访问您的相册才能保存该图片",
"NSCameraUsageDescription": "需要同意访问您的摄像头拍摄照片才能完善该条目",
"NSPhotoLibraryUsageDescription" : "中科香灸需要读取你的相册,用于设置个人头像",
"NSPhotoLibraryAddUsageDescription" : "中科香灸需要写入你的相册,用于设置个人头像",
"NSCameraUsageDescription" : "中科香灸需要调用摄像头,用于设置个人头像",
"NSUserTrackingUsageDescription" : "开启追踪并不会获取您在其它站点的隐私信息,该行为仅用于标识设备,保障服务安全和提升浏览体验"
},
"urltypes" : "shopro",
"capabilities" : {
"entitlements" : {
"com.apple.developer.associated-domains": [
"applinks:shopro.sheepjs.com"
]
"com.apple.developer.associated-domains" : [ "applinks:shopro.sheepjs.com" ]
}
},
"idfa" : true
},
"sdkConfigs" : {
"speech": {
"ifly": {}
},
"ad" : {},
"oauth" : {
"apple" : {},
"weixin" : {
"appid": "wxae7a0c156da9****",
"appid" : "wx6747151b87e2d9f3",
"UniversalLinks" : "https://shopro.sheepjs.com/uni-universallinks/__UNI__082C0BA/"
}
},
"payment" : {
"weixin" : {
"__platform__": [
"ios",
"android"
],
"appid": "wxae7a0c156da9****",
"__platform__" : [ "ios", "android" ],
"appid" : "wx6747151b87e2d9f3",
"UniversalLinks" : "https://shopro.sheepjs.com/uni-universallinks/__UNI__082C0BA/"
},
"alipay" : {
"__platform__": [
"ios",
"android"
]
"__platform__" : [ "ios", "android" ]
}
},
"share" : {
"weixin" : {
"appid": "wxae7a0c156da9****",
"appid" : "wx6747151b87e2d9f3",
"UniversalLinks" : "https://shopro.sheepjs.com/uni-universallinks/__UNI__082C0BA/"
}
}
},
"orientation": [
"portrait-primary"
],
"orientation" : [ "portrait-primary" ],
"splashscreen" : {
"androidStyle" : "common",
"iosStyle" : "common",
@ -134,33 +120,33 @@
},
"icons" : {
"android" : {
"hdpi": "",
"xhdpi": "",
"xxhdpi": "",
"xxxhdpi": ""
"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": "",
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app": "",
"app@2x": "",
"notification": "",
"notification@2x": "",
"proapp@2x": "",
"settings": "",
"settings@2x": "",
"spotlight": "",
"spotlight@2x": ""
"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": "",
"app@3x": "",
"notification@2x": "",
"notification@3x": "",
"settings@2x": "",
"settings@3x": "",
"spotlight@2x": "",
"spotlight@3x": ""
"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"
}
}
}
@ -184,7 +170,7 @@
"versionCode" : 100
},
"mp-weixin" : {
"appid": "wx39cd0799d456****",
"appid" : "wx6747151b87e2d9f3",
"setting" : {
"urlCheck" : false,
"minified" : true,
@ -197,9 +183,7 @@
"lazyCodeLoading" : "requiredComponents",
"usingComponents" : {},
"permission" : {},
"requiredPrivateInfos": [
"chooseAddress"
]
"requiredPrivateInfos" : [ "chooseAddress" ]
},
"mp-alipay" : {
"usingComponents" : true

@ -76,7 +76,7 @@
</label>
</view>
</view>
<su-fixed bottom placeholder>
<su-fixed v-if="wechat_auth_login" bottom placeholder>
<view class="ss-p-x-20 login-wechat" @tap="thirdLogin('wechat')">
<image src="/static/wechat.png" class="login-wechat-img"/>
<view class="--ui-BG-Main">其他登录方式</view>
@ -95,6 +95,8 @@
const currentProtocol = ref(false);
const appInfo = computed(() => sheep.$store('app').info);
const wechat_auth_login = computed(() => sheep.$store('app').platform?.wechat_auth_login);
const emits = defineEmits(['onConfirm']);
const props = defineProps({

@ -10,6 +10,12 @@
<s-block v-for="(item, index) in template.data" :key="index" :styles="item.style">
<s-block-item :type="item.type" :data="item.data" :styles="item.style" />
</s-block>
<view class="copyright">
<view>copyright@2020-2024</view>
<view>zhongkexiangjiu.com.cn版权所有</view>
<view>备案号苏ICP备2024087275号-3A</view>
<view>建邺禾蕙健康产业中心</view>
</view>
</s-layout>
</template>
@ -39,4 +45,16 @@
onPageScroll(() => {});
</script>
<style></style>
<style lang="scss" scoped>
.copyright {
display: flex;
flex-direction: column;
align-items: center;
padding: 40px 0;
>view {
font-size: 26rpx;
line-height: 40rpx;
color: #999;
}
}
</style>

@ -25,7 +25,7 @@
<view class="business-school-content-item-right">
<view class="business-school-content-item-right-title" v-html="item.title"></view>
<view class="business-school-content-item-right-time">
<view>{{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}</view>
<view>{{ dayjs(item.createtime).format('YYYY/MM/DD').split('/').join('.') }}</view>
</view>
</view>
</view>
@ -44,7 +44,7 @@
<view class="business-school-content-item-right">
<view class="business-school-content-item-right-title" v-html="item.title"></view>
<view class="business-school-content-item-right-time">
<view>{{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}</view>
<view>{{ dayjs(item.createtime).format('YYYY/MM/DD').split('/').join('.') }}</view>
</view>
</view>
</view>

@ -6,9 +6,9 @@
</view>
<view class="platform-announcement-content-item-right">
<view class="platform-announcement-content-item-right-title" v-html="item.title"></view>
<view class="platform-announcement-content-item-right-time" v-if="state.type === '公告列表'">{{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}</view>
<view class="platform-announcement-content-item-right-time" v-if="state.type === '公告列表'">{{ dayjs(item.createtime).format('YYYY/MM/DD').split('/').join('.') }}</view>
<view class="platform-announcement-content-item-right-time" v-if="state.type !== '公告列表'">
<view>{{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}</view>
<view>{{ dayjs(item.createtime).format('YYYY/MM/DD').split('/').join('.') }}</view>
</view>
</view>
</view>

@ -64,8 +64,9 @@ const app = defineStore({
if (typeof baseUrl === 'undefined') {
$router.error('EnvError');
}
console.log(templateId);
const res = await appApi.init(templateId);
console.log(JSON.stringify(res.data), res.data.template);
if (res.code === 1) {
this.info = res.data.app;
this.platform = res.data.platform;

@ -11,6 +11,7 @@ export const _cdn = (url = '', cdnurl = '') => {
if (cdnurl === '') {
cdnurl = $store('app').info.cdnurl;
}
console.log(cdnurl + url);
return cdnurl + url;
};

Loading…
Cancel
Save