修改页面内容

master
yeliang-king 2023-05-29 15:19:31 +08:00
parent 274a03fe73
commit 9a0cb35637
5 changed files with 38 additions and 8 deletions

View File

@ -1,9 +1,9 @@
{ {
"name" : "lili商城", "name" : "lilishop",
"appid" : "__UNI__D472780", "appid" : "__UNI__ED807EA",
"description" : "", "description" : "",
"versionName" : "4.2.8", "versionName" : "4.5.3",
"versionCode" : 4000280, "versionCode" : 4000503,
"transformPx" : false, "transformPx" : false,
"app-plus" : { "app-plus" : {
"compatible" : { "compatible" : {
@ -116,7 +116,7 @@
}, },
"apple" : {}, "apple" : {},
"qq" : { "qq" : {
"appid" : "101918503" "appid" : "101918501"
} }
}, },
"geolocation" : { "geolocation" : {

View File

@ -32,7 +32,7 @@
<view style="margin:20rpx 0 0 0;">{{config.customerServiceEmail ? `客服邮箱:${config.customerServiceEmail}` : ``}}</view> <view style="margin:20rpx 0 0 0;">{{config.customerServiceEmail ? `客服邮箱:${config.customerServiceEmail}` : ``}}</view>
<view> <view>
<view style="margin:20rpx 0; color:#003a8c;" @click="navigateTo('/pages/mine/help/tips?type=user')">{{config.name}}</view> <view style="margin:20rpx 0; color:#003a8c;" @click="navigateTo('/pages/mine/help/tips?type=USER_AGREEMENT')">{{config.name}}</view>
<view>CopyRight ©{{config.name}} </view> <view>CopyRight ©{{config.name}} </view>
</view> </view>
</view> </view>

View File

@ -2,6 +2,7 @@
<view class="securityCenter"> <view class="securityCenter">
<u-cell-group> <u-cell-group>
<u-cell-item title="修改密码" @click="navigateTo('/pages/mine/set/securityCenter/editPassword')"></u-cell-item> <u-cell-item title="修改密码" @click="navigateTo('/pages/mine/set/securityCenter/editPassword')"></u-cell-item>
<u-cell-item title="注销账户" @click="zhuxiao"></u-cell-item>
</u-cell-group> </u-cell-group>
</view> </view>
</template> </template>
@ -15,6 +16,35 @@ export default {
}, },
methods: { methods: {
zhuxiao(){
uni.showModal({
title: "警告",
content: "您确定要注销当前账号吗?",
confirmText: "确定注销",
confirmColor: "#FF0000",
cancelText: "取消",
success: (res) => {
if (res.confirm) {
uni.showModal({
title: "谨慎操作",
content: "再次向您确认,您确定要注销当前账号吗?",
confirmText: "坚持注销",
confirmColor: "#FF0000",
cancelText: "取消",
success: (res) => {
if (res.confirm) {
uni.showToast({
title: "您的注销申请已经提交,待管理员审核后。会自动注销当前账号",
duration: 10000,
});
}
},
});
}
},
});
},
navigateTo(url) { navigateTo(url) {
uni.navigateTo({ uni.navigateTo({
url: url, url: url,

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="recommend-box" > <view class="recommend-box" >
<h4 class="goods-recommend-title">宝贝推荐</h4> <h4 class="goods-recommend-title">热门商品</h4>
<goodsList :res='res' v-if="res" :storeName="false" /> <goodsList :res='res' v-if="res" :storeName="false" />
</view> </view>
</template> </template>

View File

@ -21,7 +21,7 @@
</view> </view>
<view class="store-recommend"> <view class="store-recommend">
<view class="store-recommend-title">商品推荐</view> <view class="store-recommend-title">店内其他商品</view>
<view class="recommend-list"> <view class="recommend-list">
<view class="recommend-item" @click="clickGoods(item)" v-for="(item, index) in res" :key="index"> <view class="recommend-item" @click="clickGoods(item)" v-for="(item, index) in res" :key="index">
<u-image class="recommend-item-img" :fade="true" duration="450" :lazy-load="true" :src="item.thumbnail" height="218rpx"> <u-image class="recommend-item-img" :fade="true" duration="450" :lazy-load="true" :src="item.thumbnail" height="218rpx">