166 lines
6.2 KiB
Plaintext
166 lines
6.2 KiB
Plaintext
|
|
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_Goods_lb00_add.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_Goods_lb0_add" %>
|
|||
|
|
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
|
|||
|
|
<!DOCTYPE html>
|
|||
|
|
<html>
|
|||
|
|
<head id="Head1" runat="server">
|
|||
|
|
<title></title>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|||
|
|
<meta http-equiv="Cache-Control" content="no-store" />
|
|||
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|||
|
|
<meta http-equiv="Expires" content="0" />
|
|||
|
|
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9,IE=10" />
|
|||
|
|
<script src="/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
|
|||
|
|
<script src="/Scripts/common.js" type="text/javascript"></script>
|
|||
|
|
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
|
|||
|
|
|
|||
|
|
<!-- Basic Styles -->
|
|||
|
|
|
|||
|
|
<meta name="description" content="">
|
|||
|
|
<meta name="author" content="">
|
|||
|
|
|
|||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|||
|
|
|
|||
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/bootstrap.css">
|
|||
|
|
<!--[if IE 7]>
|
|||
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/font-awesome-ie7.min.css">
|
|||
|
|
<![endif]-->
|
|||
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-production.css">
|
|||
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-skins.css">
|
|||
|
|
|
|||
|
|
|
|||
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/your_style.css">
|
|||
|
|
|
|||
|
|
<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
|
|||
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/demo.css">
|
|||
|
|
|
|||
|
|
<link rel="stylesheet" type="text/css" href="/css/cjadd.css">
|
|||
|
|
<!-- FAVICONS -->
|
|||
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
|||
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|||
|
|
<script src="/artDialog/artDialog.js?skin=default" type="text/javascript"></script>
|
|||
|
|
<script src="/artDialog/iframeTools.js" type="text/javascript"></script>
|
|||
|
|
<script type="text/javascript">
|
|||
|
|
var open = function (url) {
|
|||
|
|
art.dialog.open(url, {
|
|||
|
|
title: '插入图片',
|
|||
|
|
width: '600px',
|
|||
|
|
height: '400px',
|
|||
|
|
lock: true,
|
|||
|
|
id: 'dg_test34243'
|
|||
|
|
});
|
|||
|
|
};
|
|||
|
|
var open0 = function (url) {
|
|||
|
|
art.dialog.open(url, {
|
|||
|
|
title: '插入视频',
|
|||
|
|
width: '700px',
|
|||
|
|
height: '500px',
|
|||
|
|
lock: true,
|
|||
|
|
id: 'dg_test34244'
|
|||
|
|
});
|
|||
|
|
};
|
|||
|
|
$(document).ready(function () {
|
|||
|
|
showimgae();
|
|||
|
|
})
|
|||
|
|
function showimgae() {
|
|||
|
|
var strphoto = $("#hiddenphoto").val();
|
|||
|
|
if (strphoto != "") {
|
|||
|
|
var imgurl = "<li id='picli0'><img src='" + strphoto + "?imageView2/2/w/100/h/100/q/75' width='100' class='pic'/><a href=javascript:DeletePic('" + strphoto + "',0)>删除</a>";
|
|||
|
|
$("#inputTips2").html(imgurl);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function DeletePic(delpics) {
|
|||
|
|
if (delpics != "") {
|
|||
|
|
$.post("/ajax.ashx", { action: "deleteimage", delpics: escape(delpics) }, function (data) {
|
|||
|
|
if (data.success) {
|
|||
|
|
alert("删除成功");
|
|||
|
|
$("#hiddenphoto").val("");
|
|||
|
|
$("#inputTips2").html("");
|
|||
|
|
} else {
|
|||
|
|
$("#hiddenphoto").val("");
|
|||
|
|
$("#inputTips2").html("");
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function deletefile(t) {
|
|||
|
|
var filepath = $("#hiddenphoto").val();
|
|||
|
|
if (t == 1) {
|
|||
|
|
filepath = $("#hiddenvideo").val();
|
|||
|
|
}
|
|||
|
|
if (filepath != "") {
|
|||
|
|
$.post("/ajax.ashx", { action: "deleteimage", delpics: escape(filepath) }, function (data) {
|
|||
|
|
if (data.success) {
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
</script>
|
|||
|
|
</head>
|
|||
|
|
<body>
|
|||
|
|
<form runat="server">
|
|||
|
|
<!-- RIBBON -->
|
|||
|
|
<div id="ribbon">
|
|||
|
|
|
|||
|
|
<span class="ribbon-button-alignment"> <span id="refresh" class="btn btn-ribbon" data-title="refresh" rel="tooltip" data-placement="bottom" data-original-title="<i class='text-warning fa fa-warning'></i> 注意!这会重新设置小工具的排位." data-html="true" data-reset-msg="刷新网站?"><i class="fa fa-refresh"></i></span> </span>
|
|||
|
|
|
|||
|
|
<!-- breadcrumb -->
|
|||
|
|
<ol class="breadcrumb">
|
|||
|
|
<li><a href="/" target="_top">主页</a></li>
|
|||
|
|
<li><a href="/Member_Index.aspx">会员中心首页</a></li>
|
|||
|
|
<li><a href="/Admin_Member_config.aspx">后台管理</a></li>
|
|||
|
|
<li>门店管理</li>
|
|||
|
|
</ol>
|
|||
|
|
<!-- end breadcrumb -->
|
|||
|
|
</div>
|
|||
|
|
<!-- END RIBBON -->
|
|||
|
|
<!-- MAIN CONTENT -->
|
|||
|
|
<div style="opacity: 1;" id="content">
|
|||
|
|
<div class="frontMain">
|
|||
|
|
|
|||
|
|
<h1 class="title01"><span class="semi-bold"><%=strTitle %></span><span class="addtitle"></span></h1>
|
|||
|
|
<div class="MainContent">
|
|||
|
|
<table width="100%" border="0" class="data_table2">
|
|||
|
|
<tr>
|
|||
|
|
<th width="20%"> 分类名称:</th>
|
|||
|
|
<td>
|
|||
|
|
<asp:TextBox ID="Text_Name" runat="server"></asp:TextBox>
|
|||
|
|
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
|
|||
|
|
<tr>
|
|||
|
|
<th> 排序ID:</th>
|
|||
|
|
<td>
|
|||
|
|
<asp:TextBox ID="Text_LinkID" runat="server"></asp:TextBox>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<th>预览图片:</th>
|
|||
|
|
<td><input name="IFUpload2" id="IFUpload2" type="hidden" value="0" />
|
|||
|
|
<input name="hiddenphoto" id="hiddenphoto" type="hidden" value="" runat="server" />
|
|||
|
|
<div id="inputTips2"></div><br><br><a href="javascript:open('insertimage.aspx')" class="selectpica">插入图片</a> <span id="spanImg">较好的效果长宽比例为:720*720像素</span>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<tr>
|
|||
|
|
<th></th>
|
|||
|
|
<td>
|
|||
|
|
<asp:Button ID="Btn_Insert" runat="server" CssClass="abtn" Text="添加" />
|
|||
|
|
<input id="btn_back" type="reset" value="返回" onclick="history.go(-1)" class="abtn" />
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
</table>
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</form>
|
|||
|
|
|
|||
|
|
</body></html>
|