Commit 74001f5d authored by caimeng's avatar caimeng

1.0.5 包没有过,修改成1.0.6 重新提包

parent 23be374d
......@@ -41,6 +41,7 @@ export default {
} else {
versionNumber = plus.runtime.version;
}
console.log(versionNumber,'当前版本号')
// 存储所有请求的头部信息
uni.setStorage({ key: 'm-header-version', data: versionNumber });
})
......
......@@ -2,8 +2,8 @@
"name" : "多典花",
"appid" : "__UNI__DE04B13",
"description" : "",
"versionName" : "1.0.5",
"versionCode" : 105,
"versionName" : "1.0.6",
"versionCode" : 106,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
......
......@@ -6,7 +6,7 @@
<view v-if='index !== null' class='i-boxs'>
<!-- Banner 位 -->
<view class='i-banner'>
<view v-if="index['bannerList']" class='i-banner'>
<swiper :autoplay="true" :interval="3000" :duration="1000" style="height: 359rpx;">
<swiper-item class='swiper-item-i' v-for="(item, index) in JSON.parse(index['bannerList'])"
:key="item.id" @click='jump(item, index, "banner")'>
......@@ -16,7 +16,7 @@
</view>
<!-- 金刚位 -->
<view class="i-list">
<view v-if="index['shortcutList']" class="i-list">
<view class='mian-item' v-for="(item, index) in JSON.parse(index['shortcutList'])" :key="item.id"
@click="jump(item, index, 'diamond')">
<image class='item-img' :src='item.url'></image>
......@@ -92,6 +92,8 @@
import { isLogin, switchShowTabbar, ininIndex } from '@/utils/index'
const cacheIndexData = uni.getStorageSync('dataIndex') ? JSON.parse(uni.getStorageSync('dataIndex')) : null;
const indexGoods = uni.getStorageSync('indexGoods') ? JSON.parse(uni.getStorageSync('indexGoods')) : [];
export default {
data() {
return {
......@@ -311,7 +313,7 @@ export default {
self.IndexList = records
}
uni.setStorageSync('indexGoods', JSON.stringify(self.IndexList))
uni.setStorageSync('indexGoods', JSON.stringify(records))
self.hasNextPage = hasNextPage
self.loadFlag = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment