This commit is contained in:
weipengfei 2024-03-27 17:30:55 +08:00
parent 946111e3ba
commit 18d5c6494d
2 changed files with 3 additions and 2 deletions

View File

@ -301,7 +301,8 @@
//   for (var i = 0; i < len; i++) { //   for (var i = 0; i < len; i++) {
//     pwd += $chars.charAt(Math.floor(Math.random() * maxPos)); //     pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
//   } //   }
let pwd = (Date.now()).toString() let pwd = (Date.now()).toString();
pwd += (Math.random(10)*100000).toFixed(0);
uni.setStorageSync('uuid', pwd) uni.setStorageSync('uuid', pwd)
return pwd; return pwd;
}, },

View File

@ -37,7 +37,7 @@
<!-- 资讯 --> <!-- 资讯 -->
<view v-if="showTab&&list.length>0" @click="navTo('/pages/news_list/index?type=20')" style="display: flex;justify-content: space-between;padding-bottom: 20rpx;font-size: 26rpx;color: #999999;height: 70rpx;align-items: center;"> <view v-if="showTab&&list.length>0" @click="navTo('/pages/news_list/index?type=20')" style="display: flex;justify-content: space-between;padding-bottom: 20rpx;font-size: 26rpx;color: #999999;height: 70rpx;align-items: center;">
<view style="font-size: 28rpx;background-color: #40ae36;color: #fff;padding: 4rpx 16rpx 5rpx 16rpx;border-radius: 90rpx;">里海新闻</view> <view style="font-size: 28rpx;background-color: #40ae36;color: #fff;padding: 4rpx 16rpx 6rpx 16rpx;border-radius: 90rpx;">里海新闻</view>
<view style="display: flex;">更多<u-icon name="arrow-right" size="12" color="#999"></u-icon></view> <view style="display: flex;">更多<u-icon name="arrow-right" size="12" color="#999"></u-icon></view>
</view> </view>
<view class="information" v-if="showTab&&list.length>0"> <view class="information" v-if="showTab&&list.length>0">