更新, 删除不使用的废旧文件
@ -2,8 +2,8 @@
|
||||
"name" : "惠农生活",
|
||||
"appid" : "__UNI__3A527D1",
|
||||
"description" : "",
|
||||
"versionName" : "2.0.07",
|
||||
"versionCode" : 2007,
|
||||
"versionName" : "2.0.08",
|
||||
"versionCode" : 2008,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
@ -13,8 +13,8 @@
|
||||
"nvueStyleCompiler" : "uni-app",
|
||||
"compilerVersion" : 3,
|
||||
"splashscreen" : {
|
||||
"alwaysShowBeforeRender" : true,
|
||||
"waiting" : true,
|
||||
"alwaysShowBeforeRender" : false,
|
||||
"waiting" : false,
|
||||
"autoclose" : true,
|
||||
"delay" : 0
|
||||
},
|
||||
|
@ -279,6 +279,14 @@
|
||||
"navigationBarTitleText": "选择地址",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/newActivity/share/share",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [{
|
||||
|
@ -80,7 +80,7 @@
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 760rpx;
|
||||
background-image: url(../../../static/cloud_warehouse/bg.webp);
|
||||
background-image: url('https://lihai001.oss-cn-chengdu.aliyuncs.com/def/fa5fa202403231531178525.webp');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
|
@ -429,7 +429,7 @@
|
||||
limit: 20,
|
||||
keyword: '',
|
||||
order: 'location',
|
||||
type_id: '10,17,21',
|
||||
type_id: '10,12,21,24',
|
||||
merchant_category_id: '',
|
||||
location: ''
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="re-btn" @click="reGetLocation">
|
||||
<image class="re-address-img" src="@/static/cloud_warehouse/dw.png"></image><text
|
||||
<image class="re-address-img" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/6a801202403231531562726.png"></image><text
|
||||
class="text">重新定位</text>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<view class="con-right">
|
||||
<!-- 补贴比例标签 -->
|
||||
<view class="con-right-proportion">
|
||||
<image src="../../../static/cloud_warehouse/dkbl.png" />
|
||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/eb08d202403231532262604.png" />
|
||||
<block v-for="(item,indx) in propotionData" :key="indx">
|
||||
<view class="con-right-proportion-item" :class="{active:searchParam.deduction_rate == indx + 1}"
|
||||
@click="handleChooseProp(indx + 1)">{{item.label_name}}</view>
|
||||
@ -84,7 +84,7 @@
|
||||
|
||||
<!-- 悬浮购买按钮 -->
|
||||
<view class="flow">
|
||||
<image src="../../../static/cloud_warehouse/gwc.png"></image>
|
||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/6d4bb202403231532483903.png"></image>
|
||||
<text>11</text>
|
||||
</view>
|
||||
|
||||
@ -255,7 +255,7 @@
|
||||
.smallClassification {
|
||||
width: 100%;
|
||||
height: 760rpx;
|
||||
background-image: url(../../../static/cloud_warehouse/sm_bg.webp);
|
||||
background-image: url('https://lihai001.oss-cn-chengdu.aliyuncs.com/def/80663202403231533088917.webp');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
|
65
pages/newActivity/share/share.vue
Normal file
@ -0,0 +1,65 @@
|
||||
<template>
|
||||
<view class="page" @longpress="handleSavePic">
|
||||
<image style="width: 100%;" mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/97359202403161619147876.webp"></image>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleSavePic() {
|
||||
// 获取要保存的图片路径或URL
|
||||
let imageUrl =
|
||||
"https://lihai001.oss-cn-chengdu.aliyuncs.com/def/97359202403161619147876.webp"; // 这里使用了网络上的图片作为示例
|
||||
|
||||
// #ifdef H5
|
||||
var a = document.createElement("a");
|
||||
a.download = imageUrl;
|
||||
a.href = imageUrl;
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
a.remove();
|
||||
// #endif
|
||||
|
||||
// #ifndef H5
|
||||
let that = this;
|
||||
uni.downloadFile({
|
||||
url: imageUrl,
|
||||
success(res) {
|
||||
if (res.statusCode === 200) {
|
||||
let tempFilePath = res.tempFilePath; // 临时文件路径
|
||||
uni.saveImageToPhotosAlbum({
|
||||
filePath: tempFilePath,
|
||||
success() {
|
||||
return that.$util.Tips({
|
||||
title: '图片已保存至相册!'
|
||||
});
|
||||
},
|
||||
fail(err) {
|
||||
console.error('保存失败', err);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
console.error('下载失败', res.statusCode);
|
||||
}
|
||||
},
|
||||
fail(err) {
|
||||
console.error('下载失败', err);
|
||||
}
|
||||
});
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.page {
|
||||
}
|
||||
</style>
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="red_body">
|
||||
<view class="bg">
|
||||
<image mode="widthFix" src="/static/active/redpack_type_img.webp"></image>
|
||||
<image mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/cd0f9202403231535205933.webp"></image>
|
||||
<view class="border"></view>
|
||||
</view>
|
||||
<view class="bg_back">
|
||||
@ -10,7 +10,7 @@
|
||||
</view>
|
||||
<view class="r_list" v-for="(item, index) in list" :key="index">
|
||||
<view class="r_item" @click="navgo(item)">
|
||||
<image class="r_bg" src="/static/active/red_packet.webp"></image>
|
||||
<image class="r_bg" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/dd915202403231534308829.webp"></image>
|
||||
<view class="r_body">
|
||||
<view class="r_count">
|
||||
<view class="rc_count">
|
||||
|
@ -5,7 +5,7 @@
|
||||
<view class="type_name">无门槛实物通用补贴<text class="n_count">(2张)</text></view>
|
||||
<view class="r_list" v-for="(e, i) in item.list">
|
||||
<view class="r_item" @click="change(index, i)">
|
||||
<image class="r_bg" src="/static/active/red_packet.webp"></image>
|
||||
<image class="r_bg" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/dd915202403231534308829.webp"></image>
|
||||
<view class="r_body">
|
||||
<view class="r_count">
|
||||
<view class="rc_count">
|
||||
@ -49,7 +49,7 @@
|
||||
<view style="height: 30rpx;"></view>
|
||||
<view class="r_list" v-for="(item, i) in list" :key="i">
|
||||
<view class="r_item" @click="change(item)">
|
||||
<image class="r_bg" src="/static/active/red_packet.webp"></image>
|
||||
<image class="r_bg" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/dd915202403231534308829.webp"></image>
|
||||
<view class="r_body">
|
||||
<view class="r_count">
|
||||
<view class="rc_count">
|
||||
|
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 174 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 150 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 470 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 528 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 358 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 408 KiB |